PDFix SDK  9.0.0
Loading...
Searching...
No Matches
PdsName Struct Referenceabstract

PdsName class. More...

#include <pdfix.h>

Inheritance diagram for PdsName:
PdsObject

Public Member Functions

virtual int GetValue (char *buffer, int len) const =0
 Gets the unicode value of name object, and the string�s length.
virtual int GetText (wchar_t *buffer, int len) const =0
 Gets the unicode value of name object.
Public Member Functions inherited from PdsObject
virtual PdfObjectType GetObjectType () const =0
 Gets the type of an object.
virtual int GetId () const =0
 Gets the object number.
virtual int GetGenId () const =0
 Gets the generation number.
virtual PdfDocGetDoc () const =0
 Gets a reference to a document.
virtual PdsObjectClone (bool clone_indirect)=0
 Clone the object.
virtual bool RegisterEvent (PdfEventType type, PdsObjectEventProc proc, void *data)=0
 Registers a user-supplied procedure to call when the specified event occurs.
virtual bool UnregisterEvent (PdfEventType type, PdsObjectEventProc proc, void *data)=0

Detailed Description

PdsName class.

Member Function Documentation

◆ GetText()

virtual int PdsName::GetText ( wchar_t * buffer,
int len ) const
pure virtual

Gets the unicode value of name object.

Parameters
buffer(filled by method) If the buffer is null function returns required length of string
lenLength of a buffer to be filled in.
Returns
Number of characters written into buffer of required length.
See also
PdeWord::GetValue

◆ GetValue()

virtual int PdsName::GetValue ( char * buffer,
int len ) const
pure virtual

Gets the unicode value of name object, and the string�s length.

Parameters
buffer(filled by method) If the buffer is null function returns required length of string data.
lenLength of a buffer to be filled in.
Returns
Number of characters written into buffer of required length.