org.foray.fotree
Class PropertyList

java.lang.Object
  extended by org.foray.fotree.PropertyList
Direct Known Subclasses:
PropertyListUnparsed

public class PropertyList
extends Object

The collection of properties for one formatting object.


Constructor Summary
PropertyList(int size)
          Constructor.
 
Method Summary
 void addProperty(FObj fobj, Property property)
          Adds a property to this PropertyList.
static org.axsl.font.Font.SelectionStrategy convertFontSelectionStrategy(FoValue parsedFontSelectionStrategy)
          Converts an FO-oriented font-selection-strategy to a font-oriented font-selection-strategy.
static org.axsl.font.Font.Style convertFontStyle(FoValue parsedFontStyle)
          Converts an FO-oriented font-style to a font-oriented font-style.
static PropertyList emptyPropertyList()
          Returns an empty, immutable property list instance.
 int getAbsoluteMargin(FObj fobj, org.axsl.fo.FoContext context, org.axsl.common.value.AbsoluteCompass absoluteDirection)
          Common logic for retrieving margin values.
 int getAbsoluteOffset(FObj fobj, org.axsl.fo.FoContext context, org.axsl.common.value.AbsoluteCompass absoluteDirection)
          Returns the absolute offset for a specified direction.
 Color getBackgroundColor(FObj fobj, org.axsl.fo.FoContext context)
          Returns the background-color property.
 org.axsl.graphic.Graphic getBackgroundImage(FObj fobj, org.axsl.fo.FoContext context)
          Returns the background-image property.
 FoValue getBackgroundRepeat(FObj fobj, org.axsl.fo.FoContext context)
          Returns the background-repeat property.
 FoValue getBlankOrNotBlank(FObj fobj)
          Returns the blank-or-not-blank property.
 boolean getBlink(FObj fobj, org.axsl.fo.FoContext context)
          See XSL-FO 1.0, Section 5.5.6.
 int getBorderAfterPrecedence(FObj fobj, org.axsl.fo.FoContext context)
          Returns the border-after-precedence property.
 int getBorderBeforePrecedence(FObj fobj, org.axsl.fo.FoContext context)
          Returns the border-before-precedence property.
 FoValue getBorderCollapse(FObj fobj, org.axsl.fo.FoContext context)
          Returns the border-collapse property.
 Color getBorderColor(FObj fobj, org.axsl.fo.FoContext context, org.axsl.common.value.RelativeCompass direction)
          Returns the border-color property for a specific direction.
 int getBorderEndPrecedence(FObj fobj, org.axsl.fo.FoContext context)
          Returns the border-end-precedence property.
 int getBorderSeparationBPD(FObj fobj, org.axsl.fo.FoContext context)
          Returns the border-separation (BPD) property.
 int getBorderSeparationIPD(FObj fobj, org.axsl.fo.FoContext context)
          Returns the border-separation (IPD) property.
 int getBorderStartPrecedence(FObj fobj, org.axsl.fo.FoContext context)
          Returns the border-start-precedence property.
 org.axsl.common.value.BorderStyle getBorderStyle(FObj fobj, org.axsl.fo.FoContext context, org.axsl.common.value.Compass direction)
          Returns the border-style property for a specific direction.
 int getBorderWidth(FObj fobj, org.axsl.fo.FoContext context, org.axsl.common.value.RelativeCompass direction)
          Returns the border width.
 int getBottom(FObj fobj, org.axsl.fo.FoContext context)
          Returns the bottom property.
 org.axsl.common.value.AbsoluteAxis getBPAxis(FObj fobj, org.axsl.fo.FoContext context)
          Tells which axis (horizontal or vertical) is the block-progression axis.
 FoValue getBreakAfter(FObj fobj, org.axsl.fo.FoContext context)
          Returns the break-after property.
 FoValue getBreakBefore(FObj fobj, org.axsl.fo.FoContext context)
          Returns the break-before property.
 char getCharacter()
          Returns the character property.
 Color getColor(FObj fobj, org.axsl.fo.FoContext context)
          Returns the color property.
 int getColumnCount(FObj fobj, org.axsl.fo.FoContext context)
          Returns the column-count property.
 int getColumnGap(FObj fobj, org.axsl.fo.FoContext context)
          Returns the column-gap property.
 int getColumnNumber(FObj fobj, org.axsl.fo.FoContext context)
          Returns the column-number property.
 int getColumnWidth(FObj fobj, org.axsl.fo.FoContext context)
          Returns the nominal em-width.
 double getColumnWidthTableUnits()
          Returns the column-width property.
 float getContentHeight(FObj fobj, org.axsl.fo.FoContext context, FObjScaled fobjScaled)
          Returns the scaling factor for the height.
 float getContentWidth(FObj fobj, org.axsl.fo.FoContext context, FObjScaled fobjScaled)
          Returns the scaling factor for the width.
 org.axsl.common.i18n.Country getCountry(FObj fobj, org.axsl.fo.FoContext context)
          Returns the country property.
 FoValue getDisplayAlign(FObj fobj, org.axsl.fo.FoContext context)
          Returns the display-align property.
 int getExtent(FObj fobj)
          Returns the extent property.
 String getExternalDestination()
          Returns the external-destination property.
 String getFlowMapName()
          Returns the flow-map-name property.
 String getFlowMapReference()
          Returns the flow-map-reference property.
 String getFlowName()
          Returns the flow-name property.
 String getFlowNameReference()
          Returns the flow-name-reference property.
 List<String> getFontFamily(FObj fobj, org.axsl.fo.FoContext context)
          Returns the font-family property.
 int getFontSize(FObj fobj, org.axsl.fo.FoContext context)
          Returns the font-size property.
 org.axsl.font.Font.Stretch getFontStretch(FObj fobj, org.axsl.fo.FoContext context)
          Returns the font-stretch property.
 org.axsl.font.Font.Style getFontStyle(FObj fobj, org.axsl.fo.FoContext context)
          Returns the font-style property.
 org.axsl.font.Font.Variant getFontVariant(FObj fobj, org.axsl.fo.FoContext context)
          Returns the font-variant property.
 org.axsl.font.Font.Weight getFontWeight(FObj fobj, org.axsl.fo.FoContext context)
          Returns the font-weight property.
 FoValue getForcePageCount(FObj fobj, org.axsl.fo.FoContext context)
          Returns the force-page-count property.
 String getFormat()
          Returns the format property.
 char getGroupingSeparator()
          Returns the grouping-separator property.
 int getGroupingSize()
          Returns the grouping-size property.
 boolean getHyphenate(FObj fobj, org.axsl.fo.FoContext context)
          Returns the hyphenate property.
 int getHyphenationCharacter(FObj fobj, org.axsl.fo.FoContext context)
          Returns the hyphenation-character property.
 int getHyphenationPushCharacterCount(FObj fobj, org.axsl.fo.FoContext context)
          Returns the hyphenation-push-character-count property.
 int getHyphenationRemainCharacterCount(FObj fobj, org.axsl.fo.FoContext context)
          Returns the hyphenation-remain-character-count property.
 String getId()
          Returns the id property.
 int getIndent(FObj fobj, org.axsl.fo.FoContext context, org.axsl.common.value.RelativeCompass direction)
          Returns the start-indent or end-indent value.
 int getInitialPageNumber(FObj fobj, int lastPageNumberUsed)
          Returns the initial-page-number property.
 String getInternalDestination()
          Returns the internal-destination property.
 org.axsl.common.value.AbsoluteAxis getIPAxis(FObj fobj, org.axsl.fo.FoContext context)
          Tells which axis (horizontal or vertical) is the inline-progression axis.
 int getKeepTogether(FObj fobj, org.axsl.fo.FoContext context, AbstractKeep.Type subProperty)
          Returns the keep-together property.
 int getKeepWithNext(FObj fobj, org.axsl.fo.FoContext context, AbstractKeep.Type subProperty)
          Returns the keep-with-next property.
 int getKeepWithPrevious(FObj fobj, org.axsl.fo.FoContext context, AbstractKeep.Type subProperty)
          Returns the keep-with-previous property.
 String getLanguage(FObj fobj, org.axsl.fo.FoContext context)
          Returns the language property.
 FoValue getLeaderAlignment(FObj fobj, org.axsl.fo.FoContext context)
          Returns the leader-alignment property.
 int getLeaderLengthMaximum(FObj fobj, org.axsl.fo.FoContext context)
          Returns the leader-length.maximum property.
 int getLeaderLengthMinimum(FObj fobj, org.axsl.fo.FoContext context)
          Returns the leader-length.minimum property.
 int getLeaderLengthOptimum(FObj fobj, org.axsl.fo.FoContext context)
          Returns the leader-length.optimum property.
 FoValue getLeaderPattern(FObj fobj, org.axsl.fo.FoContext context)
          Returns the leader-pattern property.
 int getLeaderPatternWidth(FObj fobj, org.axsl.fo.FoContext context)
          Returns the leader pattern width.
 int getLeft(FObj fobj, org.axsl.fo.FoContext context)
          Returns the left property.
 FoValue getLetterValue()
          Returns the letter-value property.
 int getLineHeight(FObj fobj, org.axsl.fo.FoContext context, LengthRange rangeID)
          Returns the line-height.
 org.axsl.common.value.Conditionality getLineHeightConditionality(FObj fobj, org.axsl.fo.FoContext context)
          Returns the line-height.conditionality property.
 float getLineHeightMultiplier(FObj fobj, org.axsl.fo.FoContext context)
          This method is used to get the raw line height multiplier.
 int getLineHeightPrecedence(FObj fobj, org.axsl.fo.FoContext context)
          Returns the line-height.precedence property.
 int getMarginBottom(FObj fobj, org.axsl.fo.FoContext context)
          Returns the bottom margin property.
 int getMarginLeft(FObj fobj, org.axsl.fo.FoContext context)
          Returns the left margin property.
 int getMarginRight(FObj fobj, org.axsl.fo.FoContext context)
          Returns the right margin property.
 int getMarginTop(FObj fobj, org.axsl.fo.FoContext context)
          Returns the top margin property.
 String getMarkerClassName()
          Returns the marker-class-name property.
 String getMasterName()
          Returns the master-name property.
 String getMasterReference()
          Returns the master-reference property.
 int getMaximumRepeats(FObj fobj)
          Returns the maximum-repeats property.
 int getNumberColumnsRepeated()
          Returns the number-columns-repeated property.
 int getNumberColumnsSpanned()
          Returns the number-columns-spanned property.
 int getNumberRowsSpanned()
          Returns the number-rows-spanned property.
 FoValue getOddOrEven()
          Returns the odd-or-even property.
 FoValue getOverflow(FObj fobj, org.axsl.fo.FoContext context)
          Returns the overflow property.
 boolean getOverlineScore(FObj fobj, org.axsl.fo.FoContext context)
          See XSL-FO 1.0, Section 5.5.6.
 int getPadding(FObj fobj, org.axsl.fo.FoContext context, org.axsl.common.value.RelativeCompass relativeDirection)
          Returns the padding width.
 int getPageHeight(FObj fobj)
          Returns the height of the page.
 FoValue getPagePosition()
          Returns the page-position property.
 int getPageWidth(FObj fobj)
          Returns the width of the page.
 FoValue getPosition(FObj fobj, org.axsl.fo.FoContext context)
          Returns the position property.
 boolean getPrecedence(FObj fobj)
          Returns the precedence property.
 Property getProperty(PropertyType propertyType)
          Returns the named Property from this PropertyList, if any.
 int getProvisionalDistanceBetweenStarts(FObj fobj, org.axsl.fo.FoContext context)
          Returns the provisional-distance-between-starts property.
 int getProvisionalLabelSeparation(FObj fobj, org.axsl.fo.FoContext context)
          Returns the provisional-label-separation property.
 FoValue getRawInitialPageNumber(FObj fobj)
          Returns the raw initial-page-number property.
 String getRefId(FObj fobj, org.axsl.fo.FoContext context)
          Returns the ref-id property.
 String getRegionName(FObj fobj)
          Returns the region-name property.
 String getRegionNameReference()
          Returns the region-name-reference property.
 FoValue getRelativeAlign(FObj fobj, org.axsl.fo.FoContext context)
          Returns the relative-align property.
 FoValue getRetrieveBoundary()
          Returns the retrieve-boundary property.
 String getRetrieveClassName()
          Returns the retrieve-class-name property.
 FoValue getRetrievePosition()
          Returns the retrieve-position property.
 int getRight(FObj fobj, org.axsl.fo.FoContext context)
          Returns the right property.
 String getRole(FObj fobj, org.axsl.fo.FoContext context)
          Returns the role property.
 FoValue getRuleStyle(FObj fobj, org.axsl.fo.FoContext context)
          Returns the rule-style property.
 int getRuleThickness(FObj fobj, org.axsl.fo.FoContext context)
          Returns the rule-thickness property.
 FoValue getScaling(FObj fobj, org.axsl.fo.FoContext context)
          Returns the scaling property.
 String[] getSourceDocument(FObj fobj, org.axsl.fo.FoContext context)
          Returns the source-document property.
 FoValue getSpan(FObj fobj, org.axsl.fo.FoContext context)
          Returns the span property.
 String getSrc(FObj fobj, org.axsl.fo.FoContext context)
          Returns the src property.
 FoValue getTableLayout()
          Returns the table-layout property.
 boolean getTableOmitFooterAtBreak(FObj fobj, org.axsl.fo.FoContext context)
          Returns the table-omit-footer-at-break property.
 boolean getTableOmitHeaderAtBreak(FObj fobj, org.axsl.fo.FoContext context)
          Returns the table-omit-header-at-break property.
 FoValue getTextAlign(FObj fobj, org.axsl.fo.FoContext context)
          Returns the text-align property.
 FoValue getTextAlignLast(FObj fobj, org.axsl.fo.FoContext context)
          Returns the text-align-last property.
 String getTextAlignString()
          Returns the text-align String, if any.
 DtTextDeco getTextDecoration(FObj fobj, org.axsl.fo.FoContext context)
          Returns the text decoration property.
 int getTextIndent(FObj fobj, org.axsl.fo.FoContext context)
          Returns the text-indent property.
 boolean getThroughScore(FObj fobj, org.axsl.fo.FoContext context)
          See XSL-FO 1.0, Section 5.5.6.
 int getTop(FObj fobj, org.axsl.fo.FoContext context)
          Returns the top property.
 boolean getUnderlineScore(FObj fobj, org.axsl.fo.FoContext context)
          See XSL-FO 1.0, Section 5.5.6.
 String[] getVoiceFamily(FObj fobj, org.axsl.fo.FoContext context)
          Returns the voice-family property.
 boolean getWhiteSpaceCollapse(FObj fobj, org.axsl.fo.FoContext context)
          Returns the whitespace-collapse property.
 FoValue getWrapOption(FObj fobj, org.axsl.fo.FoContext context)
          Returns the wrap-option property.
 DtWritingMode getWritingMode(FObj fobj, org.axsl.fo.FoContext context)
          Returns the writing-mode property.
 boolean isContentHeightDependent(FObj fobj, org.axsl.fo.FoContext context)
          Indicates whether the content-height is a known value or is dependent on the viewport dimensions.
 boolean isContentWidthDependent(FObj fobj, org.axsl.fo.FoContext context)
          Indicates whether the content-width is a known value or is dependent on the viewport dimensions.
 boolean isIpdAuto(FObj fobj)
          Indicates whether this object's inline-progression-dimension is "auto".
 int qtyProperties()
          Returns the number of properties in this list.
 FoValue traitAbsolutePosition(FObj fobj, org.axsl.fo.FoContext context)
          Returns the absolute-position property.
 FoValue traitActiveState(FObj fobj, org.axsl.fo.FoContext context)
          Returns the active-state property.
 int traitAlignmentAdjust(FObj fobj, org.axsl.fo.FoContext context, org.axsl.fo.FoInlineContext inlineContext)
          Returns the alignment-adjust amount.
 org.axsl.common.value.AlignmentBaseline traitAlignmentBaseline(FObj fobj, org.axsl.fo.FoContext context)
          Returns the alignment-baseline property.
 float[] traitAllowedHeightScale(FObj fobj)
          Returns the allowed-height-scale property.
 float[] traitAllowedWidthScale(FObj fobj)
          Returns the allowed-width-scale property.
 boolean traitAutoRestore(FObj fobj, org.axsl.fo.FoContext context)
          Returns the auto-restore property.
 float traitAzimuth(FObj fobj, org.axsl.fo.FoContext context)
          Returns the azimuth property.
 FoValue traitBackgroundAttachment(FObj fobj, org.axsl.fo.FoContext context)
          Returns the background-attachment property.
 int traitBackgroundPositionHorizontal(FObj fobj, org.axsl.fo.FoContext context, int paddingRectangleWidth, int backgroundImageWidth)
          Returns the background-position-horizontal property.
 int traitBackgroundPositionVertical(FObj fobj, org.axsl.fo.FoContext context, int paddingRectangleHeight, int backgroundImageHeight)
          Returns the background-position-vertical property.
 int traitBaselineShift(FObj fobj, org.axsl.fo.FoContext context)
          Returns the baseline-shift property.
 int traitBPDimensionMax(FObj fobj, org.axsl.fo.FoContext context)
          Returns the block-progression-dimension.maximum property.
 int traitBPDimensionMin(FObj fobj, org.axsl.fo.FoContext context)
          Returns the block-progression-dimension.minimum property.
 int traitBPDimensionOpt(FObj fobj, org.axsl.fo.FoContext context)
          Returns the block-progression-dimension.optimum property.
 org.axsl.common.value.AbsoluteDirection traitBPDirection(FObj fobj, org.axsl.fo.FoContext context)
          Returns the block progression direction.
 FoValue traitCaptionSide(FObj fobj, org.axsl.fo.FoContext context)
          Returns the caption-side property.
 String traitCaseName(FObj fobj, org.axsl.fo.FoContext context)
          Returns the case-name property.
 String traitCaseTitle()
          Returns the case-title property.
 FoValue traitClear(FObj fobj, org.axsl.fo.FoContext context)
          Returns the clear property.
 Shape traitClip(FObj fobj, org.axsl.fo.FoContext context, Shape containerShape)
          Returns the clip property.
 boolean traitClipIsAuto(FObj fobj, org.axsl.fo.FoContext context)
          Indicates whether "clip" is "auto".
 String traitColorProfileName(FObj fobj, org.axsl.fo.FoContext context)
          Returns the color-profile-name property.
 String traitContentType(FObj fobj)
          Returns the content-type property.
 String traitCueAfter(FObj fobj, org.axsl.fo.FoContext context)
          Returns the cue-after property.
 String traitCueBefore(FObj fobj, org.axsl.fo.FoContext context)
          Returns the cue-before property.
 int traitDestinationPlacementOffset(FObj fobj, org.axsl.fo.FoContext context)
          Returns the destination-placement-offset property.
 FoValue traitDirection(FObj fobj, org.axsl.fo.FoContext context)
          Returns the direction property.
 org.axsl.common.value.Baseline traitDominantBaseline(FObj fobj, org.axsl.fo.FoContext context)
          Returns the dominant-baseline property.
 float traitElevation(FObj fobj, org.axsl.fo.FoContext context)
          Returns the elevation property.
 FoValue traitEmptyCells(FObj fobj, org.axsl.fo.FoContext context)
          Returns the empty-cells property.
 boolean traitEndsRow(FObj fobj, org.axsl.fo.FoContext context)
          Returns the ends-row property.
 FoValue traitFloat(FObj fobj, org.axsl.fo.FoContext context)
          Returns the float property.
 FoValue traitFontSelectionStrategy(FObj fobj, org.axsl.fo.FoContext context)
          Returns the font-selection-strategy property.
 double traitFontSizeAdjust(FObj fobj, org.axsl.fo.FoContext context)
          Returns the font-size-adjust property.
 short traitGlyphOrientationHorizontal(FObj fobj, org.axsl.fo.FoContext context)
          Returns the glyph-orientation-horizontal property.
 short traitGlyphOrientationVertical(FObj fobj, org.axsl.fo.FoContext context)
          Returns the glyph-orientation-vertical property.
 org.axsl.common.value.Conditionality traitHalfLeadingConditionality(FObj fobj, org.axsl.fo.FoContext context)
          Returns the half-leading.conditionality property.
 int traitHalfLeadingMax(FObj fobj, org.axsl.fo.FoContext context)
          Returns the half-leading.maximum property.
 int traitHalfLeadingMin(FObj fobj, org.axsl.fo.FoContext context)
          Returns the half-leading.minimum property.
 int traitHalfLeadingOpt(FObj fobj, org.axsl.fo.FoContext context)
          Returns the half-leading.optimum property.
 int traitHalfLeadingPrecedence(FObj fobj, org.axsl.fo.FoContext context)
          Returns the half-leading.precedence property.
 FoValue traitHyphenationKeep(FObj fobj, org.axsl.fo.FoContext context)
          Returns the hyphenation-keep property.
 int traitHyphLadderCount(FObj fobj, org.axsl.fo.FoContext context)
          Returns the hyphenation-ladder-count property.
 boolean traitIndicateDestination(FObj fobj, org.axsl.fo.FoContext context)
          Returns the indicate-destination property.
 int traitIPDimensionMax(FObj fobj, org.axsl.fo.FoContext context)
          Returns the inline-progression-dimension.maximum property.
 int traitIPDimensionMin(FObj fobj, org.axsl.fo.FoContext context)
          Returns the inline-progression-dimension.minimum property.
 int traitIPDimensionOpt(FObj fobj, org.axsl.fo.FoContext context)
          Returns the inline-progression-dimension.optimum property.
 org.axsl.common.value.AbsoluteDirection traitIPDirectionEven(FObj fobj, org.axsl.fo.FoContext context)
          Returns the inline progression direction for even-numbered lines.
 org.axsl.common.value.AbsoluteDirection traitIPDirectionOdd(FObj fobj, org.axsl.fo.FoContext context)
          Returns the inline progression direction for odd-numbered lines.
 int traitKeepTogetherWithinColumn(FObj fobj, org.axsl.fo.FoContext context)
          Returns the keep-together.within-column property.
 int traitKeepTogetherWithinLine(FObj fobj, org.axsl.fo.FoContext context)
          Returns the keep-together.within-line property.
 int traitKeepTogetherWithinPage(FObj fobj, org.axsl.fo.FoContext context)
          Returns the keep-together.within-page property.
 int traitKeepWithNextWithinColumn(FObj fobj, org.axsl.fo.FoContext context)
          Returns the keep-with-next.within-column property.
 int traitKeepWithNextWithinLine(FObj fobj, org.axsl.fo.FoContext context)
          Returns the keep-with-next.within-line property.
 int traitKeepWithNextWithinPage(FObj fobj, org.axsl.fo.FoContext context)
          Returns the keep-with-next.within-page property.
 int traitKeepWithPreviousWithinColumn(FObj fobj, org.axsl.fo.FoContext context)
          Returns the keep-with-previous.within-column property.
 int traitKeepWithPreviousWithinLine(FObj fobj, org.axsl.fo.FoContext context)
          Returns the keep-with-previous.within-line property.
 int traitKeepWithPreviousWithinPage(FObj fobj, org.axsl.fo.FoContext context)
          Returns the keep-with-previous.within-page property.
 int traitLastLineEndIndent(FObj fobj, org.axsl.fo.FoContext context)
          Returns the last-line-end-indent property.
 org.axsl.common.value.Conditionality traitLetterSpacingConditionality()
          Returns the letter-spacing.conditionality property.
 int traitLetterSpacingMax(FObj fobj, org.axsl.fo.FoContext context)
          Returns the letter-spacing.maximum property.
 int traitLetterSpacingMin(FObj fobj, org.axsl.fo.FoContext context)
          Returns the letter-spacing.minimum property.
 int traitLetterSpacingOpt(FObj fobj, org.axsl.fo.FoContext context)
          Returns the letter-spacing.optimum property.
 int traitLetterSpacingPrecedence()
          Returns the letter-spacing.precedence property.
 FoValue traitLinefeedTreatment(FObj fobj, org.axsl.fo.FoContext context)
          Returns the linefeed-treatment property.
 FoValue traitLineHeightShiftAdjustment(FObj fobj, org.axsl.fo.FoContext context)
          Returns the line-height-shift-adjustment property.
 FoValue traitLineStackingStrategy(FObj fobj, org.axsl.fo.FoContext context)
          Returns the line-stacking-strategy property.
 FoValue traitMediaUsage(FObj fobj, org.axsl.fo.FoContext context)
          Returns the media-usage property.
 int traitOrphans(FObj fobj, org.axsl.fo.FoContext context)
          Returns the orphans property.
 FoValue traitPageBreakAfter(FObj fobj, org.axsl.fo.FoContext context)
          Returns the page-break-after property.
 FoValue traitPageBreakBefore(FObj fobj, org.axsl.fo.FoContext context)
          Returns the page-break-before property.
 FoValue traitPageBreakInside(FObj fobj, org.axsl.fo.FoContext context)
          Returns the page-break-inside property.
 double traitPauseAfter(FObj fobj, org.axsl.fo.FoContext context)
          Returns the pause-after property.
 double traitPauseBefore(FObj fobj, org.axsl.fo.FoContext context)
          Returns the pause-before property.
 double traitPitch(FObj fobj, org.axsl.fo.FoContext context)
          Returns the pitch property.
 double traitPitchRange(FObj fobj, org.axsl.fo.FoContext context)
          Returns the pitch-range property.
 String traitPlayDuring(FObj fobj, org.axsl.fo.FoContext context)
          Returns the play-during property.
 boolean traitPlayDuringMix()
          Returns the play-during.mix property.
 boolean traitPlayDuringRepeat()
          Returns the play-during.repeat property.
 FoValue traitReferenceOrientation(FObj fobj, org.axsl.fo.FoContext context)
          Returns the reference-orientation property.
 FoValue traitRelativePosition(FObj fobj, org.axsl.fo.FoContext context)
          Returns the relative-position property.
 FoValue traitRenderingIntent(FObj fobj, org.axsl.fo.FoContext context)
          Returns the rendering-intent property.
 double traitRichness(FObj fobj, org.axsl.fo.FoContext context)
          Returns the richness property.
 FoValue traitScalingMethod(FObj fobj, org.axsl.fo.FoContext context)
          Returns the scaling-method property.
 boolean traitScoreSpaces(FObj fobj, org.axsl.fo.FoContext context)
          Returns the score-spaces property.
 String traitScript(FObj fobj, org.axsl.fo.FoContext context)
          Returns the script property.
 org.axsl.common.value.AbsoluteDirection traitShiftDirectionEven(FObj fobj, org.axsl.fo.FoContext context)
          Returns the shift direction for even-numbered lines.
 org.axsl.common.value.AbsoluteDirection traitShiftDirectionOdd(FObj fobj, org.axsl.fo.FoContext context)
          Returns the shift direction for odd-numbered lines.
 FoValue traitShowDestination(FObj fobj, org.axsl.fo.FoContext context)
          Returns the show-destination property.
 org.axsl.common.value.Conditionality traitSpaceAfterConditionality(FObj fobj, org.axsl.fo.FoContext context)
          Returns the space-after.conditionality property.
 int traitSpaceAfterLength(FObj fobj, org.axsl.fo.FoContext context, LengthRange subProperty)
          Returns the space-after.length property.
 int traitSpaceAfterPrecedence()
          Returns the space-after.precedence property.
 org.axsl.common.value.Conditionality traitSpaceBeforeConditionality(FObj fobj, org.axsl.fo.FoContext context)
          Returns the space-before.conditionality property.
 int traitSpaceBeforeLength(FObj fobj, org.axsl.fo.FoContext context, LengthRange subProperty)
          Returns the space-before.length property.
 int traitSpaceBeforePrecedence()
          Returns the space-before.precedence property.
 org.axsl.common.value.Conditionality traitSpaceEndConditionality()
          Returns the space-end.conditionality property.
 int traitSpaceEndLength(FObj fobj, org.axsl.fo.FoContext context, LengthRange subProperty)
          Returns the space-end.length property.
 int traitSpaceEndPrecedence()
          Returns the space-end.precedence property.
 org.axsl.common.value.Conditionality traitSpaceStartConditionality()
          Returns the space-start.conditionality property.
 int traitSpaceStartLength(FObj fobj, org.axsl.fo.FoContext context, LengthRange subProperty)
          Returns the space-start.length property.
 int traitSpaceStartPrecedence()
          Returns the space-start.precedence property.
 FoValue traitSpeak(FObj fobj, org.axsl.fo.FoContext context)
          Returns the speak property.
 FoValue traitSpeakHeader(FObj fobj, org.axsl.fo.FoContext context)
          Returns the speak-header property.
 FoValue traitSpeakNumeral(FObj fobj, org.axsl.fo.FoContext context)
          Returns the speak-numeral property.
 FoValue traitSpeakPunctuation(FObj fobj, org.axsl.fo.FoContext context)
          Returns the speak-punctuation property.
 double traitSpeechRate(FObj fobj, org.axsl.fo.FoContext context)
          Returns the speech-rate property.
 FoValue traitStartingState(FObj fobj, org.axsl.fo.FoContext context)
          Returns the starting-state property.
 boolean traitStartsRow(FObj fobj, org.axsl.fo.FoContext context)
          Returns the starts-row property.
 double traitStress(FObj fobj, org.axsl.fo.FoContext context)
          Returns the stress property.
 FoValue traitSuppressAtLineBreak(FObj fobj, org.axsl.fo.FoContext context)
          Returns the suppress-at-line-break property.
 FoValue traitSwitchTo()
          Returns the switch-to property.
 String[] traitSwitchToNames()
          Returns the switch-to names.
 String traitTargetPresentationContext(FObj fobj)
          Returns the target-presentation-context property.
 String traitTargetProcessingContext()
          Returns the target-processing-context property.
 String traitTargetStylesheet()
          Returns the target-stylesheet property.
 int traitTextAltitude(FObj fobj, org.axsl.fo.FoContext context)
          Returns the text-altitude property.
 int traitTextDepth(FObj fobj, org.axsl.fo.FoContext context)
          Returns the text-depth property.
 org.axsl.common.value.ShadowEffect[] traitTextShadow(FObj fobj, org.axsl.fo.FoContext context)
          Returns the text-shadow property.
 FoValue traitTextTransform(FObj fobj, org.axsl.fo.FoContext context)
          Returns the text-transform property.
 boolean traitTreatAsWordSpace(FObj fobj, org.axsl.fo.FoContext context, char character)
          Returns the treat-as-word-space property.
 FoValue traitUnicodeBidi(FObj fobj, org.axsl.fo.FoContext context)
          Returns the unicode-bidi property.
 FoValue traitVisibility(FObj fobj, org.axsl.fo.FoContext context)
          Returns the visibility property.
 double traitVolume(FObj fobj, org.axsl.fo.FoContext context)
          Returns the volume property.
 FoValue traitWhiteSpace(FObj fobj, org.axsl.fo.FoContext context)
          Returns the white-space property.
 FoValue traitWhiteSpaceTreatment(FObj fobj, org.axsl.fo.FoContext context)
          Returns the white-space-treatment property.
 int traitWidows(FObj fobj, org.axsl.fo.FoContext context)
          Returns the widows property.
 org.axsl.common.value.Conditionality traitWordSpacingConditionality()
          Returns the word-spacing.conditionality property.
 int traitWordSpacingMax(FObj fobj, org.axsl.fo.FoContext context)
          Returns the word-spacing.maximum property.
 int traitWordSpacingMin(FObj fobj, org.axsl.fo.FoContext context)
          Returns the word-spacing.minimum property.
 int traitWordSpacingOpt(FObj fobj, org.axsl.fo.FoContext context)
          Returns the word-spacing.optimum property.
 int traitWordSpacingPrecedence()
          Returns the word-spacing.precedence property.
 int traitZIndex(FObj fobj, org.axsl.fo.FoContext context)
          Returns the z-index property.
 boolean traitZIndexIsAuto(FObj fobj, org.axsl.fo.FoContext context)
          Indicates whether the z-index property value is auto.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyList

