Package org.apache.fop.apps
Class FopFactoryBuilder.FopFactoryConfigImpl
java.lang.Object
org.apache.fop.apps.FopFactoryBuilder.FopFactoryConfigImpl
- All Implemented Interfaces:
FopFactoryConfig
- Enclosing class:
FopFactoryBuilder
public static class FopFactoryBuilder.FopFactoryConfigImpl
extends Object
implements FopFactoryConfig
-
Field Summary
Fields inherited from interface org.apache.fop.apps.FopFactoryConfig
DEFAULT_BREAK_INDENT_INHERITANCE, DEFAULT_PAGE_HEIGHT, DEFAULT_PAGE_WIDTH, DEFAULT_SOURCE_RESOLUTION, DEFAULT_STRICT_FO_VALIDATION, DEFAULT_STRICT_USERCONFIG_VALIDATION, DEFAULT_TARGET_RESOLUTION -
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?
-
Method Details
-
isAccessibilityEnabled
public boolean isAccessibilityEnabled()Whether accessibility features are switched on.- Specified by:
isAccessibilityEnabledin interfaceFopFactoryConfig- Returns:
- true if accessibility features have been requested
-
isKeepEmptyTags
public boolean isKeepEmptyTags()- Specified by:
isKeepEmptyTagsin interfaceFopFactoryConfig
-
getLayoutManagerMakerOverride
Returns the overriding LayoutManagerMaker instance, if any.- Specified by:
getLayoutManagerMakerOverridein interfaceFopFactoryConfig- Returns:
- the overriding LayoutManagerMaker or null
-
getResourceResolver
public org.apache.xmlgraphics.io.ResourceResolver getResourceResolver()The URI resolver used through-out FOP for controlling all file access.- Specified by:
getResourceResolverin interfaceFopFactoryConfig- Returns:
- the URI resolver
-
getBaseURI
The base URI from which URIs are resolved against.- Specified by:
getBaseURIin interfaceFopFactoryConfig- Returns:
- the base URI
-
getHyphenationResourceResolver
- Specified by:
getHyphenationResourceResolverin interfaceFopFactoryConfig
-
validateStrictly
public boolean validateStrictly()Returns whether FOP is strictly validating input XSL- Specified by:
validateStrictlyin interfaceFopFactoryConfig- Returns:
- true of strict validation turned on, false otherwise
-
validateUserConfigStrictly
public boolean validateUserConfigStrictly()Is the user configuration to be validated?- Specified by:
validateUserConfigStrictlyin interfaceFopFactoryConfig- Returns:
- if the user configuration should be validated
-
isBreakIndentInheritanceOnReferenceAreaBoundary
public boolean isBreakIndentInheritanceOnReferenceAreaBoundary()- Specified by:
isBreakIndentInheritanceOnReferenceAreaBoundaryin interfaceFopFactoryConfig- 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
public float getSourceResolution()- Specified by:
getSourceResolutionin interfaceFopFactoryConfig- Returns:
- the resolution for resolution-dependent input
-
getTargetResolution
public float getTargetResolution()- Specified by:
getTargetResolutionin interfaceFopFactoryConfig- Returns:
- the resolution for resolution-dependent output
-
getPageHeight
Gets the default page-height to use as fallback, in case page-height="auto"- Specified by:
getPageHeightin interfaceFopFactoryConfig- Returns:
- the page-height, as a String
-
getPageWidth
Gets the default page-width to use as fallback, in case page-width="auto"- Specified by:
getPageWidthin interfaceFopFactoryConfig- Returns:
- the page-width, as a String
-
getIgnoredNamespaces
- Specified by:
getIgnoredNamespacesin interfaceFopFactoryConfig- Returns:
- the set of namespaces that are ignored by FOP
-
isNamespaceIgnored
Indicates whether a namespace URI is on the ignored list.- Specified by:
isNamespaceIgnoredin interfaceFopFactoryConfig- Parameters:
namespace- the namespace URI- Returns:
- true if the namespace is ignored by FOP
-
getUserConfig
Returns the AvalonConfigurationobject.- Specified by:
getUserConfigin interfaceFopFactoryConfig- Returns:
- the Avalon config object
-
preferRenderer
public boolean preferRenderer()- Specified by:
preferRendererin interfaceFopFactoryConfig- See Also:
-
getFontManager
Returns the font manager.- Specified by:
getFontManagerin interfaceFopFactoryConfig- Returns:
- the font manager
-
getImageManager
public org.apache.xmlgraphics.image.loader.ImageManager getImageManager()Returns the image manager.- Specified by:
getImageManagerin interfaceFopFactoryConfig- Returns:
- the image manager
-
isComplexScriptFeaturesEnabled
public boolean isComplexScriptFeaturesEnabled()- Specified by:
isComplexScriptFeaturesEnabledin interfaceFopFactoryConfig
-
isTableBorderOverpaint
public boolean isTableBorderOverpaint()- Specified by:
isTableBorderOverpaintin interfaceFopFactoryConfig
-
isSimpleLineBreaking
public boolean isSimpleLineBreaking()- Specified by:
isSimpleLineBreakingin interfaceFopFactoryConfig
-
isSkipPagePositionOnlyAllowed
public boolean isSkipPagePositionOnlyAllowed()- Specified by:
isSkipPagePositionOnlyAllowedin interfaceFopFactoryConfig
-
isLegacySkipPagePositionOnly
public boolean isLegacySkipPagePositionOnly()- Specified by:
isLegacySkipPagePositionOnlyin interfaceFopFactoryConfig
-
isLegacyLastPageChangeIPD
public boolean isLegacyLastPageChangeIPD()- Specified by:
isLegacyLastPageChangeIPDin interfaceFopFactoryConfig
-
getHyphenationPatternNames
- Specified by:
getHyphenationPatternNamesin interfaceFopFactoryConfig- Returns:
- the hyphenation pattern names
-
getFallbackResolver
public org.apache.xmlgraphics.image.loader.impl.AbstractImageSessionContext.FallbackResolver getFallbackResolver()Description copied from interface:FopFactoryConfigControls the mechanisms that are used in the event thatSourceused for resources couldn't be read.- Specified by:
getFallbackResolverin interfaceFopFactoryConfig- Returns:
- the fallback resolver
-