![]() | InDesign SDK 20.5 |
#include <SLCTileManager.h>
Public Member Functions | |
| SLCTileManager (void) | |
| virtual | ~SLCTileManager (void) |
| virtual SLComposerStatusCode | Initialise (const IParagraphComposer::Tiler *tiler, ParcelKey parcelKey, Text::FirstLineOffsetMetric flo, const PMReal &lineIndentLeft, const PMReal &lineIndentRight) |
| virtual SLComposerStatusCode | MakeTileMeasures (const PMReal &yPosition, const SLCLineMetrics &lineMetrics, Text::GridAlignmentMetric gridAlignment, const PMReal &gridAlignmentMetricAdj, const TextIndex &nCurrentPosition) |
| virtual void | Finish (void) |
| bool16 | IsStoryOverset (void) const |
| ParcelKey | GetParcelKey (void) const |
| const PMReal & | GetHeight (void) const |
| const PMReal & | GetTOPHeight (void) const |
| Text::FirstLineOffsetMetric | GetTOPHeightMetric (void) |
| bool16 | GetAtTOP (void) const |
| bool16 | GetParcelPositionDependent (void) const |
| const PMReal & | GetTileTop (void) const |
| const PMReal & | GetTileBottom (void) const |
| SLCTileMeasures & | GetTileMeasures (void) |
| virtual void | Dump (void) |
Manages the tiler (IParagraphComposer::Tiler) and creates tile measures (SLCTileMeasures) that represent the areas on a line into which text can flow. Normally there will only be one tile on a line. However text wrap may cause intrusions which breaks up the places in the line text can go. The tiler takes care of this as well as accounting for the effect of irregularly shaped text containers.
| inline |
Constructor. Nothing much done here.
| inlinevirtual |
Destructor. Nothing done here.
| virtual |
Dump info to Trace.
| virtual |
Tidies up after composition of the line is complete.
| inline |
kTrue if at top of parcel, kFalse otherwise.
| inline |
| inline |
| inline |
kTrue if parcel position dependent, kFalse otherwise.
| inline |
Bottom of the tiles derived from tiles returned by the tiler.
| inline |
Essential tile measures derived from tiles returned by the tiler adjusted to account for left and right line indents.
| inline |
Top of the tiles derived from tiles returned by tiler.
| inline |
| inline |
| virtual |
Prepares the object to use the given tiler.
| tiler | to be used to obtain tiles, the reference count is bumped. |
| parcelKey | into IParcelList of parcel into which text is to flow. |
| lineIndentLeft | is used to set the left edge of the tile measures if it intrudes into a tiler tile. |
| lineIndentRight | is used to set the right edge of the tile measures if it intrudes into a tiler tile. |
| inline |
| virtual |
Get tiles from the tiler at the given yPosition and with the given parameters.
| yPosition | |
| lineMetrics | |
| gridAlignment | |
| gridAlignmentMetricAdj | |
| nCurrentPosition |