KDE Bug Tracking System
Home
Report New Wish or Bug
Query Existing Reports
First
Last
Prev
Next
No search results available
Search page
Bug
136595
:
border to the text box when open with OO
P
roduct
:
kpresenter
Co
m
ponent
:
opendocument
Status
:
RESOLVED
Resolution
:
FIXED
Target
:
---
Version
:
unspecified
Pr
i
ority
:
NOR
Severity
:
normal
V
otes
:
0
Description
:
Opened:
2006-10-31 21:57
Last Changed:
2006-11-30 09:01:03
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?
Comment
#1
Giovanni Venturi 2006-10-31 21:59:09
Created an attachment (id=18340)
[details]
the presentation I saved
Comment
#2
T Zachmann 2006-11-05 12:22:10
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() ); }
Comment
#3
T Zachmann 2006-11-14 07:35:12
***
Bug 137259
has been marked as a duplicate of this bug. ***
Comment
#4
Richard Bos 2006-11-14 08:34:08
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?
Comment
#5
T Zachmann 2006-11-14 15:03:41
just open and save them in kpresenter. The patch is in the upcomming 1.6.1 release.
Comment
#6
Richard Bos 2006-11-30 09:01:03
Just tested the new kpresenter, and the frames are indeed gone when the odp doc is loaded into OOimpress :) Thanks for fixing.
P
latform
:
unspecified
O
S
:
Linux
K
eywords
:
U
RL
:
People
Reporter
:
Giovanni Venturi
Assigned To
:
T Zachmann
CC
:
richard bos xs4all nl
Related actions
View Bug Activity
Format For Printing
XML
Clone This Bug
Note
You need to
log in
before you can comment on or make changes to this bug.
Attachments
the presentation I saved
(75.17 KB, application/vnd.oasis.opendocument.presentation)
2006-10-31 21:59
,
Giovanni Venturi
Details
View All
Add an attachment
(proposed patch, testcase, etc.)
Depends on
:
B
locks
:
Show dependency tree
-
Show dependency graph
First
Last
Prev
Next
No search results available
Search page
Actions
Reports
Requests
Reports
Bugs reported today
Bugs reported in the last 3 days
Bug reports with patches
Weekly Bug statistics
The most hated bugs
The most severe bugs
The most frequently reported bugs
The most wanted features
Junior Jobs
Report ownership counts and charts
My Account
New Account
Log In