Aspose.Tasks for C++
PageViewSettings.h
1 #pragma once
2 //-----------------------------------------------------------------------
3 // <copyright file="PageViewSettings.cs" company="Aspose Pty Ltd">
4 // Copyright (c) 2002-2024 Aspose Pty Ltd. All Rights Reserved.
5 // </copyright>
6 //-----------------------------------------------------------------------
7 
8 #include <system/object.h>
9 #include <cstdint>
10 
11 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
12 
13 namespace Aspose {
14 
15 namespace Tasks {
16 
17 namespace Visualization {
18 
19 /// <summary>
20 /// Represents printing settings for a project view.
21 /// </summary>
22 class ASPOSE_TASKS_SHARED_CLASS PageViewSettings : public System::Object
23 {
24  typedef PageViewSettings ThisType;
25  typedef System::Object BaseType;
26 
27  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
28  ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
29 
30 public:
31 
32  /// <summary>
33  /// Gets the number of first columns to be printed on all pages.
34  /// </summary>
35  ASPOSE_TASKS_SHARED_API int32_t get_FirstColumnsCount() const;
36  /// <summary>
37  /// Sets the number of first columns to be printed on all pages.
38  /// </summary>
39  ASPOSE_TASKS_SHARED_API void set_FirstColumnsCount(int32_t value);
40  /// <summary>
41  /// Gets a value indicating whether to fit timescale to the end of a page when printing.
42  /// </summary>
43  ASPOSE_TASKS_SHARED_API bool get_FitTimescaleToEndOfPage() const;
44  /// <summary>
45  /// Sets a value indicating whether to fit timescale to the end of a page when printing.
46  /// </summary>
47  ASPOSE_TASKS_SHARED_API void set_FitTimescaleToEndOfPage(bool value);
48  /// <summary>
49  /// Gets a value indicating whether to print all sheet columns of a view.
50  /// </summary>
51  ASPOSE_TASKS_SHARED_API bool get_PrintAllSheetColumns() const;
52  /// <summary>
53  /// Sets a value indicating whether to print all sheet columns of a view.
54  /// </summary>
55  ASPOSE_TASKS_SHARED_API void set_PrintAllSheetColumns(bool value);
56  /// <summary>
57  /// Gets a value indicating whether to print blank pages of a view.
58  /// </summary>
59  ASPOSE_TASKS_SHARED_API bool get_PrintBlankPages() const;
60  /// <summary>
61  /// Sets a value indicating whether to print blank pages of a view.
62  /// </summary>
63  ASPOSE_TASKS_SHARED_API void set_PrintBlankPages(bool value);
64  /// <summary>
65  /// Gets a value indicating whether to print a specified number of first columns on all pages.
66  /// </summary>
67  ASPOSE_TASKS_SHARED_API bool get_PrintFirstColumnsCountOnAllPages() const;
68  /// <summary>
69  /// Sets a value indicating whether to print a specified number of first columns on all pages.
70  /// </summary>
71  ASPOSE_TASKS_SHARED_API void set_PrintFirstColumnsCountOnAllPages(bool value);
72  /// <summary>
73  /// Gets a value indicating whether to print notes.
74  /// </summary>
75  ASPOSE_TASKS_SHARED_API bool get_PrintNotes() const;
76  /// <summary>
77  /// Sets a value indicating whether to print notes.
78  /// </summary>
79  ASPOSE_TASKS_SHARED_API void set_PrintNotes(bool value);
80 
81  ASPOSE_TASKS_SHARED_API PageViewSettings();
82 
83 private:
84 
85  int32_t pr_FirstColumnsCount;
86  bool pr_FitTimescaleToEndOfPage;
87  bool pr_PrintAllSheetColumns;
88  bool pr_PrintBlankPages;
89  bool pr_PrintFirstColumnsCountOnAllPages;
90  bool pr_PrintNotes;
91 
92 };
93 
94 } // namespace Visualization
95 } // namespace Tasks
96 } // namespace Aspose
97 
98 
Represents printing settings for a project view.
Definition: PageViewSettings.h:23
bool get_PrintBlankPages() const
Gets a value indicating whether to print blank pages of a view.
bool get_PrintNotes() const
Gets a value indicating whether to print notes.
bool get_FitTimescaleToEndOfPage() const
Gets a value indicating whether to fit timescale to the end of a page when printing.
void set_PrintBlankPages(bool value)
Sets a value indicating whether to print blank pages of a view.
int32_t get_FirstColumnsCount() const
Gets the number of first columns to be printed on all pages.
bool get_PrintFirstColumnsCountOnAllPages() const
Gets a value indicating whether to print a specified number of first columns on all pages.
void set_PrintNotes(bool value)
Sets a value indicating whether to print notes.
void set_PrintFirstColumnsCountOnAllPages(bool value)
Sets a value indicating whether to print a specified number of first columns on all pages.
void set_PrintAllSheetColumns(bool value)
Sets a value indicating whether to print all sheet columns of a view.
bool get_PrintAllSheetColumns() const
Gets a value indicating whether to print all sheet columns of a view.
void set_FitTimescaleToEndOfPage(bool value)
Sets a value indicating whether to fit timescale to the end of a page when printing.
void set_FirstColumnsCount(int32_t value)
Sets the number of first columns to be printed on all pages.
Definition: Asn.h:13