Version: 1.6.0 (using KDE 3.5.5, compiled sources) Compiler: gcc version 3.4.6 OS: Linux (i686) release 2.6.17.14 I created a presentation with KPresenter 1.6 and saved as Open Document. When I open the file with Open Office 2.0.4 I see the border around the objects, for example around the text box, but in KPresenter I didn't used the border for the box. The "thickness" is set to 0. Why this happen? Wrong saving format?
Created an attachment (id=18340) [details] the presentation I saved
SVN commit 602094 by zachmann: o Fix Bug 136595 border to the text box when open with OO allways save the stroke property. BUG: 136595 M +4 -4 KPrObject.cpp --- branches/koffice/1.6/koffice/kpresenter/KPrObject.cpp #602093:602094 @@ -1658,10 +1658,8 @@ void KPrShadowObject::saveOasisStrokeElement( KoGenStyles& mainStyles, KoGenStyle &styleobjectauto ) const { - if ( pen!=defaultPen() ) + switch( pen.style() ) { - switch( pen.style() ) - { case Qt::NoPen: styleobjectauto.addProperty( "draw:stroke" , "none" ); break; @@ -1678,7 +1676,9 @@ break; default: break; - } + } + if ( pen.style() != Qt::NoPen ) + { styleobjectauto.addProperty( "svg:stroke-color", pen.color().name() ); styleobjectauto.addPropertyPt( "svg:stroke-width", pen.pointWidth() ); }
*** Bug 137259 has been marked as a duplicate of this bug. ***
How to deal with documents that have been created with kpresenter before this patch? Do those documents need to be converted, so the borders/frames don't show up in OOo?
just open and save them in kpresenter. The patch is in the upcomming 1.6.1 release.
Just tested the new kpresenter, and the frames are indeed gone when the odp doc is loaded into OOimpress :) Thanks for fixing.
You need to log in before you can comment on or make changes to this bug.