OpApplyCentreJustifyToStory Class Reference

This operation is the centre justify option on the TextStory pop-up menu. More...

#include <textops.h>

Inheritance diagram for OpApplyCentreJustifyToStory:

OpApplyJustificationToStory Operation MessageHandler ListItem CCObject SimpleCCObject List of all members.

Public Member Functions

 OpApplyCentreJustifyToStory ()
virtual void Do (OpDescriptor *)
 Applies centre justification to selected text stories.

Detailed Description

This operation is the centre justify option on the TextStory pop-up menu.

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

Definition at line 467 of file textops.h.


Constructor & Destructor Documentation

OpApplyCentreJustifyToStory::OpApplyCentreJustifyToStory  )  [inline]
 

Definition at line 472 of file textops.h.

00472 {};                             


Member Function Documentation

void OpApplyCentreJustifyToStory::Do OpDescriptor pOpDesc  )  [virtual]
 

Applies centre justification to selected text stories.

Author:
Peter_Arnold (Xara Group Ltd) <camelotdev@xara.com>
Date:
27/04/95
Parameters:
OpDesc - unused [INPUTS]

Reimplemented from Operation.

Definition at line 4476 of file textops.cpp.

04477 {
04478     AttrTxtJustification* ApplyAttrib = new AttrTxtJustification();
04479 
04480     if (ApplyAttrib != NULL)
04481     {
04482         ApplyAttrib->Value.justification = JCENTRE;
04483         AttributeManager::AttributeSelected(ApplyAttrib, NULL);
04484     }
04485 }


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