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

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

- Packages that use Numeric
  Package | Description
  --- | ---
  org.apache.fop.datatypes | XSL Datatypes.
  org.apache.fop.fo.expr | Classes for XSL expressions and functions.
  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 | FOP's layout engine.

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

    Subinterfaces of Numeric in org.apache.fop.datatypes
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `Length` A length quantity in XSL

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

    Classes in org.apache.fop.fo.expr that implement Numeric
    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 Numeric
    Modifier and Type | Method and Description
    --- | ---
    `static Numeric` | NumericOp.`abs(Numeric op)` Return the absolute value of a Numeric.
    `static Numeric` | NumericOp.`abs2(Numeric op, PercentBaseContext context)` Return the absolute value of a Numeric.
    `static Numeric` | NumericOp.`addition(Numeric op1, Numeric op2)` Add the two operands and return a new Numeric representing the result.
    `static Numeric` | NumericOp.`addition2(Numeric op1, Numeric op2, PercentBaseContext context)` Add the two operands with a percentage context and return a new Numeric representing the result.
    `static Numeric` | NumericOp.`divide(Numeric op1, Numeric op2)` Divide the second operand into the first and return a new Numeric representing the result.
    `static Numeric` | NumericOp.`divide2(Numeric op1, Numeric op2, PercentBaseContext context)` Divide the two operands with a percentage context and return a new Numeric representing the result.
    `Numeric` | NumericProperty.`getNumeric()` This method expects to be overridden by subclasses
    `Numeric` | RelativeNumericProperty.`getNumeric()`
    `static Numeric` | NumericOp.`max(Numeric op1, Numeric op2)` Return the larger of the two Numerics.
    `static Numeric` | NumericOp.`max2(Numeric op1, Numeric op2, PercentBaseContext context)` Return the larger of the two Numerics.
    `static Numeric` | NumericOp.`min(Numeric op1, Numeric op2)` Return the smaller of two Numerics.
    `static Numeric` | NumericOp.`min2(Numeric op1, Numeric op2, PercentBaseContext context)` Return the smaller of the two Numerics.
    `static Numeric` | NumericOp.`modulo(Numeric op1, Numeric op2)` Return the remainder of a division of the two operand Numeric.
    `static Numeric` | NumericOp.`modulo2(Numeric op1, Numeric op2, PercentBaseContext context)` Return the remainder of a division of the two operand Numeric.
    `static Numeric` | NumericOp.`multiply(Numeric op1, Numeric op2)` Multiply the two operands and return a new Numeric representing the result.
    `static Numeric` | NumericOp.`multiply2(Numeric op1, Numeric op2, PercentBaseContext context)` Multiply the two operands with a percentage context and return a new Numeric representing the result.
    `static Numeric` | NumericOp.`negate(Numeric op)` Return the negation of a Numeric.
    `static Numeric` | NumericOp.`negate2(Numeric op, PercentBaseContext context)` Return the negation of a Numeric.
    `static Numeric` | NumericOp.`subtraction(Numeric op1, Numeric op2)` Add the second operand from the first and return a new Numeric representing the result.
    `static Numeric` | NumericOp.`subtraction2(Numeric op1, Numeric op2, PercentBaseContext context)` Subtract the two operands with a percentage context and return a new Numeric representing the result.

    Methods in org.apache.fop.fo.expr with parameters of type Numeric
    Modifier and Type | Method and Description
    --- | ---
    `static Numeric` | NumericOp.`abs(Numeric op)` Return the absolute value of a Numeric.
    `static Numeric` | NumericOp.`abs2(Numeric op, PercentBaseContext context)` Return the absolute value of a Numeric.
    `static Numeric` | NumericOp.`addition(Numeric op1, Numeric op2)` Add the two operands and return a new Numeric representing the result.
    `static Numeric` | NumericOp.`addition2(Numeric op1, Numeric op2, PercentBaseContext context)` Add the two operands with a percentage context and return a new Numeric representing the result.
    `static Numeric` | NumericOp.`divide(Numeric op1, Numeric op2)` Divide the second operand into the first and return a new Numeric representing the result.
    `static Numeric` | NumericOp.`divide2(Numeric op1, Numeric op2, PercentBaseContext context)` Divide the two operands with a percentage context and return a new Numeric representing the result.
    `static Numeric` | NumericOp.`max(Numeric op1, Numeric op2)` Return the larger of the two Numerics.
    `static Numeric` | NumericOp.`max2(Numeric op1, Numeric op2, PercentBaseContext context)` Return the larger of the two Numerics.
    `static Numeric` | NumericOp.`min(Numeric op1, Numeric op2)` Return the smaller of two Numerics.
    `static Numeric` | NumericOp.`min2(Numeric op1, Numeric op2, PercentBaseContext context)` Return the smaller of the two Numerics.
    `static Numeric` | NumericOp.`modulo(Numeric op1, Numeric op2)` Return the remainder of a division of the two operand Numeric.
    `static Numeric` | NumericOp.`modulo2(Numeric op1, Numeric op2, PercentBaseContext context)` Return the remainder of a division of the two operand Numeric.
    `static Numeric` | NumericOp.`multiply(Numeric op1, Numeric op2)` Multiply the two operands and return a new Numeric representing the result.
    `static Numeric` | NumericOp.`multiply2(Numeric op1, Numeric op2, PercentBaseContext context)` Multiply the two operands with a percentage context and return a new Numeric representing the result.
    `static Numeric` | NumericOp.`negate(Numeric op)` Return the negation of a Numeric.
    `static Numeric` | NumericOp.`negate2(Numeric op, PercentBaseContext context)` Return the negation of a Numeric.
    `static Numeric` | NumericOp.`subtraction(Numeric op1, Numeric op2)` Add the second operand from the first and return a new Numeric representing the result.
    `static Numeric` | NumericOp.`subtraction2(Numeric op1, Numeric op2, PercentBaseContext context)` Subtract the two operands with a percentage context and return a new Numeric representing the result.

    Constructors in org.apache.fop.fo.expr with parameters of type Numeric
    Constructor and Description
    `RelativeNumericProperty(int operation, Numeric op)` Constructor for a one argument operation.
    `RelativeNumericProperty(int operation, Numeric op1, Numeric op2)` Constructor for a two argument operation.

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

    Methods in org.apache.fop.fo.flow that return Numeric
    Modifier and Type | Method and Description
    --- | ---
    `Numeric` | Block.`getHyphenationLadderCount()`

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

    Methods in org.apache.fop.fo.flow.table that return Numeric
    Modifier and Type | Method and Description
    --- | ---
    `Numeric` | TableFObj.`getBorderPrecedence(int side)` Return the value for the "border-precedence" property for the given side.

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

    Fields in org.apache.fop.fo.pagination declared as Numeric
    Modifier and Type | Field and Description
    --- | ---
    `protected Numeric` | AbstractPageSequence.`initialPageNumber` initial page number

    Methods in org.apache.fop.fo.pagination that return Numeric
    Modifier and Type | Method and Description
    --- | ---
    `Numeric` | AbstractPageSequence.`getInitialPageNumber()` Get the value of the `initial-page-number` property.

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

    Classes in org.apache.fop.fo.properties that implement Numeric
    Modifier and Type | Class and Description
    --- | ---
    `class` | `EnumLength` A length quantity in XSL which is specified as an enum, such as "auto"
    `class` | `EnumNumber` A number quantity in XSL which is specified as an enum, such as "no-limit".
    `class` | `FixedLength` An absolute length quantity in XSL
    `class` | `LengthProperty` Superclass for properties wrapping a Length value.
    `class` | `NumberProperty` Class for handling numeric properties
    `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 Numeric
    Modifier and Type | Field and Description
    --- | ---
    `Numeric` | CommonFont.`fontSizeAdjust` The "font-size-adjust" property.

    Methods in org.apache.fop.fo.properties that return Numeric
    Modifier and Type | Method and Description
    --- | ---
    `Numeric` | CommonFont.`getFontSizeAdjust()`
    `Numeric` | EnumNumber.`getNumeric()` This method expects to be overridden by subclasses
    `Numeric` | NumberProperty.`getNumeric()` Convert NumberProperty to Numeric object
    `Numeric` | LengthProperty.`getNumeric()`
    `Numeric` | Property.`getNumeric()` This method expects to be overridden by subclasses

  - ### Uses of Numeric in org.apache.fop.layoutmgr

    Methods in org.apache.fop.layoutmgr with parameters of type Numeric
    Modifier and Type | Method and Description
    --- | ---
    `void` | AbstractPageSequenceLayoutManager.`doForcePageCount(Numeric nextPageSeqInitialPageNumber)` Act upon the force-page-count trait, in relation to the initial-page-number trait of the following page-sequence.
    `void` | TopLevelLayoutManager.`doForcePageCount(Numeric nextPageSeqInitialPageNumber)` Act upon the force-page-count trait, in relation to the initial-page-number trait of the following page-sequence.

Copyright © 2025 Apache Software Foundation. All rights reserved.