Document
סקירה כללית
Document היא מחלקה ב-Aspose.PDF FOSS עבור C++.
ניתן לקרוא מטא-נתוני מסמך דרך Document.Info() ושיטות הגישה Title(), Author(), Creator(), Producer(), Subject() ו-Keywords().
מחלקה זו מספקת 22 שיטות לעבודה עם אובייקטי Document בתוכניות C++. השיטות הזמינות כוללות: Decrypt, Document, EmbeddedFiles, Encrypt, Form, Info, IsEncrypted, Metadata, NamedDestinations, Optimize, OptimizeResources, Outlines, ו-5 שיטות נוספות. כל החברים הציבוריים נגישים לכל יישום C++ לאחר התקנת חבילה Aspose.PDF FOSS עבור C++. שיטות גישה: Document.
שיטות גישה
| שם | סוג | גישה | תיאור |
|---|---|---|---|
Document | Document | קריאה | מקבל את המסמך. |
שיטות
| חתימה | תיאור |
|---|---|
Document() → Document | קורא ל-Document על מופע Document זה. |
IsEncrypted() → bool | מחזיר true אם encrypted מוגדר. |
Encrypt(userPassword: std::string, ownerPassword: std::string, permissions: Aspose::Pdf::Permissions, cryptoAlgorithm: CryptoAlgorithm) | קורא ל-Encrypt(userPassword, ownerPassword, permissions, cryptoAlgorithm) על מופע Document זה. |
Encrypt(userPassword: std::string, ownerPassword: std::string, permissions: Aspose::Pdf::Permissions, cryptoAlgorithm: CryptoAlgorithm, usePdf20: bool) | קורא ל-Encrypt(userPassword, ownerPassword, permissions, cryptoAlgorithm, usePdf20) על מופע ה-Document הזה. |
Permissions() → int | קורא ל-Permissions על מופע ה-Document הזה. |
Optimize() | קורא ל-Optimize על מופע ה-Document הזה. |
OptimizeResources() | קורא ל OptimizeResources על מופע ה-Document הזה. |
Encrypt(userPassword: std::string, ownerPassword: std::string, privileges: Aspose::Pdf::Facades::DocumentPrivilege, cryptoAlgorithm: CryptoAlgorithm) | קורא ל-Encrypt(userPassword, ownerPassword, privileges, cryptoAlgorithm) על מופע ה-Document הזה. |
Encrypt(userPassword: std::string, ownerPassword: std::string, privileges: Aspose::Pdf::Facades::DocumentPrivilege, cryptoAlgorithm: CryptoAlgorithm, usePdf20: bool) | קורא ל-Encrypt(userPassword, ownerPassword, privileges, cryptoAlgorithm, usePdf20) על מופע ה-Document הזה. |
Decrypt() | קורא ל-Decrypt על מופע ה-Document הזה. |
Document() | |
Save(outputFileName: std::string) | מבצע קריאה ל-Save(outputFileName) על מופע ה-Document הזה. |
Save() | |
SetTitle(title: std::string) | מגדיר את ערך הכותרת. |
Info() → DocumentInfo | מבצע קריאה ל-Info על מופע ה-Document הזה. |
Metadata() → Aspose::Pdf::Metadata | מבצע קריאה ל-Metadata על מופע ה-Document הזה. |
Pages() → PageCollection | קורא ל-Pages על מופע ה-Document הזה. |
EmbeddedFiles() → EmbeddedFileCollection | קורא ל-EmbeddedFiles על מופע ה-Document הזה. |
NamedDestinations() → NamedDestinationCollection | קורא ל-NamedDestinations על מופע ה-Document הזה. |
Outlines() → OutlineCollection | קורא ל-Outlines על מופע ה-Document הזה. |
PageLabels() → PageLabelCollection | מבצע קריאה ל-PageLabels על מופע ה-Document הזה. |
Form() → Aspose::Pdf::Forms::Form | מבצע קריאה ל-Form על מופע ה-Document הזה. |