Hi,

there is a new option inside the code of the pdfexport of LO/OOo, which sets a 
watermark on the exported document. This watermark is currently red. This is a 
bit 
uggly and I think a light green matches better to LO. So I created a patch with 
this 
color change.

Regards,
Andreas
-- 
## Developer LibreOffice
## Freie Office-Suite für Linux, Mac, Windows
## http://LibreOffice.org
## Support the Document Foundation (http://documentfoundation.org)
## Meine Seite: http://www.amantke.de 
From 1c7036ab40a675a51e29d18ecb73ba26b4d6847b Mon Sep 17 00:00:00 2001
From: Andreas Mantke <ma...@gmx.de>
Date: Mon, 20 Dec 2010 22:02:31 +0100
Subject: [PATCH] A change in the color of the watermark

---
 filter/source/pdf/pdfexport.cxx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/filter/source/pdf/pdfexport.cxx b/filter/source/pdf/pdfexport.cxx
index 65abedc..28d8e2b 100644
--- a/filter/source/pdf/pdfexport.cxx
+++ b/filter/source/pdf/pdfexport.cxx
@@ -1005,7 +1005,7 @@ void PDFExport::ImplWriteWatermark( PDFWriter& rWriter, const Size& rPageSize )
     rWriter.Push( PUSH_ALL );
     rWriter.SetMapMode( MapMode( MAP_POINT ) );
     rWriter.SetFont( aFont );
-    rWriter.SetTextColor( COL_RED );
+    rWriter.SetTextColor( COL_LIGHTGREEN );
     Point aTextPoint;
     Rectangle aTextRect;
     if( rPageSize.Width() > rPageSize.Height() )
-- 
1.7.1

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to