Issue 116617 - Export SWF - line width error
Summary: Export SWF - line width error
Alias: None
Product: Draw
Classification: Application
Component: save-export (show other issues)
Version: OOo 3.2.1
Hardware: All Windows, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2011-01-25 21:11 UTC by piggin
Modified: 2013-08-07 15:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

OpenOffice Draw file showing correct line widths (green) (9.52 KB, application/
2011-01-25 21:17 UTC, piggin
no flags Details
Macromedia Flash file as example of error (thick green lines) (810 bytes, image/swf)
2011-01-25 21:20 UTC, piggin
no flags Details
SWF file after line is given 25-per-cent transparency (1.07 KB, image/swf)
2011-01-25 21:55 UTC, piggin
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description piggin 2011-01-25 21:11:20 UTC
Summary: When exporting swf (Macromedia Flash) files from the OO Draw 
application, continuous lines with small finite widths are not displayed by the 
Flash client at the preset width, but are bulked out with shadow on both sides 
and become much wider.

# open a new OO Draw document
# set page width to 3,000 mm
# draw several circles approx 30 mm diameter using default style
# draw several "straight connector" lines between the gluepoints on circles 
using the default width (0.00 mm or 1 pixel)
# create a new style
# edit Line tab of this style, chose line width 2.5 mm
# select the straight connector lines and apply this new style to them
# save page as odg, then export the page using Menu File > Export ... > 
Macromedia Flash(SWF) 
# open this SWF file using Adobe Flash Player plugin
# zoom in by using context menu to see the tiny features just drawn

Result: the straight connector lines are much wider than in the Draw 

The styles.xml file calls this line "solid" but the interface calls 
it "continuous".
Care was taken to turn off any possible shadowing. The remaining tabs remained 
# Connector: standard connector
# Transparency: no transparency
# Shadowing: properties box "use shadow" UNchecked 
Experimentation shows that this bug does not seem to occur in the swf export if:
# the line is changed from continuous to another style, for example 2.50 mm, 
dashed, 25 per cent transparency.
# the line is reverted to 0.00 width
The impact of the problem can be slightly reduced if:
# the continuous line is given a degree of transparency, for example 25 per 
cent; in this case the Flash display contains a fairly solid central line with 
fainter shadows both sides that partly obscure other elements on the drawing. 
Attempts to work around the problem by editing the style sheet, deleting any 
other styles that might interfere with line width, did not yield a solution.
This problem was found using both OO 3.2.1 in Windows 7 and 00 3.1.1 in Windows 
XP. The behaviour is the same in both.
Comment 1 piggin 2011-01-25 21:17:06 UTC
Created attachment 75646 [details]
OpenOffice Draw file showing correct line widths (green)
Comment 2 piggin 2011-01-25 21:20:12 UTC
Created attachment 75647 [details]
Macromedia Flash file as example of error (thick green lines)
Comment 3 piggin 2011-01-25 21:55:33 UTC
Created attachment 75648 [details]
SWF file after line is given 25-per-cent transparency
Comment 4 wolframgarten 2011-01-26 06:15:36 UTC
Reproducible. Reassigned.