From 1d546e142274f9f1f1bbc60f095b4b7c7493e469 Mon Sep 17 00:00:00 2001 From: Gökçen Eraslan Date: Sat, 23 Jun 2012 20:30:47 +0300 Subject: Use /Rect [0, 0, 0, 0] if signature is not visible. Change-Id: I271b882d95d6e0bc7b5831add67046e7f476c7dd --- vcl/inc/vcl/pdfwriter.hxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'vcl/inc') diff --git a/vcl/inc/vcl/pdfwriter.hxx b/vcl/inc/vcl/pdfwriter.hxx index 99f99d6f6ca2..8ffab0948d93 100644 --- a/vcl/inc/vcl/pdfwriter.hxx +++ b/vcl/inc/vcl/pdfwriter.hxx @@ -452,12 +452,18 @@ public: struct SignatureWidget: public AnyWidget { + // Use Sig prefix for members to avoid conflict with + // the Location member of the AnyWidget which spcifies the coordinates + // of the signature + rtl::OUString SigLocation; rtl::OUString SigReason; rtl::OUString SigContactInfo; + bool SigHidden; SignatureWidget() - : AnyWidget( vcl::PDFWriter::Signature ) + : AnyWidget( vcl::PDFWriter::Signature ), + SigHidden( true ) {} virtual AnyWidget* Clone() const -- cgit