public PropertyList(int size)
Constructor.

Parameters:
size - The number of expected properties in the list.
Method Detail

emptyPropertyList

public static PropertyList emptyPropertyList()
Returns an empty, immutable property list instance.

Returns:
An empty, immutable property list instance.

addProperty

public void addProperty(FObj fobj,
                        Property property)
Adds a property to this PropertyList.

Parameters:
fobj - The FObj to which the property belongs.
property - The property to be added.

getProperty

public Property getProperty(PropertyType propertyType)
Returns the named Property from this PropertyList, if any. This is very raw. No conversions or intelligent work is done. The user of this method needs to handle the situation where the property is not found, and to do something useful with the property.

Parameters:
propertyType - The integral identifier of the property that is sought.
Returns:
The Property instance matching propertyName, or null if none is found.

getTextDecoration

public DtTextDeco getTextDecoration(FObj fobj,
                                    org.axsl.fo.FoContext context)
Returns the text decoration property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The text decoration property.

getUnderlineScore

public boolean getUnderlineScore(FObj fobj,
                                 org.axsl.fo.FoContext context)
See XSL-FO 1.0, Section 5.5.6.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
True iff this should be underlined.

getOverlineScore

public boolean getOverlineScore(FObj fobj,
                                org.axsl.fo.FoContext context)
