LibreOffice Module vcl (master) 1
|
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>
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< FontSubstEntry > | maFontSubstList |
Additional Inherited Members | |
Protected Member Functions inherited from vcl::font::FontSubstitution | |
virtual | ~FontSubstitution () |
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.
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().
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().
void vcl::font::DirectFontSubstitution::RemoveFontsSubstitute | ( | ) |
Definition at line 38 of file DirectFontSubstitution.cxx.
References maFontSubstList.
Referenced by OutputDevice::RemoveFontsSubstitute().
|
private |
Definition at line 58 of file DirectFontSubstitution.hxx.
Referenced by AddFontSubstitute(), FindFontSubstitute(), and RemoveFontsSubstitute().