textops.h File Reference

(r1785/r1446)

#include "cutop.h"

Go to the source code of this file.

Classes

class  OpTextUndoable
 All undoable text operations are derived from this base class. It provides useful functions required by all Undoable Text Operations. More...
class  OpCreateTextObject
 This operation is invoked to allow the user to insert a TextStory into the document. Currently the only way the user can create a TextStory is to click on a spread. More...
class  OpTextFormat
 This class implements many of the 'operations' which will cause the TextStory to be reformated. More...
class  OpFitTextToCurve
 This class is the operation used to fit a line of text to a path. More...
class  OpTextKern
 This Operation applies a kern to the FocusStory. More...
class  OpTextAutoKern
 This Operation applies autokern to the FocusStory. More...
class  OpTextPaste
 An undoable operation to paste the contents of the clipboard into a text story. More...
class  OpTogglePrintTextAsShapes
 This operation toggles the state of the "print text as shapes flag" in selected TextStories. More...
class  OpDeleteTextStory
 This operation should be used to hide a particular TextStory. More...
class  OpReverseStoryPath
 This operation should be used to hide a particular TextStory. More...
class  OpApplyJustificationToStory
 This operation is the base class of the operations that sit on the TextStory pop-up menu. More...
class  OpApplyLeftJustifyToStory
 This operation is the left justify option on the TextStory pop-up menu. More...
class  OpApplyCentreJustifyToStory
 This operation is the centre justify option on the TextStory pop-up menu. More...
class  OpApplyRightJustifyToStory
 This operation is the right justify option on the TextStory pop-up menu. More...
class  OpApplyFullJustifyToStory
 This operation is the full justify option on the TextStory pop-up menu. More...
class  PrePostTextAction
 This action will be generated at the start and end of an OpTextUndoable operation. It will perform the following tasks. More...
class  PositionCaretAction
 This action is used to position a caret within a TextStory. Its execute function inserts another PositionCaretAction into the undo record to return the caret to its current position and then moves it to the stored position. More...
class  ToggleAutoKerningAction
 Toggle a story's auto kerning value. More...
class  VerticalInsetStore
class  OpTextCaret
 OpTextCaret groups together all caret moving ops. More...
class  OpTextSelection
 This is the operation that positions the caret after a click, and then does a drag to select characters. It also provides other functions for selecting groups of characters. More...
class  StorePathIndentAction
 This action is used to store a text stories path indent value. More...
class  OpDragStoryIndent
 This is the operation that is used to drag the indent position along the path the text story is on. More...
class  OpDragStoryPathIndent
 Base class for dragging indents for stories on a path. More...
class  OpDragStoryPathLeftIndent
 This is the operation that is used to drag the left hand path indent. More...
class  OpDragStoryPathRightIndent
 This is the operation that is used to drag the right hand path indent. More...
class  OpDragStoryNonPathIndent
 Base class for dragging indents for stories not on a path. More...
class  OpDragStoryNonPathLeftIndent
 This is the operation that is used to drag the left hand path indent. More...
class  OpDragStoryNonPathRightIndent
 This is the operation that is used to drag the right hand path indent. More...
class  OpApplyGlobalAffect
 An operation to scan all objects in all documents, calling a user defined function to perform a none undoable operation on them. More...
class  OpAffectFontChange
 An operation to update all text stories in all documents. More...

Defines