See XSL-FO 1.0, Section 5.5.6.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
True iff this should be overlined.

getThroughScore

public boolean getThroughScore(FObj fobj,
                               org.axsl.fo.FoContext context)
See XSL-FO 1.0, Section 5.5.6.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
True iff this should be through-scored (i.e. a line drawn through, as if it were crossed out).

getBlink

public boolean getBlink(FObj fobj,
                        org.axsl.fo.FoContext context)
See XSL-FO 1.0, Section 5.5.6.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
True iff this should be through-scored (i.e. a line drawn through, as if it were crossed out).

getAbsoluteMargin

public int getAbsoluteMargin(FObj fobj,
                             org.axsl.fo.FoContext context,
                             org.axsl.common.value.AbsoluteCompass absoluteDirection)
Common logic for retrieving margin values.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
absoluteDirection - One of WritingModeDT.DIRECTION_TOP, WritingModeDT.DIRECTION_BOTTOM, WritingModeDT.DIRECTION_LEFT, WritingModeDT.DIRECTION_RIGHT.
Returns:
The margin value, in millipoints.

getMarginTop

public int getMarginTop(FObj fobj,
                        org.axsl.fo.FoContext context)
Returns the top margin property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The top margin property.

getMarginBottom

public int getMarginBottom(FObj fobj,
                           org.axsl.fo.FoContext context)
