Vanilla.PDF  2.2.0
Cross-platform toolkit for creating and modifying PDF documents
List of all members
FieldHandle Class Reference

Base class for all fields. More...

Inheritance diagram for FieldHandle:
IUnknownHandle ButtonFieldHandle ChoiceFieldHandle NonTerminalFieldHandle SignatureFieldHandle TextFieldHandle
error_type CALLING_CONVENTION Field_CreateFromDictionary (DictionaryObjectHandle *dictionary, FieldHandle **result)
 Create a field from a dictionary object. The field type is determined by the /FT entry in the dictionary.
 
error_type CALLING_CONVENTION Field_GetType (FieldHandle *handle, FieldType *result)
 Return type of field. Result can be used to convert to derived type.
 
VANILLAPDF_DEPRECATED error_type CALLING_CONVENTION Field_ToButton (FieldHandle *handle, ButtonFieldHandle **result)
 Reinterpret current object as ButtonFieldHandle.
 
VANILLAPDF_DEPRECATED error_type CALLING_CONVENTION Field_ToText (FieldHandle *handle, TextFieldHandle **result)
 Reinterpret current object as TextFieldHandle.
 
VANILLAPDF_DEPRECATED error_type CALLING_CONVENTION Field_ToChoice (FieldHandle *handle, ChoiceFieldHandle **result)
 Reinterpret current object as ChoiceFieldHandle.
 
VANILLAPDF_DEPRECATED error_type CALLING_CONVENTION Field_ToSignature (FieldHandle *handle, SignatureFieldHandle **result)
 Reinterpret current object as SignatureFieldHandle.
 
error_type CALLING_CONVENTION Field_Release (FieldHandle *handle)
 Decrement the internal reference counter.
 

Additional Inherited Members

- Public Member Functions inherited from IUnknownHandle
error_type CALLING_CONVENTION IUnknown_AddRef (IUnknownHandle *handle)
 Increment the internal reference counter.
 

Detailed Description

Base class for all fields.

Examples
verify.c.

Friends And Related Symbol Documentation

◆ Field_ToButton()

VANILLAPDF_DEPRECATED error_type CALLING_CONVENTION Field_ToButton ( FieldHandle handle,
ButtonFieldHandle **  result 
)
related

Reinterpret current object as ButtonFieldHandle.

Deprecated:
Use ButtonField_FromField instead

◆ Field_ToText()

VANILLAPDF_DEPRECATED error_type CALLING_CONVENTION Field_ToText ( FieldHandle handle,
TextFieldHandle **  result 
)
related

Reinterpret current object as TextFieldHandle.

Deprecated:
Use TextField_FromField instead

◆ Field_ToChoice()

VANILLAPDF_DEPRECATED error_type CALLING_CONVENTION Field_ToChoice ( FieldHandle handle,
ChoiceFieldHandle **  result 
)
related

Reinterpret current object as ChoiceFieldHandle.

Deprecated:
Use ChoiceField_FromField instead

◆ Field_ToSignature()

VANILLAPDF_DEPRECATED error_type CALLING_CONVENTION Field_ToSignature ( FieldHandle handle,
SignatureFieldHandle **  result 
)
related

Reinterpret current object as SignatureFieldHandle.

Deprecated:
Use SignatureField_FromField instead

◆ Field_Release()

error_type CALLING_CONVENTION Field_Release ( FieldHandle handle)
related

Decrement the internal reference counter.

When the internal counter reaches zero the object is deleted. Releasing already disposed object causes undefined behavior.

See also
IUnknown_Release

The documentation for this class was generated from the following file: