Document
Document
개요
Document은 Aspose.PDF FOSS for C++의 클래스입니다.
문서 메타데이터는 Document.Info()와 접근자 메서드 Title(), Author(), Creator(), Producer(), Subject(), Keywords()를 통해 읽을 수 있습니다.
이 클래스는 C++ 프로그램에서 Document 객체를 다루기 위한 22개의 메서드를 제공합니다. 사용 가능한 메서드에는 Decrypt, Document, EmbeddedFiles, Encrypt, Form, Info, IsEncrypted, Metadata, NamedDestinations, Optimize, OptimizeResources, Outlines 및 추가 5개의 메서드가 포함됩니다. Aspose.PDF FOSS for C++ 패키지를 설치한 후 모든 공개 멤버는 모든 C++ 애플리케이션에서 접근할 수 있습니다. 접근자 메서드: Document.
접근자 메서드
| 이름 | 유형 | 액세스 | 설명 |
|---|---|---|---|
Document | Document | 읽기 | 문서를 가져옵니다. |
메서드
| 시그니처 | 설명 |
|---|---|
Document() → Document | 이 Document 인스턴스에서 Document를 호출합니다. |
IsEncrypted() → bool | encrypted가 설정된 경우 true를 반환합니다. |
Encrypt(userPassword: std::string, ownerPassword: std::string, permissions: Aspose::Pdf::Permissions, cryptoAlgorithm: CryptoAlgorithm) | 이 Document 인스턴스에서 Encrypt(userPassword, ownerPassword, permissions, cryptoAlgorithm)를 호출합니다. |
Encrypt(userPassword: std::string, ownerPassword: std::string, permissions: Aspose::Pdf::Permissions, cryptoAlgorithm: CryptoAlgorithm, usePdf20: bool) | 이 Document 인스턴스에서 Encrypt(userPassword, ownerPassword, permissions, cryptoAlgorithm, usePdf20)를 호출합니다. |
Permissions() → int | 이 Document 인스턴스에서 Permissions를 호출합니다. |
Optimize() | 이 Document 인스턴스에서 Optimize를 호출합니다. |
OptimizeResources() | 이 Document 인스턴스에서 OptimizeResources를 호출합니다. |
Encrypt(userPassword: std::string, ownerPassword: std::string, privileges: Aspose::Pdf::Facades::DocumentPrivilege, cryptoAlgorithm: CryptoAlgorithm) | 이 Document 인스턴스에서 Encrypt(userPassword, ownerPassword, privileges, cryptoAlgorithm)를 호출합니다. |
Encrypt(userPassword: std::string, ownerPassword: std::string, privileges: Aspose::Pdf::Facades::DocumentPrivilege, cryptoAlgorithm: CryptoAlgorithm, usePdf20: bool) | 이 Document 인스턴스에서 Encrypt(userPassword, ownerPassword, privileges, cryptoAlgorithm, usePdf20)를 호출합니다. |
Decrypt() | 이 Document 인스턴스에서 Decrypt를 호출합니다. |
Document() | |
Save(outputFileName: std::string) | 이 Document 인스턴스에서 Save(outputFileName)를 호출합니다. |
Save() | |
SetTitle(title: std::string) | 제목 값을 설정합니다. |
Info() → DocumentInfo | 이 Document 인스턴스에서 Info를 호출합니다. |
Metadata() → Aspose::Pdf::Metadata | 이 Document 인스턴스에서 Metadata를 호출합니다. |
Pages() → PageCollection | 이 Document 인스턴스에서 Pages를 호출합니다. |
EmbeddedFiles() → EmbeddedFileCollection | 이 Document 인스턴스에서 EmbeddedFiles를 호출합니다. |
NamedDestinations() → NamedDestinationCollection | 이 Document 인스턴스에서 NamedDestinations를 호출합니다. |
Outlines() → OutlineCollection | 이 Document 인스턴스에서 Outlines를 호출합니다. |
PageLabels() → PageLabelCollection | 이 Document 인스턴스에서 PageLabels를 호출합니다. |
Form() → Aspose::Pdf::Forms::Form | 이 Document 인스턴스에서 Form을 호출합니다. |