Returns the bottom margin property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The bottom margin property.

getMarginLeft

public int getMarginLeft(FObj fobj,
                         org.axsl.fo.FoContext context)
Returns the left margin property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The left margin property.

getMarginRight

public int getMarginRight(FObj fobj,
                          org.axsl.fo.FoContext context)
Returns the right margin property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The right margin property.

getColor

public Color getColor(FObj fobj,
                      org.axsl.fo.FoContext context)
Returns the color property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The color property.

getWrapOption

public FoValue getWrapOption(FObj fobj,
                             org.axsl.fo.FoContext context)
Returns the wrap-option property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The wrap-option property.

getWhiteSpaceCollapse

public boolean getWhiteSpaceCollapse(FObj fobj,
                                     org.axsl.fo.FoContext context)
Returns the whitespace-collapse property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The whitespace-collapse property.

getWritingMode

public DtWritingMode getWritingMode(FObj fobj,
                                    org.axsl.fo.FoContext context)
Returns the writing-mode property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The writing-mode property.

getId

public String getId()
Returns the id property.

Returns:
The id property.

getInternalDestination

public String getInternalDestination()
Returns the internal-destination property.

Returns:
The internal-destination property.

getExternalDestination

public String getExternalDestination()
Returns the external-destination property.

Returns:
The external-destination property.

getIndent

public int getIndent(FObj fobj,
                     org.axsl.fo.FoContext context,
                     org.axsl.common.value.RelativeCompass direction)
Returns the start-indent or end-indent value.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
direction - The direction for which the indent value is needed.
Returns:
The start-indent or end-indent value, in millipoints.

getSpan

public FoValue getSpan(FObj fobj,
                       org.axsl.fo.FoContext context)
Returns the span property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The span property.

getFlowName

public String getFlowName()
Returns the flow-name property.

Returns:
The flow-name property.

getMarkerClassName

public String getMarkerClassName()
Returns the marker-class-name property.

Returns:
The marker-class-name property.

getRetrieveClassName

public String getRetrieveClassName()
Returns the retrieve-class-name property.

Returns:
The retrieve-class-name property.

getRetrievePosition

public FoValue getRetrievePosition()
Returns the retrieve-position property.

Returns:
The retrieve-position property.

getRetrieveBoundary

public FoValue getRetrieveBoundary()
Returns the retrieve-boundary property.

Returns:
Teh retrieve-boundary property.

getColumnNumber

public int getColumnNumber(FObj fobj,
                           org.axsl.fo.FoContext context)
Returns the column-number property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The column-number property.

getNumberColumnsSpanned

public int getNumberColumnsSpanned()
Returns the number-columns-spanned property.

Returns:
The number-columns-spanned property.

getNumberRowsSpanned

public int getNumberRowsSpanned()
Returns the number-rows-spanned property.

Returns:
The number-rows-spanned property.

getBorderCollapse

public FoValue getBorderCollapse(FObj fobj,
                                 org.axsl.fo.FoContext context)
Returns the border-collapse property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The border-collapse property.

getDisplayAlign

public FoValue getDisplayAlign(FObj fobj,
                               org.axsl.fo.FoContext context)
Returns the display-align property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The display-align property.

getRelativeAlign

public FoValue getRelativeAlign(FObj fobj,
                                org.axsl.fo.FoContext context)
Returns the relative-align property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The relative-align property.

getBorderSeparationIPD

public int getBorderSeparationIPD(FObj fobj,
                                  org.axsl.fo.FoContext context)
Returns the border-separation (IPD) property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The border-separation (IPD) property.

getBorderSeparationBPD

public int getBorderSeparationBPD(FObj fobj,
                                  org.axsl.fo.FoContext context)
Returns the border-separation (BPD) property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The border-separation (BPD) property.

getNumberColumnsRepeated

public int getNumberColumnsRepeated()
Returns the number-columns-repeated property.

Returns:
The number-columns-repeated property.

getColumnWidth

public int getColumnWidth(FObj fobj,
                          org.axsl.fo.FoContext context)
Returns the nominal em-width.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The nominal width.

getColumnWidthTableUnits

public double getColumnWidthTableUnits()
Returns the column-width property.

Returns:
The column-width property.

getBreakAfter

public FoValue getBreakAfter(FObj fobj,
                             org.axsl.fo.FoContext context)
Returns the break-after property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The break-after property.

getKeepTogether

public int getKeepTogether(FObj fobj,
                           org.axsl.fo.FoContext context,
                           AbstractKeep.Type subProperty)
Returns the keep-together property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
subProperty - The keep type of the property to be returned.
Returns:
The keep-together property.

traitKeepTogetherWithinLine

public int traitKeepTogetherWithinLine(FObj fobj,
                                       org.axsl.fo.FoContext context)
Returns the keep-together.within-line property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The keep-together.within-line property.

traitKeepTogetherWithinColumn

public int traitKeepTogetherWithinColumn(FObj fobj,
                                         org.axsl.fo.FoContext context)
Returns the keep-together.within-column property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The keep-together.within-column property.

traitKeepTogetherWithinPage

public int traitKeepTogetherWithinPage(FObj fobj,
                                       org.axsl.fo.FoContext context)
Returns the keep-together.within-page property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The keep-together.within-page property.

getKeepWithNext

public int getKeepWithNext(FObj fobj,
                           org.axsl.fo.FoContext context,
                           AbstractKeep.Type subProperty)
Returns the keep-with-next property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
subProperty - The keep type of the property to be returned.
Returns:
The keep-with-next property.

traitKeepWithNextWithinLine

public int traitKeepWithNextWithinLine(FObj fobj,
                                       org.axsl.fo.FoContext context)
Returns the keep-with-next.within-line property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The keep-with-next.within-line property.

traitKeepWithNextWithinColumn

public int traitKeepWithNextWithinColumn(FObj fobj,
                                         org.axsl.fo.FoContext context)
Returns the keep-with-next.within-column property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The keep-with-next.within-column property.

traitKeepWithNextWithinPage

public int traitKeepWithNextWithinPage(FObj fobj,
                                       org.axsl.fo.FoContext context)
Returns the keep-with-next.within-page property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The keep-with-next.within-page property.

getKeepWithPrevious

public int getKeepWithPrevious(FObj fobj,
                               org.axsl.fo.FoContext context,
                               AbstractKeep.Type subProperty)
Returns the keep-with-previous property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
subProperty - The keep type of the property to be returned.
Returns:
The keep-with-previous property.

traitKeepWithPreviousWithinLine

public int traitKeepWithPreviousWithinLine(FObj fobj,
                                           org.axsl.fo.FoContext context)
Returns the keep-with-previous.within-line property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The keep-with-previous.within-line property.

traitKeepWithPreviousWithinColumn

public int traitKeepWithPreviousWithinColumn(FObj fobj,
                                             org.axsl.fo.FoContext context)
Returns the keep-with-previous.within-column property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The keep-with-previous.within-column property.

traitKeepWithPreviousWithinPage

public int traitKeepWithPreviousWithinPage(FObj fobj,
                                           org.axsl.fo.FoContext context)
Returns the keep-with-previous.within-page property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The keep-with-previous.within-page property.

getMasterReference

public String getMasterReference()
Returns the master-reference property.

Returns:
The master-reference property.

getPagePosition

public FoValue getPagePosition()
Returns the page-position property.

Returns:
The page-position property.

getOddOrEven

public FoValue getOddOrEven()
Returns the odd-or-even property.

Returns:
The odd-or-even property.

getBlankOrNotBlank

public FoValue getBlankOrNotBlank(FObj fobj)
Returns the blank-or-not-blank property.

Parameters:
fobj - The FObj to which the property belongs.
Returns:
The blank-or-not-blank property.

getInitialPageNumber

public int getInitialPageNumber(FObj fobj,
                                int lastPageNumberUsed)
Returns the initial-page-number property.

Parameters:
fobj - The FObj to which the property belongs.
lastPageNumberUsed - The last page number from the previous page-sequence.
Returns:
The initial-page-number property.

getRawInitialPageNumber

public FoValue getRawInitialPageNumber(FObj fobj)
Returns the raw initial-page-number property.

Parameters:
fobj - The FObj to which the property belongs.
Returns:
The raw initial-page-number property.

getFormat

public String getFormat()
Returns the format property.

Returns:
The format property.

getGroupingSeparator

public char getGroupingSeparator()
Returns the grouping-separator property.

Returns:
The grouping-separator property.

getGroupingSize

public int getGroupingSize()
Returns the grouping-size property.

Returns:
The grouping-size property.

getLetterValue

public FoValue getLetterValue()
Returns the letter-value property.

Returns:
The letter-value property.

getForcePageCount

public FoValue getForcePageCount(FObj fobj,
                                 org.axsl.fo.FoContext context)
Returns the force-page-count property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The force-page-count property.

getMasterName

public String getMasterName()
Returns the master-name property.

Returns:
The master-name property.

getRegionName

public String getRegionName(FObj fobj)
Returns the region-name property.

Parameters:
fobj - The FObj to which the property belongs.
Returns:
The region-name property.

getPrecedence

public boolean getPrecedence(FObj fobj)
Returns the precedence property.

Parameters:
fobj - The FObj to which the property belongs.
Returns:
The precedence property.

getExtent

public int getExtent(FObj fobj)
Returns the extent property.

Parameters:
fobj - The FObj to which the property belongs.
Returns:
The extent property.

getColumnGap

public int getColumnGap(FObj fobj,
                        org.axsl.fo.FoContext context)
Returns the column-gap property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The column-gap property.

getOverflow

public FoValue getOverflow(FObj fobj,
                           org.axsl.fo.FoContext context)
Returns the overflow property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The overflow property.

getColumnCount

public int getColumnCount(FObj fobj,
                          org.axsl.fo.FoContext context)
Returns the column-count property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The column-count property.

getMaximumRepeats

public int getMaximumRepeats(FObj fobj)
Returns the maximum-repeats property.

Parameters:
fobj - The FObj to which the property belongs.
Returns:
The maximum-repeats property.

getPageWidth

public int getPageWidth(FObj fobj)
Returns the width of the page.

Parameters:
fobj - The FObj to which the property belongs.
Returns:
The width of the page.

getPageHeight

public int getPageHeight(FObj fobj)
Returns the height of the page.

Parameters:
fobj - The FObj to which the property belongs.
Returns:
The height of the page.

getTextAlign

public FoValue getTextAlign(FObj fobj,
                            org.axsl.fo.FoContext context)
Returns the text-align property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The text-align property.

getTextAlignString

public String getTextAlignString()
Returns the text-align String, if any.

Returns:
The text-align String, or null if there is none.

getTextAlignLast

public FoValue getTextAlignLast(FObj fobj,
                                org.axsl.fo.FoContext context)
Returns the text-align-last property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The text-align-last property.

getLineHeightMultiplier

public float getLineHeightMultiplier(FObj fobj,
                                     org.axsl.fo.FoContext context)
This method is used to get the raw line height multiplier. The trait line-height is returned as millipoints, but several of the values that the line-height property can take are expressions of a multiplier of the font-size for the object. This includes the keyword "normal", a number, and a percentage.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The line-height multiplier value, expressed as a float. For example, if the line-height should be computed

getLineHeight

public int getLineHeight(FObj fobj,
                         org.axsl.fo.FoContext context,
                         LengthRange rangeID)
Returns the line-height.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
rangeID - One of MINIMUM, OPTIMUM, OR MAXIMUM.
Returns:
The line-height, in millipoints.

getLineHeightConditionality

public org.axsl.common.value.Conditionality getLineHeightConditionality(FObj fobj,
                                                                        org.axsl.fo.FoContext context)
Returns the line-height.conditionality property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The line-height.conditionality property.

getLineHeightPrecedence

public int getLineHeightPrecedence(FObj fobj,
                                   org.axsl.fo.FoContext context)
Returns the line-height.precedence property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The line-height.precedence property.

traitSpaceBeforeLength

public int traitSpaceBeforeLength(FObj fobj,
                                  org.axsl.fo.FoContext context,
                                  LengthRange subProperty)
Returns the space-before.length property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
subProperty - The length-range specifier.
Returns:
The space-before.length property.

traitSpaceBeforeConditionality

public org.axsl.common.value.Conditionality traitSpaceBeforeConditionality(FObj fobj,
                                                                           org.axsl.fo.FoContext context)
Returns the space-before.conditionality property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The space-before.conditionality property.

traitSpaceBeforePrecedence

public int traitSpaceBeforePrecedence()
Returns the space-before.precedence property.

Returns:
The space-before.precedence property.

traitSpaceAfterLength

public int traitSpaceAfterLength(FObj fobj,
                                 org.axsl.fo.FoContext context,
                                 LengthRange subProperty)
Returns the space-after.length property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
subProperty - The length-range specifier.
Returns:
The space-after.length property.

traitSpaceAfterConditionality

public org.axsl.common.value.Conditionality traitSpaceAfterConditionality(FObj fobj,
                                                                          org.axsl.fo.FoContext context)
Returns the space-after.conditionality property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The space-after.conditionality property.

traitSpaceAfterPrecedence

public int traitSpaceAfterPrecedence()
Returns the space-after.precedence property.

Returns:
The space-after.precedence property.

traitSpaceStartLength

public int traitSpaceStartLength(FObj fobj,
                                 org.axsl.fo.FoContext context,
                                 LengthRange subProperty)
Returns the space-start.length property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
subProperty - The length-range specified.
Returns:
The space-start.length property.

traitSpaceStartConditionality

public org.axsl.common.value.Conditionality traitSpaceStartConditionality()
Returns the space-start.conditionality property.

Returns:
The space-start.conditionality property.

traitSpaceStartPrecedence

public int traitSpaceStartPrecedence()
Returns the space-start.precedence property.

Returns:
The space-start.precedence property.

traitSpaceEndLength

public int traitSpaceEndLength(FObj fobj,
                               org.axsl.fo.FoContext context,
                               LengthRange subProperty)
Returns the space-end.length property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
subProperty - The length-range specifier.
Returns:
The space-end.length property.

traitSpaceEndConditionality

public org.axsl.common.value.Conditionality traitSpaceEndConditionality()
Returns the space-end.conditionality property.

Returns:
The space-end.conditionality property.

traitSpaceEndPrecedence

public int traitSpaceEndPrecedence()
Returns the space-end.precedence property.

Returns:
The space-end.precedence property.

getTextIndent

public int getTextIndent(FObj fobj,
                         org.axsl.fo.FoContext context)
Returns the text-indent property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The text-indent property.

getPosition

public FoValue getPosition(FObj fobj,
                           org.axsl.fo.FoContext context)
Returns the position property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The position property.

getAbsoluteOffset

public int getAbsoluteOffset(FObj fobj,
                             org.axsl.fo.FoContext context,
                             org.axsl.common.value.AbsoluteCompass absoluteDirection)
Returns the absolute offset for a specified direction.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
absoluteDirection - The direction for which the absolute offset is needed.
Returns:
The specified absolute offset.

getTop

public int getTop(FObj fobj,
                  org.axsl.fo.FoContext context)
Returns the top property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The top property.

getBottom

public int getBottom(FObj fobj,
                     org.axsl.fo.FoContext context)
Returns the bottom property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The bottom property.

getLeft

public int getLeft(FObj fobj,
                   org.axsl.fo.FoContext context)
Returns the left property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The left property.

getRight

public int getRight(FObj fobj,
                    org.axsl.fo.FoContext context)
Returns the right property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The right property.

getCharacter

public char getCharacter()
Returns the character property.

Returns:
The character property.

getSrc

public String getSrc(FObj fobj,
                     org.axsl.fo.FoContext context)
Returns the src property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The src property.

getBreakBefore

public FoValue getBreakBefore(FObj fobj,
                              org.axsl.fo.FoContext context)
Returns the break-before property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The break-before property.

getScaling

public FoValue getScaling(FObj fobj,
                          org.axsl.fo.FoContext context)
Returns the scaling property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The scaling property.

getContentWidth

public float getContentWidth(FObj fobj,
                             org.axsl.fo.FoContext context,
                             FObjScaled fobjScaled)
Returns the scaling factor for the width.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
fobjScaled - The object containing the scalable item whose content dimension is needed. This may be the same as fobj, but will not be the same for cases where we are looking for the dimension using "inherit".
Returns:
The scaling factor that should be applied to the intrinsic width of the content.

isContentWidthDependent

public boolean isContentWidthDependent(FObj fobj,
                                       org.axsl.fo.FoContext context)
Indicates whether the content-width is a known value or is dependent on the viewport dimensions.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
True iff the viewport dimension must be known before the content-width can be computed.

getContentHeight

public float getContentHeight(FObj fobj,
                              org.axsl.fo.FoContext context,
                              FObjScaled fobjScaled)
Returns the scaling factor for the height.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
fobjScaled - The object containing the scalable item whose content dimension is needed. This may be the same as fobj, but will not be the same for cases where we are looking for the dimension using "inherit".
Returns:
The scaling factor that should be applied to the intrinsic height of the content.

isContentHeightDependent

public boolean isContentHeightDependent(FObj fobj,
                                        org.axsl.fo.FoContext context)
Indicates whether the content-height is a known value or is dependent on the viewport dimensions.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
True iff the viewport dimension must be known before the content-height can be computed.

getLeaderPattern

public FoValue getLeaderPattern(FObj fobj,
                                org.axsl.fo.FoContext context)
Returns the leader-pattern property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The leader-pattern property.

getLeaderLengthMinimum

public int getLeaderLengthMinimum(FObj fobj,
                                  org.axsl.fo.FoContext context)
Returns the leader-length.minimum property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The leader-length.minimum property.

getLeaderLengthOptimum

public int getLeaderLengthOptimum(FObj fobj,
                                  org.axsl.fo.FoContext context)
Returns the leader-length.optimum property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The leader-length.optimum property.

getLeaderLengthMaximum

public int getLeaderLengthMaximum(FObj fobj,
                                  org.axsl.fo.FoContext context)
