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

#include <ICompositionStyle.h>

Inheritance diagram for ICompositionStyle:
IPMUnknown

Classes

class  StrokeType
 

Public Types

enum  { kDefaultIID = IID_ICOMPOSITIONSTYLE }
 
enum  TextAlignment {
  kTextAlignLeft = 0, kTextAlignCenter, kTextAlignRight, kTextAlignJustifyFull,
  kTextAlignJustifyLeft, kTextAlignJustifyCenter, kTextAlignJustifyRight, kTextAlignAuto,
  kTextAlignToBinding, kTextAlignAwayBinding, kTextAlignLastValue = kTextAlignAwayBinding
}
 
enum  ParagraphDirection { kParagraphDirLTR = 0, kParagraphDirRTL }
 
enum  ParagraphRuleMode { kRule_None = 0, kRule_ColumnWidth, kRule_TextWidth }
 
enum  BalanceLinePreference { kBalanceLine_Off, kBalanceLine_VeeShape, kBalanceLine_Equal, kBalanceLine_Pyramid }
 
enum  SpanColumnsTypeOptions { kSingleColumn, kSpanColumn, kSplitColumn }
 
enum  ParagraphBorderShadingWidth { kBorderShading_ColumnWidth, kBorderShading_TextWidth }
 
enum  ParagraphBorderShadingTopOrigin {
  kBorderShading_AscentTopOrigin, kBorderShading_BaselineTopOrigin, kBorderShading_LeadingTopOrigin, kBorderShading_emBoxTopOrigin,
  kBorderShading_CapHeightTopOrigin, kBorderShading_xHeightTopOrigin, kBorderShading_EmBoxCenterTopOrigin
}
 
enum  ParagraphBorderShadingBottomOrigin { kBorderShading_DescentBottomOrigin, kBorderShading_BaselineBottomOrigin, kBorderShading_EmBoxBottomOrigin, kBorderShading_EmBoxCenterBottomOrigin }
 
enum  StrokeJoinType { kStroke_MiterJoin, kStroke_RoundJoin, kStroke_BevelJoin }
 
enum  StrokeCapType { kStroke_ButCap, kStroke_RoundCap, kStroke_ProjectingCap }
 

Public Member Functions

virtual ClassID GetComposer () const =0
 
virtual void SetComposer (ClassID algo)=0
 
virtual ClassID GetKerningMethod () const =0
 
virtual void SetKerningMethod (ClassID algo)=0
 
virtual PMReal GetPairKern () const =0
 
virtual void SetPairKern (PMReal amt)=0
 
virtual bool16 UseLigatures () const =0
 
virtual void SetLigaturesOn (bool16 on)=0
 
virtual void AddOpenTypeFeature (const char *feature, int32 choiceIndex=kCTOT_NoChoiceIndex)=0
 
virtual void ClearOpenTypeFeature (const char *feature)=0
 
virtual int32 CountOpenTypeFeatures () const =0
 
virtual const char * GetNthOpenTypeFeature (int32 n, int32 *choiceIndex=nil) const =0
 
virtual bool16 IsOpenTypeFeatureApplied (const char *feature) const =0
 
virtual bool16 GetNoBreak () const =0
 
virtual void SetNoBreak (bool16 b)=0
 
virtual PMReal IndentLeftBody () const =0
 
virtual PMReal IndentRightBody () const =0
 
virtual PMReal IndentRightLast () const =0
 
virtual PMReal IndentLeftFirst () const =0
 
virtual void SetIndentLeftBody (PMReal a)=0
 
virtual void SetIndentRightBody (PMReal a)=0
 
virtual void SetIndentRightLast (PMReal a)=0
 
virtual void SetIndentLeftFirst (PMReal a)=0
 
virtual ParagraphDirection GetParagraphDirection () const =0
 
virtual void SetParagraphDirection (ParagraphDirection dir)=0
 
virtual TextAlignment GetParagraphAlignment () const =0
 
virtual void SetParagraphAlignment (TextAlignment dq)=0
 
virtual TextAlignment GetSingleWordAlign () const =0
 
virtual void SetSingleWordAlign (TextAlignment dq)=0
 
virtual BalanceLinePreference BalanceLineLengths () const =0
 
virtual void SetBalanceLineLengths (BalanceLinePreference b)=0
 
virtual bool16 GetIgnoreEdgeAlignment () const =0
 
virtual void SetIgnoreEdgeAlignment (bool16 ignore)=0
 
virtual void SetDropCapLines (int16 numLines)=0
 
virtual void SetDropCapChars (int16 numChars)=0
 
virtual void SetDropCapDetail (Text::DropCapDetailedSettings settings)=0
 
virtual
Text::DropCapDetailedSettings 
GetDropCapInfo (int16 *elems, int16 *lines) const =0
 
virtual PMReal SpaceBefore () const =0
 
virtual PMReal SpaceAfter () const =0
 
virtual PMReal SameParaSpacing () const =0
 
virtual void SetSpaceBefore (PMReal a)=0
 
virtual void SetSpaceAfter (PMReal a)=0
 
virtual void SetSameParaSpacing (PMReal a)=0
 
virtual void SetBreakBeforeMode (Text::StartBreakLocation breakBeforeMode)=0
 
virtual Text::StartBreakLocation GetBreakBeforeMode () const =0
 
virtual Text::StartBreakLocation GetStartLocation () const =0
 
virtual void SetStartLocation (Text::StartBreakLocation startLocation)=0
 
virtual void SetKeepLines (bool16 keepTogether)=0
 
virtual bool16 GetKeepLines () const =0
 
virtual void SetKeepTogether (bool16 keepTogether)=0
 
virtual bool16 GetKeepTogether () const =0
 
virtual void SetKeepWithNextNLines (int16 nLines)=0
 
virtual int16 GetKeepWithNextNLines () const =0
 
virtual void SetKeepFirstNLinesTogether (int16 nLines)=0
 
virtual int16 GetKeepFirstNLinesTogether () const =0
 
virtual void SetKeepLastNLinesTogether (int16 nLines)=0
 
virtual int16 GetKeepLastNLinesTogether () const =0
 
virtual void SetTabRuler (const TabStopTable &tabs)=0
 
virtual const TabStopTableGetTabRuler () const =0
 
virtual TabStop GetTabStopAfter (PMReal offset) const =0
 
virtual bool16 GetParaRuleMode (bool16 above, ICompositionStyle::ParagraphRuleMode *mode) const =0
 
virtual void SetParaRuleMode (bool16 above, ICompositionStyle::ParagraphRuleMode mode)=0
 
virtual void SetParaRuleOn (bool16 above, bool16 onOff)=0
 
virtual void SetParaRuleColor (bool16 above, UID color)=0
 
virtual void SetParaRuleTint (bool16 above, PMReal tint)=0
 
virtual void SetParaRuleOverprint (bool16 above, bool16 onOff)=0
 
virtual void SetParaRuleStroke (bool16 above, PMReal weight)=0
 
virtual void SetParaRuleStrokeType (bool16 above, ICompositionStyle::StrokeType type)=0
 
virtual bool16 GetParaRuleDraw (bool16 above, UID *pColor, PMReal *tint, bool16 *overprint, PMReal *weight, ICompositionStyle::StrokeType *type, UID *gapColor, PMReal *gapTint, bool16 *gapOverprint) const =0
 
virtual void SetParaRuleGapColor (bool16 above, UID color)=0
 
virtual void SetParaRuleGapTint (bool16 above, PMReal tint)=0
 
virtual void SetParaRuleGapOverprint (bool16 above, bool16 onOff)=0
 
virtual void SetParaRuleIndentL (bool16 above, PMReal left)=0
 
virtual void SetParaRuleIndentR (bool16 above, PMReal right)=0
 
virtual void SetParaRuleOffset (bool16 above, PMReal offset)=0
 
virtual bool16 GetParaRulePosition (bool16 above, PMReal *left, PMReal *right, PMReal *offset) const =0
 
virtual void SetKeepParaRuleAboveInFrame (bool16 keepInFrame)=0
 
virtual bool16 GetKeepParaRuleAboveInFrame () const =0
 
virtual bool16 HasAutomaticStyling () const =0
 
virtual void SetRunInStyleList (const RunInStyleList &list)=0
 
virtual const RunInStyleListGetRunInStyleList () const =0
 
virtual void SetRunInGrepStyleList (const RunInGrepStyleList &list)=0
 
virtual const RunInGrepStyleListGetRunInGrepStyleList () const =0
 
virtual void SetRunInLineStyleList (const RunInLineStyleList &list)=0
 
virtual const RunInLineStyleListGetRunInLineStyleList () const =0
 
virtual SpanColumnsTypeOptions GetSpanColumnType () const =0
 
virtual void SetSpanColumnType (SpanColumnsTypeOptions type)=0
 
virtual int16 GetSpanSplitColumnCount () const =0
 
virtual void SetSpanSplitColumnCount (int16 count)=0
 
virtual PMReal GetSpanSplitMinSpaceBefore () const =0
 
virtual void SetSpanSplitMinSpaceBefore (PMReal minSpaceBefore)=0
 
virtual PMReal GetSpanSplitMinSpaceAfter () const =0
 
virtual void SetSpanSplitMinSpaceAfter (PMReal minSpaceAfter)=0
 
virtual PMReal GetSplitColumnInsideGutter () const =0
 
virtual void SetSplitColumnInsideGutter (PMReal gutter)=0
 
virtual PMReal GetSplitColumnOutsideGutter () const =0
 
virtual void SetSplitColumnOutsideGutter (PMReal gutter)=0
 
virtual bool16 GetKeepWithPrev () const =0
 
virtual void SetKeepWithPrev (bool16 keepWithPrev)=0
 
virtual
ICompositionStyle::ParagraphBorderShadingWidth 
GetParaBSWidth () const =0
 
virtual void SetParaBSWidth (ICompositionStyle::ParagraphBorderShadingWidth borderShadingMode)=0
 
virtual
ICompositionStyle::ParagraphBorderShadingTopOrigin 
GetParaBSTopOrigin () const =0
 
virtual void SetParaBSTopOrigin (ICompositionStyle::ParagraphBorderShadingTopOrigin borderShadingTopOrigin)=0
 
virtual
ICompositionStyle::ParagraphBorderShadingBottomOrigin 
GetParaBSBottomOrigin () const =0
 
virtual void SetParaBSBottomOrigin (ICompositionStyle::ParagraphBorderShadingBottomOrigin borderShadingBottomOrigin)=0
 
virtual bool16 GetParaBSClipToFrame () const =0
 
virtual void SetParaBSClipToFrame (bool16 clipToFrame)=0
 
virtual bool16 GetParaBSSuppressPrinting () const =0
 
virtual void SetParaBSSuppressPrinting (bool16 suppressPrinting)=0
 
virtual void GetParaBSOffsets (PMReal *left, PMReal *right, PMReal *top, PMReal *bottom) const =0
 
virtual void SetParaBSOffsetL (PMReal left)=0
 
virtual void SetParaBSOffsetR (PMReal right)=0
 
virtual void SetParaBSOffsetT (PMReal top)=0
 
virtual void SetParaBSOffsetB (PMReal bottom)=0
 
virtual void GetParaBorderOffsets (PMReal *left, PMReal *right, PMReal *top, PMReal *bottom) const =0
 
virtual void SetParaBorderOffsetL (PMReal left)=0
 
virtual void SetParaBorderOffsetR (PMReal right)=0
 
virtual void SetParaBorderOffsetT (PMReal top)=0
 
virtual void SetParaBorderOffsetB (PMReal bottom)=0
 
virtual bool16 GetParaBSFillOn () const =0
 
virtual void SetParaBSFillOn (bool16 fillOn)=0
 
virtual void GetParaBSFillData (UID *colorUID, PMReal *tint, bool16 *overprint) const =0
 
virtual void SetParaBSFillColor (UID fillColorUID)=0
 
virtual void SetParaBSFillTint (PMReal fillTint)=0
 
virtual void SetParaBSFillOverprint (bool16 fillOverprint)=0
 
virtual bool16 GetParaBSStrokeOn () const =0
 
virtual void SetParaBSStrokeOn (bool16 strokeOn)=0
 
virtual void GetParaBSStrokeData (UID *strokeColorUID, PMReal *strokeTint, bool16 *strokeOverprint, PMReal *strokeWeight, ICompositionStyle::StrokeType *strokeType, ICompositionStyle::StrokeJoinType *strokeJoinType, ICompositionStyle::StrokeCapType *strokeCapType, UID *gapColorUID, PMReal *gapTint, bool16 *gapOverprint) const =0
 
virtual void SetParaBSStrokeColor (UID strokeColorUID)=0
 
virtual void SetParaBSStrokeTint (PMReal strokeTint)=0
 
virtual void SetParaBSStrokeOverprint (bool16 overprint)=0
 
virtual void SetParaBSStrokeWeight (PMReal strokeWeight)=0
 
virtual void SetParaBSStrokeType (ICompositionStyle::StrokeType type)=0
 
virtual void SetParaBSStrokeJoinType (ICompositionStyle::StrokeJoinType strokeJoinType)=0
 
