/// <summary> /// Initializes new instance of this class. This method splits the document into sections so that each page /// begins and ends at a section boundary. It is recommended not to modify the document afterwards. /// </summary> /// <param name="collector">A collector instance which has layout model records for the document.</param> public DocumentPageSplitter(LayoutCollector collector) { mPageNumberFinder = new PageNumberFinder(collector); mPageNumberFinder.SplitNodesAcrossPages(); }
public SectionSplitter(PageNumberFinder pageNumberFinder) { mPageNumberFinder = pageNumberFinder; }