SystemFontSource.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include "Aspose.PDF.Cpp/CommonData/Text/Fonts/FontSources/FontSource.h"
5 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
6 
7 namespace Aspose
8 {
9 namespace Font
10 {
11 namespace Sources
12 {
13 class FontDefinition;
14 } // namespace Sources
15 } // namespace Font
16 } // namespace Aspose
17 
18 namespace Aspose {
19 
20 namespace Pdf {
21 
22 namespace Text {
23 
27 class ASPOSE_PDF_SHARED_CLASS SystemFontSource final : public Aspose::Pdf::Text::FontSource
28 {
29  typedef SystemFontSource ThisType;
31 
32  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
33  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
34 
35 public:
36 
40  ASPOSE_PDF_SHARED_API SystemFontSource();
41 
47  ASPOSE_PDF_SHARED_API bool Equals(System::SharedPtr<System::Object> obj) override;
48 
49 protected:
50 
51  ASPOSE_PDF_SHARED_API System::ArrayPtr<System::SharedPtr<Aspose::Font::Sources::FontDefinition>> GetFontDefinitions() override;
52 
53 };
54 
55 } // namespace Text
56 } // namespace Pdf
57 } // namespace Aspose
58 
59 
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:64
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.
Definition: AFRelationship.h:4
Represents a base class fot font source.
Definition: FontSource.h:52
Represents all fonts installed to the system.
Definition: SystemFontSource.h:27
Whole PDF file will be submitted.