Package | Description |
---|---|
org.apache.fop.datatypes |
XSL Datatypes.
|
org.apache.fop.event |
Subsystem for reporting events inside FOP to client applications.
|
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.flow.table | |
org.apache.fop.fo.properties |
Classes representing the various property types as well as supporting data structures for the FO tree.
|
org.apache.fop.util |
Various utility classes (I/O, codecs, color support, service discovers etc.).
|
Modifier and Type | Method and Description |
---|---|
int |
PercentBase.getBaseLength(PercentBaseContext context) |
int |
LengthBase.getBaseLength(PercentBaseContext context) |
Constructor and Description |
---|
LengthBase(PropertyList plist,
int baseType)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Class<PropertyException> |
PropertyExceptionFactory.getExceptionClass() |
Modifier and Type | Method and Description |
---|---|
void |
FOValidationEventProducer.invalidPropertyValue(Object source,
String elementName,
String propName,
String propValue,
PropertyException e,
Locator loc)
An invalid property value was encountered.
|
void |
FOValidationEventProducer.warnOnInvalidPropertyValue(Object source,
String elementName,
String propName,
String propValue,
PropertyException e,
Locator loc)
An invalid property value was encountered.
|
Modifier and Type | Method and Description |
---|---|
Property |
PropertyList.get(int propId)
Return the property on the current FlowObject.
|
Property |
StaticPropertyList.get(int propId,
boolean bTryInherit,
boolean bTryDefault)
Override PropertyList.get() and provides fast caching of previously
retrieved property values.
|
Property |
PropertyList.get(int propId,
boolean bTryInherit,
boolean bTryDefault)
Return the property on the current FlowObject.
|
CommonAbsolutePosition |
PropertyList.getAbsolutePositionProps()
Constructs a CommonAbsolutePosition object.
|
CommonAural |
PropertyList.getAuralProps()
Constructs a CommonAural object.
|
CommonBorderPaddingBackground |
PropertyList.getBorderPaddingBackgroundProps()
Constructs a BorderAndPadding object.
|
Property |
PropertyList.getExplicitOrShorthand(int propId)
Return the value explicitly specified on this FO.
|
CommonFont |
PropertyList.getFontProps()
Constructs a CommonFont object.
|
Property |
PropertyList.getFromParent(int propId)
Return the value of this property on the parent of this FO.
|
CommonHyphenation |
PropertyList.getHyphenationProps()
Constructs a CommonHyphenation object.
|
Property |
PropertyList.getInherited(int propId)
Return the value of this property inherited by this FO.
|
CommonMarginBlock |
PropertyList.getMarginBlockProps()
Constructs a CommonMarginBlock object.
|
CommonMarginInline |
PropertyList.getMarginInlineProps()
Constructs a CommonMarginInline object.
|
Property |
PropertyList.getNearestSpecified(int propId)
Return the "nearest" specified value for the given property.
|
CommonRelativePosition |
PropertyList.getRelativePositionProps()
Constructs a RelativePositionProps objects.
|
CommonTextDecoration |
PropertyList.getTextDecorationProps()
Constructs a CommonTextDecoration object.
|
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.
|
Length |
PropertyInfo.currentFontSize() |
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.
|
Property |
OCAColorFunction.eval(Property[] args,
PropertyInfo pInfo)
Evaluate the function
|
Property |
FromParentFunction.eval(Property[] args,
PropertyInfo pInfo)
Evaluate the function
|
Property |
MinFunction.eval(Property[] args,
PropertyInfo pInfo)
Evaluate the function
|
Property |
FromTableColumnFunction.eval(Property[] args,
PropertyInfo pInfo)
Evaluate the function
|
Property |
AbsFunction.eval(Property[] args,
PropertyInfo propInfo)
Evaluate the function
|
Property |
ProportionalColumnWidthFunction.eval(Property[] args,
PropertyInfo pInfo)
Evaluate the function
|
Property |
MaxFunction.eval(Property[] args,
PropertyInfo pInfo)
Evaluate the function
|
Property |
InheritedPropFunction.eval(Property[] args,
PropertyInfo pInfo)
Evaluate the function
|
Property |
FromNearestSpecifiedValueFunction.eval(Property[] args,
PropertyInfo pInfo)
Evaluate the function
|
Property |
BodyStartFunction.eval(Property[] args,
PropertyInfo pInfo)
Evaluate the function
|
Property |
LabelEndFunction.eval(Property[] args,
PropertyInfo pInfo)
Evaluate the function
|
Property |
Function.eval(Property[] args,
PropertyInfo pi)
Evaluate the function
|
Property |
FunctionBase.getOptionalArgDefault(int index,
PropertyInfo pi) |
Property |
FromParentFunction.getOptionalArgDefault(int index,
PropertyInfo pi) |
Property |
FromTableColumnFunction.getOptionalArgDefault(int index,
PropertyInfo pi) |
Property |
InheritedPropFunction.getOptionalArgDefault(int index,
PropertyInfo pi) |
Property |
FromNearestSpecifiedValueFunction.getOptionalArgDefault(int index,
PropertyInfo pi) |
Property |
Function.getOptionalArgDefault(int index,
PropertyInfo pi) |
PercentBase |
PropertyInfo.getPercentBase()
Return the PercentBase object used to calculate the absolute value from
a percent specification.
|
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 Property |
PropertyParser.parse(String expr,
PropertyInfo propInfo)
Public entrypoint to the Property expression parser.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
TableEventProducer.cellOverlap(Object source,
String elementName,
int column,
Locator loc)
Cell overlap.
|
Property |
TableFObj.ColumnNumberPropertyMaker.convertProperty(Property p,
PropertyList propertyList,
FObj fo)
Return a Property object based on the passed Property object.
|
Property |
TableColumn.getProperty(int propId)
Retrieve a property value through its Id; used by
from-table-column() function
|
Property |
TableFObj.ColumnNumberPropertyMaker.make(PropertyList propertyList)
Return the default value.
|
Property |
TableFObj.ColumnNumberPropertyMaker.make(PropertyList propertyList,
String value,
FObj fo)
Create a Property object from an attribute specification.
|
void |
TableEventProducer.valueMustBeBiggerGtEqOne(Object source,
String propName,
int actualValue,
Locator loc)
Property value must be 1 or bigger.
|
Modifier and Type | Method and Description |
---|---|
Property |
CorrespondingPropertyMaker.compute(PropertyList propertyList)
Return a Property object representing the value of this property,
based on other property values for this FO.
|
Property |
SpacePropertyMaker.compute(PropertyList propertyList)
Return a Property object representing the value of this property,
based on other property values for this FO.
|
Property |
IndentPropertyMaker.compute(PropertyList propertyList)
Calculate the corresponding value for start-indent and end-indent.
|
Property |
DimensionPropertyMaker.compute(PropertyList propertyList)
Return a Property object representing the value of this property,
based on other property values for this FO.
|
protected Property |
PropertyMaker.compute(PropertyList propertyList)
Return a Property object representing the value of this property,
based on other property values for this FO.
|
protected Property |
LineHeightPropertyMaker.compute(PropertyList propertyList)
Recalculate the line-height value based on the nearest specified
value.
|
Property |
IndentPropertyMaker.computeAlternativeRuleset(PropertyList propertyList)
Calculate the corresponding value for start-indent and end-indent.
|
Property |
IndentPropertyMaker.computeConforming(PropertyList propertyList)
Calculate the corresponding value for start-indent and end-indent.
|
Property |
CondLengthProperty.Maker.convertProperty(Property p,
PropertyList propertyList,
FObj fo)
Return a Property object based on the passed Property object.
|
Property |
LengthPairProperty.Maker.convertProperty(Property p,
PropertyList propertyList,
FObj fo)
Return a Property object based on the passed Property object.
|
Property |
FontStretchPropertyMaker.convertProperty(Property p,
PropertyList propertyList,
FObj fo)
Convert a property.
|
Property |
LengthRangeProperty.Maker.convertProperty(Property p,
PropertyList propertyList,
FObj fo)
Return a Property object based on the passed Property object.
|
Property |
EnumProperty.Maker.convertProperty(Property p,
PropertyList propertyList,
FObj fo)
Convert a property.
|
Property |
ColorProperty.Maker.convertProperty(Property p,
PropertyList propertyList,
FObj fo)
Return a ColorProperty object based on the passed Property object.
|
Property |
SpaceProperty.Maker.convertProperty(Property p,
PropertyList propertyList,
FObj fo)
Return a Property object based on the passed Property object.
|
Property |
NumberProperty.Maker.convertProperty(Property p,
PropertyList propertyList,
FObj fo)
Return a Property object based on the passed Property object.
|
Property |
NumberProperty.PositiveIntegerMaker.convertProperty(Property p,
PropertyList propertyList,
FObj fo)
If the value is not positive, return a property with value 1
Return a Property object based on the passed Property object.
|
protected Property |
PropertyMaker.convertProperty(Property p,
PropertyList propertyList,
FObj fo)
Return a Property object based on the passed Property object.
|
Property |
FontSizePropertyMaker.convertProperty(Property p,
PropertyList propertyList,
FObj fo)
Return a Property object based on the passed Property object.
|
Property |
KeepProperty.Maker.convertProperty(Property p,
PropertyList propertyList,
FObj fo)
Return a Property object based on the passed Property object.
|
Property |
SpacingPropertyMaker.convertProperty(Property p,
PropertyList propertyList,
FObj fo)
Support for the 'normal' value.
|
protected Property |
CompoundPropertyMaker.convertProperty(Property p,
PropertyList propertyList,
FObj fo)
Return a Property object based on the passed Property object.
|
Property |
ListProperty.Maker.convertProperty(Property p,
PropertyList propertyList,
FObj fo)
Return a Property object based on the passed Property object.
|
Property |
LengthProperty.Maker.convertProperty(Property p,
PropertyList propertyList,
FObj fo)
Return a Property object based on the passed Property object.
|
Property |
TextDecorationMaker.convertProperty(Property p,
PropertyList propertyList,
FObj fo)
Return a Property object based on the passed Property object.
|
Property |
LineHeightPropertyMaker.convertProperty(Property p,
PropertyList propertyList,
FObj fo)
Return a Property object based on the passed Property object.
|
protected Property |
PropertyMaker.convertPropertyDatatype(Property p,
PropertyList propertyList,
FObj fo)
For properties that have more than one legal way to be specified,
this routine should be overridden to attempt to set them based upon
the other methods.
|
Property |
PropertyMaker.convertShorthandProperty(PropertyList propertyList,
Property prop,
FObj fo)
Converts a shorthand property
|
protected Property |
BorderSpacingShorthandParser.convertValueForProperty(int propId,
Property property,
PropertyMaker maker,
PropertyList propertyList)
Converts a property name into a Property
|
protected Property |
GenericShorthandParser.convertValueForProperty(int propId,
Property property,
PropertyMaker maker,
PropertyList propertyList)
Converts a property name into a Property
|
protected Property |
BoxPropShorthandParser.convertValueForProperty(int propId,
Property property,
PropertyMaker maker,
PropertyList propertyList)
Stores 1 to 4 values of same type.
|
protected Property |
BoxCornerPropShorthandParser.convertValueForProperty(int propId,
Property property,
PropertyMaker maker,
PropertyList propertyList)
Stores 1 or 2 values of same type representing rounded corner radii.
|
static CommonTextDecoration |
CommonTextDecoration.createFromPropertyList(PropertyList pList)
Creates a CommonTextDecoration object from a property list.
|
Property |
PropertyMaker.findProperty(PropertyList propertyList,
boolean tryInherit)
If the property is a relative property with a corresponding absolute
value specified, the absolute value is used.
|
Property |
PageDimensionMaker.get(int subpropId,
PropertyList propertyList,
boolean tryInherit,
boolean tryDefault)
Check the value of the page-width / page-height property.
|
Property |
PropertyMaker.get(int subpropertyId,
PropertyList propertyList,
boolean tryInherit,
boolean tryDefault)
Return the property on the current FlowObject.
|
Property |
ReferenceOrientationMaker.get(int subpropId,
PropertyList propertyList,
boolean tryInherit,
boolean tryDefault)
Check the value of the reference-orientation property.
|
Property |
CompoundPropertyMaker.get(int subpropertyId,
PropertyList propertyList,
boolean tryInherit,
boolean tryDefault)
Return the property on the current FlowObject.
|
Property |
BorderWidthPropertyMaker.get(int subpropId,
PropertyList propertyList,
boolean bTryInherit,
boolean bTryDefault)
Check the value of the style property and return a length of 0 when
the style is NONE.
|
static ColorProperty |
ColorProperty.getInstance(FOUserAgent foUserAgent,
String value)
Set the color given a particular String.
|
static CommonAccessibility |
CommonAccessibility.getInstance(PropertyList propertyList)
Returns an instance that matches the values (if any) in the given property list.
|
static CommonFont |
CommonFont.getInstance(PropertyList pList)
Returns a CommonFont instance for the given PropertyList
If the font-size and font-size-adjust properties are absolute
the entire instance will be cached.
|
static CommonBorderPaddingBackground |
CommonBorderPaddingBackground.getInstance(PropertyList pList)
Obtain a CommonBorderPaddingBackground instance based on the
related property valus in the given
PropertyList |
static CommonHyphenation |
CommonHyphenation.getInstance(PropertyList propertyList)
Gets the canonical
CommonHyphenation instance corresponding
to the values of the related properties present on the given
PropertyList |
PercentBase |
PropertyMaker.getPercentBase(PropertyList pl)
This is used to handle properties specified as a percentage of
some "base length", such as the content width of their containing
box.
|
Property |
PropertyMaker.getShorthand(PropertyList propertyList)
For properties that can be set by shorthand properties, this method
should return the Property, if any, that is parsed from any
shorthand properties that affect this property.
|
Property |
PageBreakShorthandParser.getValueForProperty(int propId,
Property property,
PropertyMaker maker,
PropertyList propertyList) |
Property |
BackgroundPositionShorthand.Parser.getValueForProperty(int propId,
Property property,
PropertyMaker maker,
PropertyList propertyList) |
Property |
FontShorthandParser.getValueForProperty(int propId,
Property property,
PropertyMaker maker,
PropertyList propertyList) |
Property |
GenericShorthandParser.getValueForProperty(int propId,
Property property,
PropertyMaker maker,
PropertyList propertyList) |
Property |
XMLLangShorthandParser.getValueForProperty(int propId,
Property property,
PropertyMaker maker,
PropertyList propertyList) |
Property |
ShorthandParser.getValueForProperty(int propId,
Property property,
PropertyMaker maker,
PropertyList propertyList) |
Property |
WhiteSpaceShorthandParser.getValueForProperty(int propId,
Property property,
PropertyMaker maker,
PropertyList propertyList) |
Property |
PropertyMaker.make(Property baseProperty,
int subpropertyId,
PropertyList propertyList,
String value,
FObj fo)
Make a property value for a compound property.
|
Property |
CompoundPropertyMaker.make(Property baseProperty,
int subpropertyId,
PropertyList propertyList,
String value,
FObj fo)
Return a property value for a compound property.
|
Property |
TableBorderPrecedence.make(PropertyList propertyList)
Set default precedence according to the parent FObj
Return the default value.
|
Property |
PropertyMaker.make(PropertyList propertyList)
Return the default value.
|
Property |
CompoundPropertyMaker.make(PropertyList propertyList)
Make a compound property with default values.
|
Property |
FontShorthandProperty.Maker.make(PropertyList propertyList,
String value,
FObj fo)
Create a Property object from an attribute specification.
|
Property |
URIProperty.Maker.make(PropertyList propertyList,
String value,
FObj fo)
Create a Property object from an attribute specification.
|
Property |
BackgroundPositionShorthand.Maker.make(PropertyList propertyList,
String value,
FObj fo)
Create a Property object from an attribute specification.
|
Property |
FontWeightPropertyMaker.make(PropertyList pList,
String value,
FObj fo)
Create a Property object from an attribute specification.
|
Property |
PropertyMaker.make(PropertyList propertyList,
String value,
FObj fo)
Create a Property object from an attribute specification.
|
Property |
FontSizePropertyMaker.make(PropertyList propertyList,
String value,
FObj fo)
Create a Property object from an attribute specification.
|
Property |
FontFamilyProperty.Maker.make(PropertyList propertyList,
String value,
FObj fo)
Create a Property object from an attribute specification.
|
Property |
CompoundPropertyMaker.make(PropertyList propertyList,
String value,
FObj fo)
Create a Property object from an attribute specification.
|
Property |
LineHeightPropertyMaker.make(PropertyList propertyList,
String value,
FObj fo)
Create a Property object from an attribute specification.
|
protected Property |
CompoundPropertyMaker.makeCompound(PropertyList propertyList,
FObj parentFO)
Create a empty compound property and fill it with default values for
the subproperties.
|
Constructor and Description |
---|
CommonAbsolutePosition(PropertyList pList)
Create a CommonAbsolutePosition object.
|
CommonMarginBlock(PropertyList pList)
Create a CommonMarginBlock object.
|
CommonMarginInline(PropertyList pList)
Create a CommonMarginInline object.
|
CommonRelativePosition(PropertyList pList)
Create a CommonRelativePosition object.
|
Modifier and Type | Method and Description |
---|---|
static Color |
ColorUtil.parseColorString(FOUserAgent foUserAgent,
String value)
Creates a color from a given string.
|
Copyright © 2025 Apache Software Foundation. All rights reserved.