Okular
11#ifndef _OKULAR_DOCUMENTOBSERVER_H_
12#define _OKULAR_DOCUMENTOBSERVER_H_
16#include "okularcore_export.h"
28class OKULARCORE_EXPORT DocumentObserver
35 virtual ~DocumentObserver();
37 DocumentObserver(
const DocumentObserver &) =
delete;
38 DocumentObserver &operator=(
const DocumentObserver &) =
delete;
75 virtual void notifyViewportChanged(
bool smoothMove);
81 virtual void notifyPageChanged(
int page,
int flags);
87 virtual void notifyContentsCleared(
int flags);
92 virtual void notifyVisibleRectsChanged();
97 virtual void notifyZoom(
int factor);
105 virtual bool canUnloadPixmap(
int page)
const;
115 virtual void notifyCurrentPageChanged(
int previous,
int current);
@ NewLayoutForPages
All the pages have.
@ DocumentChanged
The document is a new document.
@ UrlChanged
The URL has changed.
ChangedFlags
Flags that can be sent from the document to all observers to inform them about the type of object tha...
@ Annotations
Annotations have been changed.
@ TextSelection
Text selection has been changed.
@ Pixmap
Pixmaps has been changed.
@ Bookmark
Bookmarks has been changed.
@ BoundingBox
Bounding boxes have been changed.
@ Highlights
Highlighting information has been changed.
Collector for all the data belonging to a page.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Thu Jan 23 2025 18:57:51 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.