PoDoFo 0.9.20
Public Member Functions | List of all members
PoDoFo::PdfFileSpec Class Referencefinal

#include <PdfFileSpec.h>

Inherits PoDoFo::PdfDictionaryElement.

Public Member Functions

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.

Member Function Documentation

◆ GetFilename()

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

Gets file name for the FileSpec

Parameters
canUnicodeWhether 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.