The ParaStatus object provides the control over typographical attributes of paragraphs of a text.
Methods and properties
Leading, space before and after, top compensation
Leading Property | Returns or sets the paragraph's leading in millipoints. |
HasLeading Method | Returns true if the HasLeading property has a value. |
SpaceBefore Property | Returns or sets the additional space above the paragraph expressed in millipoints. |
HasSpaceBefore Method | Returns true if the SpaceBefore property has a value. |
SpaceAfter Property | Returns or sets the additional space below the paragraph expressed in millipoints. |
HasSpaceAfter Method | Returns true if the SpaceAfter property has a value. |
LeadingCol Property | Returns or sets the leading for the first line in a justification area. |
HasLeadingCol Method | Returns true if the LeadingCol property has a value. |
LeadingColOn Property | Returns or sets the status of the LeadingCol attribute. |
HasLeadingColOn Method | Returns true if the LeadingColOn property has a value. |
Column width and jump
LineWidth Property | Returns or sets the column width in millipoints. |
HasLineWidth Method | Returns true if the LineWidth property has a value. |
AreaBreak Property | Returns or sets the status of the new justification area. |
HasAreaBreak Method | Returns true if the AreaBreak property has a value. |
Hyphenation
Hyp Property | Returns or sets hyphenation status for the paragraph. |
HasHyp Method | Returns true if the Hyp property has a value. |
Alignment
App Property | Returns or sets the alignment of the paragraph lines. |
HasApp Method | Returns true if the App property has a value. |
LastApp Property | Returns or sets the alignment of the last paragraph line. |
HasLastApp Method | Returns true if the LastApp property has a value. |
UseLastApp Property | Returns or sets the status of the forced end line for the last paragraph line alignment |
HasUseLastApp Method | Returns true if the UseLastApp property has a value. |
Indents
StandardIndent Property | Returns or sets the first line indent. |
HasStandardIndent Method | Returns true if the StandardIndent property has a value. |
NStandardIndent Property | Returns or sets the number of lines to be affected by StandardIndent. |
HasNStandardIndent Method | Returns true if the NStandardIndent property has a value. |
LeftIndent Property | Returns or sets the left indent expressed in millipoints. |
HasLeftIndent Method | Returns true if the LeftIndent property has a value. |
NLeftIndent Property | Returns or sets the number of lines affected by LeftIndent. |
HasNLeftIndent Method | Returns true if the NLeftIndent property has a value. |
RightIndent Property | Returns or sets the right indent expressed in millipoints. |
HasRightIndent Method | Returns true if the RightIndent property has a value. |
NRightIndent Property | Returns or sets the number of lines affected by RightIndent. |
HasNRightIndent Method | Returns true if the NRightIndent property has a value. |
Vertical justification
TopVAdd Property | Returns or sets the max. space that can be added above the paragraph. |
HasTopVAdd Method | Returns true if the TopVAdd property has a value. |
TopVSub Property | Returns or sets the max. space to be subtracted above the paragraph. |
HasTopVSub Method | Returns true if the TopVSub property has a value. |
VAdd Property | Returns or sets the max. space to be added between lines inside the paragraph. |
HasVAdd Method | Returns true if the VAdd property has a value. |
VSub Property | Returns or sets the max. space to be subtracted between lines inside the paragraph. |
HasVSub Method | Returns true if the VSub property has a value. |
Text flow control
KeepTop Property | Returns or sets the number of lines to be kept together at the start of the paragraph. |
HasKeepTop Method | Returns true if the KeepTop property has a value. |
KeepBot Property | Returns or sets the number of lines to be kept together at the end of the paragraph. |
HasKeepBot Method | Returns true if the KeepBot property has a value. |
KeepNext Property | Returns or sets the keep paragraph with next status. |
HasKeepNext Method | Returns true if the KeepNext property has a value. |
Word spacing
SpaceW Property | Returns or sets the optimal width of the movable spaces. |
HasSpaceW Method | Returns true if the SpaceW property has a value. |
MinSpaceW Property | Returns or sets the minimum width of the movable spaces. |
HasMinSpaceW Method | Returns true if the MinSpaceW property has a value. |
MaxSpaceW Property | Returns or sets the maximum width of the movable spaces. |
HasMaxSpaceW Method | Returns true if the MaxSpaceW property has a value. |
Alignment to grid
GridH Property | Returns or sets the baseline grid value or 0 if not set. |
HasGridH Method | Returns true if the GridH property has a value. |
GridOfs Property | Returns or sets the baseline grid offset . |
HasGridOfs Method | Returns true if the GridOfs property has a value. |
Fillers
HasFillMode Method | Returns true if the FillMode property has a value. |
FillMode Property | Returns or sets fill mode. |
HasFillSpaceLast Method | Returns true if the FillSpaceLast property has a value. |
FillSpaceLast Property | Returns or sets the space between the last fill character and the text expressed in millipoints. |
HasFillSpaceBetween Method | Returns true if the FillSpaceBetween property has a value. |
FillSpaceBetween Property | Returns or sets the space between repeated fill characters expressed in millipoints. |
HasFillSpaceAround Method | Returns true if the FillSpaceAround property has a value. |
FillSpaceAround Property | Returns or sets the space around fill character expressed in millipoints. |
HasFillChar Method | Returns true if the FillChar property has a value. |
FillChar Property | Returns or sets the fill character. |
Paragraph shrinking and stretching
SSLines Property | Returns or sets the number of lines to remove or to add to the current paragraph. |
HasSSLines Method | Returns true if the SSLines property has a value. |
SSTrackStretch Property | Returns or sets the change of tracking/stretching expressed in millipoints. |
HasSSTrackStretch Method | Returns true if the SSTrackStretch property has a value. |
SSCharBase Property | Returns or sets the change of base of characters. |
HasSSCharBase Method | Returns true if the SSCharBase property has a value. |
SSWordSpace Property | Returns or sets the change of space between words. |
HasSSWordSpace Method | Returns true if the SSWordSpace property has a value. |
SSCharSize Property | Returns or sets the change of size of characters. |
HasSSCharSize Method | Returns true if the SSCharSize property has a value. |
SSScope Property | Returns or sets the scope of the change. |
HasSSScope Method | Returns true if the SSScope property has a value. |
Drop capitals
DropLines Property | Returns or sets the number of drop cap lines. |
HasDropLines Method | Returns true if the DropLines property has a value. |
DropChars Property | Returns or sets the number of drop cap characters. |
HasDropChars Method | Returns true if the DropChars property has a value. |
DropRightMargin Property | Returns or sets the right margin between the drop capital and the text, any positive number. |
HasDropRightMargin Method | Returns true if the DropRightMargin property has a value. |
DropVSCapital Property | Returns or sets the vertical shift upwards of the drop capital. |
HasDropVSCapital Method | Returns true if the DropVSCapital property has a value. |
DropVSBaseline Property | Returns or sets the vertical shift upwards of the baseline of the drop capital. |
HasDropVSBaseline Method | Returns true if the DropVSBaseline property has a value. |
DropRelBase Property | Returns or sets the relative base of the drop capital |
HasDropRelBase Method | Returns true if the DropRelBase property has a value. |
DropFont Property | Returns or sets the font for the drop capital. |
HasDropFont Method | Returns true if the DropFont property has a value. |
DropNextStyle Property | Returns or sets the style name to activate after drop capital. |
HasDropNextStyle Method | Returns true if the DropNextStyle property has a value. |
Area and rules
ARReset Method | Clears all the abs rules. |
NAbsRules Method | Returns the number of abs rules. |
HasAbsRules Method | Returns true if the abs rules properties have a value. |
ARGray Property | Returns or sets the tint of the nIdx abs rule. A positive integer in the range 0 - 100. |
ARColor Property | Returns or sets the color name of the nIdx abs rule. |
ARLROrigin Property | Returns or sets the position identifier for the ending point of the nIdx abs rule. |
ARLRY Property | Returns or sets the vertical offset from the default ending point of the nIdx abs rule. |
ARLRX Property | Returns or sets the horizontal offset from the default ending point of the nIdx abs rule. |
ARULOrigin Property | Returns or sets the position identifier for starting point of the nIdx abs rule. |
ARULY Property | Returns or sets the vertical offset from the default starting point of the nIdx abs rule. |
ARULX Property | Returns or sets the horizontal offset from the default starting point of the nIdx abs rule. |
Reset and Edit
Reset Method | Resets all the properties to 'no value'. |
Edit Method | Edits all the object's properties with a dialog. |
To create a ParaStatus object:
•dim objPS = Text.GetParaStatus
•dim objPS = Text.GetParaParaStatus
•dim objPS = Text.GetDefaultParaStatus
See also