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.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 |
LengthBase.getBaseLength(PercentBaseContext context) |
int |
PercentBase.getBaseLength(PercentBaseContext context) |
double |
Numeric.getNumericValue()
Return the value of this Numeric
|
double |
Numeric.getNumericValue(PercentBaseContext context)
Return the value of this Numeric
|
Constructor and Description |
---|
LengthBase(PropertyList plist,
int baseType)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
FOValidationEventProducer.invalidPropertyValue(java.lang.Object source,
java.lang.String elementName,
java.lang.String propName,
java.lang.String propValue,
PropertyException e,
org.xml.sax.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.
|
CommonAccessibility |
PropertyList.getAccessibilityProps()
Constructs a CommonAccessibility 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.
|
void |
PropertyList.setWritingMode()
Set writing mode for this FO.
|
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) |
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) |
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) |
Property |
FromTableColumnFunction.eval(Property[] args,
PropertyInfo pInfo) |
Property |
NearestSpecPropFunction.eval(Property[] args,
PropertyInfo pInfo) |
Property |
InheritedPropFunction.eval(Property[] args,
PropertyInfo pInfo) |
Property |
FromParentFunction.eval(Property[] args,
PropertyInfo pInfo) |
Property |
BodyStartFunction.eval(Property[] args,
PropertyInfo pInfo) |
Property |
PPColWidthFunction.eval(Property[] args,
PropertyInfo pInfo) |
Property |
AbsFunction.eval(Property[] args,
PropertyInfo propInfo) |
Property |
LabelEndFunction.eval(Property[] args,
PropertyInfo pInfo) |
Property |
Function.eval(Property[] args,
PropertyInfo propInfo)
Evaluate the function
|
Property |
MinFunction.eval(Property[] args,
PropertyInfo pInfo)
Handle "numerics" if no proportional/percent parts
|
Property |
MaxFunction.eval(Property[] args,
PropertyInfo pInfo)
Handle "numerics" if no proportional/percent parts
|
double |
RelativeNumericProperty.getNumericValue()
Return the resolved (calculated) value of the expression.
|
double |
RelativeNumericProperty.getNumericValue(PercentBaseContext context)
Return the value of this Numeric
|
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) |
static Numeric |
NumericOp.min(Numeric op1,
Numeric op2)
Return the smaller of two Numerics.
|
static Numeric |
NumericOp.min2(Numeric op1,
Numeric op2,
PercentBaseContext context) |
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) |
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) |
static Numeric |
NumericOp.negate(Numeric op)
Return the negation of a Numeric.
|
static Numeric |
NumericOp.negate2(Numeric op,
PercentBaseContext context) |
static Property |
PropertyParser.parse(java.lang.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) |
Modifier and Type | Method and Description |
---|---|
void |
TableEventProducer.cellOverlap(java.lang.Object source,
java.lang.String elementName,
int column,
org.xml.sax.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,
java.lang.String value,
FObj fo)
Create a Property object from an attribute specification.
|
void |
TableEventProducer.valueMustBeBiggerGtEqOne(java.lang.Object source,
java.lang.String propName,
int actualValue,
org.xml.sax.Locator loc)
Property value must be 1 or bigger.
|
Modifier and Type | Method and Description |
---|---|
Property |
SpacePropertyMaker.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 |
DimensionPropertyMaker.compute(PropertyList propertyList) |
Property |
IndentPropertyMaker.compute(PropertyList propertyList)
Calculate the corresponding value for start-indent and end-indent.
|
Property |
CorrespondingPropertyMaker.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.
|
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 |
SpaceProperty.Maker.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 |
CondLengthProperty.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.
|
Property |
LengthPairProperty.Maker.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.
|
Property |
SpacingPropertyMaker.convertProperty(Property p,
PropertyList propertyList,
FObj fo)
Support for the 'normal' value.
|
Property |
FontStretchPropertyMaker.convertProperty(Property p,
PropertyList propertyList,
FObj fo)
Return a Property object based on the passed Property object.
|
Property |
LengthRangeProperty.Maker.convertProperty(Property p,
PropertyList propertyList,
FObj fo)
Return a Property object based on the passed Property object.
|
Property |
ColorProperty.Maker.convertProperty(Property p,
PropertyList propertyList,
FObj fo)
Return a ColorProperty object based on the passed Property object.
|
Property |
TextDecorationProperty.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 |
EnumProperty.Maker.convertProperty(Property p,
PropertyList propertyList,
FObj fo) |
protected Property |
CompoundPropertyMaker.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.
|
protected Property |
PropertyMaker.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 |
BoxPropShorthandParser.convertValueForProperty(int propId,
Property property,
PropertyMaker maker,
PropertyList propertyList)
Stores 1 to 4 values of same type.
|
protected Property |
GenericShorthandParser.convertValueForProperty(int propId,
Property property,
PropertyMaker maker,
PropertyList propertyList)
Converts a property name into a Property
|
protected Property |
BorderSpacingShorthandParser.convertValueForProperty(int propId,
Property property,
PropertyMaker maker,
PropertyList propertyList) |
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 |
CompoundPropertyMaker.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 |
PropertyMaker.get(int subpropertyId,
PropertyList propertyList,
boolean tryInherit,
boolean tryDefault)
Return the property on the current FlowObject.
|
Property |
PageDimensionMaker.get(int subpropId,
PropertyList propertyList,
boolean tryInherit,
boolean tryDefault)
Check the value of the page-width / page-height property.
|
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,
java.lang.String value)
Set the color given a particular String.
|
static CommonBorderPaddingBackground |
CommonBorderPaddingBackground.getInstance(PropertyList pList)
Obtain a CommonBorderPaddingBackground instance based on the
related property valus in the given
PropertyList |
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 CommonHyphenation |
CommonHyphenation.getInstance(PropertyList propertyList)
Gets the canonical
CommonHyphenation instance corresponding
to the values of the related properties present on the given
PropertyList |
double |
EnumNumber.getNumericValue(PercentBaseContext context)
Return the value of this Numeric
|
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 |
XMLLangShorthandParser.getValueForProperty(int propId,
Property property,
PropertyMaker maker,
PropertyList propertyList) |
Property |
BackgroundPositionShorthand.Parser.getValueForProperty(int propId,
Property property,
PropertyMaker maker,
PropertyList propertyList) |
Property |
ShorthandParser.getValueForProperty(int propId,
Property property,
PropertyMaker maker,
PropertyList propertyList) |
Property |
GenericShorthandParser.getValueForProperty(int propId,
Property property,
PropertyMaker maker,
PropertyList propertyList) |
Property |
FontShorthandParser.getValueForProperty(int propId,
Property property,
PropertyMaker maker,
PropertyList propertyList) |
Property |
WhiteSpaceShorthandParser.getValueForProperty(int propId,
Property property,
PropertyMaker maker,
PropertyList propertyList) |
Property |
PageBreakShorthandParser.getValueForProperty(int propId,
Property property,
PropertyMaker maker,
PropertyList propertyList) |
Property |
CompoundPropertyMaker.make(Property baseProperty,
int subpropertyId,
PropertyList propertyList,
java.lang.String value,
FObj fo)
Return a property value for a compound property.
|
Property |
PropertyMaker.make(Property baseProperty,
int subpropertyId,
PropertyList propertyList,
java.lang.String value,
FObj fo)
Make 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 |
CompoundPropertyMaker.make(PropertyList propertyList)
Make a compound property with default values.
|
Property |
PropertyMaker.make(PropertyList propertyList)
Return the default value.
|
Property |
FontShorthandProperty.Maker.make(PropertyList propertyList,
java.lang.String value,
FObj fo)
Create a Property object from an attribute specification.
|
Property |
BackgroundPositionShorthand.Maker.make(PropertyList propertyList,
java.lang.String value,
FObj fo)
Create a Property object from an attribute specification.
|
Property |
LineHeightPropertyMaker.make(PropertyList propertyList,
java.lang.String value,
FObj fo)
Create a Property object from an attribute specification.
|
Property |
FontFamilyProperty.Maker.make(PropertyList propertyList,
java.lang.String value,
FObj fo)
Create a Property object from an attribute specification.
|
Property |
CompoundPropertyMaker.make(PropertyList propertyList,
java.lang.String value,
FObj fo)
Create a Property object from an attribute specification.
|
Property |
FontSizePropertyMaker.make(PropertyList propertyList,
java.lang.String value,
FObj fo)
Create a Property object from an attribute specification.
|
Property |
FontWeightPropertyMaker.make(PropertyList pList,
java.lang.String value,
FObj fo)
Create a Property object from an attribute specification.
|
Property |
PropertyMaker.make(PropertyList propertyList,
java.lang.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.
|
CommonAccessibility(PropertyList pList)
Create a
CommonAccessibility object. |
CommonMarginBlock(PropertyList pList)
Create a CommonMarginBlock object.
|
CommonMarginInline(PropertyList pList)
Create a CommonMarginInline object.
|
CommonRelativePosition(PropertyList pList)
Create a CommonRelativePosition object.
|
TextDecorationProperty(ListProperty listProp)
Constructs a new instance by converting a ListProperty.
|
Modifier and Type | Method and Description |
---|---|
static java.awt.Color |
ColorUtil.parseColorString(FOUserAgent foUserAgent,
java.lang.String value)
Creates a color from a given string.
|
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.