|
libquentier 0.8.0
The library for rich desktop clients of Evernote service
|
The ISkipRule interface describes a conversion rule with regards to which some ENML/HTML element/attribute should be skipped during the conversion. More...
#include <ISkipRule.h>


Public Types | |
| enum class | Target { Element , AttibuteName , AttributeValue } |
Public Member Functions | |
| virtual Target | target () const =0 |
| virtual QString | value () const =0 |
| virtual MatchMode | matchMode () const =0 |
| virtual bool | includeContents () const =0 |
| virtual Qt::CaseSensitivity | caseSensitivity () const =0 |
| QTextStream & | print (QTextStream &strm) const override |
Public Member Functions inherited from quentier::utility::Printable | |
| QString | toString () const |
Friends | |
| QUENTIER_EXPORT QTextStream & | operator<< (QTextStream &strm, Target target) |
| QUENTIER_EXPORT QDebug & | operator<< (QDebug &dbg, Target target) |
The ISkipRule interface describes a conversion rule with regards to which some ENML/HTML element/attribute should be skipped during the conversion.
ENML format prohibits the use of certain HTML tags and attributes. This interface facilitates skipping these tags and attributes in the process of conversion from HTML to ENML
|
strong |
Target to be affected by the skip rule
| Enumerator | |
|---|---|
| Element | HTML element |
| AttibuteName | HTML attribute with specified name |
| AttributeValue | HTML attribute with specified value |
|
nodiscardpure virtual |
Case sensitivity for target name/value check
|
nodiscardpure virtual |
Specifies whether the element contents should be included without the element itself if it needs to be skipped or not
|
nodiscardpure virtual |
Match mode for name or value of the target
|
overridevirtual |
Implements quentier::utility::Printable.
|
nodiscardpure virtual |
Target to be affected by the skip rule
|
nodiscardpure virtual |
Name or value of the target