Uses of Interface
org.apache.fop.datatypes.PercentBaseContext
Package
Description
XSL Datatypes.
Classes for XSL expressions and functions.
All the pagination and declaration formatting objects.
Classes representing the various property types as well as supporting data structures for the FO tree.
Classes for font handling.
FOP's layout engine.
Layout managers for inline formatting objects and line building.
Layout managers for lists.
Layout managers for tables.
Generic renderer interface.
Utility classes used in RTF file generation.
Trait classes and other supporting data structures.
-
Uses of PercentBaseContext in org.apache.fop.datatypes
Modifier and TypeClassDescriptionclass
Class to implement a simple lookup context for a single percent base value.final class
This base context is used during validation when the actual base values are still unknown but should still already be checked.Modifier and TypeMethodDescriptionstatic PercentBaseContext
ValidationPercentBaseContext.getPseudoContext()
Modifier and TypeMethodDescriptionint
LengthBase.getBaseLength
(PercentBaseContext context) int
PercentBase.getBaseLength
(PercentBaseContext context) double
Numeric.getNumericValue
(PercentBaseContext context) Return the value of this Numericint
Length.getValue
(PercentBaseContext context) Returns the length in 1/1000ths of a point (millipoints)int
Numeric.getValue
(PercentBaseContext context) Returns the value of this numeric as an int.ModifierConstructorDescriptionSimplePercentBaseContext
(PercentBaseContext parentContext, int lengthBase, int lengthBaseValue) -
Uses of PercentBaseContext in org.apache.fop.fo.expr
Modifier and TypeMethodDescriptionstatic Numeric
NumericOp.abs2
(Numeric op, PercentBaseContext context) Return the absolute value of a Numeric.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.divide2
(Numeric op1, Numeric op2, PercentBaseContext context) Divide the two operands with a percentage context and return a new Numeric representing the result.double
NumericProperty.getNumericValue
(PercentBaseContext context) Return the value of this Numericdouble
RelativeNumericProperty.getNumericValue
(PercentBaseContext context) Return the value of this Numericint
NumericProperty.getValue
(PercentBaseContext context) Returns the value of this numeric as an int.int
RelativeNumericProperty.getValue
(PercentBaseContext context) Returns the length in 1/1000ths of a point (millipoints)static Numeric
NumericOp.max2
(Numeric op1, Numeric op2, PercentBaseContext context) Return the larger of the two Numerics.static Numeric
NumericOp.min2
(Numeric op1, Numeric op2, PercentBaseContext context) Return the smaller of the two Numerics.static Numeric
NumericOp.modulo2
(Numeric op1, Numeric op2, PercentBaseContext context) Return the remainder of a division of the two operand Numeric.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.negate2
(Numeric op, PercentBaseContext context) Return the negation of a Numeric.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. -
Uses of PercentBaseContext in org.apache.fop.fo.pagination
Modifier and TypeMethodDescriptionprotected PercentBaseContext
Region.getPageHeightContext
(int lengthBase) Get the page-width contextprotected final PercentBaseContext
SimplePageMaster.getPageHeightContext
(int lengthBase) Gets the context for the height of the page-reference-area, taking into account the reference-orientation.protected PercentBaseContext
Region.getPageWidthContext
(int lengthBase) Get the page-width contextprotected final PercentBaseContext
SimplePageMaster.getPageWidthContext
(int lengthBase) Gets the context for the width of the page-reference-area, taking into account the reference-orientation.Modifier and TypeMethodDescriptionprotected void
RegionBA.adjustIPD
(Rectangle vpRefRect, WritingMode wm, PercentBaseContext siblingContext) Adjust the viewport reference rectangle for a region as a function of precedence.protected void
RegionSE.adjustIPD
(Rectangle vpRefRect, WritingMode wm, PercentBaseContext siblingContext) Adjust the viewport reference rectangle for a region as a function of precedence. -
Uses of PercentBaseContext in org.apache.fop.fo.properties
Modifier and TypeMethodDescriptionint
CommonBorderPaddingBackground.getBorderRadiusEnd
(int side, boolean discard, PercentBaseContext context) Returns the border corner radius of the ending edge i.e.int
CommonBorderPaddingBackground.getBorderRadiusStart
(int side, boolean discard, PercentBaseContext context) Returns the border corner radius of the starting edge i.e.int
CommonBorderPaddingBackground.getBPPaddingAndBorder
(boolean discard, PercentBaseContext context) Return all the border and padding height in the block progression dimension.int
CommonBorderPaddingBackground.getIPPaddingAndBorder
(boolean discard, PercentBaseContext context) Return all the border and padding width in the inline progression dimension.int
CondLengthProperty.getLengthValue
(PercentBaseContext context) Returns the computed length value.LengthRangeProperty.getMaximum
(PercentBaseContext context) LengthRangeProperty.getMinimum
(PercentBaseContext context) double
EnumLength.getNumericValue
(PercentBaseContext context) Return the value of this Numericdouble
EnumNumber.getNumericValue
(PercentBaseContext context) Return the value of this Numericdouble
FixedLength.getNumericValue
(PercentBaseContext context) Return the value of this Numericdouble
NumberProperty.getNumericValue
(PercentBaseContext context) Return the value of this Numeric.double
PercentLength.getNumericValue
(PercentBaseContext context) Return the value of this Numericdouble
TableColLength.getNumericValue
(PercentBaseContext context) Return the value of this NumericLengthRangeProperty.getOptimum
(PercentBaseContext context) int
CommonBorderPaddingBackground.getPadding
(int side, boolean discard, PercentBaseContext context) Return the padding for the given side, taking into account the conditionality and evaluating any percentages in the given context.int
CommonBorderPaddingBackground.getPaddingAfter
(boolean discard, PercentBaseContext context) int
CommonBorderPaddingBackground.getPaddingBefore
(boolean discard, PercentBaseContext context) int
CommonBorderPaddingBackground.getPaddingEnd
(boolean discard, PercentBaseContext context) int
CommonBorderPaddingBackground.getPaddingStart
(boolean discard, PercentBaseContext context) int
EnumLength.getValue
(PercentBaseContext context) Returns the length in 1/1000ths of a point (millipoints)int
EnumNumber.getValue
(PercentBaseContext context) Returns the value of this numeric as an int.int
FixedLength.getValue
(PercentBaseContext context) Returns the length in 1/1000ths of a point (millipoints)int
NumberProperty.getValue
(PercentBaseContext context) Return the valueint
PercentLength.getValue
(PercentBaseContext context) Returns the length in 1/1000ths of a point (millipoints)int
TableColLength.getValue
(PercentBaseContext context) Returns the length in 1/1000ths of a point (millipoints)boolean
CommonBorderPaddingBackground.hasPadding
(PercentBaseContext context) LengthRangeProperty.toMinOptMax
(PercentBaseContext context) Converts thisLengthRangeProperty
to aMinOptMax
. -
Uses of PercentBaseContext in org.apache.fop.fonts
Modifier and TypeMethodDescriptionstatic Font
FontSelector.selectFontForCharacter
(Character fobj, PercentBaseContext context) Selects a font which is able to display the given character.static Font
FontSelector.selectFontForCharacterInText
(char c, FOText text, PercentBaseContext context) Selects a font which is able to display the given character.static Font
FontSelector.selectFontForCharactersInText
(CharSequence charSeq, int firstIndex, int breakIndex, FOText text, PercentBaseContext context) Selects a font which is able to display the most of the given characters. -
Uses of PercentBaseContext in org.apache.fop.layoutmgr
Modifier and TypeInterfaceDescriptioninterface
The interface for LayoutManagers which generate block areasinterface
The interface for all LayoutManagers.Modifier and TypeClassDescriptionclass
The base class for nearly all LayoutManagers.class
The base class for most LayoutManagers.class
Abstract base class for a page sequence layout manager.class
LayoutManager for a block-container FO.class
LayoutManager for a block FO.class
Base LayoutManager class for all areas which stack their child areas in the block-progression direction, such as Flow, Block, ListBlock.class
LayoutManager for an external-document extension element.class
class
LayoutManager for an fo:flow object.class
Layout manager for footnote bodies.class
class
class
LayoutManager for a PageSequence.class
class
A block-stacking layout manager for an FO that supports spaces, border and padding.class
LayoutManager for an fo:flow object.Modifier and TypeMethodDescriptionstatic void
TraitSetter.addBackground
(Area area, CommonBorderPaddingBackground backProps, PercentBaseContext context) Add background to an area.static void
TraitSetter.addBackground
(Area area, CommonBorderPaddingBackground backProps, PercentBaseContext context, int ipdShift, int bpdShift, int referenceIPD, int referenceBPD) Add background to an area.static void
TraitSetter.addBorders
(Area area, CommonBorderPaddingBackground borderProps, boolean discardBefore, boolean discardAfter, boolean discardStart, boolean discardEnd, PercentBaseContext context) Add borders to an area.static void
TraitSetter.addBorders
(Area area, CommonBorderPaddingBackground borderProps, PercentBaseContext context) Deprecated.Call the other addBorders() method and addPadding separately.static void
TraitSetter.addMargins
(Area area, CommonBorderPaddingBackground bpProps, int startIndent, int endIndent, PercentBaseContext context) Add space to a block area.static void
TraitSetter.addMargins
(Area area, CommonBorderPaddingBackground bpProps, CommonMarginBlock marginProps, PercentBaseContext context) Add space to a block area.static void
TraitSetter.addPadding
(Area area, CommonBorderPaddingBackground bordProps, boolean discardBefore, boolean discardAfter, boolean discardStart, boolean discardEnd, PercentBaseContext context) Add padding to an area.static void
TraitSetter.setBorderPaddingTraits
(Area area, CommonBorderPaddingBackground bpProps, boolean isNotFirst, boolean isNotLast, PercentBaseContext context) Sets border and padding traits on areas.ModifierConstructorDescriptionBorderElement
(Position position, CondLengthProperty condLength, RelSide side, boolean isFirst, boolean isLast, PercentBaseContext context) Main constructorBorderOrPaddingElement
(Position position, CondLengthProperty condLength, RelSide side, boolean isFirst, boolean isLast, PercentBaseContext context) Main constructorPaddingElement
(Position position, CondLengthProperty condLength, RelSide side, boolean isFirst, boolean isLast, PercentBaseContext context) Main constructorSpaceElement
(Position position, SpaceProperty space, RelSide side, boolean isFirst, boolean isLast, PercentBaseContext context) Main constructor -
Uses of PercentBaseContext in org.apache.fop.layoutmgr.inline
Modifier and TypeInterfaceDescriptioninterface
The interface for LayoutManagers which generate inline areasModifier and TypeClassDescriptionclass
LayoutManager handling the common tasks for the fo:instream-foreign-object and fo:external-graphics formatting objectsclass
LayoutManager for the fo:page-number-citation(-last) formatting objectclass
LayoutManager for the fo:basic-link formatting objectclass
Layout manager for fo:bidi-override.class
LayoutManager for the fo:character formatting objectclass
Content Layout Manager.class
LayoutManager for the fo:external-graphic formatting objectclass
class
Layout manager for fo:footnote.class
This creates a single inline container area after laying out the child block areas.class
LayoutManager for objects which stack children in the inline direction, such as Inline or Lineclass
Class modelling the commonalities of layoutmanagers for objects which stack children in the inline direction, such as Inline or Line.class
LayoutManager for the fo:instream-foreign-object formatting objectclass
LayoutManager for the fo:leader formatting objectclass
Base LayoutManager for leaf-node FObj, ie: ones which have no children.class
LayoutManager for lines.class
LayoutManager for the fo:page-number-citation-last formatting object.class
LayoutManager for the fo:page-number-citation formatting object.class
LayoutManager for the fo:page-number formatting objectclass
LayoutManager for text (a sequence of characters) which generates one or more inline areas.class
This is the layout manager for the fo:wrapper formatting object.ModifierConstructorDescriptionImageLayout
(GraphicsProperties props, PercentBaseContext percentBaseContext, Dimension intrinsicSize) Main constructor -
Uses of PercentBaseContext in org.apache.fop.layoutmgr.list
Modifier and TypeClassDescriptionclass
LayoutManager for a list-block FO.class
LayoutManager for a list-item-label or list-item-body FO.class
LayoutManager for a list-item FO. -
Uses of PercentBaseContext in org.apache.fop.layoutmgr.table
Modifier and TypeClassDescriptionclass
LayoutManager for a table-and-caption FO.class
LayoutManager for a table-caption FO.class
LayoutManager for a table-cell FO.class
Layout manager for table contents, particularly managing the creation of combined element lists.class
LayoutManager for a table FO.Modifier and TypeMethodDescriptionfloat
ColumnSetup.computeTableUnit
(PercentBaseContext percentBaseContext, int contentAreaIPD) Works out the base unit for resolving proportional-column-width() [p-c-w(x) = x * base_unit_ipd]int
ColumnSetup.getSumOfColumnWidths
(PercentBaseContext context) Calculates the sum of all column widths.int
ColumnSetup.getXOffset
(int col, int nrColSpan, PercentBaseContext context) Determine the X offset of the indicated column, where this offset denotes the left edge of the column irrespective of writing mode. -
Uses of PercentBaseContext in org.apache.fop.render
Modifier and TypeClassDescriptionfinal class
A dummy implementation of PercentBaseContext -
Uses of PercentBaseContext in org.apache.fop.render.rtf.rtflib.tools
Modifier and TypeClassDescriptionclass
PercentBaseContext implementation to track base widths for percentage calculations. -
Uses of PercentBaseContext in org.apache.fop.traits
ModifierConstructorDescriptionSpaceVal
(SpaceProperty spaceprop, PercentBaseContext context) Constructor for SpaceVal objects based on Space objects.