8 #include <system/shared_ptr.h>
11 #include "aspose.tasks.cpp/Saving/ICloneableSaveOptions.h"
12 #include "aspose.tasks.cpp/Saving/SaveOptions.h"
13 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
22 enum class PdfTextCompressionCore;
31 class IPageSavingCallback;
32 enum class PdfCompliance;
33 class PdfDigitalSignatureDetails;
34 class PdfEncryptionDetails;
35 enum class PdfTextCompression;
47 template <
typename>
class List;
61 class ASPOSE_TASKS_SHARED_CLASS
PdfSaveOptions :
public Aspose::Tasks::Saving::SaveOptions,
public Aspose::Tasks::Saving::SaveOptions::IReduceBottomGap,
public Aspose::Tasks::Saving::SaveOptions::IFontCallbacks,
public Aspose::Tasks::Saving::ICloneableSaveOptions
65 typedef Aspose::Tasks::Saving::SaveOptions::IReduceBottomGap BaseType1;
66 typedef Aspose::Tasks::Saving::SaveOptions::IFontCallbacks BaseType2;
67 typedef Aspose::Tasks::Saving::ICloneableSaveOptions BaseType3;
69 typedef ::System::BaseTypesInfo<BaseType, BaseType1, BaseType2, BaseType3> ThisTypeBaseTypesInfo;
70 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
72 friend class Aspose::Tasks::Saving::PdfWriter;
79 ASPOSE_TASKS_SHARED_API
bool get_ReduceFooterGap()
override;
83 ASPOSE_TASKS_SHARED_API
void set_ReduceFooterGap(
bool value);
88 ASPOSE_TASKS_SHARED_API PdfCompliance get_Compliance()
const;
93 ASPOSE_TASKS_SHARED_API
void set_Compliance(PdfCompliance value);
97 ASPOSE_TASKS_SHARED_API System::SharedPtr<PdfEncryptionDetails> get_EncryptionDetails()
const;
101 ASPOSE_TASKS_SHARED_API
void set_EncryptionDetails(
const System::SharedPtr<PdfEncryptionDetails>& value);
106 ASPOSE_TASKS_SHARED_API PdfTextCompression get_TextCompression()
const;
111 ASPOSE_TASKS_SHARED_API
void set_TextCompression(PdfTextCompression value);
115 ASPOSE_TASKS_SHARED_API System::SharedPtr<PdfDigitalSignatureDetails> get_DigitalSignatureDetails()
const;
119 ASPOSE_TASKS_SHARED_API
void set_DigitalSignatureDetails(
const System::SharedPtr<PdfDigitalSignatureDetails>& value);
123 ASPOSE_TASKS_SHARED_API
bool get_SaveToSeparateFiles()
const;
127 ASPOSE_TASKS_SHARED_API
void set_SaveToSeparateFiles(
bool value);
132 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<IPageSavingCallback>& get_PageSavingCallback()
const;
137 ASPOSE_TASKS_SHARED_API
void set_PageSavingCallback(
const System::SharedPtr<IPageSavingCallback>& value);
142 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::List<int32_t>> get_Pages();
147 ASPOSE_TASKS_SHARED_API
void set_Pages(
const System::SharedPtr<System::Collections::Generic::List<int32_t>>& value);
151 ASPOSE_TASKS_SHARED_API System::SharedPtr<Aspose::Tasks::FontSettings> get_FontSettings()
override;
160 ASPOSE_TASKS_SHARED_API
PdfSaveOptions(
const System::SharedPtr<PdfSaveOptions>& options);
162 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
PdfSaveOptions, CODEPORTING_ARGS(
const System::SharedPtr<PdfSaveOptions>& options));
163 ASPOSE_TASKS_SHARED_API System::SharedPtr<Aspose::Rendering::Pdf::PdfOptionsCore> GetOptionsCore();
164 ASPOSE_TASKS_SHARED_API System::SharedPtr<IWriter> GetWriter()
override;
168 #ifdef ASPOSE_GET_SHARED_MEMBERS
169 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
175 System::SharedPtr<Aspose::Rendering::Pdf::PdfOptionsCore> optionsCore;
176 PdfCompliance compliance;
177 System::SharedPtr<PdfEncryptionDetails> encryptionDetails;
178 PdfTextCompression textCompression;
179 System::SharedPtr<System::Collections::Generic::List<int32_t>> pages;
180 System::SharedPtr<PdfDigitalSignatureDetails> digitalSignatureDetails;
181 bool pr_ReduceFooterGap;
182 bool pr_SaveToSeparateFiles;
183 System::SharedPtr<IPageSavingCallback> pr_PageSavingCallback;
184 System::SharedPtr<Aspose::Tasks::FontSettings> pr_FontSettings;
189 ASPOSE_TASKS_SHARED_API
void set_FontSettings(
const System::SharedPtr<Aspose::Tasks::FontSettings>& value);
191 System::SharedPtr<SaveOptions> Clone()
override;
192 void CopyOutputPropertiesFrom(System::SharedPtr<SaveOptions> source)
override;
193 Aspose::Rendering::Pdf::PdfTextCompressionCore ToPdfTextCompressionCore(PdfTextCompression value);