Lomse library. API documentation
0.30.0
|
#include <lomse_events.h>
While parsing an LDP document, a (dynamic)
tag has been found. Lomse sends this request to the user application, asking for the content that must be inserted in the Document to replace the (dynamic)
tag.
The user application has to answer this request by invoking method RequestDynamic::set_object() passing as argument a pointer to the ImoObj that must be inserted in the Document.
See page-dynamic-content.
Public Member Functions | |
RequestDynamic (Document *pDoc, ImoObj *pObj) | |
AObject | get_object () |
ADocument | get_document () |
void | set_object (AObject &obj) |
Public Member Functions inherited from Request | |
virtual | ~Request () |
int | get_request_type () |
bool | is_dynamic_content_request () |
bool | is_get_font_filename () |
|
inline |
Constructor.
ADocument RequestDynamic::get_document | ( | ) |
Returns the document to which this request refers to. */.
AObject RequestDynamic::get_object | ( | ) |
If the user application has not yet handled this request, this method returns the dynamic object that should be replaced. Otherwise, returns the replacement object set by the user application.
void RequestDynamic::set_object | ( | AObject & | obj | ) |
for setting requested data