pdfutil.cc File Reference

PDF manipulation utility functions. More...

#include "pdfutil.h"
#include "passworddialog.h"
#include "qtcompat.h"
#include "util.h"
#include <kernel/cobject.h>
#include <kernel/factories.h>
#include <qobject.h>
#include <qstring.h>
#include <utils/debug.h>

Namespaces

namespace  util
 

Utility namespace.


Functions

QString util::getTypeName (PropertyType typ)
QString util::getTypeId (PropertyType typ)
QString util::getTypeName (IProperty *obj)
QString util::getTypeName (boost::shared_ptr< IProperty > obj)
QString util::propertyPreview (boost::shared_ptr< IProperty > obj)
QString util::getTypeId (IProperty *obj)
QString util::getTypeId (boost::shared_ptr< IProperty > obj)
IndiRef util::getRef (IProperty *ref)
IndiRef util::getRef (boost::shared_ptr< IProperty > ref)
bool util::isRefValid (boost::shared_ptr< CPdf > pdf, IndiRef ref)
bool util::isSimple (IProperty *prop)
boost::shared_ptr< IProperty > util::dereference (boost::shared_ptr< IProperty > obj)
bool util::isSimple (boost::shared_ptr< IProperty > prop)
bool util::saveCopy (boost::shared_ptr< CPdf > obj, const QString &name, QString *error)
template<typename T >
boost::shared_ptr< IProperty > util::_recursiveProperty (boost::shared_ptr< T > obj, const QString &name)
boost::shared_ptr< IProperty > util::recursiveProperty (boost::shared_ptr< CDict > obj, const QString &name)
boost::shared_ptr< IProperty > util::recursiveProperty (boost::shared_ptr< CArray > obj, const QString &name)
boost::shared_ptr< IProperty > util::getObjProperty (boost::shared_ptr< CDict > obj, const QString &name)
boost::shared_ptr< IProperty > util::getObjProperty (boost::shared_ptr< CArray > obj, const QString &name)
QString util::annotType (CAnnotation::AnnotType at)
QString util::annotType (boost::shared_ptr< CAnnotation > anot)
QString util::annotTypeName (boost::shared_ptr< CAnnotation > anot)
boost::shared_ptr< CPdf > util::getPdfInstance (QWidget *parent, const QString &filename, CPdf::OpenMode mode, bool askPassword)
bool util::setPdfPassword (boost::shared_ptr< CPdf > pdf, const QString &pass)

Detailed Description

PDF manipulation utility functions.

Various utility functions for examining and manipulating pdf objects, related to kernel

Author:
Martin Petricek