LibreOffice Module sdext (master) 1
|
#include <stdio.h>
#include <string_view>
#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 <o3tl/string_view.hxx>
#include <pdfparse.hxx>
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 |
Definition at line 222 of file pdfunzip.cxx.
|
static |
Definition at line 224 of file pdfunzip.cxx.
References pdfparse::PDFFile::isEncrypted(), pdfparse::PDFReader::read(), and pdfparse::PDFFile::setupDecryptionData().
Referenced by SAL_IMPLEMENT_MAIN_WITH_ARGS().
|
static |
Definition at line 37 of file pdfunzip.cxx.
Referenced by SAL_IMPLEMENT_MAIN_WITH_ARGS().
SAL_IMPLEMENT_MAIN_WITH_ARGS | ( | argc | , |
argv | |||
) |
Definition at line 427 of file pdfunzip.cxx.
References o3tl::getToken(), handleFile(), nIndex, printHelp(), s_aEmitObjects, o3tl::toInt32(), write_addStreams(), write_fonts(), write_objects(), and write_unzipFile().
|
static |
Definition at line 253 of file pdfunzip.cxx.
References pdfparse::PDFContainer::findObject(), i, pdfparse::PDFFile::isEncrypted(), pdfparse::PDFName::m_aName, pdfparse::PDFContainer::m_aSubElements, pdfparse::PDFObjectRef::m_nGeneration, pdfparse::PDFObjectRef::m_nNumber, and pObject.
Referenced by write_addStreams().
|
static |
Definition at line 294 of file pdfunzip.cxx.
References i, pdfparse::PDFDict::m_aMap, pdfparse::PDFContainer::m_aSubElements, pdfparse::PDFTrailer::m_pDict, nElements, and write_addStreamArray().
Referenced by SAL_IMPLEMENT_MAIN_WITH_ARGS().
|
static |
Definition at line 317 of file pdfunzip.cxx.
References pdfparse::PDFContainer::findObject(), i, pdfparse::PDFFile::isEncrypted(), pdfparse::PDFDict::m_aMap, pdfparse::PDFContainer::m_aSubElements, pdfparse::PDFObjectRef::m_nGeneration, pdfparse::PDFObjectRef::m_nNumber, pdfparse::PDFObject::m_pObject, nElements, pName, and pStream.
Referenced by SAL_IMPLEMENT_MAIN_WITH_ARGS().
|
static |
Definition at line 401 of file pdfunzip.cxx.
References pdfparse::PDFContainer::findObject(), i, pdfparse::PDFFile::isEncrypted(), nElements, pStream, and s_aEmitObjects.
Referenced by SAL_IMPLEMENT_MAIN_WITH_ARGS().
|
static |
Definition at line 245 of file pdfunzip.cxx.
References pdfparse::PDFFile::emit(), and pdfparse::PDFFile::isEncrypted().
Referenced by SAL_IMPLEMENT_MAIN_WITH_ARGS().
|
static |
Definition at line 399 of file pdfunzip.cxx.
Referenced by SAL_IMPLEMENT_MAIN_WITH_ARGS(), and write_objects().