/** * Use this method to reorder the pages in the document. * A <CODE>null</CODE> argument value only returns the number of pages to process. * It is advisable to issue a <CODE>Document.newPage()</CODE> before using this method. * @return the total number of pages * @param order an array with the new page sequence. It must have the * same size as the number of pages. * @throws DocumentException if all the pages are not present in the array */ public int reorderPages(int order[]) throws DocumentException { return root.reorderPages(order); }
/** * Use this method to reorder the pages in the document. * A <CODE>null</CODE> argument value only returns the number of pages to process. * It is advisable to issue a <CODE>Document.newPage()</CODE> before using this method. * @return the total number of pages * @param order an array with the new page sequence. It must have the * same size as the number of pages. * @throws DocumentException if all the pages are not present in the array */ public int reorderPages(int[] order) throws DocumentException { return root.reorderPages(order); }
/** * Use this method to reorder the pages in the document. * A <CODE>null</CODE> argument value only returns the number of pages to process. * It is advisable to issue a <CODE>Document.newPage()</CODE> before using this method. * @return the total number of pages * @param order an array with the new page sequence. It must have the * same size as the number of pages. * @throws DocumentException if all the pages are not present in the array */ public int reorderPages(int order[]) throws DocumentException { return root.reorderPages(order); }