|
LibreOffice Module sdext (master) 1
|
#include "pdfioutdev_gpl.hxx"#include "pnghelper.hxx"#include <stdlib.h>#include <stdio.h>#include <assert.h>#include <math.h>#include <memory>#include <vector>#include "UTF8.h"Go to the source code of this file.
Namespaces | |
| namespace | pdfi |
Macros | |
| #define | WRITE_BUFFER_SIZE 1024 |
| for the temp char buffer the header gets snprintfed in More... | |
| #define | WRITE_BUFFER_INITIAL_CAPACITY (1024*100) |
| for the initial std::vector capacity when copying stream from xpdf More... | |
Functions | |
| static double | pdfi::normalize (double val) |
| cut off very small numbers & clamp value to zero More... | |
| static void | pdfi::initBuf (OutputBuffer &io_rBuffer) |
| static void | pdfi::writeBinaryBuffer (const OutputBuffer &rBuffer) |
| static bool | pdfi::ExtractJpegData (Stream *str, OutputBuffer &outBuf) |
| static void | pdfi::writeJpeg_ (OutputBuffer &o_rOutputBuf, Stream *str) |
| static void | pdfi::writePbm_ (OutputBuffer &o_rOutputBuf, Stream *str, int width, int height, bool bInvert) |
| static void | pdfi::writePpm_ (OutputBuffer &o_rOutputBuf, Stream *str, int width, int height, GfxImageColorMap *colorMap) |
| static void | pdfi::writePng_ (OutputBuffer &o_rOutputBuf, Stream *str, int width, int height, GfxRGB const &zeroColor, GfxRGB const &oneColor, bool bIsMask) |
| static void | pdfi::writePng_ (OutputBuffer &o_rOutputBuf, Stream *str, int width, int height, GfxImageColorMap *colorMap, Stream *maskStr, int maskWidth, int maskHeight, GfxImageColorMap *maskColorMap) |
| static void | pdfi::writePng_ (OutputBuffer &o_rOutputBuf, Stream *str, int width, int height, GfxImageColorMap *colorMap, Stream *maskStr, int maskWidth, int maskHeight, bool maskInvert) |
| static void | pdfi::writeMask_ (OutputBuffer &o_rOutputBuf, Stream *str, int width, int height, bool bInvert) |
| static void | pdfi::writeImage_ (OutputBuffer &o_rOutputBuf, Stream *str, int width, int height, GfxImageColorMap *colorMap) |
| static void | pdfi::writeImageLF (OutputBuffer &o_rOutputBuf, Stream *str, int width, int height, GfxImageColorMap *colorMap) |
| static void | pdfi::writeMaskLF (OutputBuffer &o_rOutputBuf, Stream *str, int width, int height, bool bInvert) |
| #define WRITE_BUFFER_INITIAL_CAPACITY (1024*100) |
for the initial std::vector capacity when copying stream from xpdf
Definition at line 119 of file pdfioutdev_gpl.cxx.
| #define WRITE_BUFFER_SIZE 1024 |
for the temp char buffer the header gets snprintfed in
Definition at line 116 of file pdfioutdev_gpl.cxx.