FileFontSource.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 Aspose
19
20
namespace
Aspose
{
21
22
namespace
Pdf
{
23
24
namespace
Text
{
25
29
class
ASPOSE_PDF_SHARED_CLASS
FileFontSource
final :
public
Aspose::Pdf::Text::FontSource
30
{
31
typedef
FileFontSource
ThisType
;
32
typedef
Aspose::Pdf::Text::FontSource
BaseType
;
33
34
typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
35
ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
36
37
public
:
38
42
ASPOSE_PDF_SHARED_API
System::String
get_FilePath()
const
;
46
ASPOSE_PDF_SHARED_API
void
set_FilePath(
System::String
value);
47
52
ASPOSE_PDF_SHARED_API
FileFontSource
(
System::String
filePath);
53
59
ASPOSE_PDF_SHARED_API
bool
Equals(
System::SharedPtr<System::Object>
obj)
override
;
60
61
protected
:
62
63
ASPOSE_PDF_SHARED_API
System::ArrayPtr<System::SharedPtr<Aspose::Font::Sources::FontDefinition>
> GetFontDefinitions()
override
;
64
65
private
:
66
67
System::String
filePath;
68
System::ArrayPtr<System::SharedPtr<Aspose::Font::Sources::FontDefinition>
> fonts;
69
70
};
71
72
}
// namespace Text
73
}
// namespace Pdf
74
}
// namespace Aspose
75
76
System::String
String class used across the library. Is a substitute for C# System.String when translating code...
Definition:
string.h:121
Aspose::Pdf::Text::FileFontSource
Represents single font file source.
Definition:
FileFontSource.h:29
System::SmartPtr
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition:
fwd.h:22
Aspose::Pdf::FieldValueType::Text
Represents a text type.
Aspose
Definition:
AFRelationship.h:4
Aspose::Pdf::Text::FontSource
Represents a base class fot font source.
Definition:
FontSource.h:52
Aspose::Pdf::Facades::SubmitFormFlag::Pdf
Whole PDF file will be submitted.