summaryrefslogtreecommitdiff
path: root/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2009-02-17 09:55:28 +0000
committerOliver Bolte <obo@openoffice.org>2009-02-17 09:55:28 +0000
commit7151f3fae03157040120644c870d7c833c09ef9d (patch)
tree1ebd5659d8ebe2b2395403660ad92ce70bcb0a22 /sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
parente03fcb7ad74e6f216529ad1109ac72acf155d004 (diff)
CWS-TOOLING: integrate CWS pdfextfix
2009-01-30 15:01:16 +0100 pl r267198 : remove an extra character produced by gperf, fix a warning 2009-01-26 12:55:07 +0100 pl r266917 : #i92912# add: outline text 2009-01-14 17:03:30 +0100 pl r266319 : #i94952# replace fonts in test files by DejaVu family 2009-01-14 14:29:05 +0100 pl r266303 : #i91980# add standard style dependency for graphic styles
Diffstat (limited to 'sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx')
-rw-r--r--sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
index 7ce3c93e4ccf..63c62ce786de 100644
--- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
+++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
@@ -128,7 +128,7 @@ void writeJpeg_( OutputBuffer& o_rOutputBuf, Stream* str, bool bWithLinefeed )
while((c=str->getChar()) != EOF)
o_rOutputBuf.push_back(static_cast<char>(c));
- printf( " JPEG %d", o_rOutputBuf.size() );
+ printf( " JPEG %d", (int)o_rOutputBuf.size() );
if( bWithLinefeed )
printf("\n");
@@ -573,6 +573,13 @@ void PDFOutDev::updateFont(GfxState *state)
}
}
+void PDFOutDev::updateRender(GfxState *state)
+{
+ assert(state);
+
+ printf( "setTextRenderMode %d\n", state->getRender() );
+}
+
void PDFOutDev::stroke(GfxState *state)
{
assert(state);
@@ -747,7 +754,7 @@ void PDFOutDev::drawImage(GfxState*, Object*, Stream* str,
}
}
- printf( " %d", aMaskBuf.size() );
+ printf( " %d", (int)aMaskBuf.size() );
writeImageLF( aBuf, str, width, height, colorMap );
writeBinaryBuffer(aBuf);
writeBinaryBuffer(aMaskBuf);