기능 개요
기능 요약
Aspose.PDF FOSS for Java은 PDF 문서 생성 및 조작을 위한 포괄적인 Java 라이브러리이며, 다음 기능 영역을 포함합니다:
문서 구조
- 새 PDF 문서는
Document클래스 생성자를 통해 생성합니다 (인수 없음) - 기존 문서는
Document(filePath)또는Document(stream)생성자를 통해 접근합니다 - 페이지는
PageCollection를 통해Document.getPages()로 관리합니다 - 각
Page는getMediaBox(),getCropBox(),getRotate(), 그리고getAnnotations()를 제공합니다 - PDF 카탈로그에
getCatalog()를 통해 액세스하고 트레일러는getTrailer()를 통해 액세스합니다. getEmbeddedFiles()를 통해 임베디드 파일을 관리합니다.
주석
Annotation 추상 클래스는 모든 PDF 주석의 기반입니다. 구체적인 유형에는 WidgetAnnotation, FreeTextAnnotation, HighlightAnnotation, UnderlineAnnotation, CircleAnnotation, CaretAnnotation 등이 있습니다. 각 주석은 Page 위에 Rectangle 위치에 배치됩니다.
대화형 양식
Form 클래스(Document.getForm()를 통해)는 AcroForm 필드를 관리합니다. 필드 유형에는 ButtonField, CheckboxField, RadioButtonField, TextBoxField, ComboBoxField, ListBoxField이 포함됩니다. FormEditor 클래스는 대량 양식 편집을 위한 편리한 메서드를 제공합니다.
페이지 조작
PdfFileEditor은 페이지 수준 문서 조작을 위해 concatenate(), extract(), splitToPages(), insert(), delete()를 제공합니다. ContentsResizeParameters과 ContentsResizeValue은 페이지 경계 내에서 콘텐츠 스케일링을 제어합니다.
PDF/A 컴플라이언스
ActionRules은(는) PDF/A 작업 준수를 검증합니다; ActionFixes은(는) removeCatalogAA(), removePageAA(), removeWidgetAA()를 통해 시정을 제공합니다. AnnotationRules와 AnnotationFixes은(는) 주석 수준의 컴플라이언스를 처리합니다.
Security
AESCipher은(는) AES-CBC 암호화를 encrypt(key, data), decrypt(key, data) 및 결정적 IV 변형과 함께 제공합니다. PdfFileSecurity은(는) 문서 수준 비밀번호 보호 및 접근 권한을 관리합니다.
페이지 렌더링
BmpDevice은(는) 썸네일 생성 및 미리보기를 위해 PDF 페이지를 BMP 이미지 파일로 렌더링합니다. PdfPageRenderer은(는) 프로그래밍 방식 페이지 렌더링을 제공합니다.
Facades
org.aspose.pdf.facades 패키지는 PdfAnnotationEditor, PdfBookmarkEditor, PdfContentEditor, PdfExtractor, PdfFileSecurity, PdfFileStamp, PdfPageEditor을(를) 포함하는 작업 중심 클래스들을 제공합니다.