virtual void SetParaBSStrokeCapType (ICompositionStyle::StrokeCapType strokeCapType)=0
 
virtual void SetParaBSStrokeGapColor (UID strokeGapColorUID)=0
 
virtual void SetParaBSStrokeGapTint (PMReal strokeGapTint)=0
 
virtual void SetParaBSStrokeGapOverprint (bool16 strokeGapOverprint)=0
 
virtual void GetParaBorderCornerType (ClassID *topLeftType, ClassID *topRightType, ClassID *bottomLeftType, ClassID *bottomRightType) const =0
 
virtual void GetParaBorderCornerRadius (PMReal *topLeft, PMReal *topRight, PMReal *bottomLeft, PMReal *bottomRight) const =0
 
virtual void SetParaBCornerTopLeftType (ClassID cornerType)=0
 
virtual void SetParaBCornerTopLeftRadius (PMReal radius)=0
 
virtual void SetParaBCornerTopRightType (ClassID cornerType)=0
 
virtual void SetParaBCornerTopRightRadius (PMReal radius)=0
 
virtual void SetParaBCornerBottomLeftType (ClassID cornerType)=0
 
virtual void SetParaBCornerBottomLeftRadius (PMReal radius)=0
 
virtual void SetParaBCornerBottomRightType (ClassID cornerType)=0
 
virtual void SetParaBCornerBottomRightRadius (PMReal radius)=0
 
virtual void GetParaShadeCornerType (ClassID *topLeftType, ClassID *topRightType, ClassID *bottomLeftType, ClassID *bottomRightType) const =0
 
virtual void GetParaShadeCornerRadius (PMReal *topLeft, PMReal *topRight, PMReal *bottomLeft, PMReal *bottomRight) const =0
 
virtual void SetParaSCornerTopLeftType (ClassID cornerType)=0
 
virtual void SetParaSCornerTopLeftRadius (PMReal radius)=0
 
virtual void SetParaSCornerTopRightType (ClassID cornerType)=0
 
virtual void SetParaSCornerTopRightRadius (PMReal radius)=0
 
virtual void SetParaSCornerBottomLeftType (ClassID cornerType)=0
 
virtual void SetParaSCornerBottomLeftRadius (PMReal radius)=0
 
virtual void SetParaSCornerBottomRightType (ClassID cornerType)=0
 
virtual void SetParaSCornerBottomRightRadius (PMReal radius)=0
 
virtual
ICompositionStyle::ParagraphBorderShadingWidth 
GetParaBSStrokeWidth () const =0
 
virtual void SetParaBSStrokeWidth (ICompositionStyle::ParagraphBorderShadingWidth borderShadingMode)=0
 
virtual
ICompositionStyle::ParagraphBorderShadingTopOrigin 
GetParaBSStrokeTopOrigin () const =0
 
virtual void SetParaBSStrokeTopOrigin (ICompositionStyle::ParagraphBorderShadingTopOrigin borderShadingTopOrigin)=0
 
virtual
ICompositionStyle::ParagraphBorderShadingBottomOrigin 
GetParaBSStrokeBottomOrigin () const =0
 
virtual void SetParaBSStrokeBottomOrigin (ICompositionStyle::ParagraphBorderShadingBottomOrigin borderShadingBottomOrigin)=0
 
virtual void SetParaBWeightTopValue (PMReal value)=0
 
virtual void SetParaBWeightBottomValue (PMReal value)=0
 
virtual void SetParaBWeightLeftValue (PMReal value)=0
 
virtual void SetParaBWeightRightValue (PMReal value)=0
 
virtual void GetParaBorderWeightValues (PMReal *left, PMReal *top, PMReal *right, PMReal *bottom) const =0
 
virtual bool16 GetParaBSParagraphFlow () const =0
 
virtual void SetParaBSParagraphFlow (bool16 displayBorder)=0
 
virtual bool16 GetParaBSMergeBorder () const =0
 
virtual void SetParaBSMergeBorder (bool16 mergeBorder)=0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

One of the interfaces providing text attribute data combined into a single multi-interface structure. Mostly concerns paragraph level attributes, but not completely.

See Also
IDrawingStyle, IHyphenationStyle, IJustificationStyle.

Member Enumeration Documentation

Balance Line Preference.

Paragraph Border and Shading Bottom Origin.

Paragraph Border and Shading Top Origin.

Paragraph Border and Shading Width.

Left to Right / Right to Left paragraph direction

Paragraph Rule Mode.

Stroke Cap Type.

Stroke Join Type.

Member Function Documentation

virtual void ICompositionStyle::AddOpenTypeFeature (const char * feature,
int32 choiceIndex = kCTOT_NoChoiceIndex 
)
pure virtual
Add the OpenType feature specified.

See Also
http://partners.adobe.com/asn/tech/type/opentype/feattags.jsp
Parameters
featuremust be a pointer to a buffer of 4 characters representing an opentype feature. E.g. "smcp", "kern".
choiceIndexmay be used to specify an alternate choice for certain opentype features. E.g. "aalt".
virtual BalanceLinePreference ICompositionStyle::BalanceLineLengths () const
pure virtual
Get whether the paragraph should balance its lines.

Paragraph composer only. Ragged paragraph alignments only.

virtual void ICompositionStyle::ClearOpenTypeFeature (const char * feature)
pure virtual
Clear the opentype feature specified by the tag.

See Also
http://partners.adobe.com/asn/tech/type/opentype/feattags.jsp
Parameters
featuremust be a pointer to a buffer of 4 characters representing an opentype feature. E.g. "smcp", "kern"
virtual int32 ICompositionStyle::CountOpenTypeFeatures () const
pure virtual

Get how many opentype features are applied to this text.

virtual Text::StartBreakLocation ICompositionStyle::GetBreakBeforeMode () const
pure virtual

Get the break before mode.

virtual ClassID ICompositionStyle::GetComposer () const
pure virtual
Returns
the ClassID of the service that provides the composition algorithm for this paragraph
virtual Text::DropCapDetailedSettings ICompositionStyle::GetDropCapInfo (int16 * elems,
int16 * lines 
) const
pure virtual

Get the dropcap lines & characters settings.

virtual bool16 ICompositionStyle::GetIgnoreEdgeAlignment () const
pure virtual

Get whether to ignore edge alignment

virtual int16 ICompositionStyle::GetKeepFirstNLinesTogether () const
pure virtual

Get how many lines at the start of the paragraph to keep together.

virtual int16 ICompositionStyle::GetKeepLastNLinesTogether () const
pure virtual

Get how many lines at the end of the paragraph to keep together.

