summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorPascal Junck <pjunck@openoffice.org>2004-10-28 09:33:41 +0000
committerPascal Junck <pjunck@openoffice.org>2004-10-28 09:33:41 +0000
commitd7bbc5f60961247bf6e561189386dd60ff1d99ab (patch)
treede9b227b7c0117c7032100dbe31bd1d5770436a6 /vcl
parentf538970930a9662968c3fd5b0681cb6be0cf13fb (diff)
INTEGRATION: CWS pdf02 (1.30.10); FILE MERGED
2004/10/11 17:55:24 pl 1.30.10.3: #i26240# handle fill/line colors with transparency as outdev.cxx 2004/09/21 18:19:14 pl 1.30.10.2: #i33412# compression for transparency groups 2004/09/21 12:32:54 pl 1.30.10.1: #i33091# add support for SvtGraphicStroke
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/pdfwriter_impl.hxx13
1 files changed, 9 insertions, 4 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx
index a88608bd8b0b..c30949638acb 100644
--- a/vcl/source/gdi/pdfwriter_impl.hxx
+++ b/vcl/source/gdi/pdfwriter_impl.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: pdfwriter_impl.hxx,v $
*
- * $Revision: 1.30 $
+ * $Revision: 1.31 $
*
- * last change: $Author: hr $ $Date: 2004-09-08 16:22:06 $
+ * last change: $Author: pjunck $ $Date: 2004-10-28 10:33:41 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -475,6 +475,10 @@ public:
static const sal_Char* getAttributeTag( PDFWriter::StructAttribute eAtr );
static const sal_Char* getAttributeValueTag( PDFWriter::StructAttributeValue eVal );
+ // returns true if compression was done
+ // else false
+ static bool compressStream( SvMemoryStream* );
+
private:
static const BuiltinFont m_aBuiltinFonts[14];
@@ -807,10 +811,10 @@ public:
const MapMode& getMapMode() { return m_aGraphicsStack.front().m_aMapMode; }
void setLineColor( const Color& rColor )
- { m_aGraphicsStack.front().m_aLineColor = rColor; }
+ { m_aGraphicsStack.front().m_aLineColor = ImplIsColorTransparent(rColor) ? Color( COL_TRANSPARENT ) : rColor; }
void setFillColor( const Color& rColor )
- { m_aGraphicsStack.front().m_aFillColor = rColor; }
+ { m_aGraphicsStack.front().m_aFillColor = ImplIsColorTransparent(rColor) ? Color( COL_TRANSPARENT ) : rColor; }
void setTextLineColor()
{ m_aGraphicsStack.front().m_aTextLineColor = Color( COL_TRANSPARENT ); }
@@ -866,6 +870,7 @@ public:
void drawPolyPolygon( const PolyPolygon& rPolyPoly );
void drawPolyLine( const Polygon& rPoly );
void drawPolyLine( const Polygon& rPoly, const LineInfo& rInfo );
+ void drawPolyLine( const Polygon& rPoly, const PDFWriter::ExtLineInfo& rInfo );
void drawWaveLine( const Point& rStart, const Point& rStop, sal_Int32 nDelta, sal_Int32 nLineWidth );
void drawPixel( const Point& rPt, const Color& rColor );