#include <ICreateOutlinesUtils.h>
|
| enum | { kDefaultIID = IID_ICREATEOUTLINESUTILS } |
| |
Utility methods related to creating outlines.
Utils<ICreateOutlinesUtils>()->CreateCOTextCmd(...) ;
| virtual ICommand* ICreateOutlinesUtils::CreateCOFrameCmd | ( | const UIDList & | frames, | | | bool16 | deleteOriginal | | ) | | const |
| pure virtual |
Returns a command to create outlines from all the text in one or more frames
- Parameters
| frames | is the list of text frames containing the text to convert to outlines |
| deleteOriginal | whether to delete the frames converted to outlines |
- Returns
- the unexecuted command
| virtual ICommand* ICreateOutlinesUtils::CreateCOTableCmd | ( | const UIDRef & | tableModel, | | | const GridArea & | gridArea, | | | bool16 | deleteOriginal | | ) | | const |
| pure virtual |
Returns a command to create outlines from text in a table
- Parameters
| tableModel | is the table |
| gridArea | is the cells containing the text to convert to outlines |
| deleteOriginal | whether to delete the text in the cells converted to outlines and replace it within the outlines as inline objects |
- Returns
- the unexecuted command
| virtual ICommand* ICreateOutlinesUtils::CreateCOTextCmd | ( | const UIDRef & | textModel, | | | TextIndex | start, | | | TextIndex | end, | | | bool16 | deleteOriginal | | ) | | const |
| pure virtual |
Create a command to create outlines from text
- Parameters
| textModel | is the story containing the text to convert to outlines |
| start | is the start offset of the text in the story |
| end | is the end offset of the text in the story |
| deleteOriginal | whether to delete the text converted to outlines and replace it within the outlines as inline objects |
- Returns
- the unexecuted command
| virtual UIDList ICreateOutlinesUtils::FilterUIDList | ( | const UIDList & | sourceList | ) | const |
| pure virtual |
Filter a list of UIDs for valid text frames (called by CreateCOFrameCmd)
- Parameters
| sourceList | is the list to filter IN |
- Returns
- is the filtered list
| virtual bool16 ICreateOutlinesUtils::IsCreateOutlinesPort | ( | IGraphicsPort * | gPort | ) | const |
| pure virtual |
Used at draw time to determine whether a graphics port is being drawn into for the purpose of creating outlines
- Parameters
| gPort | is the graphics port to test |
- Returns
- kTrue if the graphics port is for creating outlines.