diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-12-21 14:22:13 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-12-21 19:13:47 +0100 |
commit | a3a049840f101cd47e0ec04afef1964c61641a85 (patch) | |
tree | 8d42493330d3341006a574eee9e4802d351be9d7 /writerfilter/inc | |
parent | 44ea0b3a2550a79148fb86f3e7175fffe77674b4 (diff) |
writerfilter: refactor to get rid of remaining scary PositionHandler statics
Change-Id: I954504ad6b730866504a470b8d966fdfe1d58550
Diffstat (limited to 'writerfilter/inc')
-rw-r--r-- | writerfilter/inc/resourcemodel/WW8ResourceModel.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx b/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx index 7bdfeea0130d..f00592d60d7e 100644 --- a/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx +++ b/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx @@ -248,6 +248,12 @@ public: virtual void positionOffset(const OUString& rText, bool bVertical) = 0; /// Returns the last set offsets of a shape in HMM. virtual css::awt::Point getPositionOffset() = 0; + /** + * Horizontal and vertical alignment for a shape. + * + * Call *before* an ooxml:CT_PosH/V_align sprm is sent. + */ + virtual void align(const OUString& rText, bool bVertical) = 0; virtual void positivePercentage(const OUString& rText) = 0; /** |