diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2017-08-09 16:06:17 +0200 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2017-08-09 19:07:33 +0200 |
commit | 4a764319cbad4e2589cc105145ac27defbf49ff6 (patch) | |
tree | 9e020cfde1025dea3b1b1fc5839bba27b39ddd8e /include/oox/vml | |
parent | 286c27e805c4501451857abff19c23b3719146a3 (diff) |
tdf#91384: DOCX: import ActiveX controls
Change-Id: Iebf2ff65fcec3231acfc962fb2f1abc2ed2dc67a
Reviewed-on: https://gerrit.libreoffice.org/40930
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'include/oox/vml')
-rw-r--r-- | include/oox/vml/vmldrawing.hxx | 1 | ||||
-rw-r--r-- | include/oox/vml/vmlshapecontext.hxx | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/oox/vml/vmldrawing.hxx b/include/oox/vml/vmldrawing.hxx index e9309f6c8497..e75fd480b82f 100644 --- a/include/oox/vml/vmldrawing.hxx +++ b/include/oox/vml/vmldrawing.hxx @@ -81,6 +81,7 @@ struct OOX_DLLPUBLIC ControlInfo OUString maShapeId; ///< Shape identifier for shape lookup. OUString maFragmentPath; ///< Path to the fragment describing the form control properties. OUString maName; ///< Programmatical name of the form control. + bool mbTextContentShape; ///< Whether this control shape will be imported to Writer or not (has AnchorType poperty or not). explicit ControlInfo(); diff --git a/include/oox/vml/vmlshapecontext.hxx b/include/oox/vml/vmlshapecontext.hxx index fe7afb417b52..f73055b3355f 100644 --- a/include/oox/vml/vmlshapecontext.hxx +++ b/include/oox/vml/vmlshapecontext.hxx @@ -178,6 +178,15 @@ public: onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) override; }; +class ControlShapeContext : public ShapeContextBase +{ +public: + explicit ControlShapeContext( + ::oox::core::ContextHandler2Helper const & rParent, + ShapeContainer& rShapes, + const AttributeList& rAttribs ); +}; + } // namespace vml } // namespace oox |