FolderFontSource.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/CommonData/Text/Fonts/FontSources/FontSource.h"
7 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
8 
9 namespace Aspose
10 {
11 namespace Font
12 {
13 namespace Sources
14 {
15 class FontDefinition;
16 } // namespace Sources
17 } // namespace Font
18 namespace Pdf
19 {
20 namespace Tests
21 {
22 namespace HTML
23 {
24 class Pdf2HtmlConverterTests;
25 } // namespace HTML
26 } // namespace Tests
27 } // namespace Pdf
28 } // namespace Aspose
29 
30 namespace Aspose {
31 
32 namespace Pdf {
33 
34 namespace Text {
35 
39 class ASPOSE_PDF_SHARED_CLASS FolderFontSource final : public Aspose::Pdf::Text::FontSource
40 {
41  typedef FolderFontSource ThisType;
43 
44  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
45  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
46 
47  friend class Aspose::Pdf::Tests::HTML::Pdf2HtmlConverterTests;
48 
49 public:
50 
54  ASPOSE_PDF_SHARED_API System::String get_FolderPath() const;
58  ASPOSE_PDF_SHARED_API void set_FolderPath(System::String value);
59 
64  ASPOSE_PDF_SHARED_API FolderFontSource(System::String folderPath);
65 
71  ASPOSE_PDF_SHARED_API bool Equals(System::SharedPtr<System::Object> obj) override;
72 
73 protected:
74 
75  ASPOSE_PDF_SHARED_API System::ArrayPtr<System::SharedPtr<Aspose::Font::Sources::FontDefinition>> GetFontDefinitions() override;
76 
77 private:
78 
79  System::String folderPath;
80 
81 };
82 
83 } // namespace Text
84 } // namespace Pdf
85 } // namespace Aspose
86 
87 
String class used across the library. Is a substitute for C# System.String when translating code...
Definition: string.h:121
Definition: signed_info.h:13
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: fwd.h:22
Represents a text type.
Represents the folder that contains font files.
Definition: FolderFontSource.h:39
Definition: AFRelationship.h:4
Represents a base class fot font source.
Definition: FontSource.h:52
means loading of document in HTML format
Whole PDF file will be submitted.