PoDoFo 0.9.1
Public Member Functions

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)
const PdfStringGetFilename () 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 
)

Embeds the file in memory from "data" buffer under "pszFileName" fie name.


Member Function Documentation

const PdfString & PoDoFo::PdfFileSpec::GetFilename ( ) const
Returns:
the filename of this file specification. if no general name is available it will try the Unix, Mac and DOS keys too.