sw/qa/extras/embedded_fonts/embedded_fonts.cxx | 5 +++++ 1 file changed, 5 insertions(+)
New commits: commit b0593e1ed6546adbb9b85b623a5b63f2381f3ebf Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Fri Aug 15 12:06:44 2025 +0500 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Fri Aug 15 10:39:24 2025 +0200 Document some classes in embedded_fonts Change-Id: If7fb44d890332f45054dbec353c076e9affc1b25 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189660 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/sw/qa/extras/embedded_fonts/embedded_fonts.cxx b/sw/qa/extras/embedded_fonts/embedded_fonts.cxx index 1a25f9c64301..aefc57c9f09f 100644 --- a/sw/qa/extras/embedded_fonts/embedded_fonts.cxx +++ b/sw/qa/extras/embedded_fonts/embedded_fonts.cxx @@ -31,6 +31,7 @@ namespace { +// Tests for embedded fonts in Writer documents class Test : public SwModelTestBase { public: @@ -40,6 +41,8 @@ public: } }; +// A custom interaction handler specifically handling FontsDisallowEditingRequest, allowing to test +// what was requested, and how many times; and to define the answer in tests class FontInteractionHandler : public comphelper::WeakImplHelper<task::XInteractionHandler> { public: @@ -107,6 +110,8 @@ private: OUString maRequestedFontName; }; +// A wrapped over XFontMappingUse, simplifying checks if some fonts were actually used in tests, +// and if their use required a substitution or not class FontMappingUseListener { public: