InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ICreateOutlinesUtils Class Referenceabstract

#include <ICreateOutlinesUtils.h>

Inheritance diagram for ICreateOutlinesUtils:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_ICREATEOUTLINESUTILS }
 

Public Member Functions

virtual bool16 IsCreateOutlinesPort (IGraphicsPort *gPort) const =0
 
virtual ICommandCreateCOTextCmd (const UIDRef &textModel, TextIndex start, TextIndex end, bool16 deleteOriginal) const =0
 
virtual ICommandCreateCOFrameCmd (const UIDList &frames, bool16 deleteOriginal) const =0
 
virtual ICommandCreateCOTableCmd (const UIDRef &tableModel, const GridArea &gridArea, bool16 deleteOriginal) const =0
 
virtual UIDList FilterUIDList (const UIDList &sourceList) const =0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

Utility methods related to creating outlines.


Utils<ICreateOutlinesUtils>()->CreateCOTextCmd(...) ;

Member Function Documentation

virtual ICommand* ICreateOutlinesUtils::CreateCOFrameCmd (const UIDListframes,
bool16 deleteOriginal 
) const
pure virtual

Returns a command to create outlines from all the text in one or more frames

Parameters
framesis the list of text frames containing the text to convert to outlines
deleteOriginalwhether to delete the frames converted to outlines
Returns
the unexecuted command
virtual ICommand* ICreateOutlinesUtils::CreateCOTableCmd (const UIDReftableModel,
const GridAreagridArea,
bool16 deleteOriginal 
) const
pure virtual

Returns a command to create outlines from text in a table

Parameters
tableModelis the table
gridAreais the cells containing the text to convert to outlines
deleteOriginalwhether 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 UIDReftextModel,
TextIndex start,
TextIndex end,
bool16 deleteOriginal 
) const
pure virtual

Create a command to create outlines from text

Parameters
textModelis the story containing the text to convert to outlines
startis the start offset of the text in the story
endis the end offset of the text in the story
deleteOriginalwhether 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 UIDListsourceList) const
pure virtual

Filter a list of UIDs for valid text frames (called by CreateCOFrameCmd)

Parameters
sourceListis the list to filter IN
Returns
is the filtered list
virtual bool16 ICreateOutlinesUtils::IsCreateOutlinesPort (IGraphicsPortgPort) const
pure virtual

Used at draw time to determine whether a graphics port is being drawn into for the purpose of creating outlines

Parameters
gPortis the graphics port to test
Returns
kTrue if the graphics port is for creating outlines.