diff options
author | Marco Cecchetti <mrcekets@gmail.com> | 2012-08-15 22:32:42 +0200 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2012-10-10 12:03:28 +0200 |
commit | dd188c470acbd6151b4ed6b71b194ed0bb3c2685 (patch) | |
tree | 7a3c3a72807e86befed41bf059ba07e62af21e41 /filter/source/svg/svgwriter.hxx | |
parent | b76628acb1ae4fc06f8c1b70ec2e0cf39356deef (diff) |
Now MasterPage text fields work, list items are detected correctly, some effect work on text.
Date/Time, Footer and Page Number text fields are displayed correctly again.
Fixed several bugs related to synchronization of the two iterations on both meta comment
actions and text paragraphs/text portions enumerations. At present list items inside a table
or an OLE object are not exported correctly.
Enabled support for animating text paragraph. Both entrance and exit effects work on text
shapes, on the contrary there is not yet support for emphasis effects such as changing font
color and font properties. At present it is possible to apply an effect to the whole paragraph
only, no support is provided for by word or by character effect variants. Another weak point
of current implementation is that if you try to select a fragment of a text shape and in your
selection is included an animatable paragraph the selection is not correct.
Diffstat (limited to 'filter/source/svg/svgwriter.hxx')
-rw-r--r-- | filter/source/svg/svgwriter.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/filter/source/svg/svgwriter.hxx b/filter/source/svg/svgwriter.hxx index 3a23f5fa52ad..125c5efe157c 100644 --- a/filter/source/svg/svgwriter.hxx +++ b/filter/source/svg/svgwriter.hxx @@ -46,6 +46,7 @@ #include <com/sun/star/uno/Reference.h> #include <com/sun/star/container/XEnumerationAccess.hpp> +#include <com/sun/star/container/XContentEnumerationAccess.hpp> #include <com/sun/star/container/XEnumeration.hpp> #include <com/sun/star/container/XIndexReplace.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> @@ -68,6 +69,7 @@ #include <com/sun/star/text/XTextField.hpp> #include <com/sun/star/style/NumberingType.hpp> + // ----------------------------------------------------------------------------- using namespace ::com::sun::star::uno; @@ -204,6 +206,7 @@ class SVGTextWriter VirtualDevice* mpVDev; Reference<XText> mrTextShape; Reference<XEnumeration> mrParagraphEnumeration; + Reference<XTextContent> mrCurrentTextParagraph; Reference<XEnumeration> mrTextPortionEnumeration; Reference<XTextRange> mrCurrentTextPortion; const GDIMetaFile* mpTextEmbeddedBitmapMtf; @@ -215,7 +218,7 @@ class SVGTextWriter Point maTextPos; long int mnTextWidth; sal_Bool mbPositioningNeeded; - sal_Bool mbIsNumbering; + sal_Bool mbIsNewListItem; sal_Int16 meNumberingType; sal_Unicode mcBulletChar; BulletListItemInfoMap maBulletListItemMap; @@ -237,6 +240,7 @@ class SVGTextWriter void setTextProperties( const GDIMetaFile& rMtf, sal_uLong nCurAction ); void addFontAttributes( sal_Bool bIsTextContainer ); + sal_Bool createParagraphEnumeration(); sal_Bool nextParagraph(); sal_Bool nextTextPortion(); |