Class PDFExtractPagesOperation
- java.lang.Object
-
- org.nuxeo.ecm.platform.pdf.operations.PDFExtractPagesOperation
-
public class PDFExtractPagesOperation extends Object
Extract pages fromstartPagetoendPage(inclusive) from the input object. If a Blob is used as input, thexpathparameter is not used.title,subjectandauthorare optional.If the PDF is encrypted, a password is required.
- Since:
- 8.10
-
-
Field Summary
Fields Modifier and Type Field Description protected longendPageprotected StringfileNamestatic StringIDprotected Stringpasswordprotected StringpdfAuthorprotected StringpdfSubjectprotected StringpdfTitleprotected CoreSessionsessionprotected longstartPageprotected Stringxpath
-
Constructor Summary
Constructors Constructor Description PDFExtractPagesOperation()
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
session
protected CoreSession session
-
startPage
protected long startPage
-
endPage
protected long endPage
-
fileName
protected String fileName
-
pdfTitle
protected String pdfTitle
-
pdfSubject
protected String pdfSubject
-
pdfAuthor
protected String pdfAuthor
-
xpath
protected String xpath
-
password
protected String password
-
-
Method Detail
-
run
public Blob run(DocumentModel inDoc)
-
-