PoDoFo
0.9.6
|
#include <PdfFileSpec.h>
Public Member Functions | |
PdfFileSpec (const char *pszFilename, const unsigned char *data, ptrdiff_t size, PdfVecObjects *pParent, bool bStripPath=false) | |
const PdfString & | GetFilename (bool canUnicode) const |
![]() | |
PdfObject * | GetObject () |
const PdfObject * | GetObject () const |
Additional Inherited Members | |
![]() | |
PdfElement (const char *pszType, PdfVecObjects *pParent) | |
PdfElement (const char *pszType, PdfDocument *pParent) | |
PdfElement (const char *pszType, PdfObject *pObject) | |
PdfElement (EPdfDataType eExpectedDataType, PdfObject *pObject) | |
const char * | TypeNameForIndex (int i, const char **ppTypes, long lLen) const |
int | TypeNameToIndex (const char *pszType, const char **ppTypes, long lLen, int nUnknownValue) const |
PdfObject * | CreateObject (const char *pszType=NULL) |
PdfObject * | GetNonConstObject () const |
A file specification is used in the PDF file to referr to another file. The other file can be a file outside of the PDF or can be embedded into the PDF file itself.
PoDoFo::PdfFileSpec::PdfFileSpec | ( | const char * | pszFilename, |
const unsigned char * | data, | ||
ptrdiff_t | size, | ||
PdfVecObjects * | pParent, | ||
bool | bStripPath = false |
||
) |
Embeds the file in memory from "data" buffer under "pszFileName" fie name.
const PdfString & PoDoFo::PdfFileSpec::GetFilename | ( | bool | canUnicode | ) | const |
Gets file name for the FileSpec
canUnicode | Whether can return file name in unicode (/UF) |