Represents repository of TTF tables. More...

Inherits System::Object.

Public Member Functions

ASPOSE_FONT_SHARED_API System::SharedPtr< TtfHeadTableget_HeadTable () const
 Gets head table. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< TtfNameTableget_NameTable () const
 Gets name table. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< TtfMaxpTableget_MaxpTable () const
 Gets maxp table. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< TtfLocaTableget_LocaTable () const
 Gets loca table. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< TtfGlyfTableget_GlyfTable () const
 Gets glyf table. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< TtfCMapTableget_CMapTable () const
 Gets CMap table. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< TtfHheaTableget_HheaTable () const
 Gets hhea table. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< TtfHmtxTableget_HmtxTable () const
 Gets hmtx table. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< TtfPostTableget_PostTable () const
 Gets post table. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< TtfCffTableget_CffTable () const
 Gets cff table. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< TtfCvtTableget_CvtTable () const
 Gets cvt table. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< TtfFpgmTableget_FpgmTable () const
 Gets fpgm table. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< TtfPrepTableget_PrepTable () const
 Gets prep table. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< TtfOs2Tableget_Os2Table () const
 Gets OS/2 table. More...
 
- Public Member Functions inherited from System::Object
ASPOSECPP_SHARED_API Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ASPOSECPP_SHARED_API ~Object ()
 Destroys object. Frees all internal data structures. More...
 
ASPOSECPP_SHARED_API Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value. More...
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object. More...
 
int SharedCount () const
 Gets current value of shared reference counter. More...
 
