Package org.apache.fop.apps
Interface FopFactoryConfig
- All Known Implementing Classes:
FopFactoryBuilder.FopFactoryConfigImpl
public interface FopFactoryConfig
The configuration data for a
FopFactory instance.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanDefines if FOP should use an alternative rule to determine text indentsstatic final StringDefines the default page-heightstatic final StringDefines the default page-widthstatic final floatDefines the default source resolution (72dpi) for FOPstatic final booleanDefines if FOP should use strict validation for FO and user configstatic final booleanDefines if FOP should validate the user config strictlystatic final floatDefines the default target resolution (72dpi) for FOP -
Method Summary
Modifier and TypeMethodDescriptionThe base URI from which URIs are resolved against.org.apache.xmlgraphics.image.loader.impl.AbstractImageSessionContext.FallbackResolverControls the mechanisms that are used in the event thatSourceused for resources couldn't be read.Returns the font manager.org.apache.xmlgraphics.image.loader.ImageManagerReturns the image manager.Returns the overriding LayoutManagerMaker instance, if any.Gets the default page-height to use as fallback, in case page-height="auto"Gets the default page-width to use as fallback, in case page-width="auto"org.apache.xmlgraphics.io.ResourceResolverThe URI resolver used through-out FOP for controlling all file access.floatfloatReturns the AvalonConfigurationobject.booleanWhether accessibility features are switched on.booleanbooleanbooleanbooleanbooleanbooleanisNamespaceIgnored(String namespace) Indicates whether a namespace URI is on the ignored list.booleanbooleanbooleanbooleanbooleanReturns whether FOP is strictly validating input XSLbooleanIs the user configuration to be validated?
-
Field Details
-
DEFAULT_BREAK_INDENT_INHERITANCE
static final boolean DEFAULT_BREAK_INDENT_INHERITANCEDefines if FOP should use an alternative rule to determine text indents- See Also:
-
DEFAULT_STRICT_USERCONFIG_VALIDATION
static final boolean DEFAULT_STRICT_USERCONFIG_VALIDATIONDefines if FOP should validate the user config strictly- See Also:
-
DEFAULT_STRICT_FO_VALIDATION
static final boolean DEFAULT_STRICT_FO_VALIDATIONDefines if FOP should use strict validation for FO and user config- See Also:
-
DEFAULT_PAGE_WIDTH
Defines the default page-width- See Also:
-
DEFAULT_PAGE_HEIGHT
Defines the default page-height- See Also:
-
DEFAULT_SOURCE_RESOLUTION
static final float DEFAULT_SOURCE_RESOLUTIONDefines the default source resolution (72dpi) for FOP- See Also:
-
DEFAULT_TARGET_RESOLUTION
static final float DEFAULT_TARGET_RESOLUTIONDefines the default target resolution (72dpi) for FOP- See Also:
-
-
Method Details
-
isAccessibilityEnabled
boolean isAccessibilityEnabled()Whether accessibility features are switched on.- Returns:
- true if accessibility features have been requested
-
isKeepEmptyTags
boolean isKeepEmptyTags() -
getLayoutManagerMakerOverride
LayoutManagerMaker getLayoutManagerMakerOverride()Returns the overriding LayoutManagerMaker instance, if any.- Returns:
- the overriding LayoutManagerMaker or null
-
getResourceResolver
org.apache.xmlgraphics.io.ResourceResolver getResourceResolver()The URI resolver used through-out FOP for controlling all file access.- Returns:
- the URI resolver
-
getBaseURI
URI getBaseURI()The base URI from which URIs are resolved against.- Returns:
- the base URI
-
validateStrictly
boolean validateStrictly()Returns whether FOP is strictly validating input XSL- Returns:
- true of strict validation turned on, false otherwise
-
validateUserConfigStrictly
boolean validateUserConfigStrictly()Is the user configuration to be validated?- Returns:
- if the user configuration should be validated
-
isBreakIndentInheritanceOnReferenceAreaBoundary
boolean isBreakIndentInheritanceOnReferenceAreaBoundary()- Returns:
- true if the indent inheritance should be broken when crossing reference area boundaries (for more info, see the javadoc for the relative member variable)
-
getSourceResolution
float getSourceResolution()- Returns:
- the resolution for resolution-dependent input
-
getTargetResolution
float getTargetResolution()- Returns:
- the resolution for resolution-dependent output
-
getPageHeight
String getPageHeight()Gets the default page-height to use as fallback, in case page-height="auto"- Returns:
- the page-height, as a String
-
getPageWidth
String getPageWidth()Gets the default page-width to use as fallback, in case page-width="auto"- Returns:
- the page-width, as a String
-
getIgnoredNamespaces
- Returns:
- the set of namespaces that are ignored by FOP
-
isNamespaceIgnored
Indicates whether a namespace URI is on the ignored list.- Parameters:
namespace- the namespace URI- Returns:
- true if the namespace is ignored by FOP
-
getUserConfig
Configuration getUserConfig()Returns the AvalonConfigurationobject.- Returns:
- the Avalon config object
-
preferRenderer
boolean preferRenderer()- See Also:
-
getFontManager
FontManager getFontManager()Returns the font manager.- Returns:
- the font manager
-
getImageManager
org.apache.xmlgraphics.image.loader.ImageManager getImageManager()Returns the image manager.- Returns:
- the image manager
-
isComplexScriptFeaturesEnabled
boolean isComplexScriptFeaturesEnabled() -
isTableBorderOverpaint
boolean isTableBorderOverpaint() -
isSimpleLineBreaking
boolean isSimpleLineBreaking() -
isSkipPagePositionOnlyAllowed
boolean isSkipPagePositionOnlyAllowed() -
isLegacySkipPagePositionOnly
boolean isLegacySkipPagePositionOnly() -
isLegacyLastPageChangeIPD
boolean isLegacyLastPageChangeIPD() -
getHyphenationPatternNames
- Returns:
- the hyphenation pattern names
-
getHyphenationResourceResolver
InternalResourceResolver getHyphenationResourceResolver() -
getFallbackResolver
org.apache.xmlgraphics.image.loader.impl.AbstractImageSessionContext.FallbackResolver getFallbackResolver()Controls the mechanisms that are used in the event thatSourceused for resources couldn't be read.- Returns:
- the fallback resolver
-