![]() |
Scribus
Open source desktop publishing at your fingertips
|
#include <simple_actions.h>
Public Member Functions | |
void | begin (const Xml_string &, Xml_attr attr) |
void | end (const Xml_string &) |
Additional Inherited Members | |
![]() | |
virtual void | chars (const Xml_string &) |
virtual void | reset () |
![]() | |
Digester * | dig |
This applies "id" and "idref" attributes to the object on top of the stack. In case of an "id" attribute, if there is no entry with this ID in the digester's storage, the topmost object is stored there. Otherwise the topmost object is replaced with the stored object. In case of an "idref" attribute, if there is no entry with this ID in the digester's storage, the topmost object is also stored there. Then the trigger "WithinIdRef" is set during begin() and the processing continues normally. When end() is called, the topmost object is replaced by the stored one (this will be a no-op if there wasnt an entry in storage before)