Returns the leader-length.maximum property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The leader-length.maximum property.

getRuleThickness

public int getRuleThickness(FObj fobj,
                            org.axsl.fo.FoContext context)
Returns the rule-thickness property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The rule-thickness property.

getRuleStyle

public FoValue getRuleStyle(FObj fobj,
                            org.axsl.fo.FoContext context)
Returns the rule-style property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The rule-style property.

getLeaderPatternWidth

public int getLeaderPatternWidth(FObj fobj,
                                 org.axsl.fo.FoContext context)
Returns the leader pattern width.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
-1 for "use-font-metrics".

getLeaderAlignment

public FoValue getLeaderAlignment(FObj fobj,
                                  org.axsl.fo.FoContext context)
Returns the leader-alignment property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The leader-alignment property.

getRefId

public String getRefId(FObj fobj,
                       org.axsl.fo.FoContext context)
Returns the ref-id property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The ref-id property.

getTableLayout

public FoValue getTableLayout()
Returns the table-layout property.

Returns:
The table-layout property.

getTableOmitHeaderAtBreak

public boolean getTableOmitHeaderAtBreak(FObj fobj,
                                         org.axsl.fo.FoContext context)
Returns the table-omit-header-at-break property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The table-omit-header-at-break property.

getTableOmitFooterAtBreak

public boolean getTableOmitFooterAtBreak(FObj fobj,
                                         org.axsl.fo.FoContext context)
Returns the table-omit-footer-at-break property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The table-omit-footer-at-break property.

traitBPDimensionMin

public int traitBPDimensionMin(FObj fobj,
                               org.axsl.fo.FoContext context)
Returns the block-progression-dimension.minimum property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The block-progression-dimension.minimum property.

traitBPDimensionOpt

public int traitBPDimensionOpt(FObj fobj,
                               org.axsl.fo.FoContext context)
Returns the block-progression-dimension.optimum property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The block-progression-dimension.optimum property.

traitBPDimensionMax

public int traitBPDimensionMax(FObj fobj,
                               org.axsl.fo.FoContext context)
Returns the block-progression-dimension.maximum property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The block-progression-dimension.maximum property.

traitIPDimensionMin

public int traitIPDimensionMin(FObj fobj,
                               org.axsl.fo.FoContext context)
Returns the inline-progression-dimension.minimum property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The inline-progression-dimension.minimum property.

traitIPDimensionOpt

public int traitIPDimensionOpt(FObj fobj,
                               org.axsl.fo.FoContext context)
Returns the inline-progression-dimension.optimum property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The inline-progression-dimension.optimum property.

traitIPDimensionMax

public int traitIPDimensionMax(FObj fobj,
                               org.axsl.fo.FoContext context)
Returns the inline-progression-dimension.maximum property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The inline-progression-dimension.maximum property.

getFontFamily

public List<String> getFontFamily(FObj fobj,
                                  org.axsl.fo.FoContext context)
Returns the font-family property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The font-family property.

getFontStyle

public org.axsl.font.Font.Style getFontStyle(FObj fobj,
                                             org.axsl.fo.FoContext context)
Returns the font-style property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The font-style property.

getFontWeight

public org.axsl.font.Font.Weight getFontWeight(FObj fobj,
                                               org.axsl.fo.FoContext context)
Returns the font-weight property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The font-weight property.

getFontSize

public int getFontSize(FObj fobj,
                       org.axsl.fo.FoContext context)
Returns the font-size property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The font-size property.

getFontVariant

public org.axsl.font.Font.Variant getFontVariant(FObj fobj,
                                                 org.axsl.fo.FoContext context)
Returns the font-variant property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The font-variant property.

getFontStretch

public org.axsl.font.Font.Stretch getFontStretch(FObj fobj,
                                                 org.axsl.fo.FoContext context)
Returns the font-stretch property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The font-stretch property.

getProvisionalDistanceBetweenStarts

public int getProvisionalDistanceBetweenStarts(FObj fobj,
                                               org.axsl.fo.FoContext context)
Returns the provisional-distance-between-starts property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The provisional-distance-between-starts property.

getProvisionalLabelSeparation

public int getProvisionalLabelSeparation(FObj fobj,
                                         org.axsl.fo.FoContext context)
Returns the provisional-label-separation property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The provisional-label-separation property.

getBorderColor

public Color getBorderColor(FObj fobj,
                            org.axsl.fo.FoContext context,
                            org.axsl.common.value.RelativeCompass direction)
Returns the border-color property for a specific direction.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
direction - The direction for which the border-color is needed.
Returns:
The specified border-color property.

getBorderStyle

public org.axsl.common.value.BorderStyle getBorderStyle(FObj fobj,
                                                        org.axsl.fo.FoContext context,
                                                        org.axsl.common.value.Compass direction)
Returns the border-style property for a specific direction.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
direction - The direction for which the border-style is needed.
Returns:
The specified border-style property.

getBorderWidth

public int getBorderWidth(FObj fobj,
                          org.axsl.fo.FoContext context,
                          org.axsl.common.value.RelativeCompass direction)
Returns the border width.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
direction - The direction for which the border width is needed.
Returns:
The width, in millipoints, of the border.

getPadding

public int getPadding(FObj fobj,
                      org.axsl.fo.FoContext context,
                      org.axsl.common.value.RelativeCompass relativeDirection)
Returns the padding width.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
relativeDirection - The direction for which the padding width is needed.
Returns:
The width, in millipoints, of the padding.

getBackgroundColor

public Color getBackgroundColor(FObj fobj,
                                org.axsl.fo.FoContext context)
Returns the background-color property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The background-color property.

getHyphenate

public boolean getHyphenate(FObj fobj,
                            org.axsl.fo.FoContext context)
Returns the hyphenate property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The hyphenate property.

getHyphenationCharacter

public int getHyphenationCharacter(FObj fobj,
                                   org.axsl.fo.FoContext context)
Returns the hyphenation-character property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The hyphenation-character property.

getHyphenationPushCharacterCount

public int getHyphenationPushCharacterCount(FObj fobj,
                                            org.axsl.fo.FoContext context)
Returns the hyphenation-push-character-count property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The hyphenation-push-character-count property.

getHyphenationRemainCharacterCount

public int getHyphenationRemainCharacterCount(FObj fobj,
                                              org.axsl.fo.FoContext context)
Returns the hyphenation-remain-character-count property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The hyphenation-remain-character-count property.

getLanguage

public String getLanguage(FObj fobj,
                          org.axsl.fo.FoContext context)
Returns the language property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The language property.

getCountry

public org.axsl.common.i18n.Country getCountry(FObj fobj,
                                               org.axsl.fo.FoContext context)
Returns the country property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The country property.

getBackgroundImage

public org.axsl.graphic.Graphic getBackgroundImage(FObj fobj,
                                                   org.axsl.fo.FoContext context)
Returns the background-image property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The background-image property.

getBackgroundRepeat

public FoValue getBackgroundRepeat(FObj fobj,
                                   org.axsl.fo.FoContext context)
Returns the background-repeat property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The background-repeat property.

getSourceDocument

public String[] getSourceDocument(FObj fobj,
                                  org.axsl.fo.FoContext context)
Returns the source-document property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The source-document property.

getRole

public String getRole(FObj fobj,
                      org.axsl.fo.FoContext context)
Returns the role property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The role property.

traitTextAltitude

public int traitTextAltitude(FObj fobj,
                             org.axsl.fo.FoContext context)
Returns the text-altitude property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The text-altitude property.

traitTextDepth

public int traitTextDepth(FObj fobj,
                          org.axsl.fo.FoContext context)
Returns the text-depth property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The text-depth property.

traitHalfLeadingMin

public int traitHalfLeadingMin(FObj fobj,
                               org.axsl.fo.FoContext context)
Returns the half-leading.minimum property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The half-leading.minimum property.

traitHalfLeadingOpt

public int traitHalfLeadingOpt(FObj fobj,
                               org.axsl.fo.FoContext context)
Returns the half-leading.optimum property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The half-leading.optimum property.

traitHalfLeadingMax

public int traitHalfLeadingMax(FObj fobj,
                               org.axsl.fo.FoContext context)
Returns the half-leading.maximum property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The half-leading.maximum property.

traitHalfLeadingConditionality

public org.axsl.common.value.Conditionality traitHalfLeadingConditionality(FObj fobj,
                                                                           org.axsl.fo.FoContext context)
Returns the half-leading.conditionality property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The half-leading.conditionality property.

traitHalfLeadingPrecedence

public int traitHalfLeadingPrecedence(FObj fobj,
                                      org.axsl.fo.FoContext context)
Returns the half-leading.precedence property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The half-leading.precedence property.

traitIPDirectionOdd

public org.axsl.common.value.AbsoluteDirection traitIPDirectionOdd(FObj fobj,
                                                                   org.axsl.fo.FoContext context)
Returns the inline progression direction for odd-numbered lines.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
One of DIRECTION_TOP_TO_BOTTOM, DIRECTION_BOTTOM_TO_TOP, DIRECTION_LEFT_TO_RIGHT, or DIRECTION_RIGHT_TO_LEFT, depending on the writing-mode.

traitIPDirectionEven

public org.axsl.common.value.AbsoluteDirection traitIPDirectionEven(FObj fobj,
                                                                    org.axsl.fo.FoContext context)
Returns the inline progression direction for even-numbered lines.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
One of DIRECTION_TOP_TO_BOTTOM, DIRECTION_BOTTOM_TO_TOP, DIRECTION_LEFT_TO_RIGHT, or DIRECTION_RIGHT_TO_LEFT, depending on the writing-mode.

traitBPDirection

public org.axsl.common.value.AbsoluteDirection traitBPDirection(FObj fobj,
                                                                org.axsl.fo.FoContext context)
Returns the block progression direction.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
One of DIRECTION_TOP_TO_BOTTOM, DIRECTION_BOTTOM_TO_TOP, DIRECTION_LEFT_TO_RIGHT, or DIRECTION_RIGHT_TO_LEFT, depending on the writing-mode.

traitShiftDirectionOdd

public org.axsl.common.value.AbsoluteDirection traitShiftDirectionOdd(FObj fobj,
                                                                      org.axsl.fo.FoContext context)
Returns the shift direction for odd-numbered lines.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
One of DIRECTION_TOP_TO_BOTTOM, DIRECTION_BOTTOM_TO_TOP, DIRECTION_LEFT_TO_RIGHT, or DIRECTION_RIGHT_TO_LEFT, depending on the writing-mode.

traitShiftDirectionEven

public org.axsl.common.value.AbsoluteDirection traitShiftDirectionEven(FObj fobj,
                                                                       org.axsl.fo.FoContext context)
