diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2022-12-01 13:35:32 +0100 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2022-12-01 17:02:00 +0100 |
commit | 4bfa3edaeea444d46f9470d415667fb8df54c32d (patch) | |
tree | ee7f42b131d338bb6b46c693a6ff4294a35f9bf4 /include | |
parent | 0bc96b8805f2cfa2278729a9f3e56a350ddd69ad (diff) |
tdf#135192 svx: PDF/UA export: table tag primitives only if necessary
Introduce a ViewObjectContactOfTableObj which is able to check that a
tagged PDF export is in progress.
For the non-PDF case, for performance, fall back to calling
ViewContact::createViewIndependentPrimitive2DSequence().
Change-Id: I87c86cc862c96868858f9f8617efeeab3846020f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143522
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/svdotable.hxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/svx/svdotable.hxx b/include/svx/svdotable.hxx index 9eea4930aff5..3e0da9a72708 100644 --- a/include/svx/svdotable.hxx +++ b/include/svx/svdotable.hxx @@ -262,6 +262,8 @@ public: virtual void dumpAsXml(xmlTextWriterPtr pWriter) const override; + const TableLayouter& getTableLayouter() const; + private: void init( sal_Int32 nColumns, sal_Int32 nRows ); @@ -274,11 +276,6 @@ private: SdrOutliner* GetCellTextEditOutliner( const sdr::table::Cell& rCell ) const; - // For the ViewContactOfTableObj to build the primitive representation, it is necessary to access the - // TableLayouter for position and attribute information - friend class sdr::contact::ViewContactOfTableObj; - const TableLayouter& getTableLayouter() const; - tools::Rectangle maLogicRect; rtl::Reference<SdrTableObjImpl> mpImpl; }; |