IFontSubstitutionRegistrator.h
1
#pragma once
2
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3
4
#include <system/object.h>
5
6
namespace
Aspose
7
{
8
namespace
Font
9
{
10
namespace
Sources
11
{
12
class
FontDefinition;
13
}
// namespace Sources
14
}
// namespace Font
15
namespace
Pdf
16
{
17
namespace
Engine
18
{
19
namespace
Addressing
20
{
21
class
IRegistrar;
22
}
// namespace Addressing
23
namespace
CommonData
24
{
25
namespace
Text
26
{
27
namespace
Fonts
28
{
29
class
IPdfFont;
30
}
// namespace Fonts
31
}
// namespace Text
32
}
// namespace CommonData
33
namespace
Data
34
{
35
class
ITrailerable;
36
}
// namespace Data
37
}
// namespace Engine
38
namespace
Text
39
{
40
class
Font;
41
}
// namespace Text
42
}
// namespace Pdf
43
}
// namespace Aspose
44
namespace
System
45
{
46
namespace
Collections
47
{
48
namespace
Generic
49
{
50
template
<
typename
,
typename
>
class
Dictionary;
51
}
// namespace Generic
52
}
// namespace Collections
53
}
// namespace System
54
55
namespace
Aspose
{
56
57
namespace
Pdf {
58
59
namespace
Text
{
60
64
class
IFontSubstitutionRegistrator
:
public
System::Object
65
{
66
typedef
IFontSubstitutionRegistrator
ThisType
;
67
typedef
System::Object
BaseType
;
68
69
typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
70
RTTI_INFO_DECL();
71
72
public
:
73
80
virtual
void
RegistrySubstitution(
System::SharedPtr<Aspose::Pdf::Engine::CommonData::Text::Fonts::IPdfFont>
oldFont,
System::SharedPtr<Aspose::Pdf::Engine::CommonData::Text::Fonts::IPdfFont>
newFont,
System::SharedPtr<Aspose::Pdf::Engine::Data::ITrailerable>
trailerable) = 0;
88
virtual
void
RegistrySubstitution(
System::SharedPtr<Aspose::Font::Sources::FontDefinition>
oldFontDef,
System::SharedPtr<Aspose::Font::Sources::FontDefinition>
newFontDef) = 0;
94
virtual
System::SharedPtr<System::Collections::Generic::Dictionary<System::SharedPtr<Aspose::Pdf::Text::Font>
,
System::SharedPtr<Aspose::Pdf::Text::Font>
>> GetAllSubstitutions() = 0;
95
96
};
97
101
class
IFontSubstitutionCallback
:
public
System::Object
102
{
103
typedef
IFontSubstitutionCallback
ThisType
;
104
typedef
System::Object
BaseType
;
105
106
typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
107
RTTI_INFO_DECL();
108
109
public
:
110
114
virtual
bool
get_NotifyAboutFontSubstitutions() = 0;
118
virtual
System::SharedPtr<Aspose::Pdf::Engine::Addressing::IRegistrar>
get_Registrar() = 0;
119
125
virtual
void
NotifyAboutSubstitution(
System::SharedPtr<Aspose::Pdf::Text::Font>
oldFont,
System::SharedPtr<Aspose::Pdf::Text::Font>
newFont) = 0;
126
127
};
128
129
}
// namespace Text
130
}
// namespace Pdf
131
}
// namespace Aspose
132
133
Aspose::Pdf::AFRelationship::Data
Data
System::Object
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition:
object.h:64
System
Definition:
Artifact.h:67
Aspose::Pdf::Text::IFontSubstitutionCallback
This interface declares a callback mechanism to send notifications
Definition:
IFontSubstitutionRegistrator.h:101
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::IFontSubstitutionRegistrator
This interface declares necessary functionality for register font substitutions
Definition:
IFontSubstitutionRegistrator.h:64
Aspose::Pdf::Facades::SubmitFormFlag::Pdf
Whole PDF file will be submitted.