InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages

Classes

class  kSLCParagraphComposerBoss
 
class  SLCDiagnostics
 
class  SLCGlyphNode
 
class  SLCGlyphNodeList
 
class  SLCInlineGraphicGlyphNode
 
class  SLCLineBreaker
 
class  SLCLineFitter
 
class  SLCLineMetrics
 
class  SLCParagraphComposer
 
class  SLCServiceProvider
 
class  SLCTextGlyphNode
 
class  SLCTileComposer
 
class  SLCTileManager
 
class  SLCTileMeasure
 

Enumerations

enum  SLComposerStatusCode {
  kCompIncompatibleCharacter = -5, kCompChangeOfHeight = -4, kCompWillNotFit = -3, kCompOutOfMemory = -2,
  kCompFailure = -1, kCompSuccess = 0, kCompEndOfLine, kCompStop
}
 

Functions

const PMReal kSLCGridAlignmentMetricOffset (0.0)
 

Variables

const Text::LeadingModel kSLCLeadingModel = Text::kRomanLeadingModel
 
const Text::FirstLineOffsetMetric kSLCLineHeightMetric = Text::kFLOLeading
 

Enumeration Type Documentation

Status codes used internally by the composer. Status codes greater or equal to kCompSuccess are good, less than kCompSuccess are bad. So tests for status like if (status < kCompSuccess) error are used.
Enumerator
kCompIncompatibleCharacter 

The character cannot be added into a GlyphNode.

kCompChangeOfHeight 

The maximum height we have tiles for has been exceeded.

kCompWillNotFit 

Cannot fit characters in the current set of tiles.

kCompOutOfMemory 

Memory allocation failure.

kCompFailure 

Unexpected error, nil interface pointer

kCompSuccess 

Success

kCompEndOfLine 

End of line detected.

kCompStop 

Composition stopped before end of line. A table character, kTextChar_Table, or similar has been detected. All we have to do is stop, leave the character alone and the application will compose the table.

Function Documentation

const PMReal kSLCGridAlignmentMetricOffset (0. 0)

Offset is always zero for baseline grid or no alignment. Note alignment to the baseline grid is done by the tiler. If we ask for tiles aligned to the baseline grid then we'll get them. The tiler figures out where they should be.

Variable Documentation

const Text::LeadingModel kSLCLeadingModel = Text::kRomanLeadingModel

This composer implements a roman leading model (the distance between the baselines of consecutive lines of text is set to the maximum leading value on the line being composed).

const Text::FirstLineOffsetMetric kSLCLineHeightMetric = Text::kFLOLeading

Maximum leading value on the line is used to set the line height.