sd/inc/sdhtmlfilter.hxx | 3 +++ sd/source/filter/html/sdhtmlfilter.cxx | 6 ++++++ 2 files changed, 9 insertions(+)
New commits: commit a07f02a68d5a91a69e119ec25f43a1ca045fb211 Author: Henry Castro <[email protected]> AuthorDate: Tue Sep 9 08:02:46 2025 -0400 Commit: Henry Castro <[email protected]> CommitDate: Tue Oct 14 15:45:36 2025 +0200 sd: expose ExportPage function for use in other components Send accessibility text to the client-side. Change-Id: I9245e1634cace86fb9ea314b0f86a771d75c5de3 Signed-off-by: Henry Castro <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190703 Tested-by: Caolán McNamara <[email protected]> Reviewed-by: Caolán McNamara <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192323 Tested-by: Jenkins diff --git a/sd/inc/sdhtmlfilter.hxx b/sd/inc/sdhtmlfilter.hxx index 84b9c5d48e0f..6ccbdc75438c 100644 --- a/sd/inc/sdhtmlfilter.hxx +++ b/sd/inc/sdhtmlfilter.hxx @@ -21,6 +21,8 @@ #include "sdfilter.hxx" +class SdrOutliner; + // SdHTMLFilter class SdHTMLFilter final : public SdFilter { @@ -29,6 +31,7 @@ public: virtual ~SdHTMLFilter() override; virtual bool Export() override; + static void ExportPage(SdrOutliner* pOutliner, SdPage* pPage, OUStringBuffer& rHtml); }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/filter/html/sdhtmlfilter.cxx b/sd/source/filter/html/sdhtmlfilter.cxx index 5bdc4f9ee833..b9196ebc3d19 100644 --- a/sd/source/filter/html/sdhtmlfilter.cxx +++ b/sd/source/filter/html/sdhtmlfilter.cxx @@ -20,6 +20,7 @@ #include <sfx2/docfile.hxx> #include <sfx2/frame.hxx> #include <sfx2/sfxsids.hrc> +#include <svx/svdoutl.hxx> #include "htmlex.hxx" #include <sdhtmlfilter.hxx> @@ -41,4 +42,9 @@ bool SdHTMLFilter::Export() return true; } +void SdHTMLFilter::ExportPage(SdrOutliner* pOutliner, SdPage* pPage, OUStringBuffer& rHtml) +{ + HtmlExport::ExportPage(pOutliner, pPage, rHtml); +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
