Uses of Interface org.apache.fop.datatypes.Length (Apache FOP Core 2.11 API)
Date: 2025-04-24

## Uses of Interface
org.apache.fop.datatypes.Length

- Packages that use Length
  Package | Description
  --- | ---
  org.apache.fop.datatypes | XSL Datatypes.
  org.apache.fop.fo | Classes, constants and basic infrastructure for the FO tree.
  org.apache.fop.fo.expr | Classes for XSL expressions and functions.
  org.apache.fop.fo.extensions | Base classes for implementing extensions to XSL-FO.
  org.apache.fop.fo.flow | All the block- and inline-level flow formatting objects.
  org.apache.fop.fo.flow.table |
  org.apache.fop.fo.pagination | All the pagination and declaration formatting objects.
  org.apache.fop.fo.properties | Classes representing the various property types as well as supporting data structures for the FO tree.
  org.apache.fop.layoutmgr.inline | Layout managers for inline formatting objects and line building.
  org.apache.fop.render.rtf | RTF (Rich Text Format) Output Support

- - ### Uses of Length in org.apache.fop.datatypes

    Methods in org.apache.fop.datatypes that return Length
    Modifier and Type | Method and Description
    --- | ---
    `Length` | LengthBase.`getBaseLength()`

  - ### Uses of Length in org.apache.fop.fo

    Methods in org.apache.fop.fo that return Length
    Modifier and Type | Method and Description
    --- | ---
    `Length` | FOText.`getBaseLineShift()`
    `Length` | GraphicsProperties.`getContentHeight()`
    `Length` | GraphicsProperties.`getContentWidth()`
    `Length` | GraphicsProperties.`getHeight()`
    `Length` | XMLObj.`getIntrinsicAlignmentAdjust()` Retrieve the intrinsic alignment-adjust of the child element.
    `Length` | GraphicsProperties.`getWidth()`

  - ### Uses of Length in org.apache.fop.fo.expr

    Classes in org.apache.fop.fo.expr that implement Length
    Modifier and Type | Class and Description
    --- | ---
    `class` | `NumericProperty` A numeric property which hold the final absolute result of an expression calculations.
    `class` | `RelativeNumericProperty` This class represent a node in a property expression tree.

    Methods in org.apache.fop.fo.expr that return Length
    Modifier and Type | Method and Description
    --- | ---
    `Length` | PropertyInfo.`currentFontSize()`
    `Length` | NumericProperty.`getLength()` This method expects to be overridden by subclasses
    `Length` | RelativeNumericProperty.`getLength()` Cast this numeric as a Length.

  - ### Uses of Length in org.apache.fop.fo.extensions

    Methods in org.apache.fop.fo.extensions that return Length
    Modifier and Type | Method and Description
    --- | ---
    `Length` | ExternalDocument.`getContentHeight()`
    `Length` | ExternalDocument.`getContentWidth()`
    `Length` | ExternalDocument.`getHeight()`
    `Length` | ExternalDocument.`getWidth()`

  - ### Uses of Length in org.apache.fop.fo.flow

    Fields in org.apache.fop.fo.flow declared as Length
    Modifier and Type | Field and Description
    --- | ---
    `protected Length` | ChangeBar.`offset` The change bar offset.
    `protected Length` | ChangeBar.`width` The change bar width.

    Methods in org.apache.fop.fo.flow that return Length
    Modifier and Type | Method and Description
    --- | ---
    `Length` | Leader.`getAlignmentAdjust()`
    `Length` | AbstractPageNumberCitation.`getAlignmentAdjust()`
    `Length` | BasicLink.`getAlignmentAdjust()`
    `Length` | PageNumber.`getAlignmentAdjust()`
    `Length` | Inline.`getAlignmentAdjust()`
    `Length` | Character.`getAlignmentAdjust()`
    `Length` | AbstractGraphics.`getAlignmentAdjust()`
    `Length` | InlineContainer.`getAlignmentAdjust()`
    `Length` | Leader.`getBaselineShift()`
    `Length` | AbstractPageNumberCitation.`getBaselineShift()`
    `Length` | BasicLink.`getBaselineShift()`
    `Length` | PageNumber.`getBaselineShift()`
    `Length` | Inline.`getBaselineShift()`
    `Length` | Character.`getBaselineShift()`
    `Length` | AbstractGraphics.`getBaselineShift()`
    `Length` | InlineContainer.`getBaselineShift()`
    `Length` | AbstractGraphics.`getContentHeight()`
    `Length` | AbstractGraphics.`getContentWidth()`
    `Length` | AbstractGraphics.`getHeight()`
    `Length` | ExternalGraphic.`getIntrinsicAlignmentAdjust()`
    `Length` | InstreamForeignObject.`getIntrinsicAlignmentAdjust()`
    `abstract Length` | AbstractGraphics.`getIntrinsicAlignmentAdjust()`
    `Length` | Block.`getLastLineEndIndent()`
    `Length` | Leader.`getLeaderPatternWidth()`
    `Length` | ChangeBar.`getOffset()` Returns the change bar offset.
    `Length` | ListBlock.`getOrphanContentLimit()`
    `Length` | Leader.`getRuleThickness()`
    `Length` | Block.`getTextIndent()`
    `Length` | ListBlock.`getWidowContentLimit()`
    `Length` | ChangeBar.`getWidth()` Returns the change bar width.
    `Length` | AbstractGraphics.`getWidth()`

  - ### Uses of Length in org.apache.fop.fo.flow.table

    Methods in org.apache.fop.fo.flow.table that return Length
    Modifier and Type | Method and Description
    --- | ---
    `Length` | TableColumn.`getColumnWidth()` Get a `Length` instance corresponding to the `column-width` property.
    `Length` | TableRow.`getHeight()`
    `Length` | Table.`getOrphanContentLimit()`
    `Length` | Table.`getWidowContentLimit()`
    `Length` | TableCell.`getWidth()` Get the value for the `width` property

    Methods in org.apache.fop.fo.flow.table with parameters of type Length
    Modifier and Type | Method and Description
    --- | ---
    `void` | TableColumn.`setColumnWidth(Length columnWidth)` Sets the column width.

  - ### Uses of Length in org.apache.fop.fo.pagination

    Methods in org.apache.fop.fo.pagination that return Length
    Modifier and Type | Method and Description
    --- | ---
    `Length` | SideRegion.`getExtent()`
    `Length` | SimplePageMaster.`getPageHeight()`
    `Length` | SimplePageMaster.`getPageWidth()`

  - ### Uses of Length in org.apache.fop.fo.properties

    Classes in org.apache.fop.fo.properties that implement Length
    Modifier and Type | Class and Description
    --- | ---
    `class` | `EnumLength` A length quantity in XSL which is specified as an enum, such as "auto"
    `class` | `FixedLength` An absolute length quantity in XSL
    `class` | `LengthProperty` Superclass for properties wrapping a Length value.
    `class` | `PercentLength` a percent specified length quantity in XSL
    `class` | `TableColLength` A table-column width specification, possibly including some number of proportional "column-units".

    Fields in org.apache.fop.fo.properties declared as Length
    Modifier and Type | Field and Description
    --- | ---
    `Length` | CommonBorderPaddingBackground.`backgroundPositionHorizontal` The "background-position-horizontal" property.
    `Length` | CommonBorderPaddingBackground.`backgroundPositionVertical` The "background-position-vertical" property.
    `Length` | CommonBorderPaddingBackground.`backgroungImageTargetHeight`
    `Length` | CommonBorderPaddingBackground.`backgroungImageTargetWidth`
    `Length` | CommonRelativePosition.`bottom` The "bottom" property.
    `Length` | CommonAbsolutePosition.`bottom` The "bottom" property.
    `Length` | CommonMarginBlock.`endIndent` The "end-indent" property.
    `Length` | CommonFont.`fontSize` The "font-size" property.
    `Length` | CommonRelativePosition.`left` The "left" property.
    `Length` | CommonAbsolutePosition.`left` The "left" property.
    `Length` | CommonMarginBlock.`marginBottom` The "margin-bottom" property.
    `Length` | CommonMarginInline.`marginBottom` The "margin-bottom" property.
    `Length` | CommonMarginBlock.`marginLeft` The "margin-left" property.
    `Length` | CommonMarginInline.`marginLeft` The "margin-left" property.
    `Length` | CommonMarginBlock.`marginRight` The "margin-right" property.
    `Length` | CommonMarginInline.`marginRight` The "margin-right" property.
    `Length` | CommonMarginBlock.`marginTop` The "margin-top" property.
    `Length` | CommonMarginInline.`marginTop` The "margin-top" property.
    `Length` | CommonRelativePosition.`right` The "right" property.
    `Length` | CommonAbsolutePosition.`right` The "right" property.
    `Length` | CommonMarginBlock.`startIndent` The "start-indent" property.
    `Length` | CommonRelativePosition.`top` The "top" property.
    `Length` | CommonAbsolutePosition.`top` The "top" property.

    Methods in org.apache.fop.fo.properties that return Length
    Modifier and Type | Method and Description
    --- | ---
    `Length` | CommonBorderPaddingBackground.`getBackgroundPositionHorizontal()` Returns the "background-position-horizontal" property.
    `Length` | CommonBorderPaddingBackground.`getBackgroundPositionVertical()` Returns the "background-position-vertical" property.
    `Length` | CommonFont.`getFontSize()`
    `Length` | CondLengthProperty.`getLength()` TODO: Should we allow this?
    `Length` | NumberProperty.`getLength()` This method expects to be overridden by subclasses
    `Length` | LengthProperty.`getLength()`
    `Length` | Property.`getLength()` This method expects to be overridden by subclasses

  - ### Uses of Length in org.apache.fop.layoutmgr.inline

    Fields in org.apache.fop.layoutmgr.inline declared as Length
    Modifier and Type | Field and Description
    --- | ---
    `protected Length` | InlineLayoutManager.`alignmentAdjust` The alignment adjust property
    `protected Length` | InlineLayoutManager.`baselineShift` The baseline shift property

    Constructors in org.apache.fop.layoutmgr.inline with parameters of type Length
    Constructor and Description
    `LineLayoutManager(Block block, Length lh, int l, int f)` Create a new Line Layout Manager.

  - ### Uses of Length in org.apache.fop.render.rtf

    Methods in org.apache.fop.render.rtf with parameters of type Length
    Modifier and Type | Method and Description
    --- | ---
    `RtfAttributes` | FOPRtfAttributes.`setHalfPoints(String name, Length value)` Set an attribute that has a Length value (internal units in half-points)
    `RtfAttributes` | FOPRtfAttributes.`setTwips(String name, Length value)` Set an attribute that has a Length value (internal units in twips)

Copyright © 2025 Apache Software Foundation. All rights reserved.