Public Member Functions | Protected Member Functions | Static Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends

FV_View Class Reference

#include <fv_View.h>

Inheritance diagram for FV_View:
AV_View

List of all members.

Public Member Functions

 FV_View (XAP_App *, void *, FL_DocLayout *)
virtual ~FV_View ()
virtual GR_GraphicsgetGraphics (void) const
void setGraphics (GR_Graphics *pG)
void replaceGraphics (GR_Graphics *pG)
virtual PT_DocPosition getPoint (void) const
PT_DocPosition getSelectionAnchor (void) const
PT_DocPosition getSelectionLeftAnchor (void) const
PT_DocPosition getSelectionRightAnchor (void) const
UT_uint32 getSelectionLength (void) const
UT_sint32 getFrameMargin (void) const
virtual void focusChange (AV_Focus focus)
virtual bool isActive (void)
virtual void setXScrollOffset (UT_sint32)
virtual void setYScrollOffset (UT_sint32)
virtual void cmdScroll (AV_ScrollCmd cmd, UT_uint32 iPos=0)
virtual void cmdHyperlinkJump (UT_sint32 xPos, UT_sint32 yPos)
void cmdHyperlinkJump (PT_DocPosition pos)
void cmdHyperlinkCopyLocation (PT_DocPosition pos)
virtual void draw (const UT_Rect *pRect=static_cast< UT_Rect * >(NULL))
virtual void drawSelectionBox (UT_Rect &box, bool drawHandles)
const PP_AttrPropgetAttrPropForPoint () const
virtual bool notifyListeners (const AV_ChangeMask hint)
virtual bool canDo (bool bUndo) const
virtual UT_uint32 undoCount (bool bUndo) const
virtual void cmdUndo (UT_uint32 count)
virtual void cmdRedo (UT_uint32 count)
virtual UT_Error cmdSave (void)
virtual UT_Error cmdSaveAs (const char *szFilename, int ieft)
virtual UT_Error cmdSaveAs (const char *szFilename, int ieft, bool cpy)
UT_Error cmdInsertField (const char *szName, const gchar **extra_attrs=NULL, const gchar **extra_props=NULL)
UT_Error cmdInsertBookmark (const char *szName)
UT_Error cmdDeleteBookmark (const char *szName)
UT_Error cmdInsertHyperlink (const char *szName)
UT_Error cmdInsertXMLID (const std::string &name)
UT_Error cmdDeleteXMLID (const std::string &name)
fp_RungetHyperLinkRun (PT_DocPosition pos)
UT_Error cmdDeleteHyperlink ()
bool cmdInsertMathML (const char *szFileName, PT_DocPosition pos)
bool cmdInsertEmbed (const UT_ByteBuf *pBuf, PT_DocPosition pos, const char *szMime, const char *szProps)
bool cmdUpdateEmbed (const UT_ByteBuf *pBuf, const char *szMime, const char *szProps)
bool cmdUpdateEmbed (fp_Run *pRun, const UT_ByteBuf *pBuf, const char *szMime, const char *szProps)
bool cmdDeleteEmbed (fp_Run *pRun)
bool cmdInsertLatexMath (UT_UTF8String &sLatex, UT_UTF8String &sMath)
UT_Error cmdInsertTOC (void)
UT_Error cmdHyperlinkStatusBar (UT_sint32 xPos, UT_sint32 yPos)
UT_Error cmdInsertGraphic (FG_Graphic *)
UT_Error cmdInsertGraphicAtStrux (FG_Graphic *pFG, PT_DocPosition iPos, PTStruxType iStruxType)
virtual void toggleCase (ToggleCase c)
virtual void setPaperColor (const gchar *clr)
virtual bool isDocumentPresent (void)
virtual void cmdCopy (bool bToClipboard=true)
virtual void cmdCut (void)
virtual void cmdPaste (bool bHonorFormatting=true)
virtual void cmdPasteSelectionAt (UT_sint32 xPos, UT_sint32 yPos)
void pasteFromLocalTo (PT_DocPosition pos)
void _pasteFromLocalTo (PT_DocPosition pos)
void copyToLocal (PT_DocPosition pos1, PT_DocPosition pos2)
void copyTextToClipboard (const UT_UCS4String sIncoming, bool useClipboard=true)
virtual void getTopRulerInfo (AP_TopRulerInfo *pInfo)
virtual void getTopRulerInfo (PT_DocPosition pos, AP_TopRulerInfo *pInfo)
virtual void getLeftRulerInfo (AP_LeftRulerInfo *pInfo)
virtual void getLeftRulerInfo (PT_DocPosition pos, AP_LeftRulerInfo *pInfo)
virtual void setCursorWait (void)
virtual void clearCursorWait (void)
virtual void setCursorToContext (void)
EV_EditMouseContext getLastMouseContext (void)
void getMousePos (UT_sint32 *x, UT_sint32 *y)
virtual EV_EditMouseContext getMouseContext (UT_sint32 xPos, UT_sint32 yPos)
EV_EditMouseContext _getMouseContext (UT_sint32 xPos, UT_sint32 yPos)
virtual EV_EditMouseContext getInsertionPointContext (UT_sint32 *pxPos, UT_sint32 *pyPos)
void setPrevMouseContext (EV_EditMouseContext emc)
virtual void updateLayout (void)
virtual void rebuildLayout (void)
virtual void remeasureCharsWithoutRebuild ()
virtual void fontMetricsChange ()
virtual bool isSelectionEmpty (void) const
bool isSelectAll (void) const
virtual void cmdUnselectSelection (void)
void getDocumentRangeOfCurrentSelection (PD_DocumentRange *pdr) const
PT_DocPosition mapDocPos (FV_DocPos dp)
PT_DocPosition mapDocPosSimple (FV_DocPos dp)
PT_DocPosition saveSelectedImage (const char *toFile)
PT_DocPosition saveSelectedImage (const UT_ByteBuf **outByteBuf)
PT_DocPosition getSelectedImage (const char **dataId) const
fp_RungetSelectedObject (void) const
void getTextInCurrentBlock (UT_GrowBuf &buf) const
void getTextInCurrentSection (UT_GrowBuf &buf) const
void getTextInDocument (UT_GrowBuf &buf) const
bool getLineBounds (PT_DocPosition pos, PT_DocPosition *start, PT_DocPosition *end)
UT_UCSChar getChar (PT_DocPosition pos, UT_sint32 *x=NULL, UT_sint32 *y=NULL, UT_uint32 *width=NULL, UT_uint32 *height=NULL)
FL_DocLayoutgetLayout () const
UT_uint32 getCurrentPageNumForStatusBar (void) const
fp_PagegetCurrentPage (void) const
fl_BlockLayoutgetCurrentBlock (void) const
void draw (int page, dg_DrawArgs *da)
void getPageScreenOffsets (const fp_Page *pPage, UT_sint32 &xoff, UT_sint32 &yoff)
void getPageYOffset (fp_Page *pPage, UT_sint32 &yoff) const
virtual UT_sint32 getPageViewLeftMargin (void) const
virtual UT_sint32 getPageViewTopMargin (void) const
virtual UT_sint32 getPageViewSep (void) const
bool setSectionFormat (const gchar *properties[])
bool getSectionFormat (const gchar ***properties) const
bool setBlockIndents (bool doLists, double indentChange, double page_size)
bool setCollapsedRange (PT_DocPosition posLow, PT_DocPosition posHigh, const gchar *properties[])
bool setBlockFormat (const gchar *properties[])
bool getBlockFormat (const gchar ***properties, bool bExpandStyles=true) const
bool removeStruxAttrProps (PT_DocPosition ipos1, PT_DocPosition ipos2, PTStruxType iStrux, const gchar *attributes[], const gchar *properties[])
bool isImageAtStrux (PT_DocPosition ipos1, PTStruxType iStrux)
bool processPageNumber (HdrFtrType hfType, const gchar **atts)
bool isTabListBehindPoint (UT_sint32 &iNumToDelete) const
bool isTabListAheadPoint (void) const
void processSelectedBlocks (FL_ListType listType)
void getBlocksInSelection (UT_GenericVector< fl_BlockLayout * > *vBlock) const
UT_sint32 getNumColumnsInSelection (void) const
UT_sint32 getNumRowsInSelection (void) const
void getAllBlocksInList (UT_GenericVector< fl_BlockLayout * > *vBlock) const
bool isPointBeforeListLabel (void) const
bool isCurrentListBlockEmpty (void) const
bool cmdStartList (const gchar *style)
bool cmdStopList (void)
void changeListStyle (fl_AutoNum *pAuto, FL_ListType lType, UT_uint32 startv, const gchar *pszDelim, const gchar *pszDecimal, const gchar *pszFormat, float Aligm, float Indent)
void setDontChangeInsPoint (void)
void allowChangeInsPoint (void)
bool getAttributes (const PP_AttrProp **ppSpanAP, const PP_AttrProp **ppBlockAP=NULL, PT_DocPosition posStart=0) const
bool getAllAttrProp (const PP_AttrProp *&pSpanAP, const PP_AttrProp *&pBlockAP, const PP_AttrProp *&pSectionAP, const PP_AttrProp *&pDocAP) const
bool queryCharFormat (const gchar *szProperty, UT_UTF8String &szValue, bool &bExplicitlyDefined, bool &bMixedSelection) const
bool queryCharFormat (const gchar *szProperty, UT_UTF8String &szValue, bool &bExplicitlyDefined, PT_DocPosition position) const
bool setCharFormat (const gchar *properties[], const gchar *attribs[]=NULL)
bool resetCharFormat (bool bAll)
bool getCharFormat (const gchar ***properties, bool bExpandStyles=true) const
bool getCharFormat (const gchar ***properties, bool bExpandStyles, PT_DocPosition posStart) const
fl_BlockLayoutgetBlockFromSDH (PL_StruxDocHandle sdh)
bool setStyle (const gchar *style, bool bDontGeneralUpdate=false)
bool setStyleAtPos (const gchar *style, PT_DocPosition posStart, PT_DocPosition posEnd, bool bDontGeneralUpdate=false)
bool isNumberedHeadingHere (fl_BlockLayout *pBlock) const
bool getStyle (const gchar **style) const
bool appendStyle (const gchar **style)
UT_uint32 getCurrentPageNumber (void) const
bool getEditableBounds (bool bEnd, PT_DocPosition &docPos, bool bOverride=false) const
bool isParaBreakNeededAtPos (PT_DocPosition pos) const
bool insertParaBreakIfNeededAtPos (PT_DocPosition pos)
void insertParagraphBreak (void)
void insertParagraphBreaknoListUpdate (void)
void insertSectionBreak (BreakSectionType type)
void insertSectionBreak (void)
void insertSymbol (UT_UCSChar c, const gchar *symfont)
bool isLeftMargin (UT_sint32 xPos, UT_sint32 yPos) const
void selectRange (PT_DocPosition start, PT_DocPosition end)
void cmdSelect (UT_sint32 xPos, UT_sint32 yPos, FV_DocPos dpBeg, FV_DocPos dpEnd)
void cmdSelectTOC (UT_sint32 xPos, UT_sint32 yPos)
bool isTOCSelected (void) const
bool setTOCProps (PT_DocPosition pos, const char *szProps)
bool cmdSelectNoNotify (PT_DocPosition dpBeg, PT_DocPosition dpEnd)
void cmdSelect (PT_DocPosition dpBeg, PT_DocPosition dpEnd)
void cmdSelect (const std::pair< PT_DocPosition, PT_DocPosition > &range)
void cmdCharMotion (bool bForward, UT_uint32 count)
bool cmdCharInsert (const UT_UCSChar *text, UT_uint32 count, bool bForce=false)
bool cmdCharInsert (const std::string &s, bool bForce=false)
void cmdCharDelete (bool bForward, UT_uint32 count)
void delTo (FV_DocPos dp)
void getSelectionText (UT_UCS4Char *&text) const
UT_UCSChargetTextBetweenPos (PT_DocPosition pos1, PT_DocPosition pos2) const
PT_DocPosition getInsPoint () const
void warpInsPtToXY (UT_sint32 xPos, UT_sint32 yPos, bool bClick)
void moveInsPtTo (FV_DocPos dp, bool bClearSelection=true)
void moveInsPtTo (PT_DocPosition dp)
void warpInsPtNextPrevPage (bool bNext)
void warpInsPtNextPrevLine (bool bNext)
void warpInsPtNextPrevScreen (bool bNext)
void extSelHorizontal (bool bForward, UT_uint32 count)
void extSelToXY (UT_sint32 xPos, UT_sint32 yPos, bool bDrag)
void extSelToXYword (UT_sint32 xPos, UT_sint32 yPos, bool bDrag)
void extSelTo (FV_DocPos dp)
void extSelNextPrevLine (bool bNext)
void extSelNextPrevPage (bool bNext)
void extSelNextPrevScreen (bool bNext)
void endDrag (UT_sint32 xPos, UT_sint32 yPos)
void endDragSelection (UT_sint32 xPos, UT_sint32 yPos)
PT_DocPosition getDocPositionFromXY (UT_sint32 xpos, UT_sint32 ypos, bool bNotFrames=false)
PT_DocPosition getDocPositionFromLastXY (void)
fl_BlockLayoutgetBlockAtPosition (PT_DocPosition pos) const
virtual void updateScreen (bool bDirtyRunsOnly=true)
bool isInDocSection (PT_DocPosition pos=0) const
void cutVisualText (UT_sint32 x, UT_sint32 y)
void copyVisualText (UT_sint32 x, UT_sint32 y)
void dragVisualText (UT_sint32 x, UT_sint32 y)
void pasteVisualText (UT_sint32 x, UT_sint32 y)
void btn0VisualDrag (UT_sint32 x, UT_sint32 y)
const FV_VisualDragTextgetVisualText (void) const
FV_VisualDragTextgetVisualText (void)
const UT_ByteBufgetLocalBuf (void) const
void btn0InlineImage (UT_sint32 x, UT_sint32 y)
void btn1InlineImage (UT_sint32 x, UT_sint32 y)
void btn1CopyImage (UT_sint32 x, UT_sint32 y)
void dragInlineImage (UT_sint32 x, UT_sint32 y)
void releaseInlineImage (UT_sint32 x, UT_sint32 y)
FV_FrameEditgetFrameEdit (void)
void btn0Frame (UT_sint32 x, UT_sint32 y)
void btn1Frame (UT_sint32 x, UT_sint32 y)
void dragFrame (UT_sint32 x, UT_sint32 y)
void releaseFrame (UT_sint32 x, UT_sint32 y)
bool isInFrame (PT_DocPosition pos)
void deleteFrame (void)
void cutFrame (void)
void selectFrame (void)
fl_FrameLayoutgetFrameLayout (PT_DocPosition pos)
fl_FrameLayoutgetFrameLayout (void)
void setFrameFormat (const gchar **props)
void setFrameFormat (const gchar **attribs, const gchar **props)
void setFrameFormat (const gchar **props, FG_Graphic *pFG, const std::string &dataID)
void convertInLineToPositioned (PT_DocPosition pos, const gchar **attribs)
bool convertPositionedToInLine (fl_FrameLayout *pFrame)
UT_Error cmdInsertPositionedGraphic (FG_Graphic *pFG, UT_sint32 mouseX, UT_sint32 mouseY)
UT_Error cmdInsertPositionedGraphic (FG_Graphic *pFG)
bool isPosSelected (PT_DocPosition pos) const
bool isXYSelected (UT_sint32 xPos, UT_sint32 yPos) const
FV_SelectionMode getSelectionMode (void) const
FV_SelectionMode getPrevSelectionMode (void) const
PD_DocumentRangegetNthSelection (UT_sint32 i) const
UT_sint32 getNumSelections (void) const
void setSelectionMode (FV_SelectionMode selMode)
bool isInHdrFtr (PT_DocPosition pos)
void setHdrFtrEdit (fl_HdrFtrShadow *pShadow)
void clearHdrFtrEdit (void)
bool isHdrFtrEdit (void)
fl_HdrFtrShadowgetEditShadow (void)
void rememberCurrentPosition (void)
PT_DocPosition getSavedPosition (void)
void clearSavedPosition (void)
void markSavedPositionAsNeeded (void)
bool needSavedPosition (void)
void insertHeaderFooter (HdrFtrType hfType)
bool insertHeaderFooter (const gchar **props, HdrFtrType hfType, fl_DocSectionLayout *pDSL=NULL)
void cmdEditHeader (void)
void cmdEditFooter (void)
void cmdRemoveHdrFtr (bool isHeader)
bool isFooterOnPage (void)
bool isHeaderOnPage (void)
void SetupSavePieceTableState (void)
void RestoreSavedPieceTableState (void)
void removeThisHdrFtr (HdrFtrType hfType, bool bSkipPTSaves=false)
void createThisHdrFtr (HdrFtrType hfType, bool bSkipPTSaves=false)
void populateThisHdrFtr (HdrFtrType hfType, bool bSkipPTSaves=false)
void _populateThisHdrFtr (fl_HdrFtrSectionLayout *pHdrFtrSrc, fl_HdrFtrSectionLayout *pHdrFtrDest)
bool insertFootnote (bool bFootnote)
bool insertFootnoteSection (bool bFootnote, const gchar *enpid)
bool isInFootnote (PT_DocPosition pos)
bool isInFootnote (void)
bool isInEndnote (PT_DocPosition pos)
bool isInEndnote (void)
bool isInAnnotation (PT_DocPosition pos)
bool isInAnnotation (void)
fl_FootnoteLayoutgetClosestFootnote (PT_DocPosition pos)
fl_EndnoteLayoutgetClosestEndnote (PT_DocPosition pos)
fl_AnnotationLayoutgetClosestAnnotation (PT_DocPosition pos)
UT_sint32 getEmbedDepth (PT_DocPosition pos)
bool insertAnnotation (UT_sint32 iAnnotation, const std::string &sDescr, const std::string &sAuthor, const std::string &sTitle, bool bReplace)
bool getAnnotationText (UT_uint32 iAnnotation, std::string &sText) const
bool setAnnotationText (UT_uint32 iAnnotation, const std::string &sText)
bool setAnnotationText (UT_uint32 iAnnotation, const std::string &sText, const std::string &sAuthor, const std::string &sTitle)
bool getAnnotationRichText (UT_uint32 iAnnotation, std::string &sRTF) const
bool setAnnotationRichText (UT_uint32 iAnnotation, const std::string &sRTF)
bool getAnnotationTitle (UT_uint32 iAnnotation, std::string &sTitle) const
bool setAnnotationTitle (UT_uint32 iAnnotation, const std::string &sTitle)
bool getAnnotationAuthor (UT_uint32 iAnnotation, std::string &sAuthor) const
bool setAnnotationAuthor (UT_uint32 iAnnotation, const std::string &sAuthor)
bool isAnnotationPreviewActive (void) const
void setAnnotationPreviewActive (bool b)
UT_uint32 getActivePreviewAnnotationID () const
void setActivePreviewAnnotationID (UT_uint32 iID)
void killAnnotationPreview ()
bool cmdEditAnnotationWithDialog (UT_uint32 aID)
fl_AnnotationLayoutgetAnnotationLayout (UT_uint32 iAnnotation) const
bool selectAnnotation (fl_AnnotationLayout *pAL)
FV_View_BubbleBlocker getBubbleBlocker ()
bool bubblesAreBlocked () const
bool gotoTarget (AP_JumpTarget type, const UT_UCSChar *data)
bool gotoTarget (AP_JumpTarget type, const char *numberString)
void changeNumColumns (UT_uint32 iNumColumns)
void findSetFindString (const UT_UCSChar *string)
void findSetReplaceString (const UT_UCSChar *string)
void findSetReverseFind (bool newValue)
void findSetMatchCase (bool newValue)
void findSetWholeWord (bool newValue)
UT_UCSCharfindGetFindString (void)
UT_UCSCharfindGetReplaceString (void)
bool findGetReverseFind ()
bool findGetMatchCase ()
bool findGetWholeWord ()
bool findAgain (void)
void findSetStartAt (PT_DocPosition pos)
void findSetStartAtInsPoint (void)
bool findNext (bool &bDoneEntireDocument)
bool findNext (const UT_UCSChar *pFind, bool &bDoneEntireDocument)
UT_uint32_computeFindPrefix (const UT_UCSChar *pFind)
bool _findNext (UT_uint32 *pPrefix, bool &bDoneEntireDocument)
bool findPrev (bool &bDoneEntireDocument)
bool findPrev (const UT_UCSChar *pFind, bool &bDoneEntireDocument)
bool _findPrev (UT_uint32 *pPrefix, bool &bDoneEntireDocument)
bool findReplaceReverse (bool &bDoneEntireDocument)
bool _findReplaceReverse (UT_uint32 *pPrefix, bool &bDoneEntireDocument, bool bNoUpdate)
bool _findReplace (UT_uint32 *pPrefix, bool &bDoneEntireDocument, bool bNoUpdate)
bool findReplace (bool &bDoneEntireDocument)
UT_uint32 findReplaceAll ()
FV_DocCount countWords (void)
bool insertPageNum (const gchar **props, HdrFtrType hfType)
virtual void setPoint (UT_uint32 pt)
void ensureInsertionPointOnScreen (void)
void removeCaret (const std::string &sCaretID)
void addCaret (PT_DocPosition docPos, UT_sint32 iAuthorId)
void setPointRemote (PT_DocPosition docPos)
void updateCarets (PT_DocPosition docPos, UT_sint32 iLen)
void fixInsertionPointCoords (void)
void killBlink (void)
void setShowPara (bool)
bool getShowPara (void) const
const fp_PageSizegetPageSize (void) const
virtual UT_uint32 calculateZoomPercentForPageWidth () const
virtual UT_uint32 calculateZoomPercentForPageHeight () const
virtual UT_uint32 calculateZoomPercentForWholePage () const
void setViewMode (ViewMode vm)
ViewMode getViewMode (void) const
bool isPreview (void) const
void setPreviewMode (PreViewMode pre)
PreViewMode getPreviewMode (void)
UT_uint32 getTabToggleAreaWidth () const
UT_sint32 getNormalModeXOffset () const
void setScreenUpdateOnGeneralUpdate (bool bDoit)
bool shouldScreenUpdateOnGeneralUpdate (void) const
PD_DocumentgetDocument (void) const
void toggleMarkRevisions ()
void cmdAcceptRejectRevision (bool bReject, UT_sint32 x, UT_sint32 y)
bool isMarkRevisions () const
bool isShowRevisions () const
void toggleShowRevisions ()
void setShowRevisions (bool bShow)
void cmdSetRevisionLevel (UT_uint32 i)
UT_uint32 getRevisionLevel () const
void setRevisionLevel (UT_uint32 i)
bool cmdFindRevision (bool bNext, UT_sint32 xPos, UT_sint32 yPos)
bool doesSelectionContainRevision () const
void updateRevisionMode ()
bool isPointLegal (PT_DocPosition pos)
bool isPointLegal (void)
bool isInTable () const
fl_TableLayoutgetTableAtPos (PT_DocPosition) const
bool isInTable (PT_DocPosition pos) const
bool isInTableForSure (PT_DocPosition pos) const
bool cmdAutoSizeCols (void)
bool cmdTextToTable (bool bIgnoreSpaces)
bool cmdAutoSizeRows (void)
bool cmdAdvanceNextPrevCell (bool bGoNext)
fp_CellContainergetCellAtPos (PT_DocPosition pos) const
PT_DocPosition findCellPosAt (PT_DocPosition posTable, UT_sint32 row, UT_sint32 col)
bool _deleteCellAt (PT_DocPosition posTable, UT_sint32 row, UT_sint32 col)
bool _restoreCellParams (PT_DocPosition posTable, UT_sint32 iLineWidth)
UT_sint32 _changeCellParams (PT_DocPosition posTable, PL_StruxDocHandle tableSDH)
bool deleteCellAt (PT_DocPosition posTable, UT_sint32 row, UT_sint32 col)
bool cmdDeleteCell (PT_DocPosition pos)
bool cmdDeleteCol (PT_DocPosition pos)
bool cmdDeleteRow (PT_DocPosition pos)
bool cmdDeleteTable (PT_DocPosition pos, bool bDontNotify=false)
bool cmdInsertRow (PT_DocPosition posTable, bool bBfore)
bool cmdInsertCol (PT_DocPosition posTable, bool bBefore)
bool cmdSplitCells (AP_CellSplitType iSplitType)
bool cmdSelectColumn (PT_DocPosition posOfColumn)
bool cmdAutoFitTable (void)
bool cmdMergeCells (PT_DocPosition posSource, PT_DocPosition posDestination)
bool cmdTableToText (PT_DocPosition posSource, UT_sint32 iSepType)
bool _MergeCells (PT_DocPosition posDestination, PT_DocPosition posSource, bool bBefore)
bool getCellParams (PT_DocPosition posCol, UT_sint32 *iLeft, UT_sint32 *iRight, UT_sint32 *iTop, UT_sint32 *iBot) const
bool getCellLineStyle (PT_DocPosition posCell, UT_sint32 *pLeft, UT_sint32 *pRight, UT_sint32 *pTop, UT_sint32 *pBot) const
bool setCellFormat (const gchar *properties[], FormatTable applyTo, FG_Graphic *pFG, UT_String &sDataID)
bool getCellProperty (const gchar *szPropName, gchar *&szPropValue) const
bool setTableFormat (const gchar *properties[])
bool setTableFormat (PT_DocPosition pos, const gchar *properties[])
bool getCellFormat (PT_DocPosition pos, UT_String &sCellProps) const
UT_Error cmdInsertTable (UT_sint32 numRows, UT_sint32 numCols, const gchar *pPropsArray[])
bool _changeCellTo (PT_DocPosition posTable, UT_sint32 rowOld, UT_sint32 colOld, UT_sint32 left, UT_sint32 right, UT_sint32 top, UT_sint32 bot)
bool changeCellTo (PT_DocPosition posTable, UT_sint32 rowOld, UT_sint32 colOld, UT_sint32 left, UT_sint32 right, UT_sint32 top, UT_sint32 bot)
bool _insertCellAfter (PT_DocPosition posTable, UT_sint32 row, UT_sint32 col, UT_sint32 left, UT_sint32 right, UT_sint32 top, UT_sint32 bot)
bool _insertCellBefore (PT_DocPosition posTable, UT_sint32 row, UT_sint32 col, UT_sint32 left, UT_sint32 right, UT_sint32 top, UT_sint32 bot)
void _generalUpdate (void)
UT_RGBColor getColorShowPara (void) const
UT_RGBColor getColorMargin (void) const
UT_RGBColor getColorSelBackground (void)
UT_RGBColor getColorSelForeground (void) const
UT_RGBColor getColorFieldOffset (void) const
UT_RGBColor getColorImage (void) const
UT_RGBColor getColorImageResize (void) const
UT_RGBColor getColorHyperLink (void) const
UT_RGBColor getColorAnnotation (const fp_Run *pRun) const
UT_RGBColor getColorAnnotation (fp_Page *pPage, UT_uint32 pid) const
UT_RGBColor getColorRDFAnchor (const fp_Run *pRun) const
UT_RGBColor getColorRevisions (int rev) const
UT_RGBColor getColorHdrFtr (void) const
UT_RGBColor getColorColumnLine (void) const
void getVisibleDocumentPagesAndRectangles (UT_GenericVector< UT_Rect * > &vRect, UT_GenericVector< fp_Page * > &vPages) const
UT_sint32 getImageSelInfo () const
GR_Graphics::Cursor getImageSelCursor () const
bool isImageSelected (void) const
void setDragTableLine (bool bSet)
bool getDragTableLine (void) const
void setTopRuler (AP_TopRuler *pRuler)
AP_TopRulergetTopRuler (void) const
void setLeftRuler (AP_LeftRuler *pRuler)
AP_LeftRulergetLeftRuler (void) const
const gchar ** getViewPersistentProps () const
FV_BIDI_Order getBidiOrder () const
void setBidiOrder (FV_BIDI_Order o)
bool isMathSelected (UT_sint32 x, UT_sint32 y, PT_DocPosition &pos) const
bool isMathLoaded (void) const
bool isGrammarLoaded (void) const
UT_uint32 getNumHorizPages (void) const
void calculateNumHorizPages (void)
UT_uint32 getMaxHeight (UT_uint32 iRow) const
UT_uint32 getWidthPrevPagesInRow (UT_uint32 iPageNumber) const
UT_uint32 getWidthPagesInRow (fp_Page *page) const
UT_uint32 getHorizPageSpacing (void) const
bool rtlPages (void) const
bool registerDoubleBufferingObject (FV_ViewDoubleBuffering *obj)
bool unregisterDoubleBufferingObject (FV_ViewDoubleBuffering *obj)