virtual bool16 ICompositionStyle::GetKeepLines () const
pure virtual
Get whether this paragraph has any keeps enabled.

Keep all together or keep first/last N lines together, but not keep with next.

virtual bool16 ICompositionStyle::GetKeepParaRuleAboveInFrame () const
pure virtual
get whether the paragraph rule is to stay in the text frame.

Returns
kTrue if keep the rule in the frame.
virtual bool16 ICompositionStyle::GetKeepTogether () const
pure virtual

Get whether this paragraph has keep whole paragraph together enabled.

virtual int16 ICompositionStyle::GetKeepWithNextNLines () const
pure virtual

Get how many lines after this paragraph should be kept with the last line of this paragraph.

virtual bool16 ICompositionStyle::GetKeepWithPrev () const
pure virtual
If the first line in the paragraph should be kept with the last line of previous paragraph

Returns
if the paragraph should be kept with the last line of previous paragraph
virtual ClassID ICompositionStyle::GetKerningMethod () const
pure virtual
Returns
the ClassID of the service that provides the kerning algorithm for this character run
virtual bool16 ICompositionStyle::GetNoBreak () const
pure virtual

Get whether this text should be allowed to break.

virtual const char* ICompositionStyle::GetNthOpenTypeFeature (int32 n,
int32 * choiceIndex = nil 
) const
pure virtual
Get the Nth applied opentype feature.

See Also
http://partners.adobe.com/asn/tech/type/opentype/feattags.jsp
Parameters
choiceIndexif non-nil will be set to the choice index of the Nth feature.
Returns
A pointer to a buffer of 4 characters representing the Nth opentype feature. E.g. "smcp", "kern".
virtual PMReal ICompositionStyle::GetPairKern () const
pure virtual

if value == kAutoKernMagicNumber, then use the algorithm specified by GetKerningMethod()

Returns
the kern pair for this run.
virtual void ICompositionStyle::GetParaBorderCornerRadius (PMRealtopLeft,
PMRealtopRight,
PMRealbottomLeft,
PMRealbottomRight 
) const
pure virtual
Get the paragraph border corner radii

Returns
topLeft - top left corner radius, topRight - top right corner radius, bottomLeft - bottom left corner radius, bottomRight - bottom right corner radius.
virtual void ICompositionStyle::GetParaBorderCornerType (ClassIDtopLeftType,
ClassIDtopRightType,
ClassIDbottomLeftType,
ClassIDbottomRightType 
) const
pure virtual
Get the paragraph border corner types

Returns
topLeftType - top left corner type, topRightType - top right corner type, bottomLeftType - bottom left corner type, bottomRightType - bottom right corner type.
virtual void ICompositionStyle::GetParaBorderOffsets (PMRealleft,
PMRealright,
PMRealtop,
PMRealbottom 
) const
pure virtual

Get the paragraph border offsets

Returns
left - left offset, right - right offset, top - top offset, bottom - bottom offset.
virtual void ICompositionStyle::GetParaBorderWeightValues (PMRealleft,
PMRealtop,
PMRealright,
PMRealbottom 
) const
pure virtual
Get paragraph border stroke weights.

Returns
See Also
PMReal.
virtual ICompositionStyle::ParagraphBorderShadingBottomOrigin ICompositionStyle::GetParaBSBottomOrigin () const
pure virtual
Get paragraph border and shading bottom origin.

Returns
See Also
ICompositionStyle::ParagraphBorderShadingBottomOrigin.
virtual bool16 ICompositionStyle::GetParaBSClipToFrame () const
pure virtual
Get whether the paragraph border and shading would clip/crop itself wrt to frame.

Returns
kTrue indicated that its kept in frame, kFalse - otherwise.
virtual void ICompositionStyle::GetParaBSFillData (UIDcolorUID,
PMRealtint,
bool16 * overprint 
) const
pure virtual
Get fill specific data for paragraph border and shading

Returns
colorUID - fill color, tint - fill tint, overprint - whether fill overprint is on.
virtual bool16 ICompositionStyle::GetParaBSFillOn () const
pure virtual
Get whether the paragraph border and shading - fill is on

Returns
kTrue - paragraph border and shading fill is on, kFalse otherwise.
virtual bool16 ICompositionStyle::GetParaBSMergeBorder () const
pure virtual
Get whether to merge consecutive borders with same setting of paragraph border and shading

Returns
kTrue indicates it would merge, kFalse - otherwise.
virtual void ICompositionStyle::GetParaBSOffsets (PMRealleft,
PMRealright,
PMRealtop,
PMRealbottom 
) const
pure virtual
Get the paragraph border and shading offsets

Returns
left - left offset, right - right offset, top - top offset, bottom - bottom offset.
virtual bool16 ICompositionStyle::GetParaBSParagraphFlow () const
pure virtual
Get whether to display border if paragraph flows of paragraph border and shading 

Returns
kTrue indicates it would suppress, kFalse - otherwise.
virtual ICompositionStyle::ParagraphBorderShadingBottomOrigin ICompositionStyle::GetParaBSStrokeBottomOrigin () const
pure virtual
Get paragraph border bottom origin.

Returns
See Also
ICompositionStyle::ParagraphBorderShadingBottomOrigin.
virtual void ICompositionStyle::GetParaBSStrokeData (UIDstrokeColorUID,
PMRealstrokeTint,
bool16 * strokeOverprint,
PMRealstrokeWeight,
ICompositionStyle::StrokeTypestrokeType,
ICompositionStyle::StrokeJoinTypestrokeJoinType,
ICompositionStyle::StrokeCapTypestrokeCapType,
UIDgapColorUID,
PMRealgapTint,
bool16 * gapOverprint 
) const
pure virtual
Get stroke specific data for paragraph border and shading

Returns
strokeColorUID - stroke color, strokeTint - stroke tint, strokeOverprint - whether stroke overprint is on, strokeWeight - weight of stroke, strokeType - type of stroke gapColorUID - stroke gap color, gapTint - stroke gap tint, gapOverprint - whether stroke gap overprint is on,
virtual bool16 ICompositionStyle::GetParaBSStrokeOn () const
pure virtual
Get whether the paragraph border and shading stroke is on

Returns
kTrue - paragraph border and shading stroke is on, kFalse otherwise.
virtual ICompositionStyle::ParagraphBorderShadingTopOrigin ICompositionStyle::GetParaBSStrokeTopOrigin () const
pure virtual
Get paragraph border top origin.

Returns
See Also
ICompositionStyle::ParagraphBorderShadingTopOrigin.
virtual ICompositionStyle::ParagraphBorderShadingWidth ICompositionStyle::GetParaBSStrokeWidth () const
pure virtual
Get paragraph border width.

