![]() |
LeechCraft Monocle
0.6.70-6645-gcd10d7e
Modular document viewer for LeechCraft
|
Interface for documents supporting inline forms. More...
#include "isupportforms.h"
Public Member Functions | |
virtual | ~ISupportForms () |
virtual IFormFields_t | GetFormFields (int page)=0 |
Returns the list of fields for the given page. More... | |
Interface for documents supporting inline forms.
If a document is of format that supports page forms that can be filled, it should implement this interface.
It also makes sense to implement ISaveableDocument so that changes to the forms could be saved.
There is no "Apply" method in either this interface or form field interfaces. Changes should be applied as soon as corresponding interface's setter method is called.
Definition at line 58 of file isupportforms.h.
|
inlinevirtual |
Definition at line 61 of file isupportforms.h.
References GetFormFields(), and Q_DECLARE_INTERFACE().
|
pure virtual |
Returns the list of fields for the given page.
This function should return the list of form fields found on the given page, or an empty list if no fields are present.
[in] | page | The zero-based index of the page to query. |
Referenced by ~ISupportForms().