#include <pt_Types.h>
Public Member Functions | |
PD_DocumentRange (void) | |
Dummy constructor. | |
PD_DocumentRange (PD_Document *pDoc, PT_DocPosition k1, PT_DocPosition k2) | |
Initializing constructor. | |
void | set (PD_Document *pDoc, PT_DocPosition k1, PT_DocPosition k2) |
Set range limits. | |
Public Attributes | |
PD_Document * | m_pDoc |
Document this range is in. | |
PT_DocPosition | m_pos1 |
Lower limit of range. | |
PT_DocPosition | m_pos2 |
Upper limit of range. |
PD_DocumentRange identifies a piece of the document, using two PT_DocPosition absolute document positions as limits.
PD_DocumentRange::PD_DocumentRange | ( | void | ) | [inline] |
Dummy constructor.
Resulting range is invalid until it is initialized with set
PD_DocumentRange::PD_DocumentRange | ( | PD_Document * | pDoc, | |
PT_DocPosition | k1, | |||
PT_DocPosition | k2 | |||
) | [inline] |
Initializing constructor.
void PD_DocumentRange::set | ( | PD_Document * | pDoc, | |
PT_DocPosition | k1, | |||
PT_DocPosition | k2 | |||
) | [inline] |
Set range limits.
Referenced by FV_View::_MergeCells(), FV_View::_populateThisHdrFtr(), FV_View::getDocumentRangeOfCurrentSelection(), and FL_DocLayout::relocateFrame().
Document this range is in.
Referenced by AP_Win32App::_copyFmtToClipboard(), AP_Win32App::_pasteFormatFromClipboard(), FV_Selection::addCellToSelection(), IE_Exp_OpenDocument::copyToBuffer(), IE_Exp_HTML::copyToBuffer(), IE_Exp::copyToBuffer(), AP_UnixApp::copyToClipboard(), AP_CocoaApp::copyToClipboard(), AP_UnixApp::getCurrentSelection(), AP_CocoaApp::getCurrentSelection(), IE_Imp_XML::pasteFromBuffer(), IE_Imp_XHTML::pasteFromBuffer(), IE_Imp_Text::pasteFromBuffer(), IE_Imp_RTF::pasteFromBuffer(), IE_Imp_RDF::pasteFromBuffer(), IE_Imp_OpenDocument::pasteFromBuffer(), IE_Imp_MathML::pasteFromBuffer(), IE_Imp_Component::pasteFromBuffer(), IE_Imp_Object::pasteFromBuffer(), IE_Imp_EPUB::pasteFromBuffer(), AP_UnixApp::pasteFromClipboard(), AP_CocoaApp::pasteFromClipboard(), and PD_Document::tellListenerSubset().
Lower limit of range.
Referenced by FV_View::_clearSelection(), FV_View::_drawSelection(), AP_Frame::_replaceView(), FV_Selection::addCellToSelection(), PD_DocumentRDF::addRelevantIDsForRange(), AP_CocoaApp::cacheCurrentSelection(), FV_View::cmdCut(), IE_Exp_OpenDocument::copyToBuffer(), IE_Exp_HTML::copyToBuffer(), Defun1(), FV_View::getBlocksInSelection(), AP_CocoaApp::getCurrentSelection(), FV_VisualDragText::getImageFromSelection(), FV_Selection::getSelectionAnchor(), FV_Selection::getSelectionLeftAnchor(), FV_Selection::isPosSelected(), IE_Imp_XML::pasteFromBuffer(), IE_Imp_XHTML::pasteFromBuffer(), IE_Imp_Text::pasteFromBuffer(), IE_Imp_RTF::pasteFromBuffer(), IE_Imp_RDF::pasteFromBuffer(), IE_Imp_OpenDocument::pasteFromBuffer(), IE_Imp_MathML::pasteFromBuffer(), IE_Imp_Component::pasteFromBuffer(), IE_Imp_Object::pasteFromBuffer(), IE_Imp_EPUB::pasteFromBuffer(), FV_Selection::pasteRowOrCol(), AP_Dialog_Spell::runModal(), FV_View::setCharFormat(), pt_PieceTable::tellListenerSubset(), and FL_SelectionPreserver::~FL_SelectionPreserver().
Upper limit of range.
Referenced by FV_View::_clearSelection(), FV_View::_drawSelection(), AP_Frame::_replaceView(), FV_Selection::addCellToSelection(), PD_DocumentRDF::addRelevantIDsForRange(), AP_CocoaApp::cacheCurrentSelection(), FL_SelectionPreserver::cmdCharInsert(), FV_View::cmdSelectColumn(), IE_Exp_OpenDocument::copyToBuffer(), IE_Exp_HTML::copyToBuffer(), Defun1(), FV_View::getBlocksInSelection(), AP_CocoaApp::getCurrentSelection(), FV_Selection::getSelectionRightAnchor(), FV_Selection::isPosSelected(), IE_Imp_XHTML::pasteFromBuffer(), IE_Imp_Text::pasteFromBuffer(), IE_Imp_RTF::pasteFromBuffer(), IE_Imp_RDF::pasteFromBuffer(), IE_Imp_OpenDocument::pasteFromBuffer(), IE_Imp_MathML::pasteFromBuffer(), IE_Imp_Component::pasteFromBuffer(), IE_Imp_Object::pasteFromBuffer(), IE_Imp_EPUB::pasteFromBuffer(), FV_Selection::pasteRowOrCol(), AP_Dialog_Spell::runModal(), FV_View::setCharFormat(), pt_PieceTable::tellListenerSubset(), and FL_SelectionPreserver::~FL_SelectionPreserver().