![]() | InDesign SDK 20.5 |

Public Member Functions | |
| virtual IDataBase * | GetDataBase () const =0 |
| virtual IComposeScanner * | GetComposeScanner () const =0 |
| ComposeScanner for the story being composed. | |
| virtual TextIndex | GetThreadStart () const =0 |
| Return the starting TextIndex of the TextStoryThread being composed. | |
| virtual int32 | GetThreadSpan () const =0 |
| Return the span of the TextStoryThread being composed. | |
| virtual TextIndex | GetThreadEnd () const =0 |
| Return the ending TextIndex of the TextStoryThread being composed. | |
| virtual TextIndex | GetParagraphStart () const =0 |
| Return the TextIndex of the start of the paragraph. | |
| virtual int32 | GetParagraphSpan () const =0 |
| Returns the span of the paragraph including the final CR. | |
| virtual TextIndex | GetParagraphEnd () const =0 |
| Return the TextIndex of the end of the paragraph. | |
| virtual const ITextParcelList * | GetTextParcelList () const =0 |
| ITextParcelList for the TextStoryThread being composed. | |
| virtual bool16 | ShouldFakeTabAlignToChar () const =0 |
| virtual const ITextOptions * | GetTextOptions () const =0 |
| virtual const IStoryOptions * | GetStoryOptions () const =0 |
| virtual bool16 | GetIsVertical () const =0 |
| virtual IPairKernDict * | GetPairKernDict (ClassID whichAlgorithm) const =0 |
| virtual IEdgeAlignDict * | GetEdgeAlignDict (ClassID whichAlgorithm) const =0 |
| virtual IHyphenationService * | GetSimpleHyphenator () const =0 |
| virtual IHyphenationService * | GetHyphenator (const ILanguage *pLanguage) const =0 |
| virtual IHyphenationExceptions * | GetHyphenationExceptions (bool16 *pCheckUserDictionary) const =0 |
| virtual IdleTimer * | GetIdleTimer () const =0 |
| virtual const OwnedItemDataList::const_iterator | GetOwnedItemBeginIter () const =0 |
| virtual const OwnedItemDataList::const_iterator | GetOwnedItemEndIter () const =0 |
| virtual bool16 | GetOwnedItemsHaveStandOffsIn (TextIndex start, TextIndex end) const =0 |
| virtual TextIndex | GetStartingTextIndex () const =0 |
| virtual ParcelKey | GetStartingParcelKey () const =0 |
| Returns the ParcelKey of the Parcel where tiling should begin from. | |
| virtual PMReal | GetStartingYPosition () const =0 |
| Returns the YPosition where tiling should begin from. | |
| virtual bool16 | GetKeptWithPrevByNextNLines () const =0 |
| virtual bool16 | GetKeptWithPrevByFirstNLines () const =0 |
| virtual bool16 | GetKeptWithPrevByAllLines () const =0 |
| virtual bool16 | GetIsContentDamaged () const =0 |
| virtual bool16 | GetIsKeepsDamaged () const =0 |
| virtual bool16 | GetParagraphCalculatedStateInvalid () const =0 |
| virtual TextIndex | GetWaxLineTextIndex () const =0 |
| virtual ParcelKey | GetWaxLineParcelKey () const =0 |
| virtual PMReal | GetWaxLineCompositionYPosition () const =0 |
| virtual PMReal | GetWaxLineLineHeightLeadingDiff () const =0 |
| virtual bool16 | GetWaxLineKeepsViolation () const =0 |
| virtual int32 | GetWaxLineTextSpan () const =0 |
| virtual const IWaxLine * | GetPreviousWaxLine () const =0 |
| virtual TextIndex | GetPreviousWaxLineTextIndex () const =0 |
| virtual uchar | GetPreviousHyphenLadderPattern () const =0 |
| virtual IWaxIterator * | NewWaxIterator (bool16 changeAware=kFalse) const =0 |
| virtual bool16 | BackupTowardsParagraphStart ()=0 |
| virtual bool16 | BackupOneLineTowardsParagraphStart ()=0 |
| virtual bool16 | DestroyAllWaxLinesInParagraph ()=0 |
| virtual void | OwnedItemsChanged ()=0 |
| virtual IWaxLine * | QueryNewWaxLine () const =0 |
| Creates a new IWaxLine suitable for applying into the WaxStrand. | |
| virtual void | ApplyComposedLine (IWaxLine *newWaxLine, int32 newTextSpan, bool16 disableApplyDamage=kFalse, bool16 disableApplyInval=kFalse, bool16 forceInkCache=kFalse)=0 |
| virtual void | SetNoShuffle ()=0 |
| virtual void | MarkContentDamage (int32 nChars)=0 |
| virtual void | ResetDamageToContent ()=0 |
| virtual void | MarkContentDamagePreviousAt (TextIndex at)=0 |
| virtual void | SetDeferredCompositionDueToKeeps ()=0 |
| virtual TextIndex | GetNoDamageBackTextIndex ()=0 |
| virtual int32 | GetShapingEngine () const =0 |
| virtual void | SetShapingEngine (int32 shapingEngine)=0 |
Public Member Functions inherited from IParagraphComposer::Tiler | |
| virtual IParcelList * | GetParcelList () const =0 |
| virtual ParcelKey | GetFirstParcelKey () const =0 |
| virtual ParcelKey | GetNextParcelKey (ParcelKey key) const =0 |
| virtual bool16 | GetHasAnyValidStartBreakLocation () const =0 |
| virtual bool16 | GetParcelIsValidStartBreakLocation (ParcelKey key, Text::StartBreakLocation mode) const =0 |
| virtual ParcelKey | GetNextParcelKeyByBreak (ParcelKey key, Text::StartBreakLocation mode) const =0 |
| virtual ParcelKey | GetPreviousParcelKey (ParcelKey key) const =0 |
| virtual bool16 | MoveToTopNextParcelByBreak (Text::StartBreakLocation mode, ParcelKey *pKey, PMReal *pYPosition) const =0 |
| virtual PMRect | GetParcelContentBounds (ParcelKey key) const =0 |
| virtual bool16 | GetParcelContentIsAnArea (ParcelKey key) const =0 |
| virtual bool16 | GetHasAnyIntrusionsAt (ParcelKey key) const =0 |
| virtual PMReal | GetParcelEffectiveVerticalSpacing (ParcelKey key) const =0 |
| virtual UID | GetParcelFrameUID (ParcelKey key) const =0 |
| virtual PMMatrix | GetParcelContentToFrameMatrix (ParcelKey key) const =0 |
| virtual bool16 | GetParcelAppearsMultiplePlaces (ParcelKey key) const =0 |
| virtual bool16 | GetTiles (PMReal minWidth, PMReal height, PMReal TOPHeight, Text::GridAlignmentMetric gridAlignment, PMReal gridAlignmentAdj, Text::LeadingModel leadingModel, PMReal leading, PMReal leadingModelOffset, PMReal minHeightLeadingDiff, TextIndex nCurrentPosition, bool16 affectedByVerticalJustification, ParcelKey *pParcelKey, PMReal *pYOffset, Text::FirstLineOffsetMetric *pTOPHeightMetric, PMRectCollection &tiles, bool16 *pAtTOP, bool16 *pParcelPositionDependent, PMReal *pLeftMargin, PMReal *pRightMargin) const =0 |
| virtual PMReal | GetParcelGrowableContentBottom (ParcelKey key) const =0 |
| In the context of the composing paragraph. | |
| virtual PMReal | GetParcelTileableContentTop (ParcelKey key) const =0 |
| virtual PMReal | GetParcelTileableContentBottom (ParcelKey key) const =0 |
| virtual bool16 | GetParcelShouldInvalNewWax (ParcelKey key) const =0 |
| pure virtual |
Apply a WaxLine into the WaxStrand previously created by a call to QueryNewWaxLine(). The TextIndex used for the apply will be the current value returned by GetStartingTextIndex() which will be advanced by this call by the amount of newTextSpan. By default, the next WaxLine in the same TextStoryThread will be Geometry damaged, but this can be disabled by setting 'applyDamageDisable' to kTrue.
| newWaxLine | |
| newTextSpan | |
| applyDamageDisable | If set to kTrue, the next WaxLine will NOT be Geometry damaged after the new WaxLine is applied. |
| disableApplyInval | Some composers take responsibility for invalidating sub-portions of the WaxLine being composed and thus do not want the WaxStrand to automatically invalidate the entire WaxLine on apply. This applies to both the invaliation of the target WaxLine AND the new WaxLine. |
| forceInkCache | If kTrue, the WaxLine will be asked for its InkBounds after it has been applied. |
| pure virtual |
This method is similar to BackupTowardsPargraphStart() with the exception that it always succeeds, as long as the starting TextIndex is not already at the beginning of the Paragraph, and is not stopped by the presence of soft CRs and WaxAnchors. Note that after successfully backing up any amount the callee MUST not attempt to apply new WaxLines and should instead return kFalse from Recompose() immediately. The ParagraphComposer will be called back at a later time with the new starting TextIndex.
| pure virtual |
The implementation is given the opportunity to adjust the starting TextIndex of the composition, potentially adjusting the starting TextIndex all the way back to the beginning of the paragraph. This method and BackupOneLineTowardsParagraphStart() are the only approved ways for implementations to change the TextIndex that they are asked to compose at. Note that this method may not succeed in backing up all the way to the paragraph start because of the presence of Keeps damage, soft CRs and WaxAnchors, although it may succeeded in changing the starting TextIndex part way. Callers should call GetStartingTextIndex() to determine the new TextIndex. Note that after successfully backing up any amount the callee MUST not attempt to apply new WaxLines and should instead return kFalse from Recompose() immediately. The ParagraphComposer will be called back at a later time with the new starting TextIndex.
| pure virtual |
All WaxLines in the Paragraph are marked destroyed.
| pure virtual |
Returns optional Idle timer. Implementations are encouraged to call this function to see if composition should be interrupted once they have made some progress.
| pure virtual |
Returns kTrue if the WaxLine at the TextIndex returned by GetStartingTextIndex() is Content damaged.
| pure virtual |
Returns kTrue if the WaxLine at the TextIndex returned by GetStartingTextIndex() is Keeps damaged.
| pure virtual |
Returns kTrue if the newly composed WaxLine will be kept with the previous WaxLine because of KeepTogether. kFalse if otherwise.
| pure virtual |
Returns kTrue if the newly composed WaxLine will be kept with the previous WaxLine because of KeepFirstNLines. kFalse if otherwise.
| pure virtual |
Returns kTrue if the newly composed WaxLine will be kept with the previous WaxLine because of KeepWithNextNLines. kFalse if otherwise.
| pure virtual |
ADOBE INTERNAL USE ONLY
| pure virtual |
Returns a "begin" iterator to a private OwnedItemDataList representing the OwnedItems in the span fromthe initial value for GetStartingTextIndex() to the end of the current Paragraph.
| pure virtual |
Returns a "begin" iterator to a private OwnedItemDataList representing the OwnedItems in the span fromthe initial value for GetStartingTextIndex() to the end of the current Paragraph.
| pure virtual |
Returns kTrue if any OwnedItems in the specified range has a StandOff which affects Text composition. It is recommended that clients call this method rather than computing this on their own to avoid duplication of effort.
| pure virtual |
Returns kTrue at the start of the Paragraph if the calculated state from the ParagraphStrand is invalid. Note that at the time of the call the state will have been already been set valid.
| pure virtual |
Returns the hyphenation ladder pattern for previous WaxLines in the same paragraph and in the same Parcel as returned by a call to GetStartingParcelKey(). The LSB bit of the uchar will be 1 in the previous WaxLine (as returned by GetPreviousWaxLine()) has a hyphen and on in the same way until the MSB bit of the uchar correponding to the 8th previous WaxLine.
| pure virtual |
Returns a pointer to the (undamaged) WaxLine previous to the one returned by GetWaxLine(). Return nil if the current WaxLine is at the beginning of the TextStoryThread.
| pure virtual |
Returns the starting TextIndex of the previous WaxLine. The span of the previous WaxLine can be computed by simply subtracting the TextIndex of the current WaxLine from the value returned by this method.
| pure virtual |
ADOBE INTERNAL USE ONLY
| pure virtual |
Returns the TextIndex of the WaxLine returned by GetWaxLine(). Note that as new WaxLines are applied through ApplyComposedLine() the value returned by this method will increase by the span of the WaxLine applies.
| pure virtual |
If GetIsContentDamaged() returns kTrue, then this method will return the CompositionYPosition of the damaged WaxLine, otherwise it will return 0.0.
| pure virtual |
If GetIsContentDamaged() returns kTrue, then this method will return the KeepsViolation of the damaged WaxLine, otherwise it will return kFalse.
| pure virtual |
If GetIsContentDamaged() returns kTrue, then this method will return the LineHeightLeadingDiff of the damaged WaxLine, otherwise it will return 0.0.
| pure virtual |
If GetIsContentDamaged() returns kTrue, then this method will return the ParcelKey of the damaged WaxLine, otherwise it will return an invalid ParcelKey.
| pure virtual |
| pure virtual |
Returns the current TextSpan ofthe damaged WaxLine. Note that this span may exceed the end of the current Paragraph.
| pure virtual |
Starting with the current WaxLine returned by GetWaxLine(), enough WaxLines to cover the specified number of characters will be Content damaged. Note that if the WaxLines already have more severe damage, such as Geometry or Destroyed, then this method will have no effect.
| pure virtual |
The WaxLine at the specified TextIndex is content damaged. The specified TextIndex must be less than the current value returned by GetStartingTextIndex() and be within the same TextStoryThread. Unlike the other calls to affect damage, the WaxLines(s) will only be damaged when the ParagraphComposer returns from Recompose().
| pure virtual |
| pure virtual |
This method tells the implementation that one or more OwnedItems have been added or removed during composition. It must be called BEFORE any new WaxLines are applied or the composer returns.
| pure virtual |
The current WaxLine returned by GetWaxLine() has its damage reset to Content and its NoShuffle flag set to kTrue.
This method supports certain types of interrupted composition on the starting WaxLine by allowing the caller to reset the damage of the WaxLine to ContentDamage. Most paragraph composers will refuse to be interrupted in the middle of their paragraph but some composers, notably the WaxAnchorComposers, take too much time to compose and need to leave without having finished the composition of their WaxLine. However, since they may have done some work towards composition they need to be able differentiate between getting new damage and damage that they have already seen. This helps them avoid circular composition loops.
| pure virtual |
The current WaxLine returned by GetWaxLine() has its NoShuffle flag set to kTrue.
| pure virtual |
ADOBE INTERNAL USE ONLY