Package org.docx4j.convert.out.fo
Class AbstractPlaceholderLookup
java.lang.Object
org.docx4j.convert.out.fo.AbstractPlaceholderLookup
- All Implemented Interfaces:
PlaceholderReplacementHandler.PlaceholderLookup
- Direct Known Subclasses:
FORendererApacheFOP.FopPlaceholderLookup
public class AbstractPlaceholderLookup
extends Object
implements PlaceholderReplacementHandler.PlaceholderLookup
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final String
protected List<FORenderer.SectionPageInformation>
protected static final String
protected static final int
protected static final String
protected static final int
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractPlaceholderLookup
(List<FORenderer.SectionPageInformation> pageNumberInformation) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
createPlaceholder
(String placeholderID) boolean
hasPlaceholders
(StringBuilder buffer) protected void
putDocumentPageCount
(int pageCount) protected void
putSectionPageCount
(int sectionIndex, int pageCount) protected void
void
replaceValues
(StringBuilder buffer) protected List<FORenderer.SectionPageInformation>
setupPageNumerInformation
(List<FORenderer.SectionPageInformation> pageNumberInformation)
-
Field Details
-
PLACEHOLDER_PREFIX
- See Also:
-
PLACEHOLDER_SUFFIX
- See Also:
-
PLACEHOLDER_PREFIX_LENGTH
protected static final int PLACEHOLDER_PREFIX_LENGTH -
PLACEHOLDER_SUFFIX_LENGTH
protected static final int PLACEHOLDER_SUFFIX_LENGTH -
FIRST_PASS_DUMMY_VALUE
- See Also:
-
pageNumberInformation
-
placeholderValues
-
-
Constructor Details
-
AbstractPlaceholderLookup
-
-
Method Details
-
setupPageNumerInformation
protected List<FORenderer.SectionPageInformation> setupPageNumerInformation(List<FORenderer.SectionPageInformation> pageNumberInformation) -
putDocumentPageCount
protected void putDocumentPageCount(int pageCount) -
putSectionPageCount
protected void putSectionPageCount(int sectionIndex, int pageCount) -
putValue
-
createPlaceholder
-
hasPlaceholders
- Specified by:
hasPlaceholders
in interfacePlaceholderReplacementHandler.PlaceholderLookup
-
replaceValues
- Specified by:
replaceValues
in interfacePlaceholderReplacementHandler.PlaceholderLookup
-