SignatureCustomAppearance.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include <system/array.h>
5 
6 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
7 
8 namespace Aspose
9 {
10 namespace Pdf
11 {
12 class Color;
13 namespace Forms
14 {
15 enum class SubjectNameElements;
16 } // namespace Forms
17 enum class Rotation;
18 } // namespace Pdf
19 } // namespace Aspose
20 namespace System
21 {
22 namespace Globalization
23 {
24 class CultureInfo;
25 } // namespace Globalization
26 } // namespace System
27 
28 namespace Aspose {
29 
30 namespace Pdf {
31 
32 namespace Forms {
33 
37 class ASPOSE_PDF_SHARED_CLASS SignatureCustomAppearance final : public System::Object
38 {
40  typedef System::Object BaseType;
41 
42  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
43  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
44 
45 public:
46 
50  ASPOSE_PDF_SHARED_API System::String get_FontFamilyName() const;
54  ASPOSE_PDF_SHARED_API void set_FontFamilyName(System::String value);
58  ASPOSE_PDF_SHARED_API double get_FontSize() const;
62  ASPOSE_PDF_SHARED_API void set_FontSize(double value);
66  ASPOSE_PDF_SHARED_API System::SharedPtr<Color> get_ForegroundColor() const;
70  ASPOSE_PDF_SHARED_API void set_ForegroundColor(System::SharedPtr<Color> value);
74  ASPOSE_PDF_SHARED_API System::SharedPtr<Color> get_BackgroundColor() const;
78  ASPOSE_PDF_SHARED_API void set_BackgroundColor(System::SharedPtr<Color> value);
82  ASPOSE_PDF_SHARED_API bool get_ShowContactInfo() const;
86  ASPOSE_PDF_SHARED_API void set_ShowContactInfo(bool value);
90  ASPOSE_PDF_SHARED_API bool get_ShowReason() const;
94  ASPOSE_PDF_SHARED_API void set_ShowReason(bool value);
98  ASPOSE_PDF_SHARED_API bool get_ShowLocation() const;
102  ASPOSE_PDF_SHARED_API void set_ShowLocation(bool value);
106  ASPOSE_PDF_SHARED_API System::String get_ContactInfoLabel() const;
110  ASPOSE_PDF_SHARED_API void set_ContactInfoLabel(System::String value);
114  ASPOSE_PDF_SHARED_API System::String get_ReasonLabel() const;
118  ASPOSE_PDF_SHARED_API void set_ReasonLabel(System::String value);
122  ASPOSE_PDF_SHARED_API System::String get_LocationLabel() const;
126  ASPOSE_PDF_SHARED_API void set_LocationLabel(System::String value);
130  ASPOSE_PDF_SHARED_API System::String get_DigitalSignedLabel() const;
134  ASPOSE_PDF_SHARED_API void set_DigitalSignedLabel(System::String value);
138  ASPOSE_PDF_SHARED_API bool get_UseDigitalSubjectFormat() const;
142  ASPOSE_PDF_SHARED_API void set_UseDigitalSubjectFormat(bool value);
152  ASPOSE_PDF_SHARED_API System::ArrayPtr<SubjectNameElements> get_DigitalSubjectFormat() const;
162  ASPOSE_PDF_SHARED_API void set_DigitalSubjectFormat(System::ArrayPtr<SubjectNameElements> value);
166  ASPOSE_PDF_SHARED_API System::String get_DateSignedAtLabel() const;
170  ASPOSE_PDF_SHARED_API void set_DateSignedAtLabel(System::String value);
174  ASPOSE_PDF_SHARED_API System::String get_DateTimeLocalFormat() const;
178  ASPOSE_PDF_SHARED_API void set_DateTimeLocalFormat(System::String value);
182  ASPOSE_PDF_SHARED_API System::String get_DateTimeFormat() const;
186  ASPOSE_PDF_SHARED_API void set_DateTimeFormat(System::String value);
190  ASPOSE_PDF_SHARED_API System::SharedPtr<System::Globalization::CultureInfo> get_Culture() const;
194  ASPOSE_PDF_SHARED_API void set_Culture(System::SharedPtr<System::Globalization::CultureInfo> value);
198  ASPOSE_PDF_SHARED_API Aspose::Pdf::Rotation get_Rotation() const;
202  ASPOSE_PDF_SHARED_API void set_Rotation(Aspose::Pdf::Rotation value);
203 
207  ASPOSE_PDF_SHARED_API SignatureCustomAppearance();
208 
209 private:
210 
211  System::String _fontFamilyName;
212  double _fontSize;
213  System::SharedPtr<Color> _foregroundColor;
214  System::SharedPtr<Color> _backgroundColor;
215  Aspose::Pdf::Rotation _rotation;
216  bool _showContactInfo;
217  bool _showReason;
218  bool _showLocation;
219  System::String _dateSignedAtLabel;
220  System::String _contactInfoLabel;
221  System::String _reasonLabel;
222  System::String _locationLabel;
223  System::String _digitalSignedLabel;
224  bool _useDigitalSubjectFormat;
225  System::ArrayPtr<SubjectNameElements> _digitalSubjectFormat;
226  System::String _dateTimeLocalFormat;
227  System::String _dateTimeFormat;
229 
230 };
231 
232 } // namespace Forms
233 } // namespace Pdf
234 } // namespace Aspose
235 
236 
String class used across the library. Is a substitute for C# System.String when translating code...
Definition: string.h:121
Rotation
Enumeration of possible rotation values.
Definition: Rotation.h:16
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:64
Definition: Artifact.h:67
An abstract class which represents signature custon appearance object.
Definition: SignatureCustomAppearance.h:37
SubjectNameElements
Enumeration describes elements in signature subject string.
Definition: SignatureSubjectFormatter.h:26
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: fwd.h:22
Definition: AFRelationship.h:4
Whole PDF file will be submitted.