PoDoFo::PdfFileSpec Class Reference

#include <PdfFileSpec.h>

Inheritance diagram for PoDoFo::PdfFileSpec:

PoDoFo::PdfElement

List of all members.

Public Member Functions

 PdfFileSpec (const char *pszFilename, const unsigned char *data, ptrdiff_t size, PdfVecObjects *pParent, bool bStripPath=false)
const PdfStringGetFilename (bool canUnicode) const


Detailed Description

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.

Constructor & Destructor Documentation

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.


Member Function Documentation

const PdfString & PoDoFo::PdfFileSpec::GetFilename ( bool  canUnicode  )  const

Gets file name for the FileSpec

Parameters:
canUnicode Whether can return file name in unicode (/UF)
Returns:
the filename of this file specification. if no general name is available it will try the Unix, Mac and DOS keys too.


Generated on Tue Nov 29 09:28:34 2016 for PoDoFo by  doxygen 1.5.6