![]() |
LeechCraft Monocle 0.6.70-18450-gabe19ee3b0
Modular document viewer for LeechCraft
|
Namespaces | |
| namespace | detail |
Classes | |
| struct | Pos |
| struct | Rect |
| struct | PageRelativePosBase |
| struct | PageAbsolutePosBase |
| struct | PageRelativeRectBase |
| struct | PageAbsoluteRectBase |
| class | IAnnotation |
| Base interface for annotations. More... | |
| class | ITextAnnotation |
| The interface for ::AnnotationType::Text annotations. More... | |
| class | IHighlightAnnotation |
| The interface for ::AnnotationType::Highlight annotations. More... | |
| class | ILinkAnnotation |
| The interface for ::AnnotationType::Link annotations. More... | |
| class | ICaretAnnotation |
| The interface for ::AnnotationType::Caret annotations. More... | |
| class | IBackendPlugin |
| Basic interface for plugins providing support for various document formats for Monocle. More... | |
| struct | DocumentInfo |
| Document metadata. More... | |
| class | IDocument |
| Basic interface for documents. More... | |
| class | IFormField |
| Base interface to be implemented by form fields. More... | |
| class | IFormFieldText |
| Interface to be implemented by text fields. More... | |
| class | IFormFieldChoice |
| Interface to be implemented by choice fields. More... | |
| class | IFormFieldButton |
| Interface to be implemented by button fields. More... | |
| struct | FontInfo |
| Describes a single font. More... | |
| class | IHaveFontInfo |
| Interface for querying font information in a document. More... | |
| class | IHaveOptionalContent |
| Interface for documents that can toggle showing some of their contents. More... | |
| struct | TextBox |
| class | IHaveTextContent |
| Interface for documents supporting querying text contents. More... | |
| struct | TOCEntryT |
| A single table of contents entry. More... | |
| class | IHaveTOC |
| Interface for documents supporting table of contents. More... | |
| class | IKnowFileExtensions |
| Interface for backend plugins providing default extensions for their relevant file types. More... | |
| struct | NavigationAction |
| A link action that represents navigating inside the document. More... | |
| struct | ExternalNavigationAction |
| A link action that represents navigating to a different document. More... | |
| struct | UrlAction |
| struct | NoAction |
| class | ILink |
| Base interface for links. More... | |
| struct | RedirectionResult |
| class | IRedirectorPlugin |
| class | ISaveableDocument |
| Interface for documents that can be saved. More... | |
| class | ISearchableDocument |
| Interface for documents supporting searching for text. More... | |
| class | ISupportAnnotations |
| Interface for documents supporting annotations. More... | |
| class | ISupportForms |
| Interface for documents supporting inline forms. More... | |
| class | ISupportPainting |
| Interface for documents supporting optimized painting. More... | |
Typedefs | |
| typedef std::shared_ptr< IAnnotation > | IAnnotation_ptr |
| typedef std::shared_ptr< ITextAnnotation > | ITextAnnotation_ptr |
| typedef std::shared_ptr< IHighlightAnnotation > | IHighlightAnnotation_ptr |
| typedef std::shared_ptr< ILinkAnnotation > | ILinkAnnotation_ptr |
| typedef std::shared_ptr< ICaretAnnotation > | ICaretAnnotation_ptr |
| typedef std::shared_ptr< IDocument > | IDocument_ptr |
| Shared pointer to a document. | |
| typedef std::shared_ptr< IFormField > | IFormField_ptr |
| A shared pointer to a IFormField. | |
| template<typename T> | |
| using | TOCEntryLevelT = QVector<TOCEntryT<T>> |
| A list of table of contents entries. | |
| using | TOCEntryLevel_t = TOCEntryLevelT<NavigationAction> |
| using | TOCEntry = TOCEntryT<NavigationAction> |
| using | TOCEntryIDLevel = TOCEntryLevelT<QByteArray> |
| using | TOCEntryID = TOCEntryT<QByteArray> |
| using | CustomAction = std::function<void ()> |
| using | LinkAction = std::variant<NoAction, NavigationAction, ExternalNavigationAction, UrlAction, CustomAction> |
| typedef std::shared_ptr< ILink > | ILink_ptr |
| typedef QList< IFormField_ptr > | IFormFields_t |
Enumerations | |
| enum class | Relativity : std::uint8_t { PageRelative , PageAbsolute , SceneAbsolute , ViewAbsolute } |
| enum class | AnnotationType { Text , Highlight , Link , Caret , Other } |
| Defines an annotation type. More... | |
| enum class | FormType { Text , Choice , Button } |
| Describes the possible types of a form field. More... | |
| enum class | NextSpaceKind : std::uint8_t { None , Space , NewLine , NewPara } |
| enum class | LinkType { PageLink , URL , Command , OtherLink } |
| Describes various link types known to Monocle. More... | |
| using LC::Monocle::CustomAction = std::function<void ()> |
| typedef std::shared_ptr< IAnnotation > LC::Monocle::IAnnotation_ptr |
Definition at line 178 of file iannotation.h.
| typedef std::shared_ptr<ICaretAnnotation> LC::Monocle::ICaretAnnotation_ptr |
Definition at line 182 of file iannotation.h.
| typedef std::shared_ptr<IDocument> LC::Monocle::IDocument_ptr |
Shared pointer to a document.
Definition at line 197 of file idocument.h.
| typedef std::shared_ptr< IFormField > LC::Monocle::IFormField_ptr |
A shared pointer to a IFormField.
Definition at line 112 of file iformfield.h.
| typedef QList<IFormField_ptr> LC::Monocle::IFormFields_t |
Definition at line 21 of file isupportforms.h.
| typedef std::shared_ptr<IHighlightAnnotation> LC::Monocle::IHighlightAnnotation_ptr |
Definition at line 180 of file iannotation.h.
| typedef std::shared_ptr<ILink> LC::Monocle::ILink_ptr |
| typedef std::shared_ptr<ILinkAnnotation> LC::Monocle::ILinkAnnotation_ptr |
Definition at line 181 of file iannotation.h.
| typedef std::shared_ptr<ITextAnnotation> LC::Monocle::ITextAnnotation_ptr |
Definition at line 179 of file iannotation.h.
| using LC::Monocle::LinkAction = std::variant<NoAction, NavigationAction, ExternalNavigationAction, UrlAction, CustomAction> |
Definition at line 43 of file ihavetoc.h.
| using LC::Monocle::TOCEntryID = TOCEntryT<QByteArray> |
Definition at line 46 of file ihavetoc.h.
| using LC::Monocle::TOCEntryIDLevel = TOCEntryLevelT<QByteArray> |
Definition at line 45 of file ihavetoc.h.
Definition at line 42 of file ihavetoc.h.
| using LC::Monocle::TOCEntryLevelT = QVector<TOCEntryT<T>> |
A list of table of contents entries.
Definition at line 22 of file ihavetoc.h.
|
strong |
Defines an annotation type.
| Enumerator | |
|---|---|
| Text | A simple text annotation. The corresponding interface is ITextAnnotation. |
| Highlight | A highlighted block in the text. The corresponding interface is IHighlightAnnotation. |
| Link | An annotation with a link. The corresponding interface is ILinkAnnotation. |
| Caret | A caret pointing to some text inserted. The corresponding interface is ICaretAnnotation. |
| Other | Another type of annotation. |
Definition at line 25 of file iannotation.h.
|
strong |
Describes the possible types of a form field.
| Enumerator | |
|---|---|
| Text | A text entry field. Fields of this type should also implement IFormFieldText.
|
| Choice | A single- and multiple choice field. Fields of this type should also implement IFormFieldChoice.
|
| Button | A push button, radio button or check box. Fields of this type should also implement IFormFieldButton.
|
Definition at line 21 of file iformfield.h.
|
strong |
Describes various link types known to Monocle.
All links implement the ILink interface.
| Enumerator | |
|---|---|
| PageLink | A link to a page. The link may refer both the document it belongs to as well as some other document. The ILink::GetLinkAction() for PageLinks is supposed to return a NavigationAction.
|
| URL | A link to an URL. |
| Command | Some standard command like printing. |
| OtherLink | Other link type. |
|
strong |
| Enumerator | |
|---|---|
| None | |
| Space | |
| NewLine | |
| NewPara | |
Definition at line 18 of file ihavetextcontent.h.
|
strong |
| Enumerator | |
|---|---|
| PageRelative | |
| PageAbsolute | |
| SceneAbsolute | |
| ViewAbsolute | |
Definition at line 16 of file coordsbase.h.