Chất lượng Overview
tính năng tổng hợp
Aspose.PDF FOSS for Java is a comprehensive Java library for PDF document creation and manipulation, covering the following capability areas:
cấu trúc tài liệu
- Tạo tài liệu PDF mới thông qua
DocumentThẻ xây dựng (không có lý do) - Truy cập các tài liệu hiện có qua
Document(filePath)hoặcDocument(stream)Nhà xây dựng - Quản lý trang qua
PageCollectionquaDocument.getPages() - Each
Pagetriển lãmgetMediaBox(),getCropBox(),getRotate(), vàgetAnnotations() - Truy cập vào thư mục PDF qua
getCatalog()Trailer quagetTrailer() - Quản lý các tập tin tích hợp qua
getEmbeddedFiles()
Annotations
Các Annotation lớp trừu tượng là cơ sở cho tất cả các ghi chú PDF. Các loại cụ thể bao gồm: WidgetAnnotation, FreeTextAnnotation, HighlightAnnotation, UnderlineAnnotation, CircleAnnotation, CaretAnnotation,+ Mỗi bài viết được đặt trên một Page tại a Rectangle vị trí .
Các hình thức tương tác
Các Form lớp (via Document.getForm()) quản lý các trường AcroForm. loại trường bao gồm ButtonField, CheckboxField, RadioButtonField, TextBoxField, ComboBoxField, và ListBoxField.The FormEditor lớp cung cấp phương pháp thuận tiện cho chỉnh sửa hình dạng to.
Trang Manipulation
PdfFileEditor cung cấp concatenate(), extract(), splitToPages(), insert(), và delete() - Đối với việc thao tác tài liệu cấp trang. ContentsResizeParameters và ContentsResizeValue kiểm soát nội dung quy mô trong các biên giới trang.
PDF / A tuân thủ
ActionRules xác nhận PDF/A hành động phù hợp; ActionFixes Dành chữa bệnh qua removeCatalogAA(), removePageAA(), và removeWidgetAA(). AnnotationRules và AnnotationFixes - Thực hiện theo quy định của mức độ ghi chú.
Security
AESCipher cung cấp mã hóa AES-CBC với encrypt(key, data), decrypt(key, data), và các biến thể định nghĩa IV. PdfFileSecurity Quản lý bảo vệ mật khẩu cấp tài liệu và quyền truy cập.
Trang Rendering
BmpDevice render PDF pages to BMP image files for miniature generation và previews. PdfPageRenderer cung cấp trình duyệt trang lập trình.
Facades
Các org.aspose.pdf.facades gói cung cấp các lớp tập trung vào nhiệm vụ bao gồm PdfAnnotationEditor, PdfBookmarkEditor, PdfContentEditor, PdfExtractor, PdfFileSecurity, PdfFileStamp, và PdfPageEditor.