InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CusDtLnkAdornmentShape Class Reference
Inheritance diagram for CusDtLnkAdornmentShape:
CPMUnknown< IAdornmentShape >IAdornmentShapeIPMUnknown

Public Member Functions

 CusDtLnkAdornmentShape (IPMUnknown *boss)
 
virtual ~CusDtLnkAdornmentShape ()
 
virtual AdornmentDrawOrder GetDrawOrderBits ()
 
virtual void DrawAdornment (IShape *iShape, AdornmentDrawOrder drawOrder, GraphicsData *gd, int32 flags)
 
virtual PMRect GetPaintedAdornmentBounds (IShape *iShape, AdornmentDrawOrder drawOrder, const PMRect &itemBounds, const PMMatrix &innertoview)
 
virtual PMRect GetPrintedAdornmentBounds (IShape *iShape, AdornmentDrawOrder drawOrder, const PMRect &itemBounds, const PMMatrix &innertoview)
 
virtual void AddToContentInkBounds (IShape *iShape, PMRect *inOutBounds)
 
virtual PMReal GetPriority ()
 
virtual void Inval (IShape *iShape, AdornmentDrawOrder drawOrder, GraphicsData *gd, ClassID reasonForInval, int32 flags)
 
virtual bool16 WillPrint ()
 
virtual bool16 WillDraw (IShape *iShape, AdornmentDrawOrder drawOrder, GraphicsData *gd, int32 flags)
 
virtual bool16 HitTest (IShape *iShape, AdornmentDrawOrder adornmentDrawOrder, IControlView *layoutView, const PMRect &r)
 
- Public Member Functions inherited from CPMUnknown< IAdornmentShape >
IPMUnknownQueryInterface (PMIID interfaceID) const
 
void AddRef () const
 
void Release () const
 
void PreDirty (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue)
 
void PreDirtyNoMessage (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue)
 
 CPMUnknown (const CPMUnknown &)=delete
 
CPMUnknownoperator= (const CPMUnknown &)=delete
 

Additional Inherited Members

- Public Types inherited from IAdornmentShape
enum  { kDefaultIID = IID_IADORNMENTSHAPE }
 
enum  AdornmentDrawOrder {
  kNone = 0, kBeforeShape = 1, kAfterFill = 2, kBeforeTextBackground = 4,
  kBeforeText = 8, kBeforeTextForeground = 16, kAfterTextForeground = 32, kBeforeStroke = 64,
  kAfterStroke = 128, kAfterShape = 256, kBeforeFill = 512, kBeforeContent = 1024,
  kAfterContent = 2048, kAfterEndShape = 4096, kAfterSpread = 8192, kAllAdornmentFlags = 16383
}
 
enum  AdornmentDrawNumber { kNumberOfAdornments = 14 }
 
- Protected Member Functions inherited from CPMUnknown< IAdornmentShape >
 CPMUnknown (IPMUnknown *boss)
 
- Protected Attributes inherited from CPMUnknown< IAdornmentShape >
HelperInterface fHelperInterface
 

Detailed Description

Implementation of IAdornmentShape to decorate custom datalinked container page items

Constructor & Destructor Documentation

CusDtLnkAdornmentShape::CusDtLnkAdornmentShape (IPMUnknownboss)

Constructor.

Parameters
boss
CusDtLnkAdornmentShape::~CusDtLnkAdornmentShape ()
virtual

Destructor.

Member Function Documentation

void CusDtLnkAdornmentShape::AddToContentInkBounds (IShapeiShape,
PMRectinOutBounds 
)
virtual
void CusDtLnkAdornmentShape::DrawAdornment (IShapeiShape,
IAdornmentShape::AdornmentDrawOrder drawOrder,
GraphicsDatagd,
int32 flags 
)
virtual

See IAdornmentShape::Draw

Implements IAdornmentShape.

IAdornmentShape::AdornmentDrawOrder CusDtLnkAdornmentShape::GetDrawOrderBits ()
virtual
PMRect CusDtLnkAdornmentShape::GetPaintedAdornmentBounds (IShapeiShape,
AdornmentDrawOrder drawOrder,
const PMRectitemBounds,
const PMMatrixinnertoview 
)
virtual

See IAdornmentShape::GetPaintedBBox

Implements IAdornmentShape.

PMRect CusDtLnkAdornmentShape::GetPrintedAdornmentBounds (IShapeiShape,
AdornmentDrawOrder drawOrder,
const PMRectitemBounds,
const PMMatrixinnertoview 
)
virtual

See IAdornmentShape::GetPrintedBBox

Implements IAdornmentShape.

PMReal CusDtLnkAdornmentShape::GetPriority ()
virtual
virtual bool16 CusDtLnkAdornmentShape::HitTest (IShapeiShape,
AdornmentDrawOrder adornmentDrawOrder,
IControlViewlayoutView,
const PMRectr 
)
inlinevirtual
void CusDtLnkAdornmentShape::Inval (IShapeiShape,
IAdornmentShape::AdornmentDrawOrder drawOrder,
GraphicsDatagd,
ClassID reasonForInval,
int32 flags 
)
virtual
bool16 CusDtLnkAdornmentShape::WillDraw (IShapeiShape,
AdornmentDrawOrder drawOrder,
GraphicsDatagd,
int32 flags 
)
virtual
bool16 CusDtLnkAdornmentShape::WillPrint (void )
virtual