Returns
See Also
ICompositionStyle::ParagraphBorderShadingWidth.
virtual bool16 ICompositionStyle::GetParaBSSuppressPrinting () const
pure virtual
Get whether the paragraph border and shading would suppress while printing

Returns
kTrue indicates it would suppress, kFalse - otherwise.
virtual ICompositionStyle::ParagraphBorderShadingTopOrigin ICompositionStyle::GetParaBSTopOrigin () const
pure virtual
Get paragraph border and shading top origin.

Returns
See Also
ICompositionStyle::ParagraphBorderShadingTopOrigin.
virtual ICompositionStyle::ParagraphBorderShadingWidth ICompositionStyle::GetParaBSWidth () const
pure virtual
Get paragraph border and shading width.

Returns
See Also
ICompositionStyle::ParagraphBorderShadingWidth.
virtual TextAlignment ICompositionStyle::GetParagraphAlignment () const
pure virtual

Get the paragraph alignment.

virtual ParagraphDirection ICompositionStyle::GetParagraphDirection () const
pure virtual

Get the paragraph alignment.

virtual bool16 ICompositionStyle::GetParaRuleDraw (bool16 above,
UIDpColor,
PMRealtint,
bool16 * overprint,
PMRealweight,
ICompositionStyle::StrokeTypetype,
UIDgapColor,
PMRealgapTint,
bool16 * gapOverprint 
) const
pure virtual
Get paragraph rule draw information.

Parameters
abovekTrue if rule above, kFalse for rule below.
virtual bool16 ICompositionStyle::GetParaRuleMode (bool16 above,
ICompositionStyle::ParagraphRuleModemode 
) const
pure virtual
Get paragraph rule enabled mode.

Parameters
abovekTrue if rule above, kFalse for rule below.
virtual bool16 ICompositionStyle::GetParaRulePosition (bool16 above,
PMRealleft,
PMRealright,
PMRealoffset 
) const
pure virtual
Get the paragraph rule position data.

Returns
kTrue if the rule is "On".
virtual void ICompositionStyle::GetParaShadeCornerRadius (PMRealtopLeft,
PMRealtopRight,
PMRealbottomLeft,
PMRealbottomRight 
) const
pure virtual
Get the paragraph shading corner radii

Returns
topLeft - top left corner radius, topRight - top right corner radius, bottomLeft - bottom left corner radius, bottomRight - bottom right corner radius.
virtual void ICompositionStyle::GetParaShadeCornerType (ClassIDtopLeftType,
ClassIDtopRightType,
ClassIDbottomLeftType,
ClassIDbottomRightType 
) const
pure virtual
Get the paragraph shading corner types

Returns
topLeftType - top left corner type, topRightType - top right corner type, bottomLeftType - bottom left corner type, bottomRightType - bottom right corner type.
virtual const RunInGrepStyleList& ICompositionStyle::GetRunInGrepStyleList () const
pure virtual

Returns the run-in style applied to this run of characters (usually paragraph).

virtual const RunInLineStyleList& ICompositionStyle::GetRunInLineStyleList () const
pure virtual

Returns the run-in style applied to this run of characters (usually paragraph).

virtual const RunInStyleList& ICompositionStyle::GetRunInStyleList () const
pure virtual

Returns the run-in style applied to this run of characters (usually paragraph).

virtual TextAlignment ICompositionStyle::GetSingleWordAlign () const
pure virtual

Get how a justified line with only one word on it should align.

virtual SpanColumnsTypeOptions ICompositionStyle::GetSpanColumnType () const
pure virtual
Get the type of paragraph span.

Returns
the type of paragraph span
virtual int16 ICompositionStyle::GetSpanSplitColumnCount () const
pure virtual
Get the number of columns the paragraph spans or splits.

If type is kSpanColumn and column count is equal to 1 means "all"

Returns
the number of columns the paragraph spans or splits
virtual PMReal ICompositionStyle::GetSpanSplitMinSpaceAfter () const
pure virtual
Get the minimum space after span or split columns.

Returns
the minimum space after span or split columns
virtual PMReal ICompositionStyle::GetSpanSplitMinSpaceBefore () const
pure virtual
Get the minimum space before span or split columns.

Returns
the minimum space before span or split columns
virtual PMReal ICompositionStyle::GetSplitColumnInsideGutter () const
pure virtual
Get the inside gutter for split columns.

Returns
the inside gutter for split columns
virtual PMReal ICompositionStyle::GetSplitColumnOutsideGutter () const
pure virtual
Get the outside gutter for split columns

Returns
the outside gutter for split columns
virtual Text::StartBreakLocation ICompositionStyle::GetStartLocation () const
pure virtual

Get where this paragraph should start.

virtual const TabStopTable& ICompositionStyle::GetTabRuler () const
pure virtual

Get the applied tab ruler.

virtual TabStop ICompositionStyle::GetTabStopAfter (PMReal offset) const
pure virtual
Get the tab stop position after the offset.

Parameters
offsetshould be the distance from the frame edge.
virtual bool16 ICompositionStyle::HasAutomaticStyling () const
pure virtual

are there nested styles, nested line based styles, or grep styles on this text?

virtual PMReal ICompositionStyle::IndentLeftBody () const
pure virtual

Get the left indent.

virtual PMReal ICompositionStyle::IndentLeftFirst () const
pure virtual

Get the first line left indent.

virtual PMReal ICompositionStyle::IndentRightBody () const
pure virtual

Get the right indent.

virtual PMReal ICompositionStyle::IndentRightLast () const
pure virtual

Get the last line right indent.

virtual bool16 ICompositionStyle::IsOpenTypeFeatureApplied (const char * feature) const
pure virtual
Is the specified feature applied?

See Also
http://partners.adobe.com/asn/tech/type/opentype/feattags.jsp
Parameters
featuremust be a pointer to a buffer of 4 characters representing an opentype feature. E.g. "smcp", "kern"
virtual PMReal ICompositionStyle::SameParaSpacing () const
pure virtual

Get amount of same para spacing.

virtual void ICompositionStyle::SetBalanceLineLengths (BalanceLinePreference b)
pure virtual

Set whether the paragraph should balance its lines.

virtual void ICompositionStyle::SetBreakBeforeMode (Text::StartBreakLocation breakBeforeMode)
pure virtual

Set the break before mode.

virtual void ICompositionStyle::SetComposer (ClassID algo)
pure virtual

Set ClassID of composer

virtual void ICompositionStyle::SetDropCapChars (int16 numChars)
pure virtual

Set how many characters should drop in the dropcap.

virtual void ICompositionStyle::SetDropCapDetail (Text::DropCapDetailedSettings settings)
pure virtual

