The SkipHtmlElementRule class describes the set of rules for HTML -> ENML conversion about the HTML elements that should not be actually converted to ENML due to their nature of being "helper" elements for the display or functioning of something within the note editor's page. The HTML -> ENML conversion would ignore tags and attributes forbidden by ENML even without these rules conditionally preserving or skipping the contents and nested elements of skipped elements.
More...
#include <ENMLConverter.h>
|
enum class | ComparisonRule { Equals = 0
, StartsWith
, EndsWith
, Contains
} |
|
|
virtual QTextStream & | print (QTextStream &strm) const override |
|
virtual QTextStream & | print (QTextStream &strm) const =0 |
|
virtual const QString | toString () const |
|
|
QString | m_elementNameToSkip |
|
ComparisonRule | m_elementNameComparisonRule = ComparisonRule::Equals |
|
Qt::CaseSensitivity | m_elementNameCaseSensitivity = Qt::CaseSensitive |
|
QString | m_attributeNameToSkip |
|
ComparisonRule | m_attributeNameComparisonRule = ComparisonRule::Equals |
|
Qt::CaseSensitivity | m_attributeNameCaseSensitivity = Qt::CaseSensitive |
|
QString | m_attributeValueToSkip |
|
ComparisonRule | m_attributeValueComparisonRule = ComparisonRule::Equals |
|
Qt::CaseSensitivity | m_attributeValueCaseSensitivity = Qt::CaseSensitive |
|
bool | m_includeElementContents = false |
|
|
QUENTIER_EXPORT QTextStream & | operator<< (QTextStream &strm, const ComparisonRule rule) |
|
The SkipHtmlElementRule class describes the set of rules for HTML -> ENML conversion about the HTML elements that should not be actually converted to ENML due to their nature of being "helper" elements for the display or functioning of something within the note editor's page. The HTML -> ENML conversion would ignore tags and attributes forbidden by ENML even without these rules conditionally preserving or skipping the contents and nested elements of skipped elements.
◆ print()
virtual QTextStream & quentier::ENMLConverter::SkipHtmlElementRule::print |
( |
QTextStream & |
strm | ) |
const |
|
overridevirtual |