#include <factories.h>
Static Public Member Functions | |
| static CArray * | getInstance () |
| static CArray * | getInstance (boost::shared_ptr< CPdf > pdf, const IndiRef &indirefParent, const Object &obj) |
| static CArray * | getInstance (const Object &obj) |
Factory class for CArray creation.
Use getInstance methods for instants creation.
| static CArray* pdfobjects::CArrayFactory::getInstance | ( | const Object & | obj | ) | [inline, static] |
Creates CArray from xpdf Object.
| obj | Xpdf Object instance (must by objArray). |
| ElementBadTypeException | If given object doesn't represent dictionary object. |
| static CArray* pdfobjects::CArrayFactory::getInstance | ( | boost::shared_ptr< CPdf > | pdf, | |
| const IndiRef & | indirefParent, | |||
| const Object & | obj | |||
| ) | [inline, static] |
Creates CArray for specific pdf from xpdf Object.
| Pdf for which to create CArray. | ||
| indirefParent | Indirect reference to nearest indirect parent. | |
| obj | Xpdf object to use for intialization. |
This should be used only internaly by kernel. Instance initialized this way is not checked in cobjects routines and so nonsense information may lead to mass.
REMARK:
If you don't know what exactly these parameters mean, DON'T use this method.
| static CArray* pdfobjects::CArrayFactory::getInstance | ( | ) | [inline, static] |
Creates default CArray instance.
Referenced by pdfobjects::CPageAnnots::add(), and pdfobjects::utils::createObjFromXpdfObj().