OpTextUndoable Class Reference

All undoable text operations are derived from this base class. It provides useful functions required by all Undoable Text Operations. More...

#include <textops.h>

Inheritance diagram for OpTextUndoable:

SelOperation UndoableOperation Operation MessageHandler ListItem CCObject SimpleCCObject OpCreateTextObject OpDragStoryIndent OpFitTextToCurve OpReverseStoryPath OpTextAutoKern OpTextFormat OpTextKern OpDragStoryNonPathIndent OpDragStoryPathIndent OpDragStoryNonPathLeftIndent OpDragStoryNonPathRightIndent OpDragStoryPathLeftIndent OpDragStoryPathRightIndent List of all members.

Public Member Functions

 OpTextUndoable ()
 OpTextUndoable constructor.
virtual BOOL DoStartTextOp (TextStory *pTextStory, BOOL StartBlobs=TRUE, BOOL EndBlobs=TRUE)
 This function should get called at the start of each undoable text operation. All common actions are done here.

Detailed Description

All undoable text operations are derived from this base class. It provides useful functions required by all Undoable Text Operations.

Author:
Simon_Maneggio (Xara Group Ltd) <camelotdev@xara.com>
Date:
24/3/95
Principally DoStartFormatOp DoEndFormatOp

See also:
OpTextUndoable::DoStartTextFormatOp OpTextUndoable::DoEndTextFormatOp

Definition at line 168 of file textops.h.


Constructor & Destructor Documentation

OpTextUndoable::OpTextUndoable  ) 
 

OpTextUndoable constructor.

Author:
Simon_Maneggio (Xara Group Ltd) <camelotdev@xara.com>
Date:
24/3/95

Definition at line 240 of file textops.cpp.

00241 {
00242 }


Member Function Documentation

BOOL OpTextUndoable::DoStartTextOp TextStory pTxtStory,
BOOL  StartBlobs = TRUE,
BOOL  EndBlobs = TRUE
[virtual]
 

This function should get called at the start of each undoable text operation. All common actions are done here.

Author:
Simon_Maneggio (Xara Group Ltd) <camelotdev@xara.com>
Date:
24/3/95
Parameters:
pTextStory - The TextStory to operate on [INPUTS] StartBlobs - wether to render object blobs at the start of the op EndBlobs - wether to render object blobs at the end of the op
Returns:
TRUE if successful FALSE if the operation should be aborted (TIDYUP THEN CALL End()!)

Definition at line 259 of file textops.cpp.

00260 {
00261 //  BeginSlowJob();     // text ops only work on one object at a time so are never slow!?
00262 
00263     // Record the selection state
00264     return DoStartSelOp(StartBlobs, EndBlobs);
00265 }


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:59:03 2007 for Camelot by  doxygen 1.4.4