Protected Member Functions

void _fixInsertionPointAfterRevision ()
bool _makePointLegal (void)
void _saveAndNotifyPieceTableChange (void)
void _restorePieceTableState (void)
void _draw (UT_sint32, UT_sint32, UT_sint32, UT_sint32, bool bDirtyRunsOnly, bool bClip=false)
void _drawBetweenPositions (PT_DocPosition left, PT_DocPosition right)
bool _clearBetweenPositions (PT_DocPosition left, PT_DocPosition right, bool bFullLineHeightRect)
bool _drawOrClearBetweenPositions (PT_DocPosition iPos1, PT_DocPosition iPos2, bool bClear, bool bFullLineHeight)
bool _ensureInsertionPointOnScreen ()
void _moveInsPtNextPrevPage (bool bNext)
void _moveInsPtNextPrevScreen (bool bNext)
void _moveInsPtNextPrevLine (bool bNext)
fp_Line_getNextLineInDoc (fp_Container *pCon)
fp_Page_getCurrentPage (void) const
void _moveInsPtNthPage (UT_sint32 n)
void _moveInsPtToPage (fp_Page *page)
void _insertSectionBreak (void)
PT_DocPosition _getDocPosFromPoint (PT_DocPosition iPoint, FV_DocPos dp, bool bKeepLooking=true) const
PT_DocPosition _getDocPos (FV_DocPos dp, bool bKeepLooking=true) const
void _findPositionCoords (PT_DocPosition pos, bool b, UT_sint32 &x, UT_sint32 &y, UT_sint32 &x2, UT_sint32 &y2, UT_uint32 &height, bool &bDirection, fl_BlockLayout **ppBlock, fp_Run **ppRun) const
fl_BlockLayout_findBlockAtPosition (PT_DocPosition pos) const
fp_Page_getPageForXY (UT_sint32 xPos, UT_sint32 yPos, UT_sint32 &xClick, UT_sint32 &yClick) const
bool _insertField (const char *szName, const gchar **extra_attrs=NULL, const gchar **extra_props=NULL)
void _moveToSelectionEnd (bool bForward)
void _eraseSelection (void)
void _clearSelection (void)
void _resetSelection (void)
void _setSelectionAnchor (void)
void _deleteSelection (PP_AttrProp *p_AttrProp_Before=NULL, bool bNoUpdate=false, bool bCaretLeft=false)
bool _insertFormatPair (const gchar *szName, const gchar *properties[])
void _updateInsertionPoint ()
void _fixInsertionPointCoords (bool bIgnoreAll=false)
void _fixInsertionPointCoords (fv_CaretProps *pCP) const
void _fixAllInsertionPointCoords (void) const
void _drawSelection ()
void _swapSelectionOrientation (void)
void _extSel (UT_uint32 iOldPoint)
void _extSelToPos (PT_DocPosition pos)
UT_Error _insertGraphic (FG_Graphic *, const char *)
UT_Error _insertGraphic (FG_Graphic *, const char *, PT_DocPosition pos)
UT_UCSChar_lookupSuggestion (fl_BlockLayout *pBL, fl_PartOfBlock *pPOB, UT_sint32 ndx)
void _setPoint (PT_DocPosition pt, bool bEOL=false)
void _setPoint (fv_CaretProps *pCP, PT_DocPosition pt, UT_sint32 iLen) const
UT_uint32 _getDataCount (UT_uint32 pt1, UT_uint32 pt2) const
bool _charMotion (bool bForward, UT_uint32 countChars, bool bSkipCannotContainPoint=true)
void _doPaste (bool bUseClipboard, bool bHonorFormatting=true)
void _clearIfAtFmtMark (PT_DocPosition dpos)
bool _isSpaceBefore (PT_DocPosition pos) const
void _removeThisHdrFtr (fl_HdrFtrSectionLayout *pHdrFtr)
void _cmdEditHdrFtr (HdrFtrType hfType)
UT_Error _deleteBookmark (const char *szName, bool bSignal, PT_DocPosition *pos1=NULL, PT_DocPosition *pos2=NULL)
UT_Error _deleteHyperlink (PT_DocPosition &i, bool bSignal)
UT_Error _deleteXMLID (const std::string &xmlid, bool bSignal, PT_DocPosition &posStart, PT_DocPosition &posEnd)
UT_Error _deleteXMLID (const std::string &xmlid, bool bSignal)
fp_HyperlinkRun_getHyperlinkInRange (PT_DocPosition &posStart, PT_DocPosition &posEnd)
bool _charInsert (const UT_UCSChar *text, UT_uint32 count, bool bForce=false)
void _adjustDeletePosition (UT_uint32 &iDocPos, UT_uint32 &iCount)
void incremenetBubbleBlockerCount ()
void decremenetBubbleBlockerCount ()

