![]() | InDesign SDK 20.5 |
#include <ICJKGridPainter.h>

Public Member Functions | |
| virtual IDrawCJKGrid * | QueryDrawCJKGrid ()=0 |
| virtual void | SetDrawBoss (ClassID drawBoss)=0 |
| virtual ClassID | GetDrawBoss ()=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
ICJKGridPainter allows for custom grid drawing. This interface can be used to
specify a ClassID of a boss that implements the IDrawCJKGrid interface. This implementation will be used to draw the grid instead of the default implementation provided by InDesign.
The default grid drawing boss is kDefaultCJKGridDrawBoss. It's important to note that if another boss is specified in this interface, there is nothing stopping you from manually instantiating a kDefaultCJKGridDrawBoss and calling the Draw methods from the custom implementation. This would allow you to draw before or after the default grid drawing code.
| pure virtual |
Get the boss that will draw this grid.
| pure virtual |
Query for the IDrawCJKGrid instance as specified by the ClassID stored in this object.
| pure virtual |
Set the boss that will draw this grid.
| drawBoss | IN The ClassID of the boss that will be used to draw this grid. |