Uses of Interface
org.apache.fop.datatypes.PercentBaseContext
Packages that use 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
Classes in org.apache.fop.datatypes that implement PercentBaseContextModifier and TypeClassDescriptionclassClass to implement a simple lookup context for a single percent base value.final classThis base context is used during validation when the actual base values are still unknown but should still already be checked.Methods in org.apache.fop.datatypes that return PercentBaseContextModifier and TypeMethodDescriptionstatic PercentBaseContextValidationPercentBaseContext.getPseudoContext()Methods in org.apache.fop.datatypes with parameters of type PercentBaseContextModifier and TypeMethodDescriptionintLengthBase.getBaseLength(PercentBaseContext context) intPercentBase.getBaseLength(PercentBaseContext context) doubleNumeric.getNumericValue(PercentBaseContext context) Return the value of this NumericintLength.getValue(PercentBaseContext context) Returns the length in 1/1000ths of a point (millipoints)intNumeric.getValue(PercentBaseContext context) Returns the value of this numeric as an int.Constructors in org.apache.fop.datatypes with parameters of type PercentBaseContextModifierConstructorDescriptionSimplePercentBaseContext(PercentBaseContext parentContext, int lengthBase, int lengthBaseValue) -
Uses of PercentBaseContext in org.apache.fop.fo.expr
Methods in org.apache.fop.fo.expr with parameters of type PercentBaseContextModifier and TypeMethodDescriptionstatic NumericNumericOp.abs2(Numeric op, PercentBaseContext context) Return the absolute value of a Numeric.static NumericNumericOp.addition2(Numeric op1, Numeric op2, PercentBaseContext context) Add the two operands with a percentage context and return a new Numeric representing the result.static NumericNumericOp.divide2(Numeric op1, Numeric op2, PercentBaseContext context) Divide the two operands with a percentage context and return a new Numeric representing the result.doubleNumericProperty.getNumericValue(PercentBaseContext context) Return the value of this NumericdoubleRelativeNumericProperty.getNumericValue(PercentBaseContext context) Return the value of this NumericintNumericProperty.getValue(PercentBaseContext context) Returns the value of this numeric as an int.intRelativeNumericProperty.getValue(PercentBaseContext context) Returns the length in 1/1000ths of a point (millipoints)static NumericNumericOp.max2(Numeric op1, Numeric op2, PercentBaseContext context) Return the larger of the two Numerics.static NumericNumericOp.min2(Numeric op1, Numeric op2, PercentBaseContext context) Return the smaller of the two Numerics.static NumericNumericOp.modulo2(Numeric op1, Numeric op2, PercentBaseContext context) Return the remainder of a division of the two operand Numeric.static NumericNumericOp.multiply2(Numeric op1, Numeric op2, PercentBaseContext context) Multiply the two operands with a percentage context and return a new Numeric representing the result.static NumericNumericOp.negate2(Numeric op, PercentBaseContext context) Return the negation of a Numeric.static NumericNumericOp.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
Methods in org.apache.fop.fo.pagination that return PercentBaseContextModifier and TypeMethodDescriptionprotected PercentBaseContextRegion.getPageHeightContext(int lengthBase) Get the page-width contextprotected final PercentBaseContextSimplePageMaster.getPageHeightContext(int lengthBase) Gets the context for the height of the page-reference-area, taking into account the reference-orientation.protected PercentBaseContextRegion.getPageWidthContext(int lengthBase) Get the page-width contextprotected final PercentBaseContextSimplePageMaster.getPageWidthContext(int lengthBase) Gets the context for the width of the page-reference-area, taking into account the reference-orientation.Methods in org.apache.fop.fo.pagination with parameters of type PercentBaseContextModifier and TypeMethodDescriptionprotected voidRegionBA.adjustIPD(Rectangle vpRefRect, WritingMode wm, PercentBaseContext siblingContext) Adjust the viewport reference rectangle for a region as a function of precedence.protected voidRegionSE.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
Methods in org.apache.fop.fo.properties with parameters of type PercentBaseContextModifier and TypeMethodDescriptionintCommonBorderPaddingBackground.getBorderRadiusEnd(int side, boolean discard, PercentBaseContext context) Returns the border corner radius of the ending edge i.e.intCommonBorderPaddingBackground.getBorderRadiusStart(int side, boolean discard, PercentBaseContext context) Returns the border corner radius of the starting edge i.e.intCommonBorderPaddingBackground.getBPPaddingAndBorder(boolean discard, PercentBaseContext context) Return all the border and padding height in the block progression dimension.intCommonBorderPaddingBackground.getIPPaddingAndBorder(boolean discard, PercentBaseContext context) Return all the border and padding width in the inline progression dimension.intCondLengthProperty.getLengthValue(PercentBaseContext context) Returns the computed length value.LengthRangeProperty.getMaximum(PercentBaseContext context) LengthRangeProperty.getMinimum(PercentBaseContext context) doubleEnumLength.getNumericValue(PercentBaseContext context) Return the value of this NumericdoubleEnumNumber.getNumericValue(PercentBaseContext context) Return the value of this NumericdoubleFixedLength.getNumericValue(PercentBaseContext context) Return the value of this NumericdoubleNumberProperty.getNumericValue(PercentBaseContext context) Return the value of this Numeric.doublePercentLength.getNumericValue(PercentBaseContext context) Return the value of this NumericdoubleTableColLength.getNumericValue(PercentBaseContext context) Return the value of this NumericLengthRangeProperty.getOptimum(PercentBaseContext context) intCommonBorderPaddingBackground.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.intCommonBorderPaddingBackground.getPaddingAfter(boolean discard, PercentBaseContext context) intCommonBorderPaddingBackground.getPaddingBefore(boolean discard, PercentBaseContext context) intCommonBorderPaddingBackground.getPaddingEnd(boolean discard, PercentBaseContext context) intCommonBorderPaddingBackground.getPaddingStart(boolean discard, PercentBaseContext context) intEnumLength.getValue(PercentBaseContext context) Returns the length in 1/1000ths of a point (millipoints)intEnumNumber.getValue(PercentBaseContext context) Returns the value of this numeric as an int.intFixedLength.getValue(PercentBaseContext context) Returns the length in 1/1000ths of a point (millipoints)intNumberProperty.getValue(PercentBaseContext context) Return the valueintPercentLength.getValue(PercentBaseContext context) Returns the length in 1/1000ths of a point (millipoints)intTableColLength.getValue(PercentBaseContext context) Returns the length in 1/1000ths of a point (millipoints)booleanCommonBorderPaddingBackground.hasPadding(PercentBaseContext context) LengthRangeProperty.toMinOptMax(PercentBaseContext context) Converts thisLengthRangePropertyto aMinOptMax. -
Uses of PercentBaseContext in org.apache.fop.fonts
Methods in org.apache.fop.fonts with parameters of type PercentBaseContextModifier and TypeMethodDescriptionstatic FontFontSelector.selectFontForCharacter(Character fobj, PercentBaseContext context) Selects a font which is able to display the given character.static FontFontSelector.selectFontForCharacterInText(char c, FOText text, PercentBaseContext context) Selects a font which is able to display the given character.static FontFontSelector.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
Subinterfaces of PercentBaseContext in org.apache.fop.layoutmgrModifier and TypeInterfaceDescriptioninterfaceThe interface for LayoutManagers which generate block areasinterfaceThe interface for all LayoutManagers.Classes in org.apache.fop.layoutmgr that implement PercentBaseContextModifier and TypeClassDescriptionclassThe base class for nearly all LayoutManagers.classThe base class for most LayoutManagers.classAbstract base class for a page sequence layout manager.classLayoutManager for a block-container FO.classLayoutManager for a block FO.classBase LayoutManager class for all areas which stack their child areas in the block-progression direction, such as Flow, Block, ListBlock.classLayoutManager for an external-document extension element.classclassLayoutManager for an fo:flow object.classLayout manager for footnote bodies.classclassclassLayoutManager for a PageSequence.classclassA block-stacking layout manager for an FO that supports spaces, border and padding.classLayoutManager for an fo:flow object.Methods in org.apache.fop.layoutmgr with parameters of type PercentBaseContextModifier and TypeMethodDescriptionstatic voidTraitSetter.addBackground(Area area, CommonBorderPaddingBackground backProps, PercentBaseContext context) Add background to an area.static voidTraitSetter.addBackground(Area area, CommonBorderPaddingBackground backProps, PercentBaseContext context, int ipdShift, int bpdShift, int referenceIPD, int referenceBPD) Add background to an area.static voidTraitSetter.addBorders(Area area, CommonBorderPaddingBackground borderProps, boolean discardBefore, boolean discardAfter, boolean discardStart, boolean discardEnd, PercentBaseContext context) Add borders to an area.static voidTraitSetter.addBorders(Area area, CommonBorderPaddingBackground borderProps, PercentBaseContext context) Deprecated.Call the other addBorders() method and addPadding separately.static voidTraitSetter.addMargins(Area area, CommonBorderPaddingBackground bpProps, int startIndent, int endIndent, PercentBaseContext context) Add space to a block area.static voidTraitSetter.addMargins(Area area, CommonBorderPaddingBackground bpProps, CommonMarginBlock marginProps, PercentBaseContext context) Add space to a block area.static voidTraitSetter.addPadding(Area area, CommonBorderPaddingBackground bordProps, boolean discardBefore, boolean discardAfter, boolean discardStart, boolean discardEnd, PercentBaseContext context) Add padding to an area.static voidTraitSetter.setBorderPaddingTraits(Area area, CommonBorderPaddingBackground bpProps, boolean isNotFirst, boolean isNotLast, PercentBaseContext context) Sets border and padding traits on areas.Constructors in org.apache.fop.layoutmgr with parameters of type PercentBaseContextModifierConstructorDescriptionBorderElement(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
Subinterfaces of PercentBaseContext in org.apache.fop.layoutmgr.inlineModifier and TypeInterfaceDescriptioninterfaceThe interface for LayoutManagers which generate inline areasClasses in org.apache.fop.layoutmgr.inline that implement PercentBaseContextModifier and TypeClassDescriptionclassLayoutManager handling the common tasks for the fo:instream-foreign-object and fo:external-graphics formatting objectsclassLayoutManager for the fo:page-number-citation(-last) formatting objectclassLayoutManager for the fo:basic-link formatting objectclassLayout manager for fo:bidi-override.classLayoutManager for the fo:character formatting objectclassContent Layout Manager.classLayoutManager for the fo:external-graphic formatting objectclassclassLayout manager for fo:footnote.classThis creates a single inline container area after laying out the child block areas.classLayoutManager for objects which stack children in the inline direction, such as Inline or LineclassClass modelling the commonalities of layoutmanagers for objects which stack children in the inline direction, such as Inline or Line.classLayoutManager for the fo:instream-foreign-object formatting objectclassLayoutManager for the fo:leader formatting objectclassBase LayoutManager for leaf-node FObj, ie: ones which have no children.classLayoutManager for lines.classLayoutManager for the fo:page-number-citation-last formatting object.classLayoutManager for the fo:page-number-citation formatting object.classLayoutManager for the fo:page-number formatting objectclassLayoutManager for text (a sequence of characters) which generates one or more inline areas.classThis is the layout manager for the fo:wrapper formatting object.Constructors in org.apache.fop.layoutmgr.inline with parameters of type PercentBaseContextModifierConstructorDescriptionImageLayout(GraphicsProperties props, PercentBaseContext percentBaseContext, Dimension intrinsicSize) Main constructor -
Uses of PercentBaseContext in org.apache.fop.layoutmgr.list
Classes in org.apache.fop.layoutmgr.list that implement PercentBaseContextModifier and TypeClassDescriptionclassLayoutManager for a list-block FO.classLayoutManager for a list-item-label or list-item-body FO.classLayoutManager for a list-item FO. -
Uses of PercentBaseContext in org.apache.fop.layoutmgr.table
Classes in org.apache.fop.layoutmgr.table that implement PercentBaseContextModifier and TypeClassDescriptionclassLayoutManager for a table-and-caption FO.classLayoutManager for a table-caption FO.classLayoutManager for a table-cell FO.classLayout manager for table contents, particularly managing the creation of combined element lists.classLayoutManager for a table FO.Methods in org.apache.fop.layoutmgr.table with parameters of type PercentBaseContextModifier and TypeMethodDescriptionfloatColumnSetup.computeTableUnit(PercentBaseContext percentBaseContext, int contentAreaIPD) Works out the base unit for resolving proportional-column-width() [p-c-w(x) = x * base_unit_ipd]intColumnSetup.getSumOfColumnWidths(PercentBaseContext context) Calculates the sum of all column widths.intColumnSetup.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
Classes in org.apache.fop.render that implement PercentBaseContextModifier and TypeClassDescriptionfinal classA dummy implementation of PercentBaseContext -
Uses of PercentBaseContext in org.apache.fop.render.rtf.rtflib.tools
Classes in org.apache.fop.render.rtf.rtflib.tools that implement PercentBaseContextModifier and TypeClassDescriptionclassPercentBaseContext implementation to track base widths for percentage calculations. -
Uses of PercentBaseContext in org.apache.fop.traits
Constructors in org.apache.fop.traits with parameters of type PercentBaseContextModifierConstructorDescriptionSpaceVal(SpaceProperty spaceprop, PercentBaseContext context) Constructor for SpaceVal objects based on Space objects.