Set details about how the dropcap glyphs are scaled/positioned

virtual void ICompositionStyle::SetDropCapLines (int16 numLines)
pure virtual

Set how many lines the dropcap should knockout.

virtual void ICompositionStyle::SetIgnoreEdgeAlignment (bool16 ignore)
pure virtual

Set whether to ignore edge alignment

virtual void ICompositionStyle::SetIndentLeftBody (PMReal a)
pure virtual

Set the left indent.

virtual void ICompositionStyle::SetIndentLeftFirst (PMReal a)
pure virtual
Set the first line left indent.

Left indent + first line left indent must be non-negative.

virtual void ICompositionStyle::SetIndentRightBody (PMReal a)
pure virtual

Set the right indent.

virtual void ICompositionStyle::SetIndentRightLast (PMReal a)
pure virtual

Set the last line right indent.

virtual void ICompositionStyle::SetKeepFirstNLinesTogether (int16 nLines)
pure virtual

Set how many lines at the start of the paragraph to keep together.

virtual void ICompositionStyle::SetKeepLastNLinesTogether (int16 nLines)
pure virtual

Set how many lines at the end of the paragraph to keep together.

virtual void ICompositionStyle::SetKeepLines (bool16 keepTogether)
pure virtual
Set whether this paragraph has any keeps enabled.

Keep all together or keep first/last N lines together, but not keep with next.

virtual void ICompositionStyle::SetKeepParaRuleAboveInFrame (bool16 keepInFrame)
pure virtual
set whether the paragraph rule is to stay in the text frame.

keepInFrame kTrue if keep the rule in the frame.

virtual void ICompositionStyle::SetKeepTogether (bool16 keepTogether)
pure virtual

Set whether this paragraph has keep whole paragraph together enabled.

virtual void ICompositionStyle::SetKeepWithNextNLines (int16 nLines)
pure virtual

Set how many lines after this paragraph should be kept with the last line of this paragraph.

virtual void ICompositionStyle::SetKeepWithPrev (bool16 keepWithPrev)
pure virtual
Set if the first line in the paragraph should be kept with the last line of previous paragraph

Parameters
keepLinesWithPrevif the paragraph should be kept with the last line of previous paragraph
virtual void ICompositionStyle::SetKerningMethod (ClassID algo)
pure virtual

set ClassID of kerning method

virtual void ICompositionStyle::SetLigaturesOn (bool16 on)
pure virtual

Set ligature state

virtual void ICompositionStyle::SetNoBreak (bool16 b)
pure virtual

Set whether this text should be allowed to break.

virtual void ICompositionStyle::SetPairKern (PMReal amt)
pure virtual

set pair kern value.

See Also
GetPairKern
virtual void ICompositionStyle::SetParaBCornerBottomLeftRadius (PMReal radius)
pure virtual
Set paragraph border bottom left radius.

Parameters
@seePMReal.
virtual void ICompositionStyle::SetParaBCornerBottomLeftType (ClassID cornerType)
pure virtual
Set paragraph border bottom left corner type.

Parameters
@seeClassID.
virtual void ICompositionStyle::SetParaBCornerBottomRightRadius (PMReal radius)
pure virtual
Set paragraph border bottom right radius.

Parameters
@seePMReal.
virtual void ICompositionStyle::SetParaBCornerBottomRightType (ClassID cornerType)
pure virtual
Set paragraph border bottom right corner type.

Parameters
@seeClassID.
virtual void ICompositionStyle::SetParaBCornerTopLeftRadius (PMReal radius)
pure virtual
Set paragraph border top left radius.

Parameters
@seePMReal.
virtual void ICompositionStyle::SetParaBCornerTopLeftType (ClassID cornerType)
pure virtual
Set paragraph border top left corner type.

Parameters
@seeClassID.
virtual void ICompositionStyle::SetParaBCornerTopRightRadius (PMReal radius)
pure virtual
Set paragraph border top right radius.

Parameters
@seePMReal.
virtual void ICompositionStyle::SetParaBCornerTopRightType (ClassID cornerType)
pure virtual
Set paragraph border top right corner type.

Parameters
@seeClassID.
virtual void ICompositionStyle::SetParaBorderOffsetB (PMReal bottom)
pure virtual
Set the paragraph border bottom offset

Parameters
bottom- bottom offset.
virtual void ICompositionStyle::SetParaBorderOffsetL (PMReal left)
pure virtual
Set the paragraph border left offset

Parameters
left- left offset.
virtual void ICompositionStyle::SetParaBorderOffsetR (PMReal right)
pure virtual
Set the paragraph border right offset

Parameters
right- right offset.
virtual void ICompositionStyle::SetParaBorderOffsetT (PMReal top)
pure virtual
Set the paragraph border top offset

Parameters
top- top offset.
virtual void ICompositionStyle::SetParaBSBottomOrigin (ICompositionStyle::ParagraphBorderShadingBottomOrigin borderShadingBottomOrigin)
pure virtual
Set paragraph border and shading bottom origin.

Parameters
@seeICompositionStyle::ParagraphBorderShadingBottomOrigin.
virtual void ICompositionStyle::SetParaBSClipToFrame (bool16 clipToFrame)
pure virtual
Set whether the paragraph border and shading should clip/crop itself wrt to frame.

Parameters
keepInFrame- pass kTrue to keep in frame, kFalse - otherwise.
virtual void ICompositionStyle::SetParaBSFillColor (UID fillColorUID)
pure virtual
Set fill color for paragraph border and shading

Parameters
fillColorUID- UID of fill color.
virtual void ICompositionStyle::SetParaBSFillOn (bool16 fillOn)
pure virtual
Set fill mode for the paragraph border and shading

Parameters
passkTrue to switch on fill for paragraph border and shading, kFalse otherwise.
virtual void ICompositionStyle::SetParaBSFillOverprint (bool16 fillOverprint)
pure virtual
Set fill overprint for paragraph border and shading

Parameters
fillOverprint- pass kTrue to switch on overprinting for fill.
virtual void ICompositionStyle::SetParaBSFillTint (PMReal fillTint)
pure virtual
Set fill tint value for paragraph border and shading

Parameters
fillTint- tint value.
virtual void ICompositionStyle::SetParaBSMergeBorder (bool16 mergeBorder)
pure virtual
Sets whether to merge consecutive borders with same setting of paragraph border and shading

Parameters
mergeBorder- pass kTrue to merge, kFalse - otherwise.
virtual void ICompositionStyle::SetParaBSOffsetB (PMReal bottom)
pure virtual
Set the paragraph border and shading bottom offset

