TextStyle.h
1 #pragma once
2 
3 #include <system/object.h>
4 
5 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
6 
7 namespace Aspose
8 {
9 namespace Pdf
10 {
11 class Color;
12 namespace Comparison
13 {
14 namespace OutputGenerator
15 {
16 class HtmlDiffOutputGenerator;
17 class PdfOutputGenerator;
18 } // namespace OutputGenerator
19 } // namespace Comparison
20 } // namespace Pdf
21 } // namespace Aspose
22 namespace System
23 {
24 class String;
25 } // namespace System
26 
27 namespace Aspose {
28 
29 namespace Pdf {
30 
31 namespace Comparison {
32 
33 namespace OutputGenerator {
34 
38 class ASPOSE_PDF_SHARED_CLASS TextStyle : public System::Object
39 {
40  typedef TextStyle ThisType;
41  typedef System::Object BaseType;
42 
43  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
44  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
45 
48 
49 public:
50 
54  ASPOSE_PDF_SHARED_API const System::SharedPtr<Aspose::Pdf::Color>& get_Color() const;
58  ASPOSE_PDF_SHARED_API void set_Color(System::SharedPtr<Aspose::Pdf::Color> value);
62  ASPOSE_PDF_SHARED_API const System::SharedPtr<Aspose::Pdf::Color>& get_BackgroundColor() const;
66  ASPOSE_PDF_SHARED_API void set_BackgroundColor(System::SharedPtr<Aspose::Pdf::Color> value);
67 
68 protected:
69 
74  System::String ToCssStyle();
75 
76 private:
77 
79  System::SharedPtr<Aspose::Pdf::Color> pr_BackgroundColor;
80 
81 };
82 
86 class ASPOSE_PDF_SHARED_CLASS OutputTextStyle : public System::Object
87 {
88  typedef OutputTextStyle ThisType;
89  typedef System::Object BaseType;
90 
91  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
92  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
93 
94 public:
95 
99  ASPOSE_PDF_SHARED_API const System::SharedPtr<TextStyle>& get_InsertedStyle() const;
103  ASPOSE_PDF_SHARED_API void set_InsertedStyle(System::SharedPtr<TextStyle> value);
107  ASPOSE_PDF_SHARED_API const System::SharedPtr<TextStyle>& get_DeletedStyle() const;
111  ASPOSE_PDF_SHARED_API void set_DeletedStyle(System::SharedPtr<TextStyle> value);
115  ASPOSE_PDF_SHARED_API const System::SharedPtr<TextStyle>& get_EqualStyle() const;
119  ASPOSE_PDF_SHARED_API void set_EqualStyle(System::SharedPtr<TextStyle> value);
124  ASPOSE_PDF_SHARED_API bool get_StrikethroughDeleted() const;
129  ASPOSE_PDF_SHARED_API void set_StrikethroughDeleted(bool value);
130 
131  ASPOSE_PDF_SHARED_API OutputTextStyle();
132 
133 private:
134 
135  System::SharedPtr<TextStyle> pr_InsertedStyle;
136  System::SharedPtr<TextStyle> pr_DeletedStyle;
137  System::SharedPtr<TextStyle> pr_EqualStyle;
138  bool pr_StrikethroughDeleted;
139 
140 };
141 
142 } // namespace OutputGenerator
143 } // namespace Comparison
144 } // namespace Pdf
145 } // namespace Aspose
146 
147 
String class used across the library. Is a substitute for C# System.String when translating code...
Definition: string.h:121
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:64
Definition: Artifact.h:71
Represents a style set class for marking text changes.
Definition: TextStyle.h:86
Represents a text style class.
Definition: TextStyle.h:38
Represents a class for generating PDF representation of texts differences.
Definition: PdfOutputGenerator.h:51
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: SideBySidePdfComparer.h:24
Definition: AFRelationship.h:4
Represents a class for generating html representation of texts differences. Deleted line breaks are i...
Definition: HtmlDiffOutputGenerator.h:59
Whole PDF file will be submitted.