public class AbstractPlaceholderLookup extends Object implements PlaceholderReplacementHandler.PlaceholderLookup
| Modifier and Type | Field and Description |
|---|---|
protected static String |
FIRST_PASS_DUMMY_VALUE |
protected List<org.docx4j.convert.out.FORenderer.SectionPageInformation> |
pageNumberInformation |
protected static String |
PLACEHOLDER_PREFIX |
protected static int |
PLACEHOLDER_PREFIX_LENGTH |
protected static String |
PLACEHOLDER_SUFFIX |
protected static int |
PLACEHOLDER_SUFFIX_LENGTH |
protected Map<String,String> |
placeholderValues |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPlaceholderLookup(List<org.docx4j.convert.out.FORenderer.SectionPageInformation> pageNumberInformation) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
createPlaceholder(String placeholderID) |
boolean |
hasPlaceholders(StringBuilder buffer) |
protected void |
putDocumentPageCount(int pageCount) |
protected void |
putSectionPageCount(int sectionIndex,
int pageCount) |
protected void |
putValue(String placeholderID,
String value) |
void |
replaceValues(StringBuilder buffer) |
protected List<org.docx4j.convert.out.FORenderer.SectionPageInformation> |
setupPageNumerInformation(List<org.docx4j.convert.out.FORenderer.SectionPageInformation> pageNumberInformation) |
protected static final String PLACEHOLDER_PREFIX
protected static final String PLACEHOLDER_SUFFIX
protected static final int PLACEHOLDER_PREFIX_LENGTH
protected static final int PLACEHOLDER_SUFFIX_LENGTH
protected static final String FIRST_PASS_DUMMY_VALUE
protected List<org.docx4j.convert.out.FORenderer.SectionPageInformation> pageNumberInformation
protected AbstractPlaceholderLookup(List<org.docx4j.convert.out.FORenderer.SectionPageInformation> pageNumberInformation)
protected List<org.docx4j.convert.out.FORenderer.SectionPageInformation> setupPageNumerInformation(List<org.docx4j.convert.out.FORenderer.SectionPageInformation> pageNumberInformation)
protected void putDocumentPageCount(int pageCount)
protected void putSectionPageCount(int sectionIndex,
int pageCount)
public boolean hasPlaceholders(StringBuilder buffer)
hasPlaceholders in interface PlaceholderReplacementHandler.PlaceholderLookuppublic void replaceValues(StringBuilder buffer)
replaceValues in interface PlaceholderReplacementHandler.PlaceholderLookupCopyright © 2007-2016. All Rights Reserved.