LibreOffice Module vcl (master) 1
Public Member Functions | Private Attributes | List of all members
vcl::font::DirectFontSubstitution Class Referencefinal

DirectFontSubstitution is for Tools->Options->FontReplacement and PsPrinter substitutions The class is just a simple port of the unmaintainable manual-linked-list based mechanism. More...

#include <DirectFontSubstitution.hxx>

Inheritance diagram for vcl::font::DirectFontSubstitution:
[legend]
Collaboration diagram for vcl::font::DirectFontSubstitution:
[legend]

Public Member Functions

void AddFontSubstitute (const OUString &rFontName, const OUString &rSubstName, AddFontSubstituteFlags nFlags)
 
void RemoveFontsSubstitute ()
 
bool FindFontSubstitute (OUString &rSubstName, std::u16string_view rFontName) const
 

Private Attributes

std::vector< FontSubstEntrymaFontSubstList
 

Additional Inherited Members

- Protected Member Functions inherited from vcl::font::FontSubstitution
virtual ~FontSubstitution ()
 

Detailed Description

DirectFontSubstitution is for Tools->Options->FontReplacement and PsPrinter substitutions The class is just a simple port of the unmaintainable manual-linked-list based mechanism.

Definition at line 55 of file DirectFontSubstitution.hxx.

Member Function Documentation

◆ AddFontSubstitute()

void vcl::font::DirectFontSubstitution::AddFontSubstitute ( const OUString &  rFontName,
const OUString &  rSubstName,
AddFontSubstituteFlags  nFlags 
)

Definition at line 31 of file DirectFontSubstitution.cxx.

References maFontSubstList.

Referenced by OutputDevice::AddFontSubstitute().

◆ FindFontSubstitute()

bool vcl::font::DirectFontSubstitution::FindFontSubstitute ( OUString &  rSubstName,
std::u16string_view  rFontName 
) const

Definition at line 40 of file DirectFontSubstitution.cxx.

References maFontSubstList.

Referenced by vcl::font::ImplFontSubstitute().

◆ RemoveFontsSubstitute()

void vcl::font::DirectFontSubstitution::RemoveFontsSubstitute ( )

Definition at line 38 of file DirectFontSubstitution.cxx.

References maFontSubstList.

Referenced by OutputDevice::RemoveFontsSubstitute().

Member Data Documentation

◆ maFontSubstList

std::vector<FontSubstEntry> vcl::font::DirectFontSubstitution::maFontSubstList
private

The documentation for this class was generated from the following files: