Document
Document
Übersicht
Document ist eine Klasse in Aspose.PDF FOSS für C++.
Dokumentmetadaten können über Document.Info() und die Zugriffsmethoden Title(), Author(), Creator(), Producer(), Subject() und Keywords() gelesen werden.
Diese Klasse stellt 22 Methoden zur Arbeit mit Document-Objekten in C++-Programmen bereit. Verfügbare Methoden umfassen: Decrypt, Document, EmbeddedFiles, Encrypt, Form, Info, IsEncrypted, Metadata, NamedDestinations, Optimize, OptimizeResources, Outlines und 5 weitere Methoden. Alle öffentlichen Mitglieder sind für jede C++-Anwendung nach der Installation des Aspose.PDF FOSS für C++-Pakets zugänglich. Zugriffsmethoden: Document.
Zugriffsmethoden
| Name | Typ | Zugriff | Beschreibung |
|---|---|---|---|
Document | Document | Lesen | Liefert das Dokument. |
Methoden
| Signatur | Beschreibung |
|---|---|
Document() → Document | Ruft Document für diese Document-Instanz auf. |
IsEncrypted() → bool | Gibt true zurück, wenn encrypted gesetzt ist. |
Encrypt(userPassword: std::string, ownerPassword: std::string, permissions: Aspose::Pdf::Permissions, cryptoAlgorithm: CryptoAlgorithm) | Ruft Encrypt(userPassword, ownerPassword, permissions, cryptoAlgorithm) für diese Document-Instanz auf. |
Encrypt(userPassword: std::string, ownerPassword: std::string, permissions: Aspose::Pdf::Permissions, cryptoAlgorithm: CryptoAlgorithm, usePdf20: bool) | Ruft Encrypt(userPassword, ownerPassword, permissions, cryptoAlgorithm, usePdf20) auf dieser Document-Instanz auf. |
Permissions() → int | Ruft Permissions auf dieser Document-Instanz auf. |
Optimize() | Ruft Optimize auf dieser Document-Instanz auf. |
OptimizeResources() | Ruft OptimizeResources auf dieser Document-Instanz auf. |
Encrypt(userPassword: std::string, ownerPassword: std::string, privileges: Aspose::Pdf::Facades::DocumentPrivilege, cryptoAlgorithm: CryptoAlgorithm) | Ruft Encrypt(userPassword, ownerPassword, privileges, cryptoAlgorithm) für diese Dokumentinstanz auf. |
Encrypt(userPassword: std::string, ownerPassword: std::string, privileges: Aspose::Pdf::Facades::DocumentPrivilege, cryptoAlgorithm: CryptoAlgorithm, usePdf20: bool) | Ruft Encrypt(userPassword, ownerPassword, privileges, cryptoAlgorithm, usePdf20) für diese Dokumentinstanz auf. |
Decrypt() | Ruft Decrypt für diese Dokumentinstanz auf. |
Document() | |
Save(outputFileName: std::string) | Ruft Save(outputFileName) bei dieser Dokumentinstanz auf. |
Save() | |
SetTitle(title: std::string) | Setzt den Titelwert. |
Info() → DocumentInfo | Ruft Info bei dieser Dokumentinstanz auf. |
Metadata() → Aspose::Pdf::Metadata | Ruft Metadata bei dieser Dokumentinstanz auf. |
Pages() → PageCollection | Ruft Pages auf dieser Dokumentinstanz auf. |
EmbeddedFiles() → EmbeddedFileCollection | Ruft EmbeddedFiles auf dieser Dokumentinstanz auf. |
NamedDestinations() → NamedDestinationCollection | Ruft NamedDestinations auf dieser Dokumentinstanz auf. |
Outlines() → OutlineCollection | Ruft Outlines auf dieser Dokumentinstanz auf. |
PageLabels() → PageLabelCollection | Ruft PageLabels für diese Dokumentinstanz auf. |
Form() → Aspose::Pdf::Forms::Form | Ruft Form für diese Dokumentinstanz auf. |