Author: lehmi
Date: Sat Feb  4 18:10:57 2012
New Revision: 1240573

URL: http://svn.apache.org/viewvc?rev=1240573&view=rev
Log:
PDFBOX-1221: added a startPage and endPage parameter to PDFSplit

Modified:
    pdfbox/site/publish/commandlineutilities/PDFSplit.html
    pdfbox/site/src/site/xdoc/commandlineutilities/PDFSplit.xml

Modified: pdfbox/site/publish/commandlineutilities/PDFSplit.html
URL: 
http://svn.apache.org/viewvc/pdfbox/site/publish/commandlineutilities/PDFSplit.html?rev=1240573&r1=1240572&r2=1240573&view=diff
==============================================================================
--- pdfbox/site/publish/commandlineutilities/PDFSplit.html (original)
+++ pdfbox/site/publish/commandlineutilities/PDFSplit.html Sat Feb  4 18:10:57 
2012
@@ -306,9 +306,30 @@
                <td>integer
                </td>
                <td>None</td>
-               <td>Number of pages after which splitting occurs.</td>
+               <td>Number of pages of every splitted part of the pdf.</td>
          </tr>
+          <tr class="b">
+            <td>-startPage &lt;integer&gt;</td>
+            <td>integer
+            </td>
+            <td>None</td>
+            <td>The page to start at.</td>
+          </tr>
+          <tr class="a">
+            <td>-endPage &lt;integer&gt;</td>
+            <td>integer
+            </td>
+            <td>None</td>
+            <td>The page to stop at.</td>
+          </tr>
       </table>
+      <p>Examples:</p>
+      <ul>
+      <li>PDFSplit -split 2 sample_with_13_pages.pdf will split the pdf in 
pieces of 2 pages each except the last which will contain 1 page only.</li>
+      <li>PDFSplit -startPage 5 sample_with_13_pages.pdf will provide a pdf 
containing all pages of the source pdf starting at page 5</li>
+      <li>PDFSplit -startPage 5 -endPage 10 sample_with_13_pages.pdf will 
provide a pdf containing all pages from 5 to 10 of the source pdf</li>
+      <li>PDFSplit -split 2 -startPage 5 -endPage 10 sample_with_13_pages.pdf 
will provide 3 pdfs containing all pages from 5 to 10 of the source pdf 2 pages 
each</li>
+      </ul>
     </div>
   
 

Modified: pdfbox/site/src/site/xdoc/commandlineutilities/PDFSplit.xml
URL: 
http://svn.apache.org/viewvc/pdfbox/site/src/site/xdoc/commandlineutilities/PDFSplit.xml?rev=1240573&r1=1240572&r2=1240573&view=diff
==============================================================================
--- pdfbox/site/src/site/xdoc/commandlineutilities/PDFSplit.xml (original)
+++ pdfbox/site/src/site/xdoc/commandlineutilities/PDFSplit.xml Sat Feb  4 
18:10:57 2012
@@ -43,9 +43,30 @@
                <td>integer
                </td>
                <td>None</td>
-               <td>Number of pages after which splitting occurs.</td>
+               <td>Number of pages of every splitted part of the pdf.</td>
          </tr>
+          <tr>
+            <td>-startPage &lt;integer&gt;</td>
+            <td>integer
+            </td>
+            <td>None</td>
+            <td>The page to start at.</td>
+          </tr>
+          <tr>
+            <td>-endPage &lt;integer&gt;</td>
+            <td>integer
+            </td>
+            <td>None</td>
+            <td>The page to stop at.</td>
+          </tr>
       </table>
+      <p>Examples:</p>
+      <ul>
+      <li>PDFSplit -split 2 sample_with_13_pages.pdf will split the pdf in 
pieces of 2 pages each except the last which will contain 1 page only.</li>
+      <li>PDFSplit -startPage 5 sample_with_13_pages.pdf will provide a pdf 
containing all pages of the source pdf starting at page 5</li>
+      <li>PDFSplit -startPage 5 -endPage 10 sample_with_13_pages.pdf will 
provide a pdf containing all pages from 5 to 10 of the source pdf</li>
+      <li>PDFSplit -split 2 -startPage 5 -endPage 10 sample_with_13_pages.pdf 
will provide 3 pdfs containing all pages from 5 to 10 of the source pdf 2 pages 
each</li>
+      </ul>
     </section>
   </body>
 </document>


Reply via email to