ASPOSECPP_SHARED_API void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
ASPOSECPP_SHARED_API void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual ASPOSECPP_SHARED_API bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual ASPOSECPP_SHARED_API int32_t GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual ASPOSECPP_SHARED_API String ToString () const
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ASPOSECPP_SHARED_API ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual ASPOSECPP_SHARED_API const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual ASPOSECPP_SHARED_API bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual ASPOSECPP_SHARED_API void SetTemplateWeakPtr (uint32_t argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
virtual ASPOSECPP_SHARED_API bool FastCast (const Details::FastRttiBase &helper, void **out_ptr) const
 For internal purposes only. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
 
template<>
bool Equals (double const &objA, double const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 Specialization of Object::ReferenceEquals for case of string and nullptr. More...
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 Specialization of Object::ReferenceEquals for case of strings. More...
 

Protected Member Functions

System::SharedPtr< TtfOffsetSubtable > get_OffsetSubtable () const
 Gets offset table More...
 
void set_OffsetSubtable (System::SharedPtr< TtfOffsetSubtable > value)
 Sets offset table More...
 
ASPOSE_FONT_SHARED_API void set_HeadTable (System::SharedPtr< TtfHeadTable > value)
 Gets head table. More...
 
ASPOSE_FONT_SHARED_API void set_NameTable (System::SharedPtr< TtfNameTable > value)
 Gets name table. More...
 
ASPOSE_FONT_SHARED_API void set_MaxpTable (System::SharedPtr< TtfMaxpTable > value)
 Gets maxp table. More...
 
ASPOSE_FONT_SHARED_API void set_LocaTable (System::SharedPtr< TtfLocaTable > value)
 Gets loca table. More...
 
ASPOSE_FONT_SHARED_API void set_GlyfTable (System::SharedPtr< TtfGlyfTable > value)
 Gets glyf table. More...
 
ASPOSE_FONT_SHARED_API void set_CMapTable (System::SharedPtr< TtfCMapTable > value)
 Gets CMap table. More...
 
ASPOSE_FONT_SHARED_API void set_HheaTable (System::SharedPtr< TtfHheaTable > value)
 Gets hhea table. More...
 
ASPOSE_FONT_SHARED_API void set_HmtxTable (System::SharedPtr< TtfHmtxTable > value)
 Gets hmtx table. More...
 
ASPOSE_FONT_SHARED_API void set_PostTable (System::SharedPtr< TtfPostTable > value)
 Gets post table. More...
 
System::SharedPtr< TtfKernTable > get_KernTable () const
 Gets kern table. More...
 
void set_KernTable (System::SharedPtr< TtfKernTable > value)
 Sets kern table. More...
 
ASPOSE_FONT_SHARED_API void set_CffTable (System::SharedPtr< TtfCffTable > value)
 Gets cff table. More...
 
ASPOSE_FONT_SHARED_API void set_CvtTable (System::SharedPtr< TtfCvtTable > value)
 Gets cvt table. More...
 
ASPOSE_FONT_SHARED_API void set_FpgmTable (System::SharedPtr< TtfFpgmTable > value)
 Gets fpgm table. More...
 
ASPOSE_FONT_SHARED_API void set_PrepTable (System::SharedPtr< TtfPrepTable > value)
 Gets prep table. More...
 
ASPOSE_FONT_SHARED_API void set_Os2Table (System::SharedPtr< TtfOs2Table > value)
 Gets OS/2 table. More...
 
System::ArrayPtr< System::SharedPtr< TTFNonSupportedTable > > get_NonSupportedTables ()
 
System::String get_DiagnosticsInfo () const
 
void set_DiagnosticsInfo (System::String value)
 
System::SharedPtr< Aspose::Font::Otl::AdvancedTypographicTables::TtfGposTable > get_GPOSTable () const
 Gets GPOS table More...
 
void set_GPOSTable (System::SharedPtr< Aspose::Font::Otl::AdvancedTypographicTables::TtfGposTable > value)
 Gets GPOS table More...
 
System::SharedPtr< Aspose::Font::Otl::AdvancedTypographicTables::TtfGSubTable > get_GSUBTable () const
 Gets GSUB table More...
 
void set_GSUBTable (System::SharedPtr< Aspose::Font::Otl::AdvancedTypographicTables::TtfGSubTable > value)
 Gets GSUB table More...
 
System::SharedPtr< Aspose::Font::Otl::AdvancedTypographicTables::TtfGdefTable > get_GDEFTable () const
 Gets GDEF table More...
 
void set_GDEFTable (System::SharedPtr< Aspose::Font::Otl::AdvancedTypographicTables::TtfGdefTable > value)
 Gets GDEF table More...
 
void AddNonSupportedTable (System::SharedPtr< TTFNonSupportedTable > table)
 

Static Protected Member Functions

static System::SharedPtr< TtfTableRepositoryCreateTableRepository ()
 Creates regular empty repository More...
 
static System::SharedPtr< TtfTableRepositoryCreateSubsetTableRepository (System::SharedPtr< TtfTableRepository > originalRepository)
 Creates new repository for font subset More...
 

Protected Attributes

System::SharedPtr< System::Collections::Generic::SortedDictionary< System::String, System::SharedPtr< TtfTableBase > > > TagSequence
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 Reference-compares value type object with nullptr. More...
 
template<typename T1 , typename T2 >
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares reference type objects in C# style. More...
 
template<typename T1 , typename T2 >
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares value type objects in C# style. More...
 
static const TypeInfoType ()
 Implements C# typeof(System.Object) construct. More...
 

Detailed Description

Represents repository of TTF tables.

Member Function Documentation

◆ AddNonSupportedTable()

void Aspose::Font::TtfTables::TtfTableRepository::AddNonSupportedTable ( System::SharedPtr< TTFNonSupportedTable >  table)
protected

◆ CreateSubsetTableRepository()

static System::SharedPtr<TtfTableRepository> Aspose::Font::TtfTables::TtfTableRepository::CreateSubsetTableRepository ( System::SharedPtr< TtfTableRepository originalRepository)
staticprotected

Creates new repository for font subset

◆ CreateTableRepository()

static System::SharedPtr<TtfTableRepository> Aspose::Font::TtfTables::TtfTableRepository::CreateTableRepository ( )
staticprotected

Creates regular empty repository

Returns

◆ get_CffTable()

ASPOSE_FONT_SHARED_API System::SharedPtr<TtfCffTable> Aspose::Font::TtfTables::TtfTableRepository::get_CffTable ( ) const

Gets cff table.

◆ get_CMapTable()

ASPOSE_FONT_SHARED_API System::SharedPtr<TtfCMapTable> Aspose::Font::TtfTables::TtfTableRepository::get_CMapTable ( ) const

Gets CMap table.

◆ get_CvtTable()

ASPOSE_FONT_SHARED_API System::SharedPtr<TtfCvtTable> Aspose::Font::TtfTables::TtfTableRepository::get_CvtTable ( ) const

Gets cvt table.

◆ get_DiagnosticsInfo()

System::String Aspose::Font::TtfTables::TtfTableRepository::get_DiagnosticsInfo ( ) const
protected

◆ get_FpgmTable()

ASPOSE_FONT_SHARED_API System::SharedPtr<TtfFpgmTable> Aspose::Font::TtfTables::TtfTableRepository::get_FpgmTable ( ) const

Gets fpgm table.

◆ get_GDEFTable()

System::SharedPtr<Aspose::Font::Otl::AdvancedTypographicTables::TtfGdefTable> Aspose::Font::TtfTables::TtfTableRepository::get_GDEFTable ( ) const
protected

Gets GDEF table

◆ get_GlyfTable()

ASPOSE_FONT_SHARED_API System::SharedPtr<TtfGlyfTable> Aspose::Font::TtfTables::TtfTableRepository::get_GlyfTable ( ) const

Gets glyf table.

◆ get_GPOSTable()

System::SharedPtr<Aspose::Font::Otl::AdvancedTypographicTables::TtfGposTable> Aspose::Font::TtfTables::TtfTableRepository::get_GPOSTable ( ) const
protected

Gets GPOS table

◆ get_GSUBTable()

System::SharedPtr<Aspose::Font::Otl::AdvancedTypographicTables::TtfGSubTable> Aspose::Font::TtfTables::TtfTableRepository::get_GSUBTable ( ) const
protected

Gets GSUB table

◆ get_HeadTable()

ASPOSE_FONT_SHARED_API System::SharedPtr<TtfHeadTable> Aspose::Font::TtfTables::TtfTableRepository::get_HeadTable ( ) const

Gets head table.

◆ get_HheaTable()

ASPOSE_FONT_SHARED_API System::SharedPtr<TtfHheaTable> Aspose::Font::TtfTables::TtfTableRepository::get_HheaTable ( ) const

Gets hhea table.

◆ get_HmtxTable()

ASPOSE_FONT_SHARED_API System::SharedPtr<TtfHmtxTable> Aspose::Font::TtfTables::TtfTableRepository::get_HmtxTable ( ) const

Gets hmtx table.

◆ get_KernTable()

System::SharedPtr<TtfKernTable> Aspose::Font::TtfTables::TtfTableRepository::get_KernTable ( ) const
protected

Gets kern table.

◆ get_LocaTable()

ASPOSE_FONT_SHARED_API System::SharedPtr<TtfLocaTable> Aspose::Font::TtfTables::TtfTableRepository::get_LocaTable ( ) const

Gets loca table.

◆ get_MaxpTable()

ASPOSE_FONT_SHARED_API System::SharedPtr<TtfMaxpTable> Aspose::Font::TtfTables::TtfTableRepository::get_MaxpTable ( ) const

Gets maxp table.

◆ get_NameTable()

ASPOSE_FONT_SHARED_API System::SharedPtr<TtfNameTable> Aspose::Font::TtfTables::TtfTableRepository::get_NameTable ( ) const

Gets name table.

◆ get_NonSupportedTables()

System::ArrayPtr<System::SharedPtr<TTFNonSupportedTable> > Aspose::Font::TtfTables::TtfTableRepository::get_NonSupportedTables ( )
protected

◆ get_OffsetSubtable()

System::SharedPtr<TtfOffsetSubtable> Aspose::Font::TtfTables::TtfTableRepository::get_OffsetSubtable ( ) const
protected

Gets offset table

◆ get_Os2Table()

ASPOSE_FONT_SHARED_API System::SharedPtr<TtfOs2Table> Aspose::Font::TtfTables::TtfTableRepository::get_Os2Table ( ) const

Gets OS/2 table.

◆ get_PostTable()

ASPOSE_FONT_SHARED_API System::SharedPtr<TtfPostTable> Aspose::Font::TtfTables::TtfTableRepository::get_PostTable ( ) const

Gets post table.

◆ get_PrepTable()

ASPOSE_FONT_SHARED_API System::SharedPtr<TtfPrepTable> Aspose::Font::TtfTables::TtfTableRepository::get_PrepTable ( ) const

Gets prep table.

◆ set_CffTable()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfTableRepository::set_CffTable ( System::SharedPtr< TtfCffTable value)
protected

Gets cff table.

◆ set_CMapTable()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfTableRepository::set_CMapTable ( System::SharedPtr< TtfCMapTable value)
protected

Gets CMap table.

◆ set_CvtTable()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfTableRepository::set_CvtTable ( System::SharedPtr< TtfCvtTable value)
protected

Gets cvt table.

◆ set_DiagnosticsInfo()

void Aspose::Font::TtfTables::TtfTableRepository::set_DiagnosticsInfo ( System::String  value)
protected

◆ set_FpgmTable()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfTableRepository::set_FpgmTable ( System::SharedPtr< TtfFpgmTable value)
protected

Gets fpgm table.

◆ set_GDEFTable()

void Aspose::Font::TtfTables::TtfTableRepository::set_GDEFTable ( System::SharedPtr< Aspose::Font::Otl::AdvancedTypographicTables::TtfGdefTable >  value)
protected

Gets GDEF table

◆ set_GlyfTable()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfTableRepository::set_GlyfTable ( System::SharedPtr< TtfGlyfTable value)
protected

Gets glyf table.

◆ set_GPOSTable()

void Aspose::Font::TtfTables::TtfTableRepository::set_GPOSTable ( System::SharedPtr< Aspose::Font::Otl::AdvancedTypographicTables::TtfGposTable >  value)
protected

Gets GPOS table

◆ set_GSUBTable()

void Aspose::Font::TtfTables::TtfTableRepository::set_GSUBTable ( System::SharedPtr< Aspose::Font::Otl::AdvancedTypographicTables::TtfGSubTable >  value)
protected

Gets GSUB table

◆ set_HeadTable()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfTableRepository::set_HeadTable ( System::SharedPtr< TtfHeadTable value)
protected

Gets head table.

◆ set_HheaTable()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfTableRepository::set_HheaTable ( System::SharedPtr< TtfHheaTable value)
protected

Gets hhea table.

◆ set_HmtxTable()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfTableRepository::set_HmtxTable ( System::SharedPtr< TtfHmtxTable value)
protected

Gets hmtx table.

◆ set_KernTable()

void Aspose::Font::TtfTables::TtfTableRepository::set_KernTable ( System::SharedPtr< TtfKernTable >  value)
protected

Sets kern table.

◆ set_LocaTable()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfTableRepository::set_LocaTable ( System::SharedPtr< TtfLocaTable value)
protected

Gets loca table.

◆ set_MaxpTable()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfTableRepository::set_MaxpTable ( System::SharedPtr< TtfMaxpTable value)
protected

Gets maxp table.

◆ set_NameTable()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfTableRepository::set_NameTable ( System::SharedPtr< TtfNameTable value)
protected

Gets name table.

◆ set_OffsetSubtable()

void Aspose::Font::TtfTables::TtfTableRepository::set_OffsetSubtable ( System::SharedPtr< TtfOffsetSubtable >  value)
protected

Sets offset table

◆ set_Os2Table()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfTableRepository::set_Os2Table ( System::SharedPtr< TtfOs2Table value)
protected

Gets OS/2 table.

◆ set_PostTable()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfTableRepository::set_PostTable ( System::SharedPtr< TtfPostTable value)
protected

Gets post table.

◆ set_PrepTable()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfTableRepository::set_PrepTable ( System::SharedPtr< TtfPrepTable value)
protected

Gets prep table.

Member Data Documentation

◆ TagSequence

System::SharedPtr<System::Collections::Generic::SortedDictionary<System::String, System::SharedPtr<TtfTableBase> > > Aspose::Font::TtfTables::TtfTableRepository::TagSequence
protected