Returns the shift direction for even-numbered lines.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
One of DIRECTION_TOP_TO_BOTTOM, DIRECTION_BOTTOM_TO_TOP, DIRECTION_LEFT_TO_RIGHT, or DIRECTION_RIGHT_TO_LEFT, depending on the writing-mode.

traitAlignmentBaseline

public org.axsl.common.value.AlignmentBaseline traitAlignmentBaseline(FObj fobj,
                                                                      org.axsl.fo.FoContext context)
Returns the alignment-baseline property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The alignment-baseline property.

traitAlignmentAdjust

public int traitAlignmentAdjust(FObj fobj,
                                org.axsl.fo.FoContext context,
                                org.axsl.fo.FoInlineContext inlineContext)
Returns the alignment-adjust amount.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
inlineContext - An object that knows how to resolve FO Tree context issues that apply to inline objects.
Returns:
The alignment-adjust amount.

traitBaselineShift

public int traitBaselineShift(FObj fobj,
                              org.axsl.fo.FoContext context)
Returns the baseline-shift property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The baseline-shift property.

traitDominantBaseline

public org.axsl.common.value.Baseline traitDominantBaseline(FObj fobj,
                                                            org.axsl.fo.FoContext context)
Returns the dominant-baseline property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The dominant-baseline property.

traitLastLineEndIndent

public int traitLastLineEndIndent(FObj fobj,
                                  org.axsl.fo.FoContext context)
Returns the last-line-end-indent property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The last-line-end-indent property.

traitLetterSpacingMin

public int traitLetterSpacingMin(FObj fobj,
                                 org.axsl.fo.FoContext context)
Returns the letter-spacing.minimum property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The letter-spacing.minimum property.

traitLetterSpacingOpt

public int traitLetterSpacingOpt(FObj fobj,
                                 org.axsl.fo.FoContext context)
Returns the letter-spacing.optimum property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The letter-spacing.optimum property.

traitLetterSpacingMax

public int traitLetterSpacingMax(FObj fobj,
                                 org.axsl.fo.FoContext context)
Returns the letter-spacing.maximum property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The letter-spacing.maximum property.

traitLetterSpacingConditionality

public org.axsl.common.value.Conditionality traitLetterSpacingConditionality()
Returns the letter-spacing.conditionality property.

Returns:
The letter-spacing.conditionality property.

traitLetterSpacingPrecedence

public int traitLetterSpacingPrecedence()
Returns the letter-spacing.precedence property.

Returns:
The letter-spacing.precedence property.

traitOrphans

public int traitOrphans(FObj fobj,
                        org.axsl.fo.FoContext context)
Returns the orphans property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The orphans property.

traitWidows

public int traitWidows(FObj fobj,
                       org.axsl.fo.FoContext context)
Returns the widows property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The widows property.

traitIndicateDestination

public boolean traitIndicateDestination(FObj fobj,
                                        org.axsl.fo.FoContext context)
Returns the indicate-destination property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The indicate-destination property.

traitAutoRestore

public boolean traitAutoRestore(FObj fobj,
                                org.axsl.fo.FoContext context)
Returns the auto-restore property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The auto-restore property.

traitEndsRow

public boolean traitEndsRow(FObj fobj,
                            org.axsl.fo.FoContext context)
Returns the ends-row property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The ends-row property.

traitStartsRow

public boolean traitStartsRow(FObj fobj,
                              org.axsl.fo.FoContext context)
Returns the starts-row property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The starts-row property.

traitScoreSpaces

public boolean traitScoreSpaces(FObj fobj,
                                org.axsl.fo.FoContext context)
Returns the score-spaces property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The score-spaces property.

traitTreatAsWordSpace

public boolean traitTreatAsWordSpace(FObj fobj,
                                     org.axsl.fo.FoContext context,
                                     char character)
Returns the treat-as-word-space property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
character - The character to be tested.
Returns:
The treat-as-word-space property.

traitColorProfileName

public String traitColorProfileName(FObj fobj,
                                    org.axsl.fo.FoContext context)
Returns the color-profile-name property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The color-profile-name property.

traitCaseName

public String traitCaseName(FObj fobj,
                            org.axsl.fo.FoContext context)
Returns the case-name property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The case-name property.

traitContentType

public String traitContentType(FObj fobj)
Returns the content-type property.

Parameters:
fobj - The FObj to which the property belongs.
Returns:
The content-type property.

traitAbsolutePosition

public FoValue traitAbsolutePosition(FObj fobj,
                                     org.axsl.fo.FoContext context)
Returns the absolute-position property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The absolute-position property.

traitBackgroundAttachment

public FoValue traitBackgroundAttachment(FObj fobj,
                                         org.axsl.fo.FoContext context)
Returns the background-attachment property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The background-attachment property.

traitCaptionSide

public FoValue traitCaptionSide(FObj fobj,
                                org.axsl.fo.FoContext context)
Returns the caption-side property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The caption-side property.

traitDirection

public FoValue traitDirection(FObj fobj,
                              org.axsl.fo.FoContext context)
Returns the direction property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The direction property.

traitFontSelectionStrategy

public FoValue traitFontSelectionStrategy(FObj fobj,
                                          org.axsl.fo.FoContext context)
Returns the font-selection-strategy property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The font-selection-strategy property.

traitHyphenationKeep

public FoValue traitHyphenationKeep(FObj fobj,
                                    org.axsl.fo.FoContext context)
Returns the hyphenation-keep property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The hyphenation-keep property.

traitLinefeedTreatment

public FoValue traitLinefeedTreatment(FObj fobj,
                                      org.axsl.fo.FoContext context)
Returns the linefeed-treatment property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The linefeed-treatment property.

traitLineHeightShiftAdjustment

public FoValue traitLineHeightShiftAdjustment(FObj fobj,
                                              org.axsl.fo.FoContext context)
Returns the line-height-shift-adjustment property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The line-height-shift-adjustment property.

traitLineStackingStrategy

public FoValue traitLineStackingStrategy(FObj fobj,
                                         org.axsl.fo.FoContext context)
Returns the line-stacking-strategy property.

Parameters:
context - An object that knows how to resolve FO Tree context
fobj - The FObj to which the property belongs. issues.
Returns:
The line-stacking-strategy property.

traitRelativePosition

public FoValue traitRelativePosition(FObj fobj,
                                     org.axsl.fo.FoContext context)
Returns the relative-position property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The relative-position property.

traitScalingMethod

public FoValue traitScalingMethod(FObj fobj,
                                  org.axsl.fo.FoContext context)
Returns the scaling-method property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The scaling-method property.

traitSuppressAtLineBreak

public FoValue traitSuppressAtLineBreak(FObj fobj,
                                        org.axsl.fo.FoContext context)
Returns the suppress-at-line-break property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The suppress-at-line-break property.

traitUnicodeBidi

public FoValue traitUnicodeBidi(FObj fobj,
                                org.axsl.fo.FoContext context)
Returns the unicode-bidi property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The unicode-bidi property.

traitWhiteSpace

public FoValue traitWhiteSpace(FObj fobj,
                               org.axsl.fo.FoContext context)
Returns the white-space property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The white-space property.

traitWhiteSpaceTreatment

public FoValue traitWhiteSpaceTreatment(FObj fobj,
                                        org.axsl.fo.FoContext context)
Returns the white-space-treatment property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The white-space-treatment property.

traitCaseTitle

public String traitCaseTitle()
Returns the case-title property.

Returns:
The case-title property.

traitActiveState

public FoValue traitActiveState(FObj fobj,
                                org.axsl.fo.FoContext context)
Returns the active-state property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The active-state property.

traitClear

public FoValue traitClear(FObj fobj,
                          org.axsl.fo.FoContext context)
Returns the clear property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The clear property.

traitEmptyCells

public FoValue traitEmptyCells(FObj fobj,
                               org.axsl.fo.FoContext context)
Returns the empty-cells property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The empty-cells property.

traitFloat

public FoValue traitFloat(FObj fobj,
                          org.axsl.fo.FoContext context)
Returns the float property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The float property.

traitMediaUsage

public FoValue traitMediaUsage(FObj fobj,
                               org.axsl.fo.FoContext context)
Returns the media-usage property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The media-usage property.

traitPageBreakAfter

public FoValue traitPageBreakAfter(FObj fobj,
                                   org.axsl.fo.FoContext context)
Returns the page-break-after property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The page-break-after property.

traitPageBreakBefore

public FoValue traitPageBreakBefore(FObj fobj,
                                    org.axsl.fo.FoContext context)
Returns the page-break-before property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The page-break-before property.

traitPageBreakInside

public FoValue traitPageBreakInside(FObj fobj,
                                    org.axsl.fo.FoContext context)
Returns the page-break-inside property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The page-break-inside property.

traitReferenceOrientation

public FoValue traitReferenceOrientation(FObj fobj,
                                         org.axsl.fo.FoContext context)
Returns the reference-orientation property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The reference-orientation property.

traitRenderingIntent

public FoValue traitRenderingIntent(FObj fobj,
                                    org.axsl.fo.FoContext context)
Returns the rendering-intent property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The rendering-intent property.

traitShowDestination

public FoValue traitShowDestination(FObj fobj,
                                    org.axsl.fo.FoContext context)
Returns the show-destination property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The show-destination property.

traitSpeakHeader

public FoValue traitSpeakHeader(FObj fobj,
                                org.axsl.fo.FoContext context)
Returns the speak-header property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The speak-header property.

traitSpeak

public FoValue traitSpeak(FObj fobj,
                          org.axsl.fo.FoContext context)
Returns the speak property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The speak property.

traitSpeakNumeral

public FoValue traitSpeakNumeral(FObj fobj,
                                 org.axsl.fo.FoContext context)
Returns the speak-numeral property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The speak-numeral property.

traitSpeakPunctuation

public FoValue traitSpeakPunctuation(FObj fobj,
                                     org.axsl.fo.FoContext context)
Returns the speak-punctuation property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The speak-punctuation property.

traitStartingState

public FoValue traitStartingState(FObj fobj,
                                  org.axsl.fo.FoContext context)
Returns the starting-state property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The starting-state property.

traitTextTransform

public FoValue traitTextTransform(FObj fobj,
                                  org.axsl.fo.FoContext context)
Returns the text-transform property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The text-transform property.

traitVisibility

public FoValue traitVisibility(FObj fobj,
                               org.axsl.fo.FoContext context)
Returns the visibility property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The visibility property.

traitAzimuth

public float traitAzimuth(FObj fobj,
                          org.axsl.fo.FoContext context)
Returns the azimuth property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The azimuth property.

traitElevation

