LibreOffice Module sdext (master)  1
Typedefs | Functions | Variables
pdfunzip.cxx File Reference
#include <stdio.h>
#include <sal/main.h>
#include <osl/file.h>
#include <osl/thread.h>
#include <rtl/alloc.h>
#include <rtl/ustring.hxx>
#include <rtl/strbuf.hxx>
#include <pdfparse.hxx>
Include dependency graph for pdfunzip.cxx:

Go to the source code of this file.

Typedefs

typedef int(* PDFFileHdl) (const char *, const char *, PDFFile *)
 

Functions

static void printHelp (const char *pExe)
 
static int handleFile (const char *pInFile, const char *pOutFile, const char *pPassword, PDFFileHdl pHdl)
 
static int write_unzipFile (const char *pInFile, const char *pOutFile, PDFFile *pPDFFile)
 
static int write_addStreamArray (const char *pOutFile, PDFArray *pStreams, PDFFile *pPDFFile, const char *pInFile)
 
static int write_addStreams (const char *pInFile, const char *pOutFile, PDFFile *pPDFFile)
 
static int write_fonts (const char *i_pInFile, const char *i_pOutFile, PDFFile *i_pPDFFile)
 
static int write_objects (const char *i_pInFile, const char *i_pOutFile, PDFFile *i_pPDFFile)
 
 SAL_IMPLEMENT_MAIN_WITH_ARGS (argc, argv)
 

Variables

static std::vector< std::pair< sal_Int32, sal_Int32 > > s_aEmitObjects
 

Typedef Documentation

typedef int(* PDFFileHdl) (const char *, const char *, PDFFile *)

Definition at line 217 of file pdfunzip.cxx.

Function Documentation

static int handleFile ( const char *  pInFile,
const char *  pOutFile,
const char *  pPassword,
PDFFileHdl  pHdl 
)
static
static void printHelp ( const char *  pExe)
static

Definition at line 34 of file pdfunzip.cxx.

Referenced by SAL_IMPLEMENT_MAIN_WITH_ARGS().

SAL_IMPLEMENT_MAIN_WITH_ARGS ( argc  ,
argv   
)
static int write_addStreamArray ( const char *  pOutFile,
PDFArray pStreams,
PDFFile pPDFFile,
const char *  pInFile 
)
static
static int write_addStreams ( const char *  pInFile,
const char *  pOutFile,
PDFFile pPDFFile 
)
static
static int write_fonts ( const char *  i_pInFile,
const char *  i_pOutFile,
PDFFile i_pPDFFile 
)
static
static int write_objects ( const char *  i_pInFile,
const char *  i_pOutFile,
PDFFile i_pPDFFile 
)
static
static int write_unzipFile ( const char *  pInFile,
const char *  pOutFile,
PDFFile pPDFFile 
)
static

Variable Documentation

std::vector< std::pair< sal_Int32, sal_Int32 > > s_aEmitObjects
static

Definition at line 395 of file pdfunzip.cxx.