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 هذا. |