Static Protected Member Functions

static void _autoScroll (UT_Worker *pTimer)
static void _actuallyScroll (UT_Worker *pTimer)

Private Member Functions

void _drawResizeHandle (UT_Rect &box)
void getCmdInsertRangeVariables (PT_DocPosition &posStart, PT_DocPosition &posEnd, fl_BlockLayout *&pBL1, fl_BlockLayout *&pBL2)
PT_DocPosition _BlockOffsetToPos (fl_BlockLayout *block, PT_DocPosition offset) const
fl_BlockLayout_findGetCurrentBlock (void) const
PT_DocPosition _findGetCurrentOffset (void) const
UT_UCSChar_findGetNextBlockBuffer (fl_BlockLayout **block, PT_DocPosition *offset)
UT_UCSChar_findGetPrevBlockBuffer (fl_BlockLayout **block, PT_DocPosition *offset, UT_sint32 &endIndex)
UT_sint32 _findBlockSearchRegexp (const UT_UCSChar *haystack, const UT_UCSChar *needle)

Static Private Member Functions

static void _prefsListener (XAP_Prefs *, UT_StringPtrMap *, void *)

Private Attributes

UT_uint32 m_iNumHorizPages
UT_uint32 m_getNumHorizPagesCachedWindowWidth
bool m_autoNumHorizPages
UT_uint32 m_horizPageSpacing
PT_DocPosition m_iInsPoint
UT_sint32 m_xPoint
UT_sint32 m_yPoint
UT_sint32 m_xPoint2
UT_sint32 m_yPoint2
bool m_bPointDirection
bool m_bDefaultDirectionRtl
bool m_bUseHebrewContextGlyphs
UT_uint32 m_iPointHeight
UT_sint32 m_xPointSticky
bool m_bPointVisible
bool m_bPointEOL
FL_DocLayoutm_pLayout
PD_Documentm_pDoc
GR_Graphicsm_pG
void * m_pParentData
UT_Timerm_pAutoScrollTimer
UT_sint32 m_xLastMouse
UT_sint32 m_yLastMouse
bool m_bCursorIsOn
bool m_bEraseSaysStopBlinking
bool m_bCursorBlink
bool m_bdontSpellCheckRightNow
fv_ChangeState m_chg
bool m_wrappedEnd
PT_DocPosition m_startPosition
bool m_doneFind
bool m_bEditHdrFtr
fl_HdrFtrShadowm_pEditShadow
PT_DocPosition m_iSavedPosition
bool m_bNeedSavedPosition
bool m_bReverseFind
bool m_bWholeWord
bool m_bMatchCase
UT_UCSCharm_sFind
UT_UCSCharm_sReplace
bool m_bShowPara
ViewMode m_viewMode
PreViewMode m_previewMode
bool m_bDontUpdateScreenOnGeneralUpdate
UT_uint32 m_iPieceTableState
UT_sint32 m_iMouseX
UT_sint32 m_iMouseY
UT_uint32 m_iViewRevision
bool m_bWarnedThatRestartNeeded
UT_Rect m_selImageRect
GR_Graphics::Cursor m_imageSelCursor
UT_sint32 m_ixResizeOrigin
UT_sint32 m_iyResizeOrigin
bool m_bIsResizingImage
UT_Rect m_curImageSel
bool m_bIsDraggingImage
fp_Runm_pDraggedImageRun
UT_Rect m_dragImageRect
UT_sint32 m_ixDragOrigin
UT_sint32 m_iyDragOrigin
UT_RGBColor m_colorShowPara
UT_RGBColor m_colorSpellSquiggle
UT_RGBColor m_colorGrammarSquiggle
UT_RGBColor m_colorMargin
UT_RGBColor m_colorFieldOffset
UT_RGBColor m_colorImage
UT_RGBColor m_colorImageResize
UT_RGBColor m_colorHyperLink
UT_RGBColor m_colorRevisions [10]
UT_RGBColor m_colorHdrFtr
UT_RGBColor m_colorColumnLine
UT_RGBColor m_colorAnnotations [10]
UT_RGBColor m_colorRDFAnchors [10]
UT_uint32 m_countDisable
bool m_bDragTableLine
EV_EditMouseContext m_prevMouseContext
AP_TopRulerm_pTopRuler
AP_LeftRulerm_pLeftRuler
bool m_bInFootnote
FV_Caret_Listenerm_caretListener
bool m_bgColorInitted
PT_DocPosition m_iLowDrawPoint
PT_DocPosition m_iHighDrawPoint
fv_PropCache m_CharProps
fv_PropCache m_BlockProps
fv_PropCache m_SecProps
AV_ListenerId m_CaretListID
FV_FrameEdit m_FrameEdit
FV_VisualDragText m_VisualDragText
FV_Selection m_Selection
bool m_bShowRevisions
FV_BIDI_Order m_eBidiOrder
UT_uint32 m_iFreePass
bool m_bDontNotifyListeners
UT_ByteBufm_pLocalBuf
UT_sint32 m_iGrabCell
FV_VisualInlineImage m_InlineImage
bool m_bInsertAtTablePending
PT_DocPosition m_iPosAtTable
UT_GenericVector< fv_CaretProps * > m_vecCarets
UT_UTF8String m_sDocUUID
bool m_bAnnotationPreviewActive
UT_uint32 m_iAnnPviewID
bool m_bAllowSmartQuoteReplacement
int m_bubbleBlockerCount
FV_ViewDoubleBufferingm_pViewDoubleBufferingObject