public float traitElevation(FObj fobj,
                            org.axsl.fo.FoContext context)
Returns the elevation property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The elevation property.

traitCueBefore

public String traitCueBefore(FObj fobj,
                             org.axsl.fo.FoContext context)
Returns the cue-before property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The cue-before property.

traitCueAfter

public String traitCueAfter(FObj fobj,
                            org.axsl.fo.FoContext context)
Returns the cue-after property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The cue-after property.

traitClipIsAuto

public boolean traitClipIsAuto(FObj fobj,
                               org.axsl.fo.FoContext context)
Indicates whether "clip" is "auto".

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
True iff the "clip" trait is "auto".

traitClip

public Shape traitClip(FObj fobj,
                       org.axsl.fo.FoContext context,
                       Shape containerShape)
Returns the clip property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
containerShape - The shape of the actual area in which the clipping will take place. All encapsulated dimensions are expressed in millipoints.
Returns:
The shape to which the contents should be clipped. All encapsulated dimensions are expressed in millipoints.

getBorderBeforePrecedence

public int getBorderBeforePrecedence(FObj fobj,
                                     org.axsl.fo.FoContext context)
Returns the border-before-precedence property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The border-before-precedence property.

getBorderAfterPrecedence

public int getBorderAfterPrecedence(FObj fobj,
                                    org.axsl.fo.FoContext context)
Returns the border-after-precedence property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The border-after-precedence property.

getBorderStartPrecedence

public int getBorderStartPrecedence(FObj fobj,
                                    org.axsl.fo.FoContext context)
Returns the border-start-precedence property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The border-start-precedence property.

getBorderEndPrecedence

public int getBorderEndPrecedence(FObj fobj,
                                  org.axsl.fo.FoContext context)
Returns the border-end-precedence property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The border-end-precedence property.

traitDestinationPlacementOffset

public int traitDestinationPlacementOffset(FObj fobj,
                                           org.axsl.fo.FoContext context)
Returns the destination-placement-offset property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The destination-placement-offset property.

traitZIndex

public int traitZIndex(FObj fobj,
                       org.axsl.fo.FoContext context)
Returns the z-index property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The z-index property.

traitZIndexIsAuto

public boolean traitZIndexIsAuto(FObj fobj,
                                 org.axsl.fo.FoContext context)
Indicates whether the z-index property value is auto.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
True iff the z-index property value is auto.

traitHyphLadderCount

public int traitHyphLadderCount(FObj fobj,
                                org.axsl.fo.FoContext context)
Returns the hyphenation-ladder-count property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The hyphenation-ladder-count property.

traitFontSizeAdjust

public double traitFontSizeAdjust(FObj fobj,
                                  org.axsl.fo.FoContext context)
Returns the font-size-adjust property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The font-size-adjust property.

traitSpeechRate

public double traitSpeechRate(FObj fobj,
                              org.axsl.fo.FoContext context)
Returns the speech-rate property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The speech-rate property.

traitPauseBefore

public double traitPauseBefore(FObj fobj,
                               org.axsl.fo.FoContext context)
Returns the pause-before property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The pause-before property.

traitPauseAfter

public double traitPauseAfter(FObj fobj,
                              org.axsl.fo.FoContext context)
Returns the pause-after property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The pause-after property.

traitPitch

public double traitPitch(FObj fobj,
                         org.axsl.fo.FoContext context)
Returns the pitch property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The pitch property.

traitPitchRange

public double traitPitchRange(FObj fobj,
                              org.axsl.fo.FoContext context)
Returns the pitch-range property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The pitch-range property.

traitVolume

public double traitVolume(FObj fobj,
                          org.axsl.fo.FoContext context)
Returns the volume property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The volume property.

traitPlayDuring

public String traitPlayDuring(FObj fobj,
                              org.axsl.fo.FoContext context)
Returns the play-during property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The play-during property.

traitPlayDuringMix

public boolean traitPlayDuringMix()
Returns the play-during.mix property.

Returns:
The play-during.mix property.

traitPlayDuringRepeat

public boolean traitPlayDuringRepeat()
Returns the play-during.repeat property.

Returns:
The play-during.repeat property.

getVoiceFamily

public String[] getVoiceFamily(FObj fobj,
                               org.axsl.fo.FoContext context)
Returns the voice-family property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The voice-family property.

traitRichness

public double traitRichness(FObj fobj,
                            org.axsl.fo.FoContext context)
Returns the richness property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The richness property.

traitStress

public double traitStress(FObj fobj,
                          org.axsl.fo.FoContext context)
Returns the stress property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The stress property.

traitScript

public String traitScript(FObj fobj,
                          org.axsl.fo.FoContext context)
Returns the script property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The script property.

traitSwitchTo

public FoValue traitSwitchTo()
Returns the switch-to property.

Returns:
The switch-to property.

traitSwitchToNames

public String[] traitSwitchToNames()
Returns the switch-to names.

Returns:
The switch-to names.

traitTextShadow

public org.axsl.common.value.ShadowEffect[] traitTextShadow(FObj fobj,
                                                            org.axsl.fo.FoContext context)
Returns the text-shadow property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The text-shadow property.

traitTargetProcessingContext

public String traitTargetProcessingContext()
Returns the target-processing-context property.

Returns:
The target-processing-context property.

traitTargetPresentationContext

public String traitTargetPresentationContext(FObj fobj)
Returns the target-presentation-context property.

Parameters:
fobj - The FObj to which the property belongs.
Returns:
The target-presentation-context property.

traitTargetStylesheet

public String traitTargetStylesheet()
Returns the target-stylesheet property.

Returns:
The target-stylesheet property.

traitGlyphOrientationHorizontal

public short traitGlyphOrientationHorizontal(FObj fobj,
                                             org.axsl.fo.FoContext context)
Returns the glyph-orientation-horizontal property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The glyph-orientation-horizontal property.

traitGlyphOrientationVertical

public short traitGlyphOrientationVertical(FObj fobj,
                                           org.axsl.fo.FoContext context)
Returns the glyph-orientation-vertical property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The glyph-orientation-vertical property.

traitBackgroundPositionHorizontal

public int traitBackgroundPositionHorizontal(FObj fobj,
                                             org.axsl.fo.FoContext context,
                                             int paddingRectangleWidth,
                                             int backgroundImageWidth)
Returns the background-position-horizontal property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
paddingRectangleWidth - The width of the padding rectangle.
backgroundImageWidth - The width of the background image.
Returns:
The background-position-horizontal property.

traitBackgroundPositionVertical

public int traitBackgroundPositionVertical(FObj fobj,
                                           org.axsl.fo.FoContext context,
                                           int paddingRectangleHeight,
                                           int backgroundImageHeight)
Returns the background-position-vertical property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
paddingRectangleHeight - The height of the padding rectangle.
backgroundImageHeight - The height of the background image.
Returns:
The background-position-vertical property.

traitWordSpacingMin

public int traitWordSpacingMin(FObj fobj,
                               org.axsl.fo.FoContext context)
Returns the word-spacing.minimum property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The word-spacing.minimum property.

traitWordSpacingOpt

public int traitWordSpacingOpt(FObj fobj,
                               org.axsl.fo.FoContext context)
Returns the word-spacing.optimum property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The word-spacing.optimum property.

traitWordSpacingMax

public int traitWordSpacingMax(FObj fobj,
                               org.axsl.fo.FoContext context)
Returns the word-spacing.maximum property.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
The word-spacing.maximum property.

traitWordSpacingConditionality

public org.axsl.common.value.Conditionality traitWordSpacingConditionality()
Returns the word-spacing.conditionality property.

Returns:
The word-spacing.conditionality property.

traitWordSpacingPrecedence

public int traitWordSpacingPrecedence()
Returns the word-spacing.precedence property.

Returns:
The word-spacing.precedence property.

getBPAxis

public org.axsl.common.value.AbsoluteAxis getBPAxis(FObj fobj,
                                                    org.axsl.fo.FoContext context)
Tells which axis (horizontal or vertical) is the block-progression axis.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
Either AXIS_HORIZONTAL or AXIS_VERTICAL, or -1 if writing-mode is invalid.

getIPAxis

public org.axsl.common.value.AbsoluteAxis getIPAxis(FObj fobj,
                                                    org.axsl.fo.FoContext context)
Tells which axis (horizontal or vertical) is the inline-progression axis.

Parameters:
fobj - The FObj to which the property belongs.
context - An object that knows how to resolve FO Tree context issues.
Returns:
Either AXIS_HORIZONTAL or AXIS_VERTICAL, or -1 if writing-mode is invalid.

convertFontSelectionStrategy

public static org.axsl.font.Font.SelectionStrategy convertFontSelectionStrategy(FoValue parsedFontSelectionStrategy)
Converts an FO-oriented font-selection-strategy to a font-oriented font-selection-strategy.

Parameters:
parsedFontSelectionStrategy - The FO-oriented font-selection-strategy.
Returns:
The equivalent font-oriented font-selection-strategy.

convertFontStyle

public static org.axsl.font.Font.Style convertFontStyle(FoValue parsedFontStyle)
Converts an FO-oriented font-style to a font-oriented font-style.

Parameters:
parsedFontStyle - The FO-oriented font-style.
Returns:
The equivalent font-oriented font-style.

qtyProperties

public int qtyProperties()
Returns the number of properties in this list.

Returns:
The number of properties in this list.

traitAllowedHeightScale

public float[] traitAllowedHeightScale(FObj fobj)
Returns the allowed-height-scale property.

Parameters:
fobj - The FObj to which the property belongs.
Returns:
The allowed-height-scale property.

traitAllowedWidthScale

public float[] traitAllowedWidthScale(FObj fobj)
Returns the allowed-width-scale property.

Parameters:
fobj - The FObj to which the property belongs.
Returns:
The allowed-width-scale property.

isIpdAuto

public boolean isIpdAuto(FObj fobj)
Indicates whether this object's inline-progression-dimension is "auto".

Parameters:
fobj - The FObj to which the property belongs.
Returns:
True iff this object's inline-progression-dimension is "auto".

getFlowMapName

public String getFlowMapName()
Returns the flow-map-name property.

Returns:
The flow-map-name property, or null if the property is not specified.

getFlowMapReference

public String getFlowMapReference()
Returns the flow-map-reference property.

Returns:
The flow-map-reference property, or null if the property is not specified.

getFlowNameReference

public String getFlowNameReference()
Returns the flow-name-reference property.

Returns:
The flow-name-reference property, or null if the property is not specified.

getRegionNameReference

public String getRegionNameReference()
Returns the region-name-reference property.

Returns:
The region-name-reference property, or null if the property is not specified.


Copyright © 2017. All rights reserved.