![]() | InDesign SDK 20.5 |

Public Types | |
| enum | { kDefaultIID = IID_IWAXLINEHILITE } |
Public Member Functions | |
| virtual void | GetHighlightBounds (const PMMatrix &toWindow, bool16 XORmode, const PMRect &highlightAdjust, const PMLineSeg &maxTopBottom, K2Vector< PMPolygon4 > *pSetOfHighlightBounds) const =0 |
| virtual void | GetHighlightBounds (int32 offset, int32 length, const PMMatrix &toWindow, bool16 XORmode, const PMRect &highlightAdjust, const PMLineSeg &maxTopBottom, K2Vector< PMPolygon4 > *pSetOfHighlightBounds) const =0 |
| virtual void | DrawLineHighlight (IGraphicsContext *gc, const K2Vector< PMPolygon4 > *pSetOfHighlightBounds) const =0 |
| virtual const ITextSelectionAdornment * | GetTextSelectionAdornment () 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 |
Draw the highlight for the given set of bounds on the given IGraphicsContext.
| gc | IN Where to draw the bounds. |
| pSetOfHighlightBounds | IN The set of bounds returned from GetHighlightBounds(). |
| pure virtual |
Get the set of bounds that would be highlighted for the entire range of text within the waxLine. See the other GetHighlightBounds() method for details.
| pure virtual |
Get the set of bounds to highlight for the given range on the waxLine.
| offset | IN where in the line to start the computation for the highlight (0 for the start of the waxLine) |
| length | IN the length of the text to highlight (-1 can be used to denote the rest of the text to the end of the waxLine) |
| toWindow | IN Matrix that converts to window coordinates from this. |
| XORmode | IN If kFalse indicates that the caller will not use XOR to highlight. |
| highlightAdjust | IN Used to indicate that an amount should be shaved off the highlight on the indicated side (used to prevent double XOR problems when two (adjacent) waxLine's highlights touch). |
| maxTopBottom | IN is used to prevent double XOR problems when waxLines are too close together.
|
| pSetOfHighlightBounds | OUT the resulting set of bounds. There may be none, one, or many bounds that apply to this line. |
| pure virtual |
Get the associated text selection adornment if any.