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 |
![]() | |
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
|
pure virtual |
Case sensitivity for target name/value check
Specifies whether the element contents should be included without the element itself if it needs to be skipped or not
|
pure virtual |
Match mode for name or value of the target
|
overridevirtual |
Implements quentier::Printable.
Target to be affected by the skip rule