|
libquentier 0.8.0
The library for rich desktop clients of Evernote service
|
The IENMLTagsConverter interfaces provides methods which convert Evernote-specific markup tags such as en-crypt, en-media etc. into their counterparts which should be used in the HTML representation of note content. More...
#include <IENMLTagsConverter.h>
Public Member Functions | |
| virtual QString | convertEnToDo (bool checked, quint32 index) const =0 |
| virtual QString | convertEncryptedText (const QString &encryptedText, const QString &hint, utility::IEncryptor::Cipher cipher, quint32 index) const =0 |
| virtual QString | convertDecryptedText (const QString &decryptedText, const QString &encryptedText, const QString &hint, utility::IEncryptor::Cipher cipher, quint32 index) const =0 |
| virtual Result< QString, ErrorString > | convertResource (const qevercloud::Resource &resource) const =0 |
The IENMLTagsConverter interfaces provides methods which convert Evernote-specific markup tags such as en-crypt, en-media etc. into their counterparts which should be used in the HTML representation of note content.
|
pure virtual |
Converts already decrypted en-crypt tag into its HTML counterpart
| decryptedText | decrypted text from en-crypt tag |
| encryptedText | encrypted text contained within en-crypt tag |
| hint | hint to be displayed when user tries to decrypt the text |
| cipher | cipher used to ecrypt the text |
| index | index of particular en-crypt tag within the note content so that different en-crypt tags can be differentiated |
|
pure virtual |
Converts en-crypt tag into its HTML counterpart
| encryptedText | encrypted text contained within en-crypt tag |
| hint | hint to be displayed when user tries to decrypt the text |
| cipher | cipher used to ecrypt the text |
| index | index of particular en-crypt tag within the note content so that different en-crypt tags can be differentiated |
|
pure virtual |
Converts en-todo tag into its HTML counterpart
| checked | indicates whether this todo is checked or not |
| index | index of particular en-todo tag within the note content so that different todo tags can be differentiated |
|
pure virtual |
Converts en-media tag representing a resource into its HTML counterpart
| resource | resource corresponding to en-media tag |