Issue 84796 - Pdfexport.cxx: META_COMMENT_ACTION ignores fill color
Summary: Pdfexport.cxx: META_COMMENT_ACTION ignores fill color
Status: ACCEPTED
Alias: None
Product: Draw
Classification: Application
Component: save-export (show other issues)
Version: 680m228
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-20 13:45 UTC by Armin Le Grand
Modified: 2013-08-07 15:40 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Armin Le Grand 2007-12-20 13:45:53 UTC
AW->SJ: In filter/source/pdf/pdfexport.cxx when a META_COMMENT_ACTION is
processed, only the polygon data is taken from SvtGraphicFill, but not the fill
color which is contained. When a render sequence is like:

...XPATHFILL_SEQ_BEGIN
...SetFillColor(Color(aPolygonColor));
...SetLineColor();
...DrawPolyPolygon(aLocalPolyPolygon);
...XPATHFILL_SEQ_END

teh set fill color will NOT be the color the polygon is filled with. This can be
avoided by putting SetFillColor/SetLineColor before XPATHFILL_SEQ_BEGIN (which i
did for now). Since the SEQ_BEGIN and SEQ_END should completely replace the
content in-between them, it is more correct to keep SetFillColor/SetLineColor
there, so please correct that.
Comment 1 sven.jacobi 2008-06-05 12:43:27 UTC
changed target