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.

שיטות גישה

שםסוגגישהתיאור
DocumentDocumentקריאהמקבל את המסמך.

שיטות

חתימהתיאור
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 הזה.

ראה גם

 עברית