diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-03-14 12:22:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-03-14 19:17:08 +0100 |
commit | acd40306b3737d50cf24462b2d3e451092543e64 (patch) | |
tree | 5b27738137ce38751208f2023827e7b5443ccca1 /vcl/inc/font/PhysicalFontCollection.hxx | |
parent | c8400f5acc36d2cf0c007260bdc94534a53bba90 (diff) |
reduce symbol visibility in vcl
Change-Id: Ifaa37246e79678aa0c548b9ca8a9faf8036b9195
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164804
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/font/PhysicalFontCollection.hxx')
-rw-r--r-- | vcl/inc/font/PhysicalFontCollection.hxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/vcl/inc/font/PhysicalFontCollection.hxx b/vcl/inc/font/PhysicalFontCollection.hxx index d791f7b6927f..56a8de7bc34e 100644 --- a/vcl/inc/font/PhysicalFontCollection.hxx +++ b/vcl/inc/font/PhysicalFontCollection.hxx @@ -52,29 +52,29 @@ public: // fill the list with device font faces void Add( vcl::font::PhysicalFontFace* ); - void Clear(); + SAL_DLLPRIVATE void Clear(); int Count() const { return maPhysicalFontFamilies.size(); } // find the device font family vcl::font::PhysicalFontFamily* FindFontFamily( std::u16string_view rFontName ) const; vcl::font::PhysicalFontFamily* FindOrCreateFontFamily( const OUString &rFamilyName ); - vcl::font::PhysicalFontFamily* FindFontFamily( vcl::font::FontSelectPattern& ) const; + SAL_DLLPRIVATE vcl::font::PhysicalFontFamily* FindFontFamily( vcl::font::FontSelectPattern& ) const; vcl::font::PhysicalFontFamily* FindFontFamilyByTokenNames(std::u16string_view rTokenStr) const; vcl::font::PhysicalFontFamily* FindFontFamilyByAttributes(ImplFontAttrs nSearchType, FontWeight, FontWidth, FontItalic, std::u16string_view rSearchFamily) const; // suggest fonts for glyph fallback - vcl::font::PhysicalFontFamily* GetGlyphFallbackFont( vcl::font::FontSelectPattern&, + SAL_DLLPRIVATE vcl::font::PhysicalFontFamily* GetGlyphFallbackFont( vcl::font::FontSelectPattern&, LogicalFontInstance* pLogicalFont, OUString& rMissingCodes, int nFallbackLevel ) const; // prepare platform specific font substitutions - void SetPreMatchHook( vcl::font::PreMatchFontSubstitution* ); - void SetFallbackHook( vcl::font::GlyphFallbackFontSubstitution* ); + SAL_DLLPRIVATE void SetPreMatchHook( vcl::font::PreMatchFontSubstitution* ); + void SetFallbackHook( vcl::font::GlyphFallbackFontSubstitution* ); // misc utilities - std::shared_ptr<PhysicalFontCollection> Clone() const; - std::unique_ptr<vcl::font::PhysicalFontFaceCollection> GetFontFaceCollection() const; + SAL_DLLPRIVATE std::shared_ptr<PhysicalFontCollection> Clone() const; + SAL_DLLPRIVATE std::unique_ptr<vcl::font::PhysicalFontFaceCollection> GetFontFaceCollection() const; private: mutable bool mbMatchData; // true if matching attributes are initialized @@ -88,13 +88,13 @@ private: mutable std::unique_ptr<std::array<vcl::font::PhysicalFontFamily*,MAX_GLYPHFALLBACK>> mpFallbackList; mutable int mnFallbackCount; - void ImplInitMatchData() const; - void ImplInitGenericGlyphFallback() const; + SAL_DLLPRIVATE void ImplInitMatchData() const; + SAL_DLLPRIVATE void ImplInitGenericGlyphFallback() const; - vcl::font::PhysicalFontFamily* ImplFindFontFamilyBySearchName( const OUString& ) const; - vcl::font::PhysicalFontFamily* ImplFindFontFamilyBySubstFontAttr( const utl::FontNameAttr& ) const; + SAL_DLLPRIVATE vcl::font::PhysicalFontFamily* ImplFindFontFamilyBySearchName( const OUString& ) const; + SAL_DLLPRIVATE vcl::font::PhysicalFontFamily* ImplFindFontFamilyBySubstFontAttr( const utl::FontNameAttr& ) const; - vcl::font::PhysicalFontFamily* ImplFindFontFamilyOfDefaultFont() const; + SAL_DLLPRIVATE vcl::font::PhysicalFontFamily* ImplFindFontFamilyOfDefaultFont() const; }; |