Friends

class fl_DocListener
class fl_BlockLayout
class FL_DocLayout
class fl_Squiggles
class fl_DocSectionLayout
class GR_Caret
class FV_FrameEdit
class FV_VisualDragText
class FV_VisualInlineImage
class FV_Selection
class CellLine
class FV_View_BubbleBlocker
class FV_ViewDoubleBuffering

Constructor & Destructor Documentation

FV_View::FV_View ( XAP_App pApp,
void *  pParentData,
FL_DocLayout pLayout 
)

References _prefsListener(), _resetSelection(), AV_View::addListener(), XAP_Prefs::addListener(), PD_Document::addStyleProperties(), GR_Graphics::allCarets(), AP_PREF_KEY_ColorForAnnotation1, AP_PREF_KEY_ColorForAnnotation10, AP_PREF_KEY_ColorForAnnotation2, AP_PREF_KEY_ColorForAnnotation3, AP_PREF_KEY_ColorForAnnotation4, AP_PREF_KEY_ColorForAnnotation5, AP_PREF_KEY_ColorForAnnotation6, AP_PREF_KEY_ColorForAnnotation7, AP_PREF_KEY_ColorForAnnotation8, AP_PREF_KEY_ColorForAnnotation9, AP_PREF_KEY_ColorForRDFAnchor1, AP_PREF_KEY_ColorForRDFAnchor10, AP_PREF_KEY_ColorForRDFAnchor2, AP_PREF_KEY_ColorForRDFAnchor3, AP_PREF_KEY_ColorForRDFAnchor4, AP_PREF_KEY_ColorForRDFAnchor5, AP_PREF_KEY_ColorForRDFAnchor6, AP_PREF_KEY_ColorForRDFAnchor7, AP_PREF_KEY_ColorForRDFAnchor8, AP_PREF_KEY_ColorForRDFAnchor9, AP_PREF_KEY_CursorBlink, AP_PREF_KEY_DefaultDirectionRtl, AP_PREF_KEY_LayoutMode, fv_ChangeState::bDirty, fv_ChangeState::bRedo, fv_ChangeState::bSelection, fv_ChangeState::bUndo, GR_Graphics::createCaret(), GR_Graphics::DGP_SCREEN, AllCarets::enable(), GR_Graphics::findNearestFont(), gchar, XAP_EncodingManager::get_instance(), PD_Document::getAttrProp(), XAP_Frame::getFrameData(), XAP_EncodingManager::getLanguageISOName(), XAP_EncodingManager::getLanguageISOTerritory(), AD_Document::getMyUUIDString(), AV_View::getParentData(), getPoint(), XAP_App::getPrefs(), XAP_App::getPrefsValue(), XAP_App::getPrefsValueBool(), PP_AttrProp::getProperty(), AD_Document::getShowRevisionId(), fv_ChangeState::iColumn, AD_Document::isShowRevisions(), m_bCursorBlink, m_bDefaultDirectionRtl, AP_FrameData::m_bIsWidget, m_bShowRevisions, m_bUseHebrewContextGlyphs, m_caretListener, m_CaretListID, m_chg, m_colorAnnotations, m_colorColumnLine, m_colorFieldOffset, m_colorGrammarSquiggle, m_colorHdrFtr, m_colorHyperLink, m_colorImage, m_colorMargin, m_colorRDFAnchors, m_colorRevisions, m_colorShowPara, m_colorSpellSquiggle, m_eBidiOrder, m_iViewRevision, m_pDoc, m_pG, m_sDocUUID, m_Selection, PP_resetInitialBiDiValues(), PP_setDefaultFontFamily(), fv_ChangeState::propsBlock, fv_ChangeState::propsChar, fv_ChangeState::propsSection, GR_Graphics::queryProperties(), XAP_Frame::repopulateCombos(), s, setCursorWait(), FV_Selection::setSelectionAnchor(), FL_DocLayout::setView(), setViewMode(), UT_parseColor(), UT_UTF8String::utf8_str(), VIEW_NORMAL, VIEW_PRINT, VIEW_WEB, XAP_PREF_KEY_ColorForColumnLine, XAP_PREF_KEY_ColorForFieldOffset, XAP_PREF_KEY_ColorForGrammarSquiggle, XAP_PREF_KEY_ColorForHdrFtr, XAP_PREF_KEY_ColorForHyperLink, XAP_PREF_KEY_ColorForImage, XAP_PREF_KEY_ColorForMargin, XAP_PREF_KEY_ColorForRevision1, XAP_PREF_KEY_ColorForRevision10, XAP_PREF_KEY_ColorForRevision2, XAP_PREF_KEY_ColorForRevision3, XAP_PREF_KEY_ColorForRevision4, XAP_PREF_KEY_ColorForRevision5, XAP_PREF_KEY_ColorForRevision6, XAP_PREF_KEY_ColorForRevision7, XAP_PREF_KEY_ColorForRevision8, XAP_PREF_KEY_ColorForRevision9, XAP_PREF_KEY_ColorForShowPara, XAP_PREF_KEY_ColorForSquiggle, and XAP_PREF_KEY_UseHebrewContextGlyphs.

Referenced by copyTextToClipboard().


Member Function Documentation

PT_DocPosition FV_View::_BlockOffsetToPos ( fl_BlockLayout block,
PT_DocPosition  offset 
) const [private]
bool FV_View::_changeCellTo ( PT_DocPosition  posTable,
UT_sint32  rowold,
UT_sint32  colold,
UT_sint32  left,
UT_sint32  right,
UT_sint32  top,
UT_sint32  bot 
)

This method changes the coordinates of the cell at (row,col) in the table specified by posTable to the cordinates specified.

References UT_String::c_str(), PD_Document::changeStruxFmt(), findCellPosAt(), m_pDoc, PTC_AddFmt, PTX_SectionCell, and UT_String_sprintf().

Referenced by _MergeCells(), and cmdMergeCells().

bool FV_View::_charInsert ( const UT_UCSChar text,
UT_uint32  count,
bool  bForce = false 
) [protected]

References _charMotion(), _deleteSelection(), _ensureInsertionPointOnScreen(), _fixInsertionPointCoords(), _generalUpdate(), _restorePieceTableState(), _saveAndNotifyPieceTableChange(), _setPoint(), AV_CHG_ALL, PD_Document::beginUserAtomicGlob(), cmdCharDelete(), PD_Document::disableListUpdates(), PD_Document::enableListUpdates(), PD_Document::endUserAtomicGlob(), FV_FrameEdit_NOT_ACTIVE, gchar, fl_ContainerLayout::getAP(), getAttrPropForPoint(), fl_Layout::getAutoNum(), fp_Container::getContainer(), getCurrentBlock(), fl_AutoNum::getDecimal(), fl_AutoNum::getDelim(), getEditableBounds(), fl_ContainerLayout::getFirstContainer(), fl_AutoNum::getID(), XAP_App::getKbdLanguage(), fl_BlockLayout::getLevel(), fl_BlockLayout::getListType(), getPoint(), XAP_App::getPrefsValueBool(), fl_BlockLayout::getProperty(), fl_AutoNum::getStartValue32(), fp_ContainerObject::getWidth(), PD_Document::insertFmtMark(), insertParaBreakIfNeededAtPos(), PD_Document::insertSpan(), FV_FrameEdit::isActive(), PD_Document::isEndFrameAtPos(), PD_Document::isFrameAtPos(), isPointLegal(), isSelectionEmpty(), isTabListAheadPoint(), isTabListBehindPoint(), LIST_DEFAULT_INDENT, AV_View::m_bInsertMode, m_FrameEdit, AV_View::m_pApp, m_pDoc, m_pG, UT_LangRecord::m_szLangCode, notifyListeners(), PTC_AddFmt, FV_FrameEdit::setMode(), FV_FrameEdit::setPointInside(), PP_AttrProp::setProperty(), fl_BlockLayout::StartList(), STD_DOUBLE_BUFFERING_FOR_THIS_FUNCTION, UCS_TAB, PD_Document::updateDirtyLists(), UT_ASSERT, UT_return_val_if_fail, and XAP_PREF_KEY_ChangeLanguageWithKeyboard.

Referenced by cmdCharInsert().

bool FV_View::_charMotion ( bool  bForward,
UT_uint32  countChars,
bool  bSkipCannotContainPoint = true 
) [protected]
UT_uint32 * FV_View::_computeFindPrefix ( const UT_UCSChar pFind  ) 

Compute prefix function for search

Parameters:
pFind String to find
bMatchCase True to match case, false to ignore case

References m_bMatchCase, UT_calloc(), UT_return_val_if_fail, UT_UCS4_strlen(), and UT_UCS4_tolower().

Referenced by findNext(), findPrev(), findReplace(), findReplaceAll(), and findReplaceReverse().

bool FV_View::_deleteCellAt ( PT_DocPosition  posTable,
UT_sint32  row,
UT_sint32  col 
)
void FV_View::_deleteSelection ( PP_AttrProp p_AttrProp_Before = NULL,
bool  bNoUpdate = false,
bool  bCaretLeft = false 
) [protected]

References _adjustDeletePosition(), _charMotion(), _clearBetweenPositions(), _findBlockAtPosition(), _resetSelection(), GR_Graphics::allCarets(), PD_Document::beginUserAtomicGlob(), PD_Document::changeSpanFmt(), PD_Document::changeStruxFmt(), deleteFrame(), PD_Document::deleteSpan(), AllCarets::enable(), PD_Document::endUserAtomicGlob(), getClosestEndnote(), getClosestFootnote(), fl_ContainerLayout::getContainerType(), getCurrentBlock(), getEditableBounds(), getFrameLayout(), fl_FrameLayout::getLength(), fl_BlockLayout::getLength(), fl_EmbedLayout::getLength(), fl_ContainerLayout::getNextBlockInDocument(), getPoint(), fl_BlockLayout::getPosition(), fl_ContainerLayout::getPosition(), fl_ContainerLayout::getPrev(), fl_ContainerLayout::getPrevBlockInDocument(), FV_Selection::getSelectionAnchor(), fl_Layout::getStruxDocHandle(), PD_Document::insertStrux(), FV_FrameEdit::isActive(), PD_Document::isDontImmediateLayout(), PD_Document::isEndFrameAtPos(), PD_Document::isEndTableAtPos(), PD_Document::isFrameAtPos(), fl_ContainerLayout::isHidden(), isInEndnote(), isInFootnote(), isInFrame(), isInTable(), fl_BlockLayout::isListItem(), isMarkRevisions(), isPointLegal(), isSelectionEmpty(), PD_Document::isTableAtPos(), isTabListAheadPoint(), m_FrameEdit, m_pDoc, m_pG, m_Selection, PTC_RemoveFmt, PTX_Block, PD_Document::setDontImmediatelyLayout(), setPoint(), PD_Document::StopList(), UT_ASSERT, UT_MAX, and UT_MIN.

Referenced by _charInsert(), _doPaste(), _findReplace(), _findReplaceReverse(), _insertField(), _insertSectionBreak(), cmdCharDelete(), cmdCut(), cmdDeleteCell(), cmdDeleteCol(), cmdDeleteEmbed(), cmdDeleteRow(), cmdInsertEmbed(), cmdInsertGraphic(), cmdInsertLatexMath(), cmdInsertMathML(), cmdInsertTable(), cmdInsertTOC(), cmdUpdateEmbed(), convertInLineToPositioned(), delTo(), insertFootnote(), insertParagraphBreak(), insertParagraphBreaknoListUpdate(), and insertSymbol().

UT_Error FV_View::_deleteXMLID ( const std::string &  xmlid,
bool  bSignal 
) [protected]

References _deleteXMLID(), and s.

void FV_View::_drawBetweenPositions ( PT_DocPosition  left,
PT_DocPosition  right 
) [protected]
bool FV_View::_drawOrClearBetweenPositions ( PT_DocPosition  iPos1,
PT_DocPosition  iPos2,
bool  bClear,
bool  bFullLineHeight 
) [protected]

This method simply iterates over every run between two doc positions and draws or clears and redraws each one. We clear if bClear is true otherwise we just draw selected. If bClear is true then the if bFullLineHeight is true the runs are cleared to their full height.

References _findPositionCoords(), _generalUpdate(), UT_GenericVector< T >::addItem(), dg_DrawArgs::bDirtyRunsOnly, FV_ViewDoubleBuffering::beginDoubleBuffering(), CellLine, fp_CellContainer::clearScreen(), fp_CellContainer::clearSelection(), fp_Run::clearSelectionMode(), fp_Run::draw(), fp_CellContainer::draw(), fp_CellContainer::drawLines(), fp_CellContainer::drawLinesAdjacent(), fp_CellContainer::drawSelectedCell(), UT_GenericVector< T >::findItem(), GR_Graphics::flush(), fp_Line::getAscent(), fp_Run::getBlock(), fp_Run::getBlockOffset(), fp_CellContainer::getBrokenTable(), fp_Container::getContainer(), fp_ContainerObject::getContainerType(), fl_ContainerLayout::getContainerType(), fl_BlockLayout::getFirstRun(), getGraphics(), UT_GenericVector< T >::getItemCount(), fp_Run::getLength(), fp_Run::getLine(), fl_ContainerLayout::getNextBlockInDocument(), fp_Run::getNextRun(), UT_GenericVector< T >::getNthItem(), fp_Line::getPage(), fp_TableContainer::getPage(), fp_Container::getPage(), getPageScreenOffsets(), getPoint(), fl_BlockLayout::getPosition(), fp_Line::getScreenOffsets(), getSelectionAnchor(), fp_Run::getWidth(), fl_CellLayout::isCellSelected(), fp_Run::isDirty(), fp_Run::isHidden(), fp_CellContainer::isSelected(), CellLine::m_pBrokenTable, CellLine::m_pCell, m_pG, CellLine::m_pLine, m_pParentData, fl_ContainerLayout::myContainingLayout(), dg_DrawArgs::pG, fp_Page::redrawDamagedFrames(), fp_Run::Run_ClearScreen(), fp_Run::setSelectionMode(), UT_ASSERT_HARMLESS, UT_return_val_if_fail, UT_SHOULD_NOT_HAPPEN, UT_VECTOR_PURGEALL, dg_DrawArgs::xoff, xxx_UT_DEBUGMSG, and dg_DrawArgs::yoff.

Referenced by _clearBetweenPositions(), and _drawBetweenPositions().

bool FV_View::_ensureInsertionPointOnScreen (  )  [protected]

Scrolls the screen to make sure that the IP is on-screen.

Returns:
true iff scrolling took place Q: should this get called if there is a selection? Does it do harm? It may, because point may be the beginning of the selection.

References _fixInsertionPointCoords(), AV_SCROLLCMD_LINEDOWN, AV_SCROLLCMD_LINELEFT, AV_SCROLLCMD_LINERIGHT, AV_SCROLLCMD_LINEUP, cmdScroll(), getPageViewLeftMargin(), getPoint(), AV_View::getWindowHeight(), AV_View::getWindowWidth(), m_iPointHeight, m_xPoint, m_yPoint, and xxx_UT_DEBUGMSG.

Referenced by _actuallyScroll(), _charInsert(), _insertSectionBreak(), _moveInsPtNextPrevLine(), _moveInsPtNextPrevScreen(), _moveInsPtToPage(), FL_DocLayout::_redrawUpdate(), _restoreCellParams(), _updateInsertionPoint(), calculateNumHorizPages(), changeListStyle(), cmdAdvanceNextPrevCell(), cmdAutoFitTable(), cmdAutoSizeCols(), cmdAutoSizeRows(), cmdCharDelete(), cmdCharMotion(), cmdCut(), cmdDeleteCell(), cmdDeleteCol(), cmdDeleteRow(), cmdDeleteTable(), cmdHyperlinkJump(), cmdInsertCol(), cmdInsertField(), cmdInsertPositionedGraphic(), cmdInsertRow(), cmdInsertTable(), cmdMergeCells(), cmdPaste(), cmdPasteSelectionAt(), cmdSplitCells(), cmdTableToText(), cmdTextToTable(), convertInLineToPositioned(), FV_FrameEdit::deleteFrame(), ensureInsertionPointOnScreen(), extSelHorizontal(), extSelTo(), findNext(), findPrev(), findReplace(), findReplaceReverse(), gotoTarget(), insertFootnote(), insertHeaderFooter(), insertParagraphBreak(), insertParagraphBreaknoListUpdate(), FV_FrameEdit::mouseRelease(), moveInsPtTo(), pasteFromLocalTo(), FV_Selection::pasteRowOrCol(), processSelectedBlocks(), selectAnnotation(), setCellFormat(), setSectionFormat(), setTableFormat(), and warpInsPtToXY().

UT_sint32 FV_View::_findBlockSearchRegexp ( const UT_UCSChar haystack,
const UT_UCSChar needle 
) [private]
fl_BlockLayout * FV_View::_findGetCurrentBlock ( void   )  const [private]
PT_DocPosition FV_View::_findGetCurrentOffset ( void   )  const [private]

References _findGetCurrentBlock(), and m_iInsPoint.

Referenced by _findNext(), and _findPrev().

bool FV_View::_findNext ( UT_uint32 pPrefix,
bool &  bDoneEntireDocument 
)

Find next occurrence of string

Parameters:
pFind String to find
True to match case, false to ignore case
Returns:
bDoneEntireDocument True if entire document searched, false otherwise
True if string was found, false otherwise

The conversion of UCS_RQUOTE should happen in some generic function - it is presently done lot's of places in the code.

References _charMotion(), _findGetCurrentBlock(), _findGetCurrentOffset(), _findGetNextBlockBuffer(), _setPoint(), _setSelectionAnchor(), FREEP, fl_BlockLayout::getPosition(), m_bMatchCase, m_bWholeWord, m_doneFind, m_sFind, m_wrappedEnd, s_smartQuoteToPlain(), UCS_UNKPUNK, UT_ASSERT, UT_calloc(), UT_isWordDelimiter(), UT_MAX, UT_return_val_if_fail, UT_UCS4_strlen(), and UT_UCS4_tolower().

Referenced by _findReplace(), findNext(), and findReplaceAll().

void FV_View::_findPositionCoords ( PT_DocPosition  pos,
bool  b,
UT_sint32 x,
UT_sint32 y,
UT_sint32 x2,
UT_sint32 y2,
UT_uint32 height,
bool &  bDirection,
fl_BlockLayout **  ppBlock,
fp_Run **  ppRun 
) const [protected]

References _findBlockAtPosition(), fl_ContainerLayout::canContainPoint(), FL_DocLayout::findPage(), fl_BlockLayout::findPointCoords(), fl_ContainerLayout::getContainerType(), getEditableBounds(), fl_SectionLayout::getFirstBlock(), fl_BlockLayout::getFirstRun(), FL_DocLayout::getFirstSection(), fp_Run::getLine(), fl_ContainerLayout::getNextBlockInDocument(), fp_Run::getNextRun(), fp_Line::getPage(), getPageViewLeftMargin(), getPageYOffset(), getPoint(), fl_BlockLayout::getPosition(), fl_ContainerLayout::getPrevBlockInDocument(), fp_Run::getPrevRun(), fp_Run::getWidth(), getWidthPrevPagesInRow(), fp_Run::isField(), PD_Document::isFootnoteAtPos(), m_pDoc, m_pLayout, AV_View::m_xScrollOffset, AV_View::m_yScrollOffset, UT_ASSERT_HARMLESS, UT_DEBUGMSG, UT_SHOULD_NOT_HAPPEN, and xxx_UT_DEBUGMSG.

Referenced by _charMotion(), _clearBetweenPositions(), _drawOrClearBetweenPositions(), _fixInsertionPointCoords(), _getCurrentPage(), _getDocPosFromPoint(), _getMouseContext(), _moveInsPtNextPrevLine(), _moveInsPtNextPrevScreen(), FL_DocLayout::_redrawUpdate(), cmdInsertPositionedGraphic(), cmdSelectColumn(), doesSelectionContainRevision(), FV_VisualDragText::drawCursor(), FV_VisualInlineImage::drawCursor(), getAttributes(), getCellAtPos(), getChar(), getCharFormat(), getCurrentPage(), getCurrentPageNumber(), FV_FrameEdit::getFrameStrings(), FV_VisualDragText::getImageFromSelection(), FV_VisualInlineImage::getImageFromSelection(), getInsertionPointContext(), getLeftRulerInfo(), getLineBounds(), getSelectedImage(), getSelectedObject(), getStyle(), getTopRulerInfo(), insertFootnote(), isMathSelected(), isTabListAheadPoint(), isTabListBehindPoint(), and notifyListeners().

bool FV_View::_findReplace ( UT_uint32 pPrefix,
bool &  bDoneEntireDocument,
bool  bNoUpdate 
)

Find and replace text unit

Parameters:
pFind String to find
pReplace String to replace it with
pPrefix Search prefix function
bMatchCase True to match case, false to ignore case
Returns:
bDoneEntireDocument True if entire document searched, false otherwise
True if string was replaced, false otherwise

This function will replace an existing selection with pReplace. It will then do a search for pFind.

References _deleteSelection(), _findNext(), _generalUpdate(), _restorePieceTableState(), _saveAndNotifyPieceTableChange(), PD_Document::beginUserAtomicGlob(), PD_Document::endUserAtomicGlob(), getPoint(), PD_Document::insertSpan(), FV_FrameEdit::isActive(), isSelectionEmpty(), m_doneFind, m_FrameEdit, m_pDoc, m_sFind, m_sReplace, m_startPosition, m_wrappedEnd, FV_FrameEdit::setPointInside(), UT_ASSERT, and UT_UCS4_strlen().

Referenced by findReplace(), and findReplaceAll().

void FV_View::_fixAllInsertionPointCoords ( void   )  const [protected]
void FV_View::_fixInsertionPointCoords ( bool  bIgnoreAll = false  )  [protected]

References _findPositionCoords(), _fixAllInsertionPointCoords(), GR_Graphics::allCarets(), EV_EMC_TEXT, fl_BlockLayout::findPointCoords(), AllCarets::getBaseCaret(), fg_FillType::getColor(), getCurrentPage(), fp_Page::getFillType(), fp_TableContainer::getFirstBrokenTable(), fp_VerticalContainer::getFirstContainer(), fl_ContainerLayout::getFirstContainer(), getGraphics(), fl_ContainerLayout::getNextBlockInDocument(), getPageViewLeftMargin(), getPoint(), fl_BlockLayout::getPosition(), fp_CellContainer::getScreenPositions(), getTableAtPos(), fp_Run::getType(), AV_View::getWindowHeight(), AV_View::getWindowWidth(), AV_View::isLayoutFilling(), m_bInsertAtTablePending, m_bPointDirection, m_bPointEOL, m_iPointHeight, m_iPosAtTable, m_pG, m_pLayout, m_prevMouseContext, m_xPoint, m_xPoint2, m_xPointSticky, AV_View::m_xScrollOffset, m_yPoint, m_yPoint2, GR_Caret::setCoords(), AllCarets::setWindowSize(), GR_Graphics::tlu(), FL_DocLayout::triggerPendingBlock(), UT_DEBUGMSG, and xxx_UT_DEBUGMSG.

Referenced by _charInsert(), _charMotion(), _clearBetweenPositions(), _clearSelection(), _ensureInsertionPointOnScreen(), _eraseSelection(), _extSelToPos(), _fixAllInsertionPointCoords(), _fixInsertionPointAfterRevision(), _moveInsPtNextPrevScreen(), _moveInsPtToPage(), _setPoint(), _swapSelectionOrientation(), cmdAdvanceNextPrevCell(), cmdAutoFitTable(), cmdAutoSizeCols(), cmdAutoSizeRows(), cmdCharDelete(), cmdCharMotion(), cmdCut(), cmdDeleteCell(), cmdDeleteCol(), cmdDeleteRow(), cmdDeleteTable(), cmdHyperlinkJump(), cmdInsertCol(), cmdInsertField(), cmdInsertRow(), cmdInsertTable(), cmdMergeCells(), cmdPaste(), cmdPasteSelectionAt(), cmdScroll(), cmdSplitCells(), cmdTableToText(), cmdTextToTable(), FV_FrameEdit::deleteFrame(), delTo(), draw(), extSelNextPrevLine(), extSelNextPrevPage(), extSelNextPrevScreen(), extSelTo(), fixInsertionPointCoords(), insertFootnote(), insertHeaderFooter(), insertParagraphBreak(), FV_FrameEdit::mouseRelease(), pasteFromLocalTo(), FV_Selection::pasteRowOrCol(), processSelectedBlocks(), removeStruxAttrProps(), setBlockFormat(), setBlockIndents(), setCellFormat(), setCharFormat(), setCollapsedRange(), setShowRevisions(), setViewMode(), setXScrollOffset(), and setYScrollOffset().

void FV_View::_generalUpdate ( void   ) 

References _makePointLegal(), AV_CHG_FMTBLOCK, AV_CHG_FMTCHAR, AV_CHG_FMTSTYLE, AV_CHG_PAGECOUNT, AV_CHG_TYPING, PD_Document::isDoingPaste(), isPreview(), m_pDoc, notifyListeners(), PD_SIGNAL_UPDATE_LAYOUT, setCursorToContext(), shouldScreenUpdateOnGeneralUpdate(), and PD_Document::signalListeners().

Referenced by _charInsert(), _cmdEditHdrFtr(), _deleteBookmark(), _deleteHyperlink(), _deleteXMLID(), _doPaste(), _drawOrClearBetweenPositions(), _findReplace(), _findReplaceReverse(), _insertSectionBreak(), _restoreCellParams(), changeListStyle(), cmdAcceptRejectRevision(), cmdAutoFitTable(), cmdAutoSizeCols(), cmdAutoSizeRows(), cmdCharDelete(), cmdCharInsert(), cmdCut(), cmdDeleteCell(), cmdDeleteCol(), cmdDeleteEmbed(), cmdDeleteRow(), cmdDeleteTable(), cmdHyperlinkJump(), cmdInsertBookmark(), cmdInsertCol(), cmdInsertEmbed(), cmdInsertField(), cmdInsertGraphic(), cmdInsertGraphicAtStrux(), cmdInsertHyperlink(), cmdInsertLatexMath(), cmdInsertMathML(), cmdInsertPositionedGraphic(), cmdInsertRow(), cmdInsertTable(), cmdInsertTOC(), cmdInsertXMLID(), cmdRedo(), cmdRemoveHdrFtr(), cmdSplitCells(), cmdTableToText(), cmdTextToTable(), cmdUndo(), cmdUpdateEmbed(), convertInLineToPositioned(), convertPositionedToInLine(), createThisHdrFtr(), FV_FrameEdit::deleteFrame(), delTo(), Drop(), endDragSelection(), findReplaceAll(), insertAnnotation(), insertFootnote(), insertFootnoteSection(), insertHeaderFooter(), insertPageNum(), insertParagraphBreak(), insertParagraphBreaknoListUpdate(), insertSymbol(), FV_VisualInlineImage::mouseRelease(), FV_FrameEdit::mouseRelease(), pasteFromLocalTo(), FV_Selection::pasteRowOrCol(), populateThisHdrFtr(), processPageNumber(), processSelectedBlocks(), removeStruxAttrProps(), removeThisHdrFtr(), RestoreSavedPieceTableState(), setAnnotationText(), setBlockFormat(), setBlockIndents(), setCellFormat(), setCharFormat(), setCollapsedRange(), setSectionFormat(), setStyleAtPos(), setTableFormat(), setTOCProps(), setViewMode(), and toggleCase().

fp_Page * FV_View::_getCurrentPage ( void   )  const [protected]
UT_uint32 FV_View::_getDataCount ( UT_uint32  pt1,
UT_uint32  pt2 
) const [protected]

References UT_ASSERT.

PT_DocPosition FV_View::_getDocPos ( FV_DocPos  dp,
bool  bKeepLooking = true 
) const [protected]
fp_HyperlinkRun * FV_View::_getHyperlinkInRange ( PT_DocPosition posStart,
PT_DocPosition posEnd 
) [protected]
EV_EditMouseContext FV_View::_getMouseContext ( UT_sint32  xPos,
UT_sint32  yPos 
)

References _findPositionCoords(), _getPageForXY(), fp_Run::containsRevisions(), EV_EMC_HYPERLINK, FPRUN_BOOKMARK, FPRUN_DIRECTIONMARKER, FPRUN_EMBED, FPRUN_ENDOFPARAGRAPH, FPRUN_FIELD, FPRUN_FMTMARK, FPRUN_FORCEDCOLUMNBREAK, FPRUN_FORCEDLINEBREAK, FPRUN_FORCEDPAGEBREAK, FPRUN_HYPERLINK, FPRUN_IMAGE, FPRUN_MATH, FPRUN_TAB, FPRUN_TEXT, FV_DragNothing, FV_DragWhole, fp_Run::getAscent(), fp_Line::getAscent(), fp_Run::getBlock(), fp_Run::getBlockOffset(), fp_CellContainer::getColumn(), fp_Container::getContainer(), fp_ContainerObject::getContainerType(), fl_ContainerLayout::getContainerType(), fl_BlockLayout::getDominantDirection(), FV_Base::getDragWhat(), fp_TableContainer::getFirstBrokenTable(), fl_ContainerLayout::getFirstContainer(), FV_FrameEdit::getFrameLayout(), fl_FrameLayout::getFrameType(), fp_FrameContainer::getFullHeight(), fp_FrameContainer::getFullWidth(), fp_FrameContainer::getFullX(), fp_FrameContainer::getFullY(), fp_Run::getHeight(), fp_Run::getHyperlink(), fp_CellContainer::getLeftPos(), FL_DocLayout::getLID(), fp_Run::getLine(), fp_Container::getNext(), fp_Run::getNextRun(), getPageScreenOffsets(), getPoint(), fl_BlockLayout::getPosition(), fp_CellContainer::getRightPos(), fp_Line::getScreenOffsets(), fp_Page::getScreenOffsets(), fp_Line::getScreenRect(), getSelectionAnchor(), fp_CellContainer::getStartY(), fp_CellContainer::getStopY(), PD_Document::getStruxOfTypeFromPosition(), fp_CellContainer::getTopAttach(), fp_Run::getType(), fp_Run::getWidth(), getWidthPagesInRow(), fp_ContainerObject::getX(), fp_VerticalContainer::getX(), fp_ContainerObject::getY(), fp_VerticalContainer::getY(), fp_TableContainer::getYBreak(), UT_Rect::height, FV_VisualInlineImage::isActive(), FV_FrameEdit::isActive(), fp_ContainerObject::isColumnType(), PD_Document::isFrameAtPos(), fp_TableContainer::isInBrokenTable(), isInFrame(), isInTable(), isLeftMargin(), isPosSelected(), FV_Selection::isPosSelected(), isSelectionEmpty(), m_bDragTableLine, m_FrameEdit, m_iMouseX, m_iMouseY, m_InlineImage, m_pDoc, m_pLayout, m_prevMouseContext, m_Selection, m_selImageRect, fp_Page::mapXYToPosition(), fl_ContainerLayout::myContainingLayout(), UT_Rect::top, UT_ASSERT, UT_DEBUGMSG, UT_MAX, UT_MIN, UT_NOT_IMPLEMENTED, and xxx_UT_DEBUGMSG.

Referenced by getMouseContext().

bool FV_View::_insertCellAfter ( PT_DocPosition  posTable,
UT_sint32  rowold,
UT_sint32  colold,
UT_sint32  left,
UT_sint32  right,
UT_sint32  top,
UT_sint32  bot 
)

This method inserts the cell after the coordinates of the cell at (row,col) in the table specified by posTable at the cordinates specified.

References UT_String::c_str(), findCellPosAt(), PD_Document::getEndCellStruxFromCellSDH(), PD_Document::getStruxOfTypeFromPosition(), PD_Document::getStruxPosition(), PD_Document::insertStrux(), m_pDoc, PTX_Block, PTX_EndCell, PTX_SectionCell, and UT_String_sprintf().

bool FV_View::_insertCellBefore ( PT_DocPosition  posTable,
UT_sint32  rowold,
UT_sint32  colold,
UT_sint32  left,
UT_sint32  right,
UT_sint32  top,
UT_sint32  bot 
)

This method inserts the cell before the coordinates of the cell at (row,col) in the table specified by posTable at the cordinates specified.

References UT_String::c_str(), findCellPosAt(), PD_Document::insertStrux(), m_pDoc, PTX_Block, PTX_EndCell, PTX_SectionCell, and UT_String_sprintf().

bool FV_View::_insertFormatPair ( const gchar *  szName,
const gchar *  properties[] 
) [protected]
UT_UCSChar* FV_View::_lookupSuggestion ( fl_BlockLayout pBL,
fl_PartOfBlock pPOB,
UT_sint32  ndx 
) [protected]
bool FV_View::_MergeCells ( PT_DocPosition  posDestination,
PT_DocPosition  posSource,
bool  bBefore 
)
void FV_View::_moveInsPtNextPrevLine ( bool  bNext  )  [protected]

Move insertion point to previous or next line

Parameters:
bNext True if moving to next line

This function moves the IP up or down one line, attempting to get as close as possible to the prior "sticky" x position. The notion of "next" is strictly physical, not logical.

For example, instead of always moving from the last line of one block to the first line of the next, you might wind up skipping over a bunch of blocks to wind up in the first line of the second column.

References _ensureInsertionPointOnScreen(), _findPositionCoords(), _getDocPosFromPoint(), _getNextLineInDoc(), _getPageForXY(), _setPoint(), fp_Page::countColumnLeaders(), FL_DocLayout::findPage(), FV_DOCPOS_BOL, FV_DOCPOS_EOL, fp_Page::getBottom(), fp_CellContainer::getBottomAttach(), fp_TableContainer::getCellAtRowColumn(), fp_Line::getColumn(), fp_Container::getContainer(), fl_ContainerLayout::getContainerType(), getCurrentPage(), getEditableBounds(), fp_VerticalContainer::getFirstContainer(), FL_DocLayout::getHeight(), fp_Page::getHeight(), fp_Line::getHeight(), fp_VerticalContainer::getLastContainer(), fp_Column::getLeader(), fp_CellContainer::getLeftAttach(), fp_Run::getLine(), fp_Line::getMarginBefore(), fp_Page::getNext(), fp_Page::getNthColumnLeader(), getNumHorizPages(), fp_TableContainer::getNumRows(), fp_VerticalContainer::getOffsets(), fp_Page::getOwningSection(), fp_Line::getPage(), getPageViewLeftMargin(), getPageYOffset(), getPoint(), fp_Page::getPrev(), fp_Line::getScreenRect(), fl_BlockLayout::getSectionLayout(), fl_DocSectionLayout::getTopMargin(), fl_SectionLayout::getType(), getViewMode(), getWidthPrevPagesInRow(), fp_ContainerObject::getY(), fp_VerticalContainer::getY(), UT_Rect::height, isHdrFtrEdit(), UT_Rect::left, m_bPointEOL, m_pG, m_pLayout, m_xPointSticky, AV_View::m_xScrollOffset, AV_View::m_yScrollOffset, fp_Page::mapXYToPosition(), moveInsPtTo(), setPoint(), FL_DocLayout::setSkipUpdates(), GR_Graphics::tlu(), UT_Rect::top, UT_ASSERT, UT_return_if_fail, VIEW_PRINT, and xxx_UT_DEBUGMSG.

Referenced by _moveInsPtNextPrevScreen(), extSelNextPrevLine(), gotoTarget(), and warpInsPtNextPrevLine().

void FV_View::_moveInsPtNextPrevPage ( bool  bNext  )  [protected]
void FV_View::_moveInsPtNthPage ( UT_sint32  n  )  [protected]
void FV_View::_moveToSelectionEnd ( bool  bForward  )  [protected]

Move point to requested end of selection and clear selection

Parameters:
bForward True if point should be moved to the forward position
Note:
Do not draw the insertion point after clearing the selection. BIDI broken?

References _clearSelection(), _swapSelectionOrientation(), getPoint(), FV_Selection::getSelectionAnchor(), isSelectionEmpty(), m_Selection, and UT_ASSERT.

Referenced by cmdCharMotion(), cmdFindRevision(), warpInsPtNextPrevLine(), warpInsPtNextPrevPage(), and warpInsPtNextPrevScreen().

bool FV_View::_restoreCellParams ( PT_DocPosition  posTable,
UT_sint32  iLineType 
)
void FV_View::_restorePieceTableState ( void   )  [protected]

References m_iPieceTableState, m_pDoc, PD_Document::notifyPieceTableChangeEnd(), and PD_Document::notifyPieceTableChangeStart().

Referenced by _charInsert(), _deleteBookmark(), _deleteHyperlink(), _deleteXMLID(), _findReplace(), _findReplaceReverse(), _fixInsertionPointAfterRevision(), _restoreCellParams(), changeListStyle(), cmdAcceptRejectRevision(), cmdAutoFitTable(), cmdAutoSizeCols(), cmdAutoSizeRows(), cmdCharDelete(), cmdCharInsert(), cmdDeleteCell(), cmdDeleteCol(), cmdDeleteEmbed(), cmdDeleteRow(), cmdDeleteTable(), cmdInsertBookmark(), cmdInsertCol(), cmdInsertEmbed(), cmdInsertField(), cmdInsertGraphic(), cmdInsertGraphicAtStrux(), cmdInsertHyperlink(), cmdInsertLatexMath(), cmdInsertMathML(), cmdInsertPositionedGraphic(), cmdInsertRow(), cmdInsertTable(), cmdInsertTOC(), cmdInsertXMLID(), cmdPasteSelectionAt(), cmdRemoveHdrFtr(), cmdSplitCells(), cmdStopList(), cmdTableToText(), cmdTextToTable(), cmdUpdateEmbed(), convertInLineToPositioned(), convertPositionedToInLine(), FV_FrameEdit::deleteFrame(), delTo(), endDragSelection(), insertAnnotation(), insertFootnote(), insertFootnoteSection(), insertPageNum(), insertParagraphBreak(), FV_VisualInlineImage::mouseRelease(), FV_FrameEdit::mouseRelease(), pasteFromLocalTo(), FV_Selection::pasteRowOrCol(), processPageNumber(), processSelectedBlocks(), removeStruxAttrProps(), removeThisHdrFtr(), setAnnotationText(), setBlockFormat(), setBlockIndents(), setCellFormat(), setCharFormat(), setCollapsedRange(), setSectionFormat(), setStyleAtPos(), setTableFormat(), setTOCProps(), and toggleCase().