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 Stringprotected List<FORenderer.SectionPageInformation>protected static final Stringprotected static final intprotected static final Stringprotected static final int -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractPlaceholderLookup(List<FORenderer.SectionPageInformation> pageNumberInformation) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringcreatePlaceholder(String placeholderID) booleanhasPlaceholders(StringBuilder buffer) protected voidputDocumentPageCount(int pageCount) protected voidputSectionPageCount(int sectionIndex, int pageCount) protected voidvoidreplaceValues(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:
hasPlaceholdersin interfacePlaceholderReplacementHandler.PlaceholderLookup
-
replaceValues
- Specified by:
replaceValuesin interfacePlaceholderReplacementHandler.PlaceholderLookup
-