Package org.verapdf.pd
Class PDDocument
java.lang.Object
org.verapdf.pd.PDDocument
- Author:
- Timur Kamalov
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
close()
int
getPage
(int number) getPages()
newPage
(double[] bbox, int insertAt) void
open
(InputStream inputStream) void
void
save()
void
void
void
saveTo
(OutputStream stream)
-
Field Details
-
PDF_HEADER_DEFAULT
- See Also:
-
-
Constructor Details
-
PDDocument
- Throws:
IOException
-
PDDocument
- Throws:
IOException
-
PDDocument
- Throws:
IOException
-
-
Method Details
-
open
- Throws:
IOException
-
open
- Throws:
IOException
-
close
public void close() -
getCatalog
-
getDocument
-
getNumberOfPages
public int getNumberOfPages() -
getPages
-
getPage
-
addPage
-
newPage
-
save
public void save() -
saveAs
- Throws:
IOException
-
saveAs
-
saveTo
-
getStructTreeRoot
-
getMetadata
-
getOutputIntents
-
getOutlines
-
getAcroForm
-
getPDFSource
-