下面的代码:
Document document = new Document();
DocumentBuilder builder = new DocumentBuilder(document);
Section currentSection = builder.getCurrentSection();
currentSection.getPageSetup().setPageStartingNumber(10);
current…...insertField("PAGE", ""); // 奇数页页码在右侧 builder....RIGHT); builder.insertField("PAGE", ""); builder.moveToDocumentEnd();...