cobject2xpdf.cc File Reference

#include "kernel/static.h"
#include "kernel/xpdf.h"
#include "kernel/pdfspecification.h"
#include "kernel/factories.h"
#include "kernel/cobject.h"

Namespaces

namespace  pdfobjects
namespace  pdfobjects::utils

Functions

void pdfobjects::utils::xpdfObjToString (Object &obj, string &str)
void pdfobjects::utils::getStringFromXpdfStream (std::string &str,::Object &obj)
IProperty * pdfobjects::utils::createObjFromXpdfObj (boost::shared_ptr< CPdf > pdf, const Object &obj, const IndiRef &ref)
IProperty * pdfobjects::utils::createObjFromXpdfObj (const Object &obj)
template<PropertyType Tp, typename T >
Object * pdfobjects::utils::simpleValueToXpdfObj (T val)
template Object * pdfobjects::utils::simpleValueToXpdfObj< pBool, const bool & > (const bool &val)
template Object * pdfobjects::utils::simpleValueToXpdfObj< pInt, const int & > (const int &val)
template Object * pdfobjects::utils::simpleValueToXpdfObj< pReal, const double & > (const double &val)
template Object * pdfobjects::utils::simpleValueToXpdfObj< pString, const string & > (const string &val)
template Object * pdfobjects::utils::simpleValueToXpdfObj< pName, const string & > (const string &val)
template Object * pdfobjects::utils::simpleValueToXpdfObj< pNull, const NullType & > (const NullType &val)
template Object * pdfobjects::utils::simpleValueToXpdfObj< pRef, const IndiRef & > (const IndiRef &val)
template<PropertyType Tp, typename T >
void pdfobjects::utils::simpleValueFromXpdfObj (const Object &obj, T val)
template<>
void pdfobjects::utils::simpleValueFromXpdfObj< pNull, NullType & > (const Object &, NullType &)
template<PropertyType Tp, typename T >
void pdfobjects::utils::complexValueFromXpdfObj (IProperty &ip, const Object &obj, T val)
template void pdfobjects::utils::complexValueFromXpdfObj< pArray, CArray::Value & > (IProperty &ip, const Object &obj, CArray::Value &val)
template void pdfobjects::utils::complexValueFromXpdfObj< pDict, CDict::Value & > (IProperty &ip, const Object &obj, CDict::Value &val)
void pdfobjects::utils::dictFromXpdfObj (CDict &resultDict,::Object &dict)
::Object * pdfobjects::utils::xpdfObjFromString (const std::string &str, XRef *xref)
::Object * pdfobjects::utils::xpdfStreamObjFromBuffer (const CStream::Buffer &buffer, const CDict &dict)
unsigned char * pdfobjects::utils::bufferFromStream (Stream &str, size_t dictLength, size_t &size)
unsigned char * pdfobjects::utils::convertStreamToDecodedData (const Object &obj, size_t &size)
size_t pdfobjects::utils::streamToCharBuffer (const Object &streamObject, Ref *ref, CharBuffer &outputBuf, stream_data_extractor extractor)