diff options
Diffstat (limited to 'include/svtools/sampletext.hxx')
-rw-r--r-- | include/svtools/sampletext.hxx | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/include/svtools/sampletext.hxx b/include/svtools/sampletext.hxx index 3027f384f289..d85391b5b04d 100644 --- a/include/svtools/sampletext.hxx +++ b/include/svtools/sampletext.hxx @@ -14,24 +14,27 @@ #include <vcl/fontcapabilities.hxx> class OutputDevice; -namespace vcl { class Font; } +namespace vcl +{ +class Font; +} UScriptCode otCoverageToScript(vcl::UnicodeCoverage::UnicodeCoverageEnum eOTCoverage); -bool isSymbolFont(const vcl::Font &rFont); +bool isSymbolFont(const vcl::Font& rFont); -bool canRenderNameOfSelectedFont(OutputDevice const &rDevice); +bool canRenderNameOfSelectedFont(OutputDevice const& rDevice); //These ones are typically for use in the font dropdown box beside the //fontname, so say things roughly like "Script/Alphabet/Name-Of-Major-Language" -OUString makeShortRepresentativeSymbolTextForSelectedFont(OutputDevice const &rDevice); -OUString makeShortRepresentativeTextForSelectedFont(OutputDevice const &rDevice); +OUString makeShortRepresentativeSymbolTextForSelectedFont(OutputDevice const& rDevice); +OUString makeShortRepresentativeTextForSelectedFont(OutputDevice const& rDevice); OUString makeShortRepresentativeTextForScript(UScriptCode eScript); //For the cases where the font doesn't fully support a script, but has partial support //for a useful subset OUString makeShortMinimalTextForScript(UScriptCode eScript); //These ones are typically for use in the font preview window in format character -SVT_DLLPUBLIC OUString makeRepresentativeTextForFont(sal_Int16 nScriptType, const vcl::Font &rFont); +SVT_DLLPUBLIC OUString makeRepresentativeTextForFont(sal_Int16 nScriptType, const vcl::Font& rFont); /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |