![]() | InDesign SDK 20.5 |

Public Types | |
| enum | { kDefaultIID = IID_IPARARULESADORNMENTDATA } |
Public Member Functions | |
| virtual void | SetLineCharacteristics (bool16 above, UID color, const PMReal &tint, const PMReal &weight, bool16 overprint, const ICompositionStyle::StrokeType &strokeType, UID gapColor, const PMReal &gapTint, bool16 gapOverprint)=0 |
| virtual void | AddLineSegment (const PMPoint &position, const PMReal &length)=0 |
| virtual void | SetTransform (const PMMatrix &mat)=0 |
| virtual void | SetNoLine ()=0 |
| virtual int32 | GetNumSegments () const =0 |
| virtual const PMPoint & | GetNthPosition (int32 n) const =0 |
| virtual const PMReal & | GetNthLength (int32 n) const =0 |
| virtual const PMReal & | GetWeight () const =0 |
| virtual bool16 | GetOverprint () const =0 |
| virtual const PMReal & | GetTint () const =0 |
| virtual UID | GetColor () const =0 |
| virtual ICompositionStyle::StrokeType | GetStrokeType () const =0 |
| virtual bool16 | GetAbove () const =0 |
| virtual bool16 | GetGapOverprint () const =0 |
| virtual const PMReal & | GetGapTint () const =0 |
| virtual UID | GetGapColor () const =0 |
| virtual PMReal | GetRuleOffset () const =0 |
| virtual const PMMatrix & | GetTransform () const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
| pure virtual |
Paragraph rules can comprise multiple line segments.
| position | is the relative position of the line from the line's beginning & baseline. |
| length | is the length in points of the line segment. |
| pure virtual |
Master "set" routine for paragraph rule data. This routine fills out the data for a paragraph rule text adornment.
| above | means kTrue = above, kFalse = below. |
| color | is the color. |
| tint | is the line's tint. |
| weight | is the line's stroke weight. |
| overprint | specifies if the line overprints. |
| strokeType | is a stroke Type object. |
| gapColor | is the color of the gap for dashed lines. |
| gapTint | is the tint of the gap in dashed lines. |
| gapOverprint | specifies if the gap color should overprint. |
| pure virtual |
Set a transform for the line. ONLY used to back out from the wax run to the wax line because we only have implemented wax run adornments, but this is really designed to be on a line.
| mat | is the inverse matrix from the wax run to the wax line. |