diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2022-11-22 15:20:38 +0100 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2022-11-22 18:57:30 +0100 |
commit | 9571986f72a3b0acb85eade721d09dad11affeab (patch) | |
tree | 38b5d9b222fd5356867b4f538d729e71f7380815 /svx/source | |
parent | 7a82ea5c79adee70eddf74ac53347544766a91b0 (diff) |
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.stahl@allotropia.de>
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/sdr/contact/viewobjectcontact.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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) |