Parameters
bottom- bottom offset.
virtual void ICompositionStyle::SetParaBSOffsetL (PMReal left)
pure virtual
Set the paragraph border and shading left offset

Parameters
left- left offset.
virtual void ICompositionStyle::SetParaBSOffsetR (PMReal right)
pure virtual
Set the paragraph border and shading right offset

Parameters
right- right offset.
virtual void ICompositionStyle::SetParaBSOffsetT (PMReal top)
pure virtual
Set the paragraph border and shading top offset

Parameters
top- top offset.
virtual void ICompositionStyle::SetParaBSParagraphFlow (bool16 displayBorder)
pure virtual
Sets whether to display border if paragraph flows of paragraph border and shading 

Parameters
keepInFrame- pass kTrue to suppress, kFalse - otherwise.
virtual void ICompositionStyle::SetParaBSStrokeBottomOrigin (ICompositionStyle::ParagraphBorderShadingBottomOrigin borderShadingBottomOrigin)
pure virtual
Set paragraph border bottom origin.

Parameters
@seeICompositionStyle::ParagraphBorderShadingBottomOrigin.
virtual void ICompositionStyle::SetParaBSStrokeCapType (ICompositionStyle::StrokeCapType strokeCapType)
pure virtual
Set the paragraph border cap type

Parameters
@seeICompositionStyle::StrokeCapType.
virtual void ICompositionStyle::SetParaBSStrokeColor (UID strokeColorUID)
pure virtual
Set stroke color for paragraph border and shading

Parameters
strokeColorUID- UID of stroke color.
virtual void ICompositionStyle::SetParaBSStrokeGapColor (UID strokeGapColorUID)
pure virtual
Set stroke gap color for paragraph border and shading

Parameters
strokeGapColorUID- UID of stroke gap color.
virtual void ICompositionStyle::SetParaBSStrokeGapOverprint (bool16 strokeGapOverprint)
pure virtual
Set stroke gap overprint for paragraph border and shading

Parameters
strokeGapOverprint- pass kTrue to switch on overprinting for stroke gap.
virtual void ICompositionStyle::SetParaBSStrokeGapTint (PMReal strokeGapTint)
pure virtual
Set stroke gap tint for paragraph border and shading

Parameters
strokeGapTint- stroke gap tint value.
virtual void ICompositionStyle::SetParaBSStrokeJoinType (ICompositionStyle::StrokeJoinType strokeJoinType)
pure virtual
Set the paragraph border join type

Parameters
@seeICompositionStyle::StrokeJoinType.
virtual void ICompositionStyle::SetParaBSStrokeOn (bool16 strokeOn)
pure virtual
Set stroke mode for the paragraph border and shading

Parameters
passkTrue to switch on stroke for paragraph border and shading, kFalse otherwise.
virtual void ICompositionStyle::SetParaBSStrokeOverprint (bool16 overprint)
pure virtual
Set stroke overprint for paragraph border and shading

Parameters
strokeOverprint- pass kTrue to switch on overprinting for stroke.
virtual void ICompositionStyle::SetParaBSStrokeTint (PMReal strokeTint)
pure virtual
Set stroke tint for paragraph border and shading

Parameters
strokeTint- stroke tint value.
virtual void ICompositionStyle::SetParaBSStrokeTopOrigin (ICompositionStyle::ParagraphBorderShadingTopOrigin borderShadingTopOrigin)
pure virtual
Set paragraph border top origin.

Parameters
@seeICompositionStyle::ParagraphBorderShadingTopOrigin.
virtual void ICompositionStyle::SetParaBSStrokeType (ICompositionStyle::StrokeType type)
pure virtual
Set stroke type for paragraph border and shading

Parameters
strokeType- type of stroke.
See Also
ICompositionStyle::StrokeType
virtual void ICompositionStyle::SetParaBSStrokeWeight (PMReal strokeWeight)
pure virtual
Set stroke weight for paragraph border and shading

Parameters
strokeWeight- stroke weight value.
virtual void ICompositionStyle::SetParaBSStrokeWidth (ICompositionStyle::ParagraphBorderShadingWidth borderShadingMode)
pure virtual
Set paragraph border width.

Parameters
@seeICompositionStyle::ParagraphBorderShadingWidth.
virtual void ICompositionStyle::SetParaBSSuppressPrinting (bool16 suppressPrinting)
pure virtual
Set whether the paragraph border and shading should be suppressed while printing.

Parameters
keepInFrame- pass kTrue to suppress, kFalse - otherwise.
virtual void ICompositionStyle::SetParaBSTopOrigin (ICompositionStyle::ParagraphBorderShadingTopOrigin borderShadingTopOrigin)
pure virtual
Set paragraph border and shading top origin.

Parameters
@seeICompositionStyle::ParagraphBorderShadingTopOrigin.
virtual void ICompositionStyle::SetParaBSWidth (ICompositionStyle::ParagraphBorderShadingWidth borderShadingMode)
pure virtual
Set paragraph border and shading width.

Parameters
@seeICompositionStyle::ParagraphBorderShadingWidth.
virtual void ICompositionStyle::SetParaBWeightBottomValue (PMReal value)
pure virtual
Set paragraph border bottom stroke weight value.

Parameters
@seePMReal.
virtual void ICompositionStyle::SetParaBWeightLeftValue (PMReal value)
pure virtual
Set paragraph border left stroke weight value.

Parameters
@seePMReal.
virtual void ICompositionStyle::SetParaBWeightRightValue (PMReal value)
pure virtual
Set paragraph border right stroke weight value.

Parameters
@seePMReal.
virtual void ICompositionStyle::SetParaBWeightTopValue (PMReal value)
pure virtual
Set paragraph border top stroke weight value.

Parameters
@seePMReal.
virtual void ICompositionStyle::SetParagraphAlignment (TextAlignment dq)
pure virtual

Set the paragraph alignment.

virtual void ICompositionStyle::SetParagraphDirection (ParagraphDirection dir)
pure virtual

Set the paragraph alignment.

virtual void ICompositionStyle::SetParaRuleColor (bool16 above,
UID color 
)
pure virtual
Set paragraph rule color.

Parameters
abovekTrue if rule above, kFalse for rule below.
virtual void ICompositionStyle::SetParaRuleGapColor (bool16 above,
UID color 
)
pure virtual
Set paragraph rule gap color.

Parameters
abovekTrue if rule above, kFalse for rule below.
virtual void ICompositionStyle::SetParaRuleGapOverprint (bool16 above,
bool16 onOff 
)
pure virtual
Set paragraph rule gap overprint.

