Kaydet (Commit) dd188c47 authored tarafından Marco Cecchetti's avatar Marco Cecchetti Kaydeden (comit) Thorsten Behrens

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.
üst b76628ac
This diff is collapsed.
This diff is collapsed.
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
#include <com/sun/star/uno/Reference.h> #include <com/sun/star/uno/Reference.h>
#include <com/sun/star/container/XEnumerationAccess.hpp> #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/XEnumeration.hpp>
#include <com/sun/star/container/XIndexReplace.hpp> #include <com/sun/star/container/XIndexReplace.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XServiceInfo.hpp>
...@@ -68,6 +69,7 @@ ...@@ -68,6 +69,7 @@
#include <com/sun/star/text/XTextField.hpp> #include <com/sun/star/text/XTextField.hpp>
#include <com/sun/star/style/NumberingType.hpp> #include <com/sun/star/style/NumberingType.hpp>
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
using namespace ::com::sun::star::uno; using namespace ::com::sun::star::uno;
...@@ -204,6 +206,7 @@ class SVGTextWriter ...@@ -204,6 +206,7 @@ class SVGTextWriter
VirtualDevice* mpVDev; VirtualDevice* mpVDev;
Reference<XText> mrTextShape; Reference<XText> mrTextShape;
Reference<XEnumeration> mrParagraphEnumeration; Reference<XEnumeration> mrParagraphEnumeration;
Reference<XTextContent> mrCurrentTextParagraph;
Reference<XEnumeration> mrTextPortionEnumeration; Reference<XEnumeration> mrTextPortionEnumeration;
Reference<XTextRange> mrCurrentTextPortion; Reference<XTextRange> mrCurrentTextPortion;
const GDIMetaFile* mpTextEmbeddedBitmapMtf; const GDIMetaFile* mpTextEmbeddedBitmapMtf;
...@@ -215,7 +218,7 @@ class SVGTextWriter ...@@ -215,7 +218,7 @@ class SVGTextWriter
Point maTextPos; Point maTextPos;
long int mnTextWidth; long int mnTextWidth;
sal_Bool mbPositioningNeeded; sal_Bool mbPositioningNeeded;
sal_Bool mbIsNumbering; sal_Bool mbIsNewListItem;
sal_Int16 meNumberingType; sal_Int16 meNumberingType;
sal_Unicode mcBulletChar; sal_Unicode mcBulletChar;
BulletListItemInfoMap maBulletListItemMap; BulletListItemInfoMap maBulletListItemMap;
...@@ -237,6 +240,7 @@ class SVGTextWriter ...@@ -237,6 +240,7 @@ class SVGTextWriter
void setTextProperties( const GDIMetaFile& rMtf, sal_uLong nCurAction ); void setTextProperties( const GDIMetaFile& rMtf, sal_uLong nCurAction );
void addFontAttributes( sal_Bool bIsTextContainer ); void addFontAttributes( sal_Bool bIsTextContainer );
sal_Bool createParagraphEnumeration();
sal_Bool nextParagraph(); sal_Bool nextParagraph();
sal_Bool nextTextPortion(); sal_Bool nextTextPortion();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment