|
aXSL API 0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Base interface for formatting objects.
Method Summary | |
FObj |
ancestorListRelatedObject(FOContext context)
Returns the nearest ancestor list-related object. |
boolean |
canContainBlock()
Reports whether the object is allowed to contain %block content. |
boolean |
canContainInline()
Reports whether the object is allowed to contain %inline content. |
boolean |
canContainPCDATA()
Reports whether the object is allowed to contain PCDATA content. |
BasicLink |
getBasicLink(FOContext context)
Returns the nearest ancestor BasicLink. |
byte |
getBPAxis(FOContext context)
Tells which axis (horizontal or vertical) is the block-progression axis. |
int |
getFauxSmallCapFontSize(FOContext context)
Returns the font-size for the lowercase characters when faux small caps are used by this FO. |
FontConsumer |
getFontConsumer()
Convenience method for obtaining the FontConsumer for this document. |
byte |
getIPAxis(FOContext context)
Tells which axis (horizontal or vertical) is the inline-progression axis. |
int |
getMarginBottom(FOContext context,
int widthContainingBlock)
Returns the bottom margin of this object. |
int |
getMarginLeft(FOContext context,
int widthContainingBlock)
Returns the left margin of this object. |
int |
getMarginRight(FOContext context,
int widthContainingBlock)
Returns the right margin of this object. |
int |
getMarginTop(FOContext context,
int widthContainingBlock)
Returns the top margin of this object. |
java.lang.String |
getName()
Returns the name of this formatting object. |
Table |
getNearestTable(FOContext context)
Returns the nearest ancestor Table. |
FObj |
getPreviousSiblingFObj()
Returns the nearest preceding sibling FO. |
FontUse |
getPrimaryFont(FOContext context)
Provides a resolved font to be used as the primary font for this object. |
FontUse |
getSecondaryFont(FOContext context,
int codePoint)
Provides a resolved font that can be used as the secondary font for a specific character in this object. |
WritingMode |
getWritingMode(FOContext context)
Returns the writing-mode for this FO. |
boolean |
initialPageNumberSetExplicitly()
Indicates whether the page number was set with a specific integer. |
boolean |
isBlockLevelFO()
Only block-level objects are considered in an object's ancestry for certain computations. |
boolean |
isContentBlock()
Reports whether the object fits the %block parameter entity described in XSL-FO Std 1.0, Section 6.2. |
boolean |
isContentInline()
Reports whether the object fits the %inline parameter entity described in XSL-FO Std 1.0, Section 6.2. |
boolean |
isContentPCDATA()
Reports whether the object fits the #PCDATA content type in XSL-FO Std 1.0, Section 6.2. |
boolean |
isRAGenerator()
Returns the value of the is-reference-area trait. |
java.lang.String |
refIdNeeded(FOContext context)
Returns the ref-id or idref property for this object. |
short |
traitAbsolutePosition(FOContext context)
Returns the "absolute-position" trait for this FO. |
short |
traitActiveState(FOContext context)
Returns the "active-state" trait for this FO. |
short |
traitAlignmentAdjust(FOContext context)
Returns the keyword component of the "alignment-adjust" trait for this FO. |
int |
traitAlignmentAdjustAmount(FOContext context,
int areaHeight)
Returns the length component, if any, of the "alignment-adjust" trait for this FO. |
short |
traitAlignmentBaseline(FOContext context)
Returns the "alignment-baseline" trait for this FO. |
boolean |
traitAutoRestore(FOContext context)
Returns the "auto-restore" trait for this FO. |
float |
traitAzimuth(FOContext context)
Returns the "azimuth" trait for this FO. |
short |
traitBackgroundAttachment(FOContext context)
Returns the "background-attachment" trait for this FO. |
java.awt.Color |
traitBackgroundColor(FOContext context)
Returns the "background-color" trait for this FO. |
Graphic |
traitBackgroundImage(FOContext context)
Returns the "background-image" trait for this FO. |
int |
traitBackgroundPositionHorizontal(FOContext context,
int paddingRectangleWidth,
int backgroundImageWidth)
Returns the "background-position-horizontal" trait for this FO. |
int |
traitBackgroundPositionVertical(FOContext context,
int paddingRectangleHeight,
int backgroundImageHeight)
Returns the "background-position-vertical" trait for this FO. |
short |
traitBackgroundRepeat(FOContext context)
Returns the "background-repeat" trait for this FO. |
int |
traitBaselineShift(FOContext context)
Returns the "baseline-shift" trait for this FO. |
boolean |
traitBlink(FOContext context)
Returns the "blink" trait for this FO. |
java.awt.Color |
traitBorderAfterColor(FOContext context)
Returns the "border-after-color" trait for this FO. |
int |
traitBorderAfterPrecedence(FOContext context)
Returns the "border-after-precedence" trait for this FO. |
short |
traitBorderAfterStyle(FOContext context)
Returns the "border-after-style" trait for this FO. |
int |
traitBorderAfterWidth(FOContext context,
boolean isLast)
Returns the "border-after-width" trait for this FO. |
java.awt.Color |
traitBorderBeforeColor(FOContext context)
Returns the "border-before-color" trait for this FO. |
int |
traitBorderBeforePrecedence(FOContext context)
Returns the "border-before-precedence" trait for this FO. |
short |
traitBorderBeforeStyle(FOContext context)
Returns the "border-before-style" trait for this FO. |
int |
traitBorderBeforeWidth(FOContext context,
boolean isFirst)
Returns the "border-before-width" trait for this FO. |
java.awt.Color |
traitBorderBottomColor(FOContext context)
Returns the "border-bottom-color" trait for this FO. |
short |
traitBorderBottomStyle(FOContext context)
Returns the "border-bottom-style" trait for this FO. |
int |
traitBorderBottomWidth(FOContext context)
Returns the "border-bottom-width" trait for this FO. |
short |
traitBorderCollapse(FOContext context)
Returns the "border-collapse" trait for this FO. |
java.awt.Color |
traitBorderEndColor(FOContext context)
Returns the "border-end-color" trait for this FO. |
int |
traitBorderEndPrecedence(FOContext context)
Returns the "border-end-precedence" trait for this FO. |
short |
traitBorderEndStyle(FOContext context)
Returns the "border-end-style" trait for this FO. |
int |
traitBorderEndWidth(FOContext context,
boolean isLast)
Returns the "border-end-width" trait for this FO. |
java.awt.Color |
traitBorderLeftColor(FOContext context)
Returns the "border-left-color" trait for this FO. |
short |
traitBorderLeftStyle(FOContext context)
Returns the "border-left-style" trait for this FO. |
int |
traitBorderLeftWidth(FOContext context)
Returns the "border-left-width" trait for this FO. |
java.awt.Color |
traitBorderRightColor(FOContext context)
Returns the "border-right-color" trait for this FO. |
short |
traitBorderRightStyle(FOContext context)
Returns the "border-right-style" trait for this FO. |
int |
traitBorderRightWidth(FOContext context)
Returns the "border-right-width" trait for this FO. |
int |
traitBorderSeparationBPD(FOContext context)
Returns the BPD portion of the "border-separation" trait for this FO. |
int |
traitBorderSeparationIPD(FOContext context)
Returns the IPD portion of the "border-separation" trait for this FO. |
java.awt.Color |
traitBorderStartColor(FOContext context)
Returns the "border-start-color" trait for this FO. |
int |
traitBorderStartPrecedence(FOContext context)
Returns the "border-start-precedence" trait for this FO. |
short |
traitBorderStartStyle(FOContext context)
Returns the "border-start-style" trait for this FO. |
int |
traitBorderStartWidth(FOContext context,
boolean isFirst)
Returns the "border-start-width" trait for this FO. |
java.awt.Color |
traitBorderTopColor(FOContext context)
Returns the "border-top-color" trait for this FO. |
short |
traitBorderTopStyle(FOContext context)
Returns the "border-top-style" trait for this FO. |
int |
traitBorderTopWidth(FOContext context)
Returns the "border-top-width" trait for this FO. |
int |
traitBottom(FOContext context,
int heightContainingBlock)
Returns the "bottom" trait for this FO. |
int |
traitBPDimensionMax(FOContext context,
int parentAreaContentBPD)
Returns the "maximum" component of the "block-progression-dimension" for this FO. |
int |
traitBPDimensionMin(FOContext context,
int parentAreaContentBPD)
Returns the "minimum" component of the "block-progression-dimension" for this FO. |
int |
traitBPDimensionOpt(FOContext context,
int parentAreaContentBPD)
Returns the "optimum" component of the "block-progression-dimension" for this FO. |
byte |
traitBPDirection(FOContext context)
Returns the "block-progression-direction" for this FO. |
short |
traitBreakAfter(FOContext context)
Returns the "break-after" trait for this FO. |
short |
traitBreakBefore(FOContext context)
Returns the "break-before" trait for this FO. |
short |
traitCaptionSide(FOContext context)
Returns the "caption-side" trait for this FO. |
java.lang.String |
traitCaseName(FOContext context)
Returns the "case-name" trait for this FO. |
java.lang.String |
traitCaseTitle()
Returns the "case-title" trait for this FO. |
short |
traitClear(FOContext context)
Returns the "clear" trait for this FO. |
Shape |
traitClip(FOContext context)
Returns the "clip" trait for this FO. |
java.awt.Color |
traitColor(FOContext context)
Returns the resolved "color" trait for this FO. |
java.lang.String |
traitColorProfileName(FOContext context)
Returns the "color-profile-name" trait for this FO. |
int |
traitColumnCount(FOContext context)
Returns the "column-count" trait for this FO. |
int |
traitColumnGap(FOContext context)
Returns the "column-gap" trait for this FO. |
int |
traitColumnWidth(FOContext context,
int tableWidth)
Returns the "column-width" trait for this FO. |
java.lang.String |
traitContentType(FOContext context)
Returns the "content-type" trait for this FO. |
java.lang.String |
traitCountry(FOContext context)
Returns the "country" trait for this FO. |
java.lang.String |
traitCueAfter(FOContext context)
Returns the "cue-after" trait for this FO. |
java.lang.String |
traitCueBefore(FOContext context)
Returns the "cue-before" trait for this FO. |
int |
traitDestinationPlacementOffset(FOContext context)
Returns the "destination-placement-offset" trait for this FO. |
short |
traitDirection(FOContext context)
Returns the "direction" trait for this FO. |
short |
traitDisplayAlign(FOContext context)
Returns the "display-align" trait for this FO. |
short |
traitDominantBaseline(FOContext context)
Returns the resolved dominant baseline for this object. |
float |
traitElevation(FOContext context)
Returns the "elevation" trait for this FO. |
short |
traitEmptyCells(FOContext context)
Returns the "empty-cells" trait for this FO. |
int |
traitEndIndent(FOContext context,
int ipdContainingRA)
Returns the "end-indent" trait for this FO. |
boolean |
traitEndsRow(FOContext context)
Returns the "ends-row" trait for this FO. |
int |
traitExtent()
Returns the "extent" trait for this FO. |
java.lang.String |
traitExternalDestination()
Returns the "external-destination" trait for this FO. |
short |
traitFloat(FOContext context)
Returns the "float" trait for this FO. |
java.lang.String |
traitFlowName()
Returns the "flow-name" trait for this FO. |
java.lang.String[] |
traitFontFamily(FOContext context)
Returns the "font-family" trait for this FO. |
short |
traitFontSelectionStrategy(FOContext context)
Returns the "font-selection-strategy" trait for this FO. |
int |
traitFontSize(FOContext context)
Returns the "font-size" trait for this FO. |
int |
traitFontSizeActual(FOContext context,
int xHeight)
Returns the "actual" value for font-size, as distinguished from the "computed" value returned by #traitFontSize(). |
double |
traitFontSizeAdjust(FOContext context)
Retrieves the computed value for "font-size-adjust". |
short |
traitFontStretch(FOContext context)
Returns the "font-stretch" trait for this FO. |
short |
traitFontStyle(FOContext context)
Returns the "font-style" trait for this FO. |
short |
traitFontVariant(FOContext context)
Returns the "font-variant" trait for this FO. |
short |
traitFontWeight(FOContext context)
Returns a numerical value indicating the relative boldness of the font-family typeface that should be used. |
short |
traitForcePageCount(FOContext context)
Returns the "force-page-count" trait for this FO. |
short |
traitGlyphOrientationHorizontal(FOContext context)
Returns the "glyph-orientation-horizontal" trait for this FO. |
short |
traitGlyphOrientationVertical(FOContext context)
Returns the "glyph-orientation-vertical" trait for this FO. |
short |
traitHalfLeadingConditionality(FOContext context)
Returns the "conditionality" component of the "half-leading" trait for this FO. |
int |
traitHalfLeadingMax(FOContext context)
Returns the "maximum" component of the "half-leading" trait for this FO. |
int |
traitHalfLeadingMin(FOContext context)
Returns the "minimum" component of the "half-leading" trait for this FO. |
int |
traitHalfLeadingOpt(FOContext context)
Returns the "optimum" component of the "half-leading" trait for this FO. |
int |
traitHalfLeadingPrecedence(FOContext context)
Returns the "precedence" component of the "half-leading" trait for this FO. |
boolean |
traitHyphenate(FOContext context)
Returns the "hyphenate" trait for this FO. |
int |
traitHyphenationCharacter(FOContext context)
Returns the "hyphenation-character" trait for this FO. |
short |
traitHyphenationKeep(FOContext context)
Returns the "hyphenation-keep" trait for this FO. |
int |
traitHyphenationPushCharacterCount(FOContext context)
Returns the "hyphenation-push-character-count" trait for this FO. |
int |
traitHyphenationRemainCharacterCount(FOContext context)
Returns the "hyphenation-remain-character-count" trait for this FO. |
int |
traitHyphLadderCount(FOContext context)
Returns the "hyphenation-ladder-count" trait for this FO. |
java.lang.String |
traitId()
Returns the "id" trait for this FO. |
boolean |
traitIndicateDestination(FOContext context)
Returns the "indicate-destination" trait for this FO. |
int |
traitInitialPageNumber(int lastPageNumberUsed)
Returns the "initial-page-number" trait for this FO. |
java.lang.String |
traitInternalDestination()
Returns the "internal-destination" trait for this FO. |
int |
traitIPDimensionMax(FOContext context,
int parentAreaContentIPD)
Returns the "maximum" component of the "inline-progression-dimension" for this FO. |
int |
traitIPDimensionMin(FOContext context,
int parentAreaContentIPD)
Returns the "minimum" component of the "inline-progression-dimension" for this FO. |
int |
traitIPDimensionOpt(FOContext context,
int parentAreaContentIPD)
Returns the "optimum" component of the "inline-progression-dimension" for this FO. |
byte |
traitIPDirectionEven(FOContext context)
Returns the "inline-progression-direction" for even-numbered lines for this FO. |
byte |
traitIPDirectionOdd(FOContext context)
Returns the "inline-progression-direction" for odd-numbered lines for this FO. |
int |
traitKeepTogetherWithinColumn(FOContext context)
Returns the "within-column" portion of the "keep-together" trait for this FO. |
int |
traitKeepTogetherWithinLine(FOContext context)
Returns the "within-line" portion of the "keep-together" trait for this FO. |
int |
traitKeepTogetherWithinPage(FOContext context)
Returns the "within-page" portion of the "keep-together" trait for this FO. |
int |
traitKeepWithNextWithinColumn(FOContext context)
Returns the "within-column" portion of the "keep-with-next" trait for this FO. |
int |
traitKeepWithNextWithinLine(FOContext context)
Returns the "within-line" portion of the "keep-with-next" trait for this FO. |
int |
traitKeepWithNextWithinPage(FOContext context)
Returns the "within-page" portion of the "keep-with-next" trait for this FO. |
int |
traitKeepWithPreviousWithinColumn(FOContext context)
Returns the "within-column" portion of the "keep-with-previous" trait for this FO. |
int |
traitKeepWithPreviousWithinLine(FOContext context)
Returns the "within-line" portion of the "keep-with-previous" trait for this FO. |
int |
traitKeepWithPreviousWithinPage(FOContext context)
Returns the "within-page" portion of the "keep-with-previous" trait for this FO. |
java.lang.String |
traitLanguage(FOContext context)
Returns the "language" trait for this FO. |
int |
traitLastLineEndIndent(FOContext context,
int ipdAncestorBANotLA)
Returns the "last-line-end-indent" for this FO. |
short |
traitLeaderAlignment(FOContext context)
Returns the value of the "leader-alignment" trait for this FO. |
int |
traitLeaderLengthMax(FOContext context,
int parentAreaContentIPD)
Returns the "maximum" component of the "leader-length" trait for this FO. |
int |
traitLeaderLengthMin(FOContext context,
int parentAreaContentIPD)
Returns the "minimum" component of the "leader-length" trait for this FO. |
int |
traitLeaderLengthOpt(FOContext context,
int parentAreaContentIPD)
Returns the "optimum" component of the "leader-length" trait for this FO. |
short |
traitLeaderPattern(FOContext context)
Returns the "leader-pattern" trait for this FO. |
int |
traitLeaderPatternWidth(FOContext context,
int ipdParentContent)
Returns the value for the "leader-pattern-width" trait for this FO. |
int |
traitLeft(FOContext context,
int widthContainingBlock)
Returns the "left" trait for this FO. |
short |
traitLetterSpacingConditionality()
Returns the "conditionality" component of the "letter-spacing" trait for this FO. |
int |
traitLetterSpacingMax(FOContext context)
Returns the "maximum" component of the "letter-spacing" trait for this FO. |
int |
traitLetterSpacingMin(FOContext context)
Returns the "minimum" component of the "letter-spacing" trait for this FO. |
int |
traitLetterSpacingOpt(FOContext context)
Returns the "optimum" component of the "letter-spacing" trait for this FO. |
int |
traitLetterSpacingPrecedence()
Returns the "precedence" component of the "letter-spacing" trait for this FO. |
short |
traitLinefeedTreatment(FOContext context)
Returns the "linefeed-treatment" trait for this FO. |
short |
traitLineHeightShiftAdjustment(FOContext context)
Returns the "line-height-shift-adjustment" trait for this FO. |
short |
traitLineStackingStrategy(FOContext context)
Returns the "line-stacking-strategy" trait for this FO. |
short |
traitMediaUsage(FOContext context)
Returns the "media-usage" trait for this FO. |
int |
traitNumberColumnsRepeated()
Returns the "number-columns-repeated" trait for this FO. |
int |
traitOrphans(FOContext context)
Returns the "orphans" trait for this FO. |
short |
traitOverflow(FOContext context)
Returns the "overflow" trait for this FO. |
boolean |
traitOverlineScore(FOContext context)
Returns the "overline-score" trait for this FO. |
java.awt.Color |
traitOverlineScoreColor(FOContext context)
Returns the "overline-score-color" trait for this FO. |
int |
traitPaddingAfter(FOContext context,
boolean isLast)
Returns the "padding-after" trait for this FO. |
int |
traitPaddingBefore(FOContext context,
boolean isFirst)
Returns the "padding-before" trait for this FO. |
int |
traitPaddingBottom(FOContext context)
Returns the "padding-bottom" trait for this FO. |
int |
traitPaddingEnd(FOContext context,
boolean isLast)
Returns the "padding-end" trait for this FO. |
int |
traitPaddingLeft(FOContext context)
Returns the "padding-left" trait for this FO. |
int |
traitPaddingRight(FOContext context)
Returns the "padding-right" trait for this FO. |
int |
traitPaddingStart(FOContext context,
boolean isFirst)
Returns the "padding-start" trait for this FO. |
int |
traitPaddingTop(FOContext context)
Returns the "padding-top" trait for this FO. |
int |
traitPageHeight()
Returns the "page-height" trait for this FO. |
int |
traitPageWidth()
Returns the "page-width" trait for this FO. |
double |
traitPauseAfter(FOContext context)
Returns the "pause-after" trait for this FO. |
double |
traitPauseBefore(FOContext context)
Returns the "pause-before" trait for this FO. |
double |
traitPitch(FOContext context,
double mediumRange)
Returns the frequency for the audio for the current voice. |
double |
traitPitchRange(FOContext context)
Returns the "pitch-range" trait for this FO. |
java.lang.String |
traitPlayDuring(FOContext context)
Returns the "URL" component of the "play-during" trait for this FO. |
boolean |
traitPlayDuringMix(FOContext context)
Returns the "mix" component of the "play-during" trait for this FO. |
boolean |
traitPlayDuringRepeat(FOContext context)
Returns the "repeat" component of the "play-during" trait for this FO. |
int |
traitProvisionalDistanceBetweenStarts(FOContext context,
int ipdNearestBlockAreaNotLineArea)
Returns the "provisional-distance-between-starts" trait for this FO. |
int |
traitProvisionalLabelSeparation(FOContext context,
int ipdNearestBlockAreaNotLineArea)
Returns the "provisional-label-separation" trait for this FO. |
short |
traitReferenceOrientation(FOContext context)
Returns the "reference-orientation" trait for this FO. |
java.lang.String |
traitRefId(FOContext context)
Returns the "ref-id" trait for this FO. |
short |
traitRelativeAlign(FOContext context)
Returns the "relative-align" trait for this FO. |
short |
traitRelativePosition(FOContext context)
Returns the "relative-position" trait for this FO. |
short |
traitRenderingIntent(FOContext context)
Returns the "rendering-intent" trait for this FO. |
double |
traitRichness(FOContext context)
Returns the "richness" trait for this FO. |
int |
traitRight(FOContext context,
int widthContainingBlock)
Returns the "right" trait for this FO. |
java.lang.String |
traitRole(FOContext context)
Returns the "role" trait for this FO. |
short |
traitRuleStyle(FOContext context)
Returns the "rule-style" trait for this FO. |
int |
traitRuleThickness(FOContext context)
Returns the "rule-thickness" trait for this FO. |
short |
traitScaling(FOContext context)
Returns the "scaling" trait for this FO. |
short |
traitScalingMethod(FOContext context)
Returns the "scaling-method" trait for this FO. |
boolean |
traitScoreSpaces(FOContext context)
Returns the "score-spaces" trait for this FO. |
java.lang.String |
traitScript(FOContext context)
Returns the "script" trait for this FO. |
byte |
traitShiftDirectionEven(FOContext context)
Returns the "shift-direction" trait for even-numbered lines for this FO. |
byte |
traitShiftDirectionOdd(FOContext context)
Returns the "shift-direction" trait for odd-numbered lines for this FO. |
short |
traitShowDestination(FOContext context)
Returns the "show-destination" trait for this FO. |
java.lang.String[] |
traitSourceDocument(FOContext context)
Returns the "source-document" trait for this FO. |
short |
traitSpaceAfterConditionality(FOContext context)
Returns the "conditionality" component of the "space-after" trait for this FO. |
int |
traitSpaceAfterMaximum(FOContext context)
Returns the "maximum" component of the "space-after" trait for this FO. |
int |
traitSpaceAfterMinimum(FOContext context)
Returns the "minimum" component of the "space-after" trait for this FO. |
int |
traitSpaceAfterOptimum(FOContext context)
Returns the "optimum" component of the "space-after" trait for this FO. |
int |
traitSpaceAfterPrecedence()
Returns the "precedence" component of the "space-after" trait for this FO. |
short |
traitSpaceBeforeConditionality(FOContext context)
Returns the "conditionality" component of the "space-before" trait for this FO. |
int |
traitSpaceBeforeMaximum(FOContext context)
Returns the "maximum" component of the "space-before" trait for this FO. |
int |
traitSpaceBeforeMinimum(FOContext context)
Returns the "minimum" component of the "space-before" trait for this FO. |
int |
traitSpaceBeforeOptimum(FOContext context)
Returns the "optimum" component of the "space-before" trait for this FO. |
int |
traitSpaceBeforePrecedence()
Returns the "precedence" component of the "space-before" trait for this FO. |
short |
traitSpaceEndConditionality()
Returns the "conditionality" component of the "space-end" trait for this FO. |
int |
traitSpaceEndMaximum(FOContext context,
int ipdAncestorBlockArea)
Returns the "maximum" component of the "space-end" trait for this FO. |
int |
traitSpaceEndMinimum(FOContext context,
int ipdAncestorBlockArea)
Returns the "minimum" component of the "space-end" trait for this FO. |
int |
traitSpaceEndOptimum(FOContext context,
int ipdAncestorBlockArea)
Returns the "optimum" component of the "space-end" trait for this FO. |
int |
traitSpaceEndPrecedence()
Returns the "precedence" component of the "space-end" trait for this FO. |
short |
traitSpaceStartConditionality()
Returns the "conditionality" component of the "space-start" trait for this FO. |
int |
traitSpaceStartMaximum(FOContext context,
int ipdAncestorBlockArea)
Returns the "maximum" component of the "space-start" trait for this FO. |
int |
traitSpaceStartMinimum(FOContext context,
int ipdAncestorBlockArea)
Returns the "minimum" component of the "space-start" trait for this FO. |
int |
traitSpaceStartOptimum(FOContext context,
int ipdAncestorBlockArea)
Returns the "optimum" component of the "space-start" trait for this FO. |
int |
traitSpaceStartPrecedence()
Returns the "precedence" component of the "space-start" trait for this FO. |
short |
traitSpan(FOContext context)
Returns the "span" trait for this FO. |
short |
traitSpeak(FOContext context)
Returns the "speak" trait for this FO. |
short |
traitSpeakHeader(FOContext context)
Returns the "speak-header" trait for this FO. |
short |
traitSpeakNumeral(FOContext context)
Returns the "speak-numeral" trait for this FO. |
short |
traitSpeakPunctuation(FOContext context)
Returns the "speak-punctuation" trait for this FO. |
double |
traitSpeechRate(FOContext context)
Returns the desired speech-rate, in words-per-minute. |
java.lang.String |
traitSrc(FOContext context)
Returns the "src" trait for this FO. |
int |
traitStartIndent(FOContext context,
int ipdContainingRA)
Returns the "start-indent" trait for this FO. |
short |
traitStartingState(FOContext context)
Returns the "starting-state" trait for this FO. |
boolean |
traitStartsRow(FOContext context)
Returns the "starts-row" trait for this FO. |
double |
traitStress(FOContext context)
Returns the "stress" trait for this FO. |
short |
traitSuppressAtLineBreak(FOContext context)
Returns the "suppress-at-line-break" trait for this FO. |
short |
traitSwitchTo()
Returns an enumerated value for the "switch-to" trait for this FO. |
java.lang.String[] |
traitSwitchToNames()
Returns an array of names for the "switch-to" trait for this FO. |
short |
traitTableLayout()
Returns the "table-layout" trait for this FO. |
boolean |
traitTableOmitFooterAtBreak(FOContext context)
Returns the "table-omit-footer-at-break" trait for this FO. |
boolean |
traitTableOmitHeaderAtBreak(FOContext context)
Returns the "table-omit-header-at-break" trait for this FO. |
java.lang.String |
traitTargetPresentationContext()
Returns the "target-presentation-context" trait for this FO. |
java.lang.String |
traitTargetProcessingContext()
Returns the "target-processing-context" trait for this FO. |
java.lang.String |
traitTargetStylesheet()
Returns the "target-stylesheet" trait for this FO. |
short |
traitTextAlign(FOContext context)
Returns the "text-align" trait for this FO. |
short |
traitTextAlignLast(FOContext context)
Returns the "text-align-last" trait for this FO. |
java.lang.String |
traitTextAlignString()
Returns the String value, if any, of the "text-align" trait for this FO. |
int |
traitTextAltitude(FOContext context)
Returns the "text-altitude" trait for this FO. |
int |
traitTextDepth(FOContext context)
Returns the "text-depth" trait for this FO. |
int |
traitTextIndent(FOContext context,
int widthContainingBlock)
Returns the "text-indent" trait for this FO. |
ShadowEffect |
traitTextShadow(FOContext context)
Returns the "shadow-effect" trait for this FO. |
short |
traitTextTransform(FOContext context)
Returns the "text-transform" trait for this FO. |
boolean |
traitThroughScore(FOContext context)
Returns the "through-score" trait for this FO. |
java.awt.Color |
traitThroughScoreColor(FOContext context)
Returns the "through-score-color" trait for this FO. |
int |
traitTop(FOContext context,
int heightContainingBlock)
Returns the "top" trait for this FO. |
boolean |
traitTreatAsWordSpace(FOContext context,
char character)
Returns the "treat-as-word-space" trait for this FO. |
boolean |
traitUnderlineScore(FOContext context)
Returns the "underline-score" trait for this FO. |
java.awt.Color |
traitUnderlineScoreColor(FOContext context)
Returns the "underline-score-color" trait for this FO. |
short |
traitUnicodeBidi(FOContext context)
Returns the "unicode-bidi" trait for this FO. |
short |
traitVisibility(FOContext context)
Returns the "visibility" trait for this FO. |
java.lang.String[] |
traitVoiceFamily(FOContext context)
Returns the "voice-family" trait for this FO. |
double |
traitVolume(FOContext context)
Returns the computed value for the "volume" property. |
boolean |
traitWhiteSpaceCollapse(FOContext context)
Returns the "white-space-collapse" trait for this FO. |
short |
traitWhiteSpaceTreatment(FOContext context)
Returns the "white-space-treatement" trait for this FO. |
int |
traitWidows(FOContext context)
Returns the "widows" trait for this FO. |
short |
traitWordSpacingConditionality()
Returns the "conditionality" component of the "word-spacing" trait for this FO. |
int |
traitWordSpacingMax(FOContext context)
Returns the amount of additional space to create between letters. |
int |
traitWordSpacingMin(FOContext context)
Returns the amount of additional space to create between letters. |
int |
traitWordSpacingOpt(FOContext context)
Returns the amount of additional space to create between letters. |
int |
traitWordSpacingPrecedence()
Returns the "precedence" component of the "word-spacing" trait for this FO. |
short |
traitWrapOption(FOContext context)
Returns the "wrap-option" trait for this FO. |
int |
traitZIndex(FOContext context)
Returns the "z-index" trait for this FO if it is not "auto". |
boolean |
traitZIndexIsAuto(FOContext context)
Indicates whether the "z-index" trait for this FO is "auto". |
Methods inherited from interface org.axsl.foR.FONode |
ancestorMarker, childrenFO, getColumn, getContextMessage, getFONodeChildAt, getLine, getProxy, getResult, getSystemId, makeProxy, parentFO, reset, setProxy, setResult |
Methods inherited from interface org.axsl.common.OrderedTreeNode |
getChildren, getFirstChild, getFirstLeaf, getLastChild, getLastLeaf, getNextLeaf, getNextSibling, getPreviousLeaf, getPreviousSibling, getSiblings, hasChildren, nextPreOrderNode, siblingIndex |
Methods inherited from interface javax.swing.tree.TreeNode |
children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf |
Method Detail |
public boolean isBlockLevelFO()
public boolean isRAGenerator()
public Table getNearestTable(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public BasicLink getBasicLink(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public FObj ancestorListRelatedObject(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public java.lang.String refIdNeeded(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public FontConsumer getFontConsumer()
public int getMarginLeft(FOContext context, int widthContainingBlock)
context
- An object that knows how to resolve FO Tree context
issues.widthContainingBlock
- The width of the containing block.
public int getMarginRight(FOContext context, int widthContainingBlock)
context
- An object that knows how to resolve FO Tree context
issues.widthContainingBlock
- The width of the containing block.
public int getMarginTop(FOContext context, int widthContainingBlock)
context
- An object that knows how to resolve FO Tree context
issues.widthContainingBlock
- The width of the containing block.
public int getMarginBottom(FOContext context, int widthContainingBlock)
context
- An object that knows how to resolve FO Tree context
issues.widthContainingBlock
- The width of the containing block.
public java.awt.Color traitColor(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public short traitWrapOption(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_WRAP
, or
Constants.FOVAL_NO_WRAP
.public boolean traitWhiteSpaceCollapse(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public boolean traitUnderlineScore(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public boolean traitOverlineScore(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public boolean traitThroughScore(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public java.awt.Color traitUnderlineScoreColor(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public java.awt.Color traitOverlineScoreColor(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public java.awt.Color traitThroughScoreColor(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public boolean traitBlink(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public java.lang.String traitId()
public java.lang.String traitInternalDestination()
public java.lang.String traitExternalDestination()
public int traitStartIndent(FOContext context, int ipdContainingRA)
context
- An object that knows how to resolve FO Tree context
issues.ipdContainingRA
- The inline-progression-dimension of the
containing reference area, in millipoints. This is used when the
property value is a percentage.
public short traitSpan(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_ALL
,
or Constants.FOVAL_NONE
.
For FOs that are not block-level FOs, this will always return
Constants.FOVAL_ALL
.public java.lang.String traitFlowName()
public short traitBorderCollapse(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_COLLAPSE
,
Constants.FOVAL_COLLAPSE_WITH_PRECEDENCE
, or
Constants.FOVAL_SEPARATE
.public short traitDisplayAlign(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_AUTO
,
Constants.FOVAL_BEFORE
,
Constants.FOVAL_CENTER
,
Constants.FOVAL_AFTER
.public short traitRelativeAlign(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_BEFORE
, or
Constants.FOVAL_BASELINE
.public int traitBorderSeparationIPD(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitBorderSeparationBPD(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitNumberColumnsRepeated()
public int traitColumnWidth(FOContext context, int tableWidth)
context
- An object that knows how to resolve FO Tree context
issues.tableWidth
- The width, in millipoints, of the table in which this
column exists.
public short traitBreakAfter(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_AUTO
,
Constants.FOVAL_COLUMN
,
Constants.FOVAL_PAGE
,
Constants.FOVAL_EVEN_PAGE
, or
Constants.FOVAL_ODD_PAGE
.public int traitKeepTogetherWithinLine(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Integer.MAX_VALUE
(indicating
"always").
Values between these extremes indicate the relative strength of competing
keep conditions.public int traitKeepTogetherWithinColumn(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Integer.MAX_VALUE
(indicating
"always").
Values between these extremes indicate the relative strength of competing
keep conditions.public int traitKeepTogetherWithinPage(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Integer.MAX_VALUE
(indicating
"always").
Values between these extremes indicate the relative strength of competing
keep conditions.public int traitKeepWithNextWithinLine(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Integer.MAX_VALUE
(indicating
"always").
Values between these extremes indicate the relative strength of competing
keep conditions.public int traitKeepWithNextWithinColumn(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Integer.MAX_VALUE
(indicating "always").
Values between these extremes indicate the relative strength of competing
keep conditions.public int traitKeepWithNextWithinPage(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Integer.MAX_VALUE
(indicating "always").
Values between these extremes indicate the relative strength of competing
keep conditions.public int traitKeepWithPreviousWithinLine(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Integer.MAX_VALUE
(indicating "always").
Values between these extremes indicate the relative strength of competing
keep conditions.public int traitKeepWithPreviousWithinColumn(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Integer.MAX_VALUE
(indicating "always").
Values between these extremes indicate the relative strength of competing
keep conditions.public int traitKeepWithPreviousWithinPage(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Integer.MAX_VALUE
(indicating "always").
Values between these extremes indicate the relative strength of competing
keep conditions.public int traitInitialPageNumber(int lastPageNumberUsed)
lastPageNumberUsed
- The page number of the last page of the
previous page-sequence. If there is no previous page-sequence, this
value should be set to zero.
public boolean initialPageNumberSetExplicitly()
traitInitialPageNumber(int)
public short traitForcePageCount(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_AUTO
,
Constants.FOVAL_EVEN
,
Constants.FOVAL_ODD
,
Constants.FOVAL_END_ON_EVEN
,
Constants.FOVAL_END_ON_ODD
, or
Constants.FOVAL_NO_FORCE
.public int traitExtent()
public int traitColumnGap(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public short traitOverflow(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_VISIBLE
,
Constants.FOVAL_HIDDEN
,
Constants.FOVAL_SCROLL
,
Constants.FOVAL_ERROR_IF_OVERFLOW
, or
Constants.FOVAL_AUTO
.public int traitColumnCount(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitPageWidth()
public int traitPageHeight()
public short traitTextAlign(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_START
,
Constants.FOVAL_CENTER
,
Constants.FOVAL_END
,
Constants.FOVAL_JUSTIFY
,
Constants.FOVAL_INSIDE
,
Constants.FOVAL_OUTSIDE
, or
Constants.FOVAL_NOT_A_KEYWORD
.
If Constants.FOVAL_NOT_A_KEYWORD
is returned, this indicates that
text should be aligned on a specific string, which string can be
obtained from traitTextAlignString()
.
Note that input values of Constants.FOVAL_LEFT
or
Constants.FOVAL_RIGHT
are converted to their writing-mode
relative values.traitTextAlignString()
,
"XSL-FO Standard 1.0, Section 7.15.9",
"XSL-FO Standard 1.0, Section 5.4.3"public java.lang.String traitTextAlignString()
traitTextAlign(FOContext)
is
Constants.FOVAL_NOT_A_KEYWORD
traitTextAlign(FOContext)
public short traitTextAlignLast(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_RELATIVE
,
Constants.FOVAL_START
,
Constants.FOVAL_CENTER
,
Constants.FOVAL_END
,
Constants.FOVAL_JUSTIFY
,
Constants.FOVAL_INSIDE
, or
Constants.FOVAL_OUTSIDE
.
Note that input value of Constants.FOVAL_LEFT
is converted to
Constants.FOVAL_START
and Constants.FOVAL_RIGHT
is
converted to Constants.FOVAL_END
.public int traitEndIndent(FOContext context, int ipdContainingRA)
context
- An object that knows how to resolve FO Tree context
issues.ipdContainingRA
- The inline-progression-dimension of the
containing reference area, in millipoints. This is used when the
property value is a percentage.
public int traitSpaceBeforeMinimum(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitSpaceBeforeOptimum(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitSpaceBeforeMaximum(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public short traitSpaceBeforeConditionality(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_DISCARD
or
Constants.FOVAL_RETAIN
.public int traitSpaceBeforePrecedence()
Integer.MAX_VALUE
.public int traitSpaceAfterMinimum(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitSpaceAfterOptimum(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitSpaceAfterMaximum(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public short traitSpaceAfterConditionality(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_DISCARD
or
Constants.FOVAL_RETAIN
.public int traitSpaceAfterPrecedence()
Integer.MAX_VALUE
.public int traitSpaceStartMinimum(FOContext context, int ipdAncestorBlockArea)
context
- An object that knows how to resolve FO Tree context
issues.ipdAncestorBlockArea
- The (content-rectangle) IPD of the nearest
ancestor block area that is not a line area.
public int traitSpaceStartOptimum(FOContext context, int ipdAncestorBlockArea)
context
- An object that knows how to resolve FO Tree context
issues.ipdAncestorBlockArea
- The (content-rectangle) IPD of the nearest
ancestor block area that is not a line area.
public int traitSpaceStartMaximum(FOContext context, int ipdAncestorBlockArea)
context
- An object that knows how to resolve FO Tree context
issues.ipdAncestorBlockArea
- The (content-rectangle) IPD of the nearest
ancestor block area that is not a line area.
public short traitSpaceStartConditionality()
Constants.FOVAL_DISCARD
or
Constants.FOVAL_RETAIN
.public int traitSpaceStartPrecedence()
Integer.MAX_VALUE
.public int traitSpaceEndMinimum(FOContext context, int ipdAncestorBlockArea)
context
- An object that knows how to resolve FO Tree context
issues.ipdAncestorBlockArea
- The (content-rectangle) IPD of the nearest
ancestor block area that is not a line area.
public int traitSpaceEndOptimum(FOContext context, int ipdAncestorBlockArea)
context
- An object that knows how to resolve FO Tree context
issues.ipdAncestorBlockArea
- The (content-rectangle) IPD of the nearest
ancestor block area that is not a line area.
public int traitSpaceEndMaximum(FOContext context, int ipdAncestorBlockArea)
context
- An object that knows how to resolve FO Tree context
issues.ipdAncestorBlockArea
- The (content-rectangle) IPD of the nearest
ancestor block area that is not a line area.
public short traitSpaceEndConditionality()
Constants.FOVAL_DISCARD
or
Constants.FOVAL_RETAIN
.public int traitSpaceEndPrecedence()
Integer.MAX_VALUE
.public int traitTextIndent(FOContext context, int widthContainingBlock)
context
- An object that knows how to resolve FO Tree context
issues.widthContainingBlock
- The width of the containing block. Used for
percentage computations.
public int traitTop(FOContext context, int heightContainingBlock)
context
- An object that knows how to resolve FO Tree context
issues.heightContainingBlock
- The height of the containing block, used
in percentage computations.
Constants.ABSOLUTE_POSITION_AUTO
for "auto".public int traitBottom(FOContext context, int heightContainingBlock)
context
- An object that knows how to resolve FO Tree context
issues.heightContainingBlock
- The height of the containing block, used
in percentage computations.
Constants.ABSOLUTE_POSITION_AUTO
for "auto".public int traitLeft(FOContext context, int widthContainingBlock)
context
- An object that knows how to resolve FO Tree context
issues.widthContainingBlock
- The width of the containing block, used
in percentage computations.
Constants.ABSOLUTE_POSITION_AUTO
for "auto".public int traitRight(FOContext context, int widthContainingBlock)
context
- An object that knows how to resolve FO Tree context
issues.widthContainingBlock
- The width of the containing block, used
in percentage computations.
Constants.ABSOLUTE_POSITION_AUTO
for "auto".public java.lang.String traitSrc(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public short traitBreakBefore(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_AUTO
,
Constants.FOVAL_COLUMN
,
Constants.FOVAL_PAGE
,
Constants.FOVAL_EVEN_PAGE
, or
Constants.FOVAL_ODD_PAGE
.public short traitScaling(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_UNIFORM
, or
Constants.FOVAL_NON_UNIFORM
.public short traitLeaderPattern(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_SPACE
,
Constants.FOVAL_RULE
,
Constants.FOVAL_DOTS
, or
Constants.FOVAL_USE_CONTENT
.
It is tempting to force the value here to "space" if the specified
value is "rule" and the effective value for rule-thickness is 0,
either because it is specified as 0 or because rule-style="none".
That may be a good thing for the client application to do, but it is
deliberately not done here because it may result in a loss of
information to the client application.
In all cases, the specified value is returned here.public int traitLeaderLengthMin(FOContext context, int parentAreaContentIPD)
context
- An object that knows how to resolve FO Tree context
issues.parentAreaContentIPD
- The IPD of the content-rectangle of the
parent area, per XSL-FO 1.0, Sec. 7.21.4. This value is needed for
computations that are percent-based, but is ignored for others.
public int traitLeaderLengthOpt(FOContext context, int parentAreaContentIPD)
context
- An object that knows how to resolve FO Tree context
issues.parentAreaContentIPD
- The IPD of the content-rectangle of the
parent area, per XSL-FO 1.0, Sec. 7.21.4. This value is needed for
computations that are percent-based, but is ignored for others.
public int traitLeaderLengthMax(FOContext context, int parentAreaContentIPD)
context
- An object that knows how to resolve FO Tree context
issues.parentAreaContentIPD
- The IPD of the content-rectangle of the
parent area, per XSL-FO 1.0, Sec. 7.21.4. This value is needed for
computations that are percent-based, but is ignored for others.
public int traitRuleThickness(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public short traitRuleStyle(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_NONE
,
Constants.FOVAL_DOTTED
,
Constants.FOVAL_DASHED
,
Constants.FOVAL_SOLID
,
Constants.FOVAL_DOUBLE
,
Constants.FOVAL_GROOVE
, or
Constants.FOVAL_RIDGE
.public int traitLeaderPatternWidth(FOContext context, int ipdParentContent)
context
- An object that knows how to resolve FO Tree context
issues.ipdParentContent
- The inline-progression-dimension of the content
rectangle of the parent area, usually a line-area.
public short traitLeaderAlignment(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_NONE
,
Constants.FOVAL_REFERENCE_AREA
, or
Constants.FOVAL_PAGE
.public java.lang.String traitRefId(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public short traitTableLayout()
Constants.FOVAL_AUTO
, or
Constants.FOVAL_FIXED
.public boolean traitTableOmitHeaderAtBreak(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public boolean traitTableOmitFooterAtBreak(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitBPDimensionMax(FOContext context, int parentAreaContentBPD)
context
- An object that knows how to resolve FO Tree context
issues.parentAreaContentBPD
- Per XSL-FO Std 1.0, Section 7.14.1, "the
corresponding dimension of the closest area ancestor that was generated
by a block-level formatting object." Used only when the
block-progression-dimension is expressed as a percentage.
Constants.DIMENSION_AUTO
for
"auto".public int traitBPDimensionOpt(FOContext context, int parentAreaContentBPD)
context
- An object that knows how to resolve FO Tree context
issues.parentAreaContentBPD
- Per XSL-FO Std 1.0, Section 7.14.1, "the
corresponding dimension of the closest area ancestor that was generated
by a block-level formatting object." Used only when the
block-progression-dimension is expressed as a percentage.
Constants.DIMENSION_AUTO
for
"auto".public int traitBPDimensionMin(FOContext context, int parentAreaContentBPD)
context
- An object that knows how to resolve FO Tree context
issues.parentAreaContentBPD
- Per XSL-FO Std 1.0, Section 7.14.1, "the
corresponding dimension of the closest area ancestor that was generated
by a block-level formatting object." Used only when the
block-progression-dimension is expressed as a percentage.
Constants.DIMENSION_AUTO
for
"auto".public int traitIPDimensionMax(FOContext context, int parentAreaContentIPD)
context
- An object that knows how to resolve FO Tree context
issues.parentAreaContentIPD
- Per XSL-FO Std 1.0, Section 7.14.5, "the
corresponding dimension of the closest area ancestor that was generated
by a block-level formatting object." Used only when the
inline-progression-dimension is expressed as a percentage.
Constants.DIMENSION_AUTO
for
"auto".public int traitIPDimensionOpt(FOContext context, int parentAreaContentIPD)
context
- An object that knows how to resolve FO Tree context
issues.parentAreaContentIPD
- Per XSL-FO Std 1.0, Section 7.14.5, "the
corresponding dimension of the closest area ancestor that was generated
by a block-level formatting object." Used only when the
inline-progression-dimension is expressed as a percentage.
Constants.DIMENSION_AUTO
for
"auto".public int traitIPDimensionMin(FOContext context, int parentAreaContentIPD)
context
- An object that knows how to resolve FO Tree context
issues.parentAreaContentIPD
- Per XSL-FO Std 1.0, Section 7.14.5, "the
corresponding dimension of the closest area ancestor that was generated
by a block-level formatting object." Used only when the
inline-progression-dimension is expressed as a percentage.
Constants.DIMENSION_AUTO
for
"auto".public java.lang.String[] traitFontFamily(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public short traitFontStyle(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Font.FONT_STYLE_NORMAL
,
Font.FONT_STYLE_ITALIC
,
Font.FONT_STYLE_OBLIQUE
, or
Font.FONT_STYLE_BACKSLANT
.public short traitFontWeight(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Font.FONT_WEIGHT_100
(lightest),
Font.FONT_WEIGHT_200
,
Font.FONT_WEIGHT_300
,
Font.FONT_WEIGHT_400
(normal),
Font.FONT_WEIGHT_500
,
Font.FONT_WEIGHT_600
,
Font.FONT_WEIGHT_700
(bold),
Font.FONT_WEIGHT_800
, or
Font.FONT_WEIGHT_900
(boldest).public int traitFontSize(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public short traitFontVariant(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_NORMAL
, or
Constants.FOVAL_SMALL_CAPS
.public short traitFontStretch(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_NORMAL
,
Constants.FOVAL_WIDER
,
Constants.FOVAL_NARROWER
,
Constants.FOVAL_ULTRA_CONDENSED
,
Constants.FOVAL_EXTRA_CONDENSED
,
Constants.FOVAL_CONDENSED
,
Constants.FOVAL_SEMI_CONDENSED
,
Constants.FOVAL_SEMI_EXPANDED
,
Constants.FOVAL_EXPANDED
,
Constants.FOVAL_EXTRA_EXPANDED
,
Constants.FOVAL_ULTRA_EXPANDED
,public int traitProvisionalDistanceBetweenStarts(FOContext context, int ipdNearestBlockAreaNotLineArea)
context
- An object that knows how to resolve FO Tree context
issues.ipdNearestBlockAreaNotLineArea
- The IPD of the nearest block area
that is not a line area.
This is used for percentage computations.
public int traitProvisionalLabelSeparation(FOContext context, int ipdNearestBlockAreaNotLineArea)
context
- An object that knows how to resolve FO Tree context
issues.ipdNearestBlockAreaNotLineArea
- The IPD of the nearest block area
that is not a line area.
This is used for percentage computations.
public java.awt.Color traitBorderBeforeColor(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public java.awt.Color traitBorderAfterColor(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public java.awt.Color traitBorderStartColor(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public java.awt.Color traitBorderEndColor(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public java.awt.Color traitBorderLeftColor(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public java.awt.Color traitBorderRightColor(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public java.awt.Color traitBorderTopColor(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public java.awt.Color traitBorderBottomColor(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public short traitBorderBeforeStyle(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_NONE
,
Constants.FOVAL_HIDDEN
,
Constants.FOVAL_DOTTED
,
Constants.FOVAL_DASHED
,
Constants.FOVAL_SOLID
,
Constants.FOVAL_DOUBLE
,
Constants.FOVAL_GROOVE
,
Constants.FOVAL_RIDGE
,
Constants.FOVAL_INSET
,
Constants.FOVAL_OUTSET
,public short traitBorderAfterStyle(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_NONE
,
Constants.FOVAL_HIDDEN
,
Constants.FOVAL_DOTTED
,
Constants.FOVAL_DASHED
,
Constants.FOVAL_SOLID
,
Constants.FOVAL_DOUBLE
,
Constants.FOVAL_GROOVE
,
Constants.FOVAL_RIDGE
,
Constants.FOVAL_INSET
,
Constants.FOVAL_OUTSET
,public short traitBorderStartStyle(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_NONE
,
Constants.FOVAL_HIDDEN
,
Constants.FOVAL_DOTTED
,
Constants.FOVAL_DASHED
,
Constants.FOVAL_SOLID
,
Constants.FOVAL_DOUBLE
,
Constants.FOVAL_GROOVE
,
Constants.FOVAL_RIDGE
,
Constants.FOVAL_INSET
,
Constants.FOVAL_OUTSET
,public short traitBorderEndStyle(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_NONE
,
Constants.FOVAL_HIDDEN
,
Constants.FOVAL_DOTTED
,
Constants.FOVAL_DASHED
,
Constants.FOVAL_SOLID
,
Constants.FOVAL_DOUBLE
,
Constants.FOVAL_GROOVE
,
Constants.FOVAL_RIDGE
,
Constants.FOVAL_INSET
,
Constants.FOVAL_OUTSET
,public short traitBorderLeftStyle(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_NONE
,
Constants.FOVAL_HIDDEN
,
Constants.FOVAL_DOTTED
,
Constants.FOVAL_DASHED
,
Constants.FOVAL_SOLID
,
Constants.FOVAL_DOUBLE
,
Constants.FOVAL_GROOVE
,
Constants.FOVAL_RIDGE
,
Constants.FOVAL_INSET
,
Constants.FOVAL_OUTSET
,public short traitBorderRightStyle(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_NONE
,
Constants.FOVAL_HIDDEN
,
Constants.FOVAL_DOTTED
,
Constants.FOVAL_DASHED
,
Constants.FOVAL_SOLID
,
Constants.FOVAL_DOUBLE
,
Constants.FOVAL_GROOVE
,
Constants.FOVAL_RIDGE
,
Constants.FOVAL_INSET
,
Constants.FOVAL_OUTSET
,public short traitBorderTopStyle(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_NONE
,
Constants.FOVAL_HIDDEN
,
Constants.FOVAL_DOTTED
,
Constants.FOVAL_DASHED
,
Constants.FOVAL_SOLID
,
Constants.FOVAL_DOUBLE
,
Constants.FOVAL_GROOVE
,
Constants.FOVAL_RIDGE
,
Constants.FOVAL_INSET
,
Constants.FOVAL_OUTSET
,public short traitBorderBottomStyle(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_NONE
,
Constants.FOVAL_HIDDEN
,
Constants.FOVAL_DOTTED
,
Constants.FOVAL_DASHED
,
Constants.FOVAL_SOLID
,
Constants.FOVAL_DOUBLE
,
Constants.FOVAL_GROOVE
,
Constants.FOVAL_RIDGE
,
Constants.FOVAL_INSET
,
Constants.FOVAL_OUTSET
,public int traitBorderBeforeWidth(FOContext context, boolean isFirst)
context
- An object that knows how to resolve FO Tree context
issues.isFirst
- Set to true if the area for which this border is
computed "is-first" within the reference-area.
public int traitBorderAfterWidth(FOContext context, boolean isLast)
context
- An object that knows how to resolve FO Tree context
issues.isLast
- Set to true if the area for which this border is
computed "is-last" within the reference-area.
public int traitBorderStartWidth(FOContext context, boolean isFirst)
context
- An object that knows how to resolve FO Tree context
issues.isFirst
- Set to true if the area for which this border is
computed "is-first" within the reference-area.
public int traitBorderEndWidth(FOContext context, boolean isLast)
context
- An object that knows how to resolve FO Tree context
issues.isLast
- Set to true if the area for which this border is
computed "is-last" within the reference-area.
public int traitBorderLeftWidth(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitBorderRightWidth(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitBorderTopWidth(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitBorderBottomWidth(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitPaddingBefore(FOContext context, boolean isFirst)
context
- An object that knows how to resolve FO Tree context
issues.isFirst
- Set to true if the area for which this padding is
computed "is-first" within the reference-area.
public int traitPaddingAfter(FOContext context, boolean isLast)
context
- An object that knows how to resolve FO Tree context
issues.isLast
- Set to true if the area for which this padding is
computed "is-last" within the reference-area.
public int traitPaddingStart(FOContext context, boolean isFirst)
context
- An object that knows how to resolve FO Tree context
issues.isFirst
- Set to true if the area for which this padding is
computed "is-first" within the reference-area.
public int traitPaddingEnd(FOContext context, boolean isLast)
context
- An object that knows how to resolve FO Tree context
issues.isLast
- Set to true if the area for which this padding is
computed "is-last" within the reference-area.
public int traitPaddingLeft(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitPaddingRight(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitPaddingTop(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitPaddingBottom(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public java.awt.Color traitBackgroundColor(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public boolean traitHyphenate(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitHyphenationCharacter(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitHyphenationPushCharacterCount(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitHyphenationRemainCharacterCount(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public java.lang.String traitLanguage(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public java.lang.String traitCountry(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public Graphic traitBackgroundImage(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public short traitBackgroundRepeat(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_REPEAT
,
Constants.FOVAL_REPEAT_X
,
Constants.FOVAL_REPEAT_Y
, or
Constants.FOVAL_NO_REPEAT
.public java.lang.String[] traitSourceDocument(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public java.lang.String traitRole(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitTextAltitude(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitTextDepth(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitHalfLeadingMin(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitHalfLeadingOpt(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitHalfLeadingMax(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public short traitHalfLeadingConditionality(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_DISCARD
or
Constants.FOVAL_RETAIN
.
The half-leading trait is controlled by the line-height, text-altitude,
and text-depth properties.public int traitHalfLeadingPrecedence(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Integer.MAX_VALUE
.
The half-leading trait is controlled by the line-height, text-altitude,
and text-depth properties.public byte traitIPDirectionOdd(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.DIRECTION_TOP_TO_BOTTOM
,
Constants.DIRECTION_BOTTOM_TO_TOP
,
Constants.DIRECTION_LEFT_TO_RIGHT
, or
Constants.DIRECTION_RIGHT_TO_LEFT
, depending on the writing-mode.traitIPDirectionEven(FOContext)
,
"XSL-FO Standard 1.0, Section 4.1",
"XSL-FO Standard 1.0, Section 4.2.2",
"XSL-FO Standard 1.0, Section 5.5.3"public byte traitIPDirectionEven(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.DIRECTION_TOP_TO_BOTTOM
,
Constants.DIRECTION_BOTTOM_TO_TOP
,
Constants.DIRECTION_LEFT_TO_RIGHT
, or
Constants.DIRECTION_RIGHT_TO_LEFT
, depending on the writing-mode.traitIPDirectionOdd(FOContext)
,
"XSL-FO Standard 1.0, Section 4.1",
"XSL-FO Standard 1.0, Section 4.2.2",
"XSL-FO Standard 1.0, Section 5.5.3"public byte traitBPDirection(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.DIRECTION_TOP_TO_BOTTOM
,
Constants.DIRECTION_BOTTOM_TO_TOP
,
Constants.DIRECTION_LEFT_TO_RIGHT
, or
Constants.DIRECTION_RIGHT_TO_LEFT
, depending on the writing-mode.public byte traitShiftDirectionOdd(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.DIRECTION_TOP_TO_BOTTOM
,
Constants.DIRECTION_BOTTOM_TO_TOP
,
Constants.DIRECTION_LEFT_TO_RIGHT
, or
Constants.DIRECTION_RIGHT_TO_LEFT
, depending on the writing-mode.traitShiftDirectionEven(FOContext)
,
"XSL-FO Standard 1.0, Section 1.2.5",
"XSL-FO Standard 1.0, Section 4.1",
"XSL-FO Standard 1.0, Section 4.2.2",
"XSL-FO Standard 1.0, Section 5.5.3"public byte traitShiftDirectionEven(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.DIRECTION_TOP_TO_BOTTOM
,
Constants.DIRECTION_BOTTOM_TO_TOP
,
Constants.DIRECTION_LEFT_TO_RIGHT
, or
Constants.DIRECTION_RIGHT_TO_LEFT
, depending on the writing-mode.traitShiftDirectionOdd(FOContext)
,
"XSL-FO Standard 1.0, Section 1.2.5",
"XSL-FO Standard 1.0, Section 4.1",
"XSL-FO Standard 1.0, Section 4.2.2",
"XSL-FO Standard 1.0, Section 5.5.3"public short traitAlignmentBaseline(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_AUTO
,
Constants.FOVAL_BASELINE
,
Constants.FOVAL_BEFORE_EDGE
,
Constants.FOVAL_TEXT_BEFORE_EDGE
,
Constants.FOVAL_MIDDLE
,
Constants.FOVAL_CENTRAL
,
Constants.FOVAL_AFTER_EDGE
,
Constants.FOVAL_TEXT_AFTER_EDGE
,
Constants.FOVAL_IDEOGRAPHIC
,
Constants.FOVAL_ALPHABETIC
,
Constants.FOVAL_HANGING
, or
Constants.FOVAL_MATHEMATICAL
.public short traitAlignmentAdjust(FOContext context)
Constants.FOVAL_NOT_A_KEYWORD
, then the method
traitAlignmentAdjustAmount(FOContext, int)
should be consulted
to get the length.
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_AUTO
,
Constants.FOVAL_BASELINE
,
Constants.FOVAL_BEFORE_EDGE
,
Constants.FOVAL_TEXT_BEFORE_EDGE
,
Constants.FOVAL_MIDDLE
,
Constants.FOVAL_CENTRAL
,
Constants.FOVAL_AFTER_EDGE
,
Constants.FOVAL_TEXT_AFTER_EDGE
,
Constants.FOVAL_IDEOGRAPHIC
,
Constants.FOVAL_ALPHABETIC
,
Constants.FOVAL_HANGING
,
Constants.FOVAL_MATHEMATICAL
, or
Constants.FOVAL_NOT_A_KEYWORD
.traitAlignmentAdjustAmount(FOContext, int)
public int traitAlignmentAdjustAmount(FOContext context, int areaHeight)
Returns the length component, if any, of the "alignment-adjust" trait for this FO.
Note that this method returns zero unless a length was specified.
The method traitAlignmentAdjust(FOContext)
should be consulted
before this method, to ensure that a lenth was specified.
context
- An object that knows how to resolve FO Tree context
issues.areaHeight
- If the area is generated by an fo:external-graphic or
fo:instream-foreign-object, this value should be the the area's computed
"height". If the area was generated by an fo:character, this value is
the "font-size". If neither of these is true, this value is the
"line-height".
traitAlignmentAdjust(FOContext)
public int traitBaselineShift(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public short traitDominantBaseline(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.BASELINE_ALPHABETIC
,
Constants.BASELINE_IDEOGRAPHIC
,
Constants.BASELINE_HANGING
,
Constants.BASELINE_MATHEMATICAL
,
Constants.BASELINE_CENTRAL
,
Constants.BASELINE_MIDDLE
,
Constants.BASELINE_TEXT_BEFORE_EDGE
, or
Constants.BASELINE_TEXT_AFTER_EDGE
.public int traitLastLineEndIndent(FOContext context, int ipdAncestorBANotLA)
context
- An object that knows how to resolve FO Tree context
issues.ipdAncestorBANotLA
- The inline-progression-dimension of the
ancestor block area that is not a line area.
public int traitLetterSpacingMin(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitLetterSpacingOpt(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitLetterSpacingMax(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public short traitLetterSpacingConditionality()
Constants.FOVAL_DISCARD
or
Constants.FOVAL_RETAIN
.public int traitLetterSpacingPrecedence()
Integer.MAX_VALUE
.public int traitOrphans(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitWidows(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public boolean traitIndicateDestination(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public boolean traitAutoRestore(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public boolean traitEndsRow(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public boolean traitStartsRow(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public boolean traitScoreSpaces(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public boolean traitTreatAsWordSpace(FOContext context, char character)
context
- An object that knows how to resolve FO Tree context
issues.character
- The character which should be evaluated for purposes
of an "auto" setting.
public java.lang.String traitColorProfileName(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public java.lang.String traitCaseName(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public java.lang.String traitContentType(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public short traitAbsolutePosition(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_AUTO
,
Constants.FOVAL_ABSOLUTE
, or
Constants.FOVAL_FIXED
.public short traitBackgroundAttachment(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_SCROLL
, or
Constants.FOVAL_FIXED
.public short traitCaptionSide(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_BEFORE
,
Constants.FOVAL_AFTER
,
Constants.FOVAL_START
,
Constants.FOVAL_END
,
Constants.FOVAL_TOP
,
Constants.FOVAL_BOTTOM
,
Constants.FOVAL_LEFT
, or
Constants.FOVAL_RIGHT
.public short traitDirection(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_LTR
, or
Constants.FOVAL_RTL
.public short traitFontSelectionStrategy(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_AUTO
, or
Constants.FOVAL_CHARACTER_BY_CHARACTER
.public short traitHyphenationKeep(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_AUTO
,
Constants.FOVAL_COLUMN
, or
Constants.FOVAL_PAGE
.public short traitLinefeedTreatment(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_IGNORE
,
Constants.FOVAL_PRESERVE
,
Constants.FOVAL_TREAT_AS_SPACE
, or
Constants.FOVAL_TREAT_AS_ZERO_WIDTH_SPACE
.public short traitLineHeightShiftAdjustment(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_CONSIDER_SHIFTS
, or
Constants.FOVAL_DISREGARD_SHIFTS
.public short traitLineStackingStrategy(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_LINE_HEIGHT
,
Constants.FOVAL_FONT_HEIGHT
, or
Constants.FOVAL_MAX_HEIGHT
.public short traitRelativePosition(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_STATIC
, or
Constants.FOVAL_RELATIVE
.public short traitScalingMethod(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_AUTO
,
Constants.FOVAL_INTEGER_PIXELS
, or
Constants.FOVAL_RESAMPLE_ANY_METHOD
.public short traitSuppressAtLineBreak(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_AUTO
,
Constants.FOVAL_SUPPRESS
, or
Constants.FOVAL_RETAIN
.public short traitUnicodeBidi(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_NORMAL
,
Constants.FOVAL_EMBED
, or
Constants.FOVAL_BIDI_OVERRIDE
.public short traitWhiteSpaceTreatment(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_IGNORE
,
Constants.FOVAL_PRESERVE
,
Constants.FOVAL_IGNORE_IF_BEFORE_LINEFEED
,
Constants.FOVAL_IGNORE_IF_AFTER_LINEFEED
, or
Constants.FOVAL_IGNORE_IF_SURROUNDING_LINEFEED
.public java.lang.String traitCaseTitle()
public short traitActiveState(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_LINK
,
Constants.FOVAL_VISITED
,
Constants.FOVAL_ACTIVE
,
Constants.FOVAL_HOVER
, or
Constants.FOVAL_FOCUS
.public short traitClear(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_START
,
Constants.FOVAL_END
,
Constants.FOVAL_BOTH
, or
Constants.FOVAL_NONE
.public short traitEmptyCells(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_SHOW
, or
Constants.FOVAL_HIDE
.public short traitFloat(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_BEFORE
,
Constants.FOVAL_START
,
Constants.FOVAL_END
, or
Constants.FOVAL_NONE
.public short traitMediaUsage(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_AUTO
,
Constants.FOVAL_PAGINATE
,
Constants.FOVAL_BOUNDED_IN_ONE_DIMENSION
, or
Constants.FOVAL_UNBOUNDED
.public short traitReferenceOrientation(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_NUM_ZERO
,
Constants.FOVAL_NUM_90
,
Constants.FOVAL_NUM_180
,
Constants.FOVAL_NUM_270
,
Constants.FOVAL_NUM_NEGATIVE_90
,
Constants.FOVAL_NUM_NEGATIVE_180
, or
Constants.FOVAL_NUM_NEGATIVE_270
.public short traitRenderingIntent(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_AUTO
,
Constants.FOVAL_PERCEPTUAL
,
Constants.FOVAL_RELATIVE_COLORIMETRIC
,
Constants.FOVAL_SATURATION
, or
Constants.FOVAL_ABSOLUTE_COLORIMETRIC
.public short traitShowDestination(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_REPLACE
, or
Constants.FOVAL_NEW
.public short traitSpeakHeader(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_ONCE
, or
Constants.FOVAL_ALWAYS
.public short traitSpeak(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_NORMAL
,
Constants.FOVAL_NONE
, or
Constants.FOVAL_SPELL_OUT
.public short traitSpeakNumeral(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_DIGITS
, or
Constants.FOVAL_CONTINUOUS
.public short traitSpeakPunctuation(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_CODE
, or
Constants.FOVAL_NONE
.public short traitStartingState(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_SHOW
, or
Constants.FOVAL_HIDE
.public short traitTextTransform(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_CAPITALIZE
,
Constants.FOVAL_UPPERCASE
,
Constants.FOVAL_LOWERCASE
, or
Constants.FOVAL_NONE
.public short traitVisibility(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.FOVAL_VISIBLE
,
Constants.FOVAL_HIDDEN
, or
Constants.FOVAL_COLLAPSE
.public float traitAzimuth(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public float traitElevation(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public java.lang.String traitCueBefore(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public java.lang.String traitCueAfter(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public Shape traitClip(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitBorderBeforePrecedence(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Integer.MAX_VALUE
.public int traitBorderAfterPrecedence(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Integer.MAX_VALUE
.public int traitBorderStartPrecedence(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Integer.MAX_VALUE
.public int traitBorderEndPrecedence(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Integer.MAX_VALUE
.public int traitDestinationPlacementOffset(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitZIndex(FOContext context)
traitZIndexIsAuto(FOContext)
returns false.
context
- An object that knows how to resolve FO Tree context
issues.
traitZIndexIsAuto(FOContext)
public boolean traitZIndexIsAuto(FOContext context)
traitZIndex(FOContext)
.
context
- An object that knows how to resolve FO Tree context
issues.
traitZIndex(FOContext)
public int traitHyphLadderCount(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Integer.MAX_VALUE
is returned for the input value of
"no-limit".public double traitFontSizeAdjust(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public int traitFontSizeActual(FOContext context, int xHeight)
context
- An object that knows how to resolve FO Tree context
issues.xHeight
- The x-height of the selected Font, scaled to the current
font-size.
public double traitSpeechRate(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public double traitPauseBefore(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public double traitPauseAfter(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public double traitPitch(FOContext context, double mediumRange)
context
- An object that knows how to resolve FO Tree context
issues.mediumRange
- The frequency, in Hertz, of the middle of the
current voice's range. This must presumably be obtained from the voice
"font" itself.
public double traitPitchRange(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public double traitVolume(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public java.lang.String traitPlayDuring(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
traitPlayDuringMix(FOContext)
,
traitPlayDuringRepeat(FOContext)
public boolean traitPlayDuringMix(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
traitPlayDuring(FOContext)
,
traitPlayDuringRepeat(FOContext)
public boolean traitPlayDuringRepeat(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
traitPlayDuring(FOContext)
,
traitPlayDuringMix(FOContext)
public java.lang.String[] traitVoiceFamily(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public double traitRichness(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public double traitStress(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public java.lang.String traitScript(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public short traitSwitchTo()
Constants.FOVAL_XSL_PRECEDING
,
Constants.FOVAL_XSL_FOLLOWING
,
Constants.FOVAL_XSL_ANY
, or
Constants.FOVAL_NOT_A_KEYWORD
.
If Constants.FOVAL_NOT_A_KEYWORD
is returned, then
traitSwitchToNames()
should be consulted for the switch-to
names.traitSwitchToNames()
public java.lang.String[] traitSwitchToNames()
traitSwitchTo()
returned
Constants.FOVAL_NOT_A_KEYWORD
.
traitSwitchTo()
public ShadowEffect traitTextShadow(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public java.lang.String traitTargetProcessingContext()
public java.lang.String traitTargetPresentationContext()
public java.lang.String traitTargetStylesheet()
public short traitGlyphOrientationHorizontal(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public short traitGlyphOrientationVertical(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Short.MIN_VALUE
for "auto".public int traitBackgroundPositionHorizontal(FOContext context, int paddingRectangleWidth, int backgroundImageWidth)
context
- An object that knows how to resolve FO Tree context
issues.paddingRectangleWidth
- The width of the padding rectangle, used
for percentage computations.backgroundImageWidth
- The width, in millipoints, of the
background-image.
public int traitBackgroundPositionVertical(FOContext context, int paddingRectangleHeight, int backgroundImageHeight)
context
- An object that knows how to resolve FO Tree context
issues.paddingRectangleHeight
- The height of the padding rectangle, used
for percentage computations.backgroundImageHeight
- The height, in millipoints, of the
background-image.
public int traitWordSpacingMin(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
traitWordSpacingOpt(FOContext)
,
traitWordSpacingMax(FOContext)
,
traitWordSpacingConditionality()
,
traitWordSpacingPrecedence()
public int traitWordSpacingOpt(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
traitWordSpacingMin(FOContext)
,
traitWordSpacingMax(FOContext)
,
traitWordSpacingConditionality()
,
traitWordSpacingPrecedence()
public int traitWordSpacingMax(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
traitWordSpacingMin(FOContext)
,
traitWordSpacingOpt(FOContext)
,
traitWordSpacingConditionality()
,
traitWordSpacingPrecedence()
public short traitWordSpacingConditionality()
Constants.FOVAL_DISCARD
or
Constants.FOVAL_RETAIN
.traitWordSpacingMin(FOContext)
,
traitWordSpacingOpt(FOContext)
,
traitWordSpacingMax(FOContext)
,
traitWordSpacingPrecedence()
public int traitWordSpacingPrecedence()
Integer.MAX_VALUE
.traitWordSpacingMin(FOContext)
,
traitWordSpacingOpt(FOContext)
,
traitWordSpacingMax(FOContext)
,
traitWordSpacingConditionality()
public FontUse getPrimaryFont(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
FontUse
instance for this object.public FontUse getSecondaryFont(FOContext context, int codePoint)
context
- An object that knows how to resolve FO Tree context
issues.codePoint
- The character for whom a secondary font should be found.
This char is really the content of an fo:character object, and
presumably has no glyph in the font returned by
getPrimaryFont(FOContext)
.
FontUse
instance that has a glyph
for c.public int getFauxSmallCapFontSize(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public byte getBPAxis(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.AXIS_HORIZONTAL
or
Constants.AXIS_VERTICAL
.
If writing mode is invalid, returns Constants.AXIS_INVALID
.public byte getIPAxis(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
Constants.AXIS_HORIZONTAL
or
Constants.AXIS_VERTICAL
.
If writing mode is invalid, returns Constants.AXIS_INVALID
.public WritingMode getWritingMode(FOContext context)
context
- An object that knows how to resolve FO Tree context
issues.
public FObj getPreviousSiblingFObj()
public boolean isContentBlock()
public boolean isContentInline()
public boolean isContentPCDATA()
public boolean canContainBlock()
public boolean canContainInline()
public boolean canContainPCDATA()
public java.lang.String getName()
|
aXSL API 0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This documentation was created September 6 2006 by The aXSL Group and may be freely copied. See license for details.