Aspose.Tasks for C++
XamlOptions.h
1 #pragma once
2 //-----------------------------------------------------------------------
3 // <copyright file="XamlOptions.cs" company="Aspose Pty Ltd">
4 // Copyright (c) 2002-2024 Aspose Pty Ltd. All Rights Reserved.
5 // </copyright>
6 //-----------------------------------------------------------------------
7 
8 #include "aspose.tasks.cpp/Saving/ICloneableSaveOptions.h"
9 #include "aspose.tasks.cpp/Saving/SaveOptions.h"
10 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
11 
12 namespace Aspose
13 {
14 namespace Tasks
15 {
16 class IWriter;
17 } // namespace Tasks
18 } // namespace Aspose
19 
20 namespace Aspose {
21 
22 namespace Tasks {
23 
24 namespace Saving {
25 
26 /// <summary>
27 /// /// Allows to specify additional options when rendering project pages to XAML.
28 /// </summary>
29 class ASPOSE_TASKS_SHARED_CLASS XamlOptions : public Aspose::Tasks::Saving::SaveOptions, public Aspose::Tasks::Saving::ICloneableSaveOptions
30 {
31  typedef XamlOptions ThisType;
32  typedef Aspose::Tasks::Saving::SaveOptions BaseType;
33  typedef Aspose::Tasks::Saving::ICloneableSaveOptions BaseType1;
34 
35  typedef ::System::BaseTypesInfo<BaseType, BaseType1> ThisTypeBaseTypesInfo;
36  ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
37 
38 public:
39 
40  /// <summary>
41  /// Initializes a new instance of the <see cref="XamlOptions"></see> class that can be used to save project in XAML format.
42  /// </summary>
43  ASPOSE_TASKS_SHARED_API XamlOptions();
44 
45 protected:
46 
47  ASPOSE_TASKS_SHARED_API System::SharedPtr<IWriter> GetWriter() override;
48 
49  virtual ASPOSE_TASKS_SHARED_API ~XamlOptions();
50 
51 private:
52 
53  XamlOptions(const System::SharedPtr<SaveOptions>& options);
54 
55  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(XamlOptions, CODEPORTING_ARGS(const System::SharedPtr<SaveOptions>& options));
56  System::SharedPtr<SaveOptions> Clone() override;
57  void CopyOutputPropertiesFrom(System::SharedPtr<SaveOptions> source) override;
58 
59 };
60 
61 } // namespace Saving
62 } // namespace Tasks
63 } // namespace Aspose
64 
65 
This is an abstract base class for classes that allow the user to specify additional options when sav...
Definition: SaveOptions.h:95
/// Allows to specify additional options when rendering project pages to XAML.
Definition: XamlOptions.h:30
XamlOptions()
Initializes a new instance of the XamlOptions class that can be used to save project in XAML format.
Definition: Asn.h:13