svx/source/sdr/contact/viewobjectcontact.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 9571986f72a3b0acb85eade721d09dad11affeab Author: Michael Stahl <michael.st...@allotropia.de> AuthorDate: Tue Nov 22 15:20:38 2022 +0100 Commit: Michael Stahl <michael.st...@allotropia.de> CommitDate: Tue Nov 22 18:57:30 2022 +0100 tdf#135638 svx: PDF/UA export: also tag *all* text shapes For unkown reasons only TitleText and OutlineText were tagged when this code was added in 2004 commit 489cf28b88e174db4dffc55d9aa245e7d7c90a2c. Tag as Div, like Writer in SwTaggedPDFHelper::BeginBlockStructureElements(). Change-Id: I55ccf26bceac4f89383f1ec1de6c00d0a1353615 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143120 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.st...@allotropia.de> diff --git a/svx/source/sdr/contact/viewobjectcontact.cxx b/svx/source/sdr/contact/viewobjectcontact.cxx index 74c78868b80e..f3e212ca1599 100644 --- a/svx/source/sdr/contact/viewobjectcontact.cxx +++ b/svx/source/sdr/contact/viewobjectcontact.cxx @@ -402,6 +402,8 @@ drawinglayer::primitive2d::Primitive2DContainer const & ViewObjectContact::getPr eElement = vcl::PDFWriter::Division; else if ( !bIsTextObj || !static_cast<const SdrTextObj&>(*pSdrObj).HasText() ) eElement = vcl::PDFWriter::Figure; + else + eElement = vcl::PDFWriter::Division; } if(vcl::PDFWriter::NonStructElement != eElement)