Parameters
abovekTrue if rule above, kFalse for rule below.
virtual void ICompositionStyle::SetParaRuleGapTint (bool16 above,
PMReal tint 
)
pure virtual
Set paragraph rule gap tint.

Parameters
abovekTrue if rule above, kFalse for rule below.
virtual void ICompositionStyle::SetParaRuleIndentL (bool16 above,
PMReal left 
)
pure virtual
Set paragraph rule left indent.

Parameters
abovekTrue if rule above, kFalse for rule below.
virtual void ICompositionStyle::SetParaRuleIndentR (bool16 above,
PMReal right 
)
pure virtual
Set paragraph rule right indent.

Parameters
abovekTrue if rule above, kFalse for rule below.
virtual void ICompositionStyle::SetParaRuleMode (bool16 above,
ICompositionStyle::ParagraphRuleMode mode 
)
pure virtual
Set paragraph rule mode.

Parameters
abovekTrue if rule above, kFalse for rule below.
virtual void ICompositionStyle::SetParaRuleOffset (bool16 above,
PMReal offset 
)
pure virtual
Set paragraph rule offset.

Parameters
abovekTrue if rule above, kFalse for rule below.
offsetpositive is down for rule below, up for rule above
virtual void ICompositionStyle::SetParaRuleOn (bool16 above,
bool16 onOff 
)
pure virtual
Set paragraph rule enabled state.

Parameters
abovekTrue if rule above, kFalse for rule below.
virtual void ICompositionStyle::SetParaRuleOverprint (bool16 above,
bool16 onOff 
)
pure virtual
Set paragraph rule overprint state.

Parameters
abovekTrue if rule above, kFalse for rule below.
virtual void ICompositionStyle::SetParaRuleStroke (bool16 above,
PMReal weight 
)
pure virtual
Set paragraph rule stroke weight.

Parameters
abovekTrue if rule above, kFalse for rule below.
virtual void ICompositionStyle::SetParaRuleStrokeType (bool16 above,
ICompositionStyle::StrokeType type 
)
pure virtual
Set paragraph rule stroke type.

Parameters
abovekTrue if rule above, kFalse for rule below.
virtual void ICompositionStyle::SetParaRuleTint (bool16 above,
PMReal tint 
)
pure virtual
Set paragraph rule tint.

Parameters
abovekTrue if rule above, kFalse for rule below.
virtual void ICompositionStyle::SetParaSCornerBottomLeftRadius (PMReal radius)
pure virtual
Set paragraph shading bottom left radius.

Parameters
@seePMReal.
virtual void ICompositionStyle::SetParaSCornerBottomLeftType (ClassID cornerType)
pure virtual
Set paragraph shading bottom left corner type.

Parameters
@seeClassID.
virtual void ICompositionStyle::SetParaSCornerBottomRightRadius (PMReal radius)
pure virtual
Set paragraph shading bottom right radius.

Parameters
@seePMReal.
virtual void ICompositionStyle::SetParaSCornerBottomRightType (ClassID cornerType)
pure virtual
Set paragraph shading bottom right corner type.

Parameters
@seeClassID.
virtual void ICompositionStyle::SetParaSCornerTopLeftRadius (PMReal radius)
pure virtual
Set paragraph shading top left radius.

Parameters
@seePMReal.
virtual void ICompositionStyle::SetParaSCornerTopLeftType (ClassID cornerType)
pure virtual
Set paragraph shading top left corner type.

Parameters
@seeClassID.
virtual void ICompositionStyle::SetParaSCornerTopRightRadius (PMReal radius)
pure virtual
Set paragraph shading top right radius.

Parameters
@seePMReal.
virtual void ICompositionStyle::SetParaSCornerTopRightType (ClassID cornerType)
pure virtual
Set paragraph shading top right corner type.

Parameters
@seeClassID.
virtual void ICompositionStyle::SetRunInGrepStyleList (const RunInGrepStyleListlist)
pure virtual

Set the run-in style applied to this run of characters (usually paragraph).

virtual void ICompositionStyle::SetRunInLineStyleList (const RunInLineStyleListlist)
pure virtual

Set the run-in style applied to this run of characters (usually paragraph).

virtual void ICompositionStyle::SetRunInStyleList (const RunInStyleListlist)
pure virtual

Set the run-in style applied to this run of characters (usually paragraph).

virtual void ICompositionStyle::SetSameParaSpacing (PMReal a)
pure virtual

Set amount of space to add after this paragraph.

virtual void ICompositionStyle::SetSingleWordAlign (TextAlignment dq)
pure virtual

Set how a justified line with only one word on it should align.

virtual void ICompositionStyle::SetSpaceAfter (PMReal a)
pure virtual

Set amount of space to add after this paragraph.

virtual void ICompositionStyle::SetSpaceBefore (PMReal a)
pure virtual

Set amount of space to add before this paragraph.

virtual void ICompositionStyle::SetSpanColumnType (SpanColumnsTypeOptions type)
pure virtual
Set the type of paragraph span.

Parameters
typethe type of paragraph span
virtual void ICompositionStyle::SetSpanSplitColumnCount (int16 count)
pure virtual
Set the number of columns the paragraph spans or splits.

If type is kSpanColumn and column count is equal to 1 means "all"

Parameters
countthe number of columns the paragraph spans or splits
virtual void ICompositionStyle::SetSpanSplitMinSpaceAfter (PMReal minSpaceAfter)
pure virtual
Set the minimum space after span or split columns.

Parameters
minSpaceAfterthe minimum space after span or split columns.
virtual void ICompositionStyle::SetSpanSplitMinSpaceBefore (PMReal minSpaceBefore)
pure virtual
Set the minimum space before span or split columns.

Parameters
minSpaceBeforethe minimum space before span or split columns.
virtual void ICompositionStyle::SetSplitColumnInsideGutter (PMReal gutter)
pure virtual
Set the inside gutter for split columns.

Parameters
gutterthe inside gutter for split columns
virtual void ICompositionStyle::SetSplitColumnOutsideGutter (PMReal gutter)
pure virtual
Set the outside gutter for split columns

Parameters
gutterthe outside gutter for split columns
virtual void ICompositionStyle::SetStartLocation (Text::StartBreakLocation startLocation)
pure virtual

Set where this paragraph should start.

virtual void ICompositionStyle::SetTabRuler (const TabStopTabletabs)
pure virtual

Set the entire tab ruler.

virtual PMReal ICompositionStyle::SpaceAfter () const
pure virtual

Get amount of space to add after this paragraph.

virtual PMReal ICompositionStyle::SpaceBefore () const
pure virtual

Get amount of space to add before this paragraph.

virtual bool16 ICompositionStyle::UseLigatures () const
pure virtual

Should ligatures be used?