#define OPTOKEN_FITTEXTTOPATH   _T("FitTextToPath")
#define OPTOKEN_KERNTEXT   _T("Kern")
#define OPTOKEN_AUTOKERNTEXT   _T("AutoKerning")
#define OPTOKEN_TEXTSELECTION   _T("TextSelect")
#define OPTOKEN_DELETESTORY   _T("TextStoryDeletion")
#define OPTOKEN_REVERSESTORYPATH   _T("ReverseStoryPath")
#define OPTOKEN_APPLYLEFTJUSTIFY   _T("ApplyLeftJustify")
#define OPTOKEN_APPLYCENTREJUSTIFY   _T("ApplyCentreJustify")
#define OPTOKEN_APPLYRIGHTJUSTIFY   _T("ApplyRightJustify")
#define OPTOKEN_APPLYFULLJUSTIFY   _T("ApplyFullJustify")
#define OPTOKEN_TEXTPASTE   _T("PasteText")
#define OPTOKEN_TOGGLEPRINTASSHAPES   _T("TogglePrintAsShapes")
#define OPTOKEN_TEXTDRAGLEFTPATHINDENT   _T("DragLeftPathIndent")
#define OPTOKEN_TEXTDRAGRIGHTPATHINDENT   _T("DragRightPathIndent")
#define OPTOKEN_TEXTDRAGLEFTNONPATHINDENT   _T("DragLeftNonPathIndent")
#define OPTOKEN_TEXTDRAGRIGHTNONPATHINDENT   _T("DragRightNonPathIndent")
#define OPTOKEN_AFFECTFONTCHANGE   _T("AffectFontChange")

Variables

const INT32 VERTICALMOVEINSET_NONE = 0xf0000000
 Class grouping the data for a vertical insert position. The story and the inset. As the cursor moved vertically it should keep its position along the line. The OpTextCaret remembers this across each caret move.


Define Documentation

#define OPTOKEN_AFFECTFONTCHANGE   _T("AffectFontChange")
 

Definition at line 149 of file textops.h.

#define OPTOKEN_APPLYCENTREJUSTIFY   _T("ApplyCentreJustify")
 

Definition at line 140 of file textops.h.

#define OPTOKEN_APPLYFULLJUSTIFY   _T("ApplyFullJustify")
 

Definition at line 142 of file textops.h.

#define OPTOKEN_APPLYLEFTJUSTIFY   _T("ApplyLeftJustify")
 

Definition at line 139 of file textops.h.

#define OPTOKEN_APPLYRIGHTJUSTIFY   _T("ApplyRightJustify")
 

Definition at line 141 of file textops.h.

#define OPTOKEN_AUTOKERNTEXT   _T("AutoKerning")
 

Definition at line 135 of file textops.h.

#define OPTOKEN_DELETESTORY   _T("TextStoryDeletion")
 

Definition at line 137 of file textops.h.

#define OPTOKEN_FITTEXTTOPATH   _T("FitTextToPath")
 

Definition at line 133 of file textops.h.

#define OPTOKEN_KERNTEXT   _T("Kern")
 

Definition at line 134 of file textops.h.

#define OPTOKEN_REVERSESTORYPATH   _T("ReverseStoryPath")
 

Definition at line 138 of file textops.h.

#define OPTOKEN_TEXTDRAGLEFTNONPATHINDENT   _T("DragLeftNonPathIndent")
 

Definition at line 147 of file textops.h.

#define OPTOKEN_TEXTDRAGLEFTPATHINDENT   _T("DragLeftPathIndent")
 

Definition at line 145 of file textops.h.

#define OPTOKEN_TEXTDRAGRIGHTNONPATHINDENT   _T("DragRightNonPathIndent")
 

Definition at line 148 of file textops.h.

#define OPTOKEN_TEXTDRAGRIGHTPATHINDENT   _T("DragRightPathIndent")
 

Definition at line 146 of file textops.h.

#define OPTOKEN_TEXTPASTE   _T("PasteText")
 

Definition at line 143 of file textops.h.

#define OPTOKEN_TEXTSELECTION   _T("TextSelect")
 

Definition at line 136 of file textops.h.

#define OPTOKEN_TOGGLEPRINTASSHAPES   _T("TogglePrintAsShapes")
 

Definition at line 144 of file textops.h.


Variable Documentation

const INT32 VERTICALMOVEINSET_NONE = 0xf0000000
 

Class grouping the data for a vertical insert position. The story and the inset. As the cursor moved vertically it should keep its position along the line. The OpTextCaret remembers this across each caret move.

Author:
Peter_Arnold (Xara Group Ltd) <camelotdev@xara.com>
Date:
21/11/95

Definition at line 631 of file textops.h.


Generated on Sat Nov 10 03:49:26 2007 for Camelot by  doxygen 1.4.4