Class PageNumberInformationCollector
java.lang.Object
org.docx4j.convert.out.common.preprocess.PageNumberInformationCollector
public class PageNumberInformationCollector
extends java.lang.Object
This class collects information about the use of page numbering fields,
and their formatting.
It checks for fields of the type: PAGE, NUMPAGES, SECTIONPAGES
It checks for fields of the type: PAGE, NUMPAGES, SECTIONPAGES
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classPageNumberInformationCollector.FieldVisitor -
Constructor Summary
Constructors Constructor Description PageNumberInformationCollector() -
Method Summary
Modifier and Type Method Description static PageNumberInformationprocess(ConversionSectionWrapper sectionWrapper, boolean dummyPageNumbering)protected static voidprocess(FooterPart footer, PageNumberInformationCollector.FieldVisitor fldVisitor)protected static voidprocess(HeaderPart header, PageNumberInformationCollector.FieldVisitor fldVisitor)
-
Constructor Details
-
PageNumberInformationCollector
public PageNumberInformationCollector()
-
-
Method Details
-
process
public static PageNumberInformation process(ConversionSectionWrapper sectionWrapper, boolean dummyPageNumbering) -
process
protected static void process(FooterPart footer, PageNumberInformationCollector.FieldVisitor fldVisitor) -
process
protected static void process(HeaderPart header, PageNumberInformationCollector.FieldVisitor fldVisitor)
-