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;
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);
Allows to specify additional options when rendering project pages to PDF.
Definition: PdfSaveOptions.h:62
void set_EncryptionDetails(const System::SharedPtr< PdfEncryptionDetails > &value)
Sets a encryption details. If not set, then no encryption will be performed.
bool get_ReduceFooterGap() override
Gets a value indicating whether a gap between last task and the footer must be reduced.
PdfTextCompression get_TextCompression() const
Gets a compression type to be used for all content streams except images. Default is PdfTextCompressi...
void set_Compliance(PdfCompliance value)
Sets a desired compliance level for generated PDF document. Default is PdfCompliance::Pdf15.
System::SharedPtr< System::Collections::Generic::List< int32_t > > get_Pages()
Gets the list of pages numbers to save when saving project layout to separate files.
PdfCompliance get_Compliance() const
Gets a desired compliance level for generated PDF document. Default is PdfCompliance::Pdf15.
void set_SaveToSeparateFiles(bool value)
Sets a value indicating whether to save project pages to separate files.
void set_TextCompression(PdfTextCompression value)
Sets a compression type to be used for all content streams except images. Default is PdfTextCompressi...
void set_Pages(const System::SharedPtr< System::Collections::Generic::List< int32_t >> &value)
Sets the list of pages numbers to save when saving project layout to separate files.
bool get_SaveToSeparateFiles() const
Gets a value indicating whether to save project pages to separate files.
PdfSaveOptions()
Initializes a new instance of the PdfSaveOptions class that can be used to save a document in the PDF...
const System::SharedPtr< IPageSavingCallback > & get_PageSavingCallback() const
Gets a user-defined callback which is used to get an output stream for each rendered page....
System::SharedPtr< PdfDigitalSignatureDetails > get_DigitalSignatureDetails() const
Gets a digital signature details. If not set, then no signing will be performed.
void set_PageSavingCallback(const System::SharedPtr< IPageSavingCallback > &value)
Sets a user-defined callback which is used to get an output stream for each rendered page....
void set_DigitalSignatureDetails(const System::SharedPtr< PdfDigitalSignatureDetails > &value)
Sets a digital signature details. If not set, then no signing will be performed.
void set_ReduceFooterGap(bool value)
Sets a value indicating whether a gap between last task and the footer must be reduced.
System::SharedPtr< Aspose::Tasks::FontSettings > get_FontSettings() override
Specifies font settings used when rendering project's view.
System::SharedPtr< PdfEncryptionDetails > get_EncryptionDetails() const
Gets a encryption details. If not set, then no encryption will be performed.
This is an abstract base class for classes that allow the user to specify additional options when sav...
Definition: SaveOptions.h:95