8 #include <system/string.h>
9 #include <system/enum_helpers.h>
12 #include "aspose.tasks.cpp/Saving/ICloneableSaveOptions.h"
13 #include "aspose.tasks.cpp/Saving/SaveOptions.h"
14 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
24 class HtmlBuilderOptions;
26 class Html5BuilderOptions;
31 enum class FontFaceType;
33 class ICssSavingCallback;
34 class IFontSavingCallback;
35 class IImageSavingCallback;
37 enum class ResourceExportType;
41 class IPageSavingCallback;
52 template <
typename>
class List;
66 class ASPOSE_TASKS_SHARED_CLASS
HtmlSaveOptions :
public Aspose::Tasks::Saving::SaveOptions,
public Aspose::Tasks::Saving::SaveOptions::IReduceBottomGap,
public Aspose::Tasks::Saving::SaveOptions::IFontCallbacks,
public Aspose::Tasks::Saving::ICloneableSaveOptions
70 typedef Aspose::Tasks::Saving::SaveOptions::IReduceBottomGap BaseType1;
71 typedef Aspose::Tasks::Saving::SaveOptions::IFontCallbacks BaseType2;
72 typedef Aspose::Tasks::Saving::ICloneableSaveOptions BaseType3;
74 typedef ::System::BaseTypesInfo<BaseType, BaseType1, BaseType2, BaseType3> ThisTypeBaseTypesInfo;
75 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
77 friend class Aspose::Tasks::Saving::HtmlWriter;
92 ASPOSE_TASKS_SHARED_API System::SharedPtr<Aspose::Tasks::FontSettings>
get_FontSettings()
override;
121 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::List<int32_t>>
get_Pages();
126 ASPOSE_TASKS_SHARED_API
void set_Pages(
const System::SharedPtr<System::Collections::Generic::List<int32_t>>& value);
215 ASPOSE_TASKS_SHARED_API System::SharedPtr<IWriter> GetWriter()
override;
216 ASPOSE_TASKS_SHARED_API System::SharedPtr<Builder::HTML::Html5BuilderOptions> GetHtmlConverterOptions();
220 #ifdef ASPOSE_GET_SHARED_MEMBERS
221 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
227 System::SharedPtr<System::Collections::Generic::List<int32_t>> pages;
228 System::String pr_CssStylePrefix;
229 System::SharedPtr<Aspose::Tasks::FontSettings> pr_FontSettings;
234 ASPOSE_TASKS_SHARED_API
void set_FontSettings(
const System::SharedPtr<Aspose::Tasks::FontSettings>& value);
236 bool pr_ReduceFooterGap;
237 bool pr_IncludeProjectNameInPageHeader;
238 bool pr_IncludeProjectNameInTitle;
239 ResourceExportType pr_ExportCss;
240 ResourceExportType pr_ExportImages;
241 ResourceExportType pr_ExportFonts;
242 System::SharedPtr<ICssSavingCallback> pr_CssSavingCallback;
243 System::SharedPtr<IFontSavingCallback> pr_FontSavingCallback;
244 System::SharedPtr<IImageSavingCallback> pr_ImageSavingCallback;
245 FontFaceType pr_FontFaceTypes;
246 System::SharedPtr<IPageSavingCallback> pr_PageSavingCallback;
250 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
HtmlSaveOptions, CODEPORTING_ARGS(
const System::SharedPtr<HtmlSaveOptions>& options));
251 System::SharedPtr<SaveOptions> Clone()
override;
252 void CopyOutputPropertiesFrom(System::SharedPtr<SaveOptions> source)
override;
253 void SetCallbacks(
const System::SharedPtr<Builder::HTML::Builders::HtmlBuilderOptions>& converterOptions);
Allows to specify additional options when rendering project pages to HTML.
Definition: HtmlSaveOptions.h:67
System::String get_CssStylePrefix() const
Gets CSS style prefix.
void set_ImageSavingCallback(const System::SharedPtr< IImageSavingCallback > &value)
Sets the callback that is called to create resource to store font.
void set_ExportCss(ResourceExportType value)
Sets the way CSS are exported.
void set_CssSavingCallback(const System::SharedPtr< ICssSavingCallback > &value)
Sets the callback that is called to create resource to store CSS.
HtmlSaveOptions()
Initializes a new instance of the HtmlSaveOptions class.
const System::SharedPtr< IImageSavingCallback > & get_ImageSavingCallback() const
Gets the callback that is called to create resource to store font.
FontFaceType get_FontFaceTypes() const
Gets the font face types.
void set_Pages(const System::SharedPtr< System::Collections::Generic::List< int32_t >> &value)
Sets a list of page numbers to save when rendering project layout.
ResourceExportType get_ExportFonts() const
Gets the way fonts are exported.
void set_CssStylePrefix(const System::String &value)
Sets CSS style prefix.
void set_FontSavingCallback(const System::SharedPtr< IFontSavingCallback > &value)
Sets the callback that is called to create resource to store font.
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.
const System::SharedPtr< ICssSavingCallback > & get_CssSavingCallback() const
Gets the callback that is called to create resource to store CSS.
bool get_UseGradientBrush() override
Gets a value indicating whether to use gradient brush when rendering project layout.
ResourceExportType get_ExportCss() const
Gets the way CSS are exported.
void set_ExportFonts(ResourceExportType value)
Sets the way fonts are exported.
void set_IncludeProjectNameInPageHeader(bool value)
Sets a value indicating whether to include project name in HTML page header.
System::SharedPtr< Aspose::Tasks::FontSettings > get_FontSettings() override
Specifies font settings used when rendering project's view.
bool get_IncludeProjectNameInPageHeader() const
Gets a value indicating whether to include project name in HTML page header.
void set_FontFaceTypes(FontFaceType value)
Sets the font face types.
bool get_ReduceFooterGap() override
Gets a value indicating whether a gap between last task and the footer must be reduced.
System::SharedPtr< System::Collections::Generic::List< int32_t > > get_Pages()
Gets a list of page numbers to save when rendering project layout.
const System::SharedPtr< IPageSavingCallback > & get_PageSavingCallback() const
Gets a user-defined callback which is used to get an output stream for each rendered page.
ResourceExportType get_ExportImages() const
Gets the way images are exported.
bool get_IncludeProjectNameInTitle() const
Gets a value indicating whether to include project name in HTML title.
const System::SharedPtr< IFontSavingCallback > & get_FontSavingCallback() const
Gets the callback that is called to create resource to store font.
void set_ExportImages(ResourceExportType value)
Sets the way images are exported.
void set_UseGradientBrush(bool value) override
Sets a value indicating whether to use gradient brush when rendering project layout.
void set_IncludeProjectNameInTitle(bool value)
Sets a value indicating whether to include project name in HTML title.
void set_ReduceFooterGap(bool value)
Sets a value indicating whether a gap between last task and the footer must be reduced.
This is an abstract base class for classes that allow the user to specify additional options when sav...
Definition: SaveOptions.h:95