### Namespace

# PapersView – 4.0

Papers is a document viewer for multiple document formats.

Version | 50.1
Authors | The GNOME Project
License | GPL-2-or-later
Website | https://wiki.gnome.org/Apps/Papers
Source | https://gitlab.gnome.org/GNOME/papers/

#### Build

pkg-config files | `papers-view-4.0`

#### Dependencies

GObject—2.0 | The base type system library
| Browse documentation
Pango—1.0 | Text shaping and rendering
| Browse documentation
Graphene—1.0 | A thin layer of mathematical types for 3D libraries
| Browse documentation

#### Additional documentation

- Profiling
- Classes Hierarchy

#### Classes

AnnotationModel |
AnnotationsContext |
AttachmentContext |
DocumentModel |
History |
Job |
JobAnnots |
JobAttachments |
JobExport |
JobFind |
JobFonts |
JobLayers |
JobLinks |
JobLoad | A job class to load an `PpsDocument`.
JobPageData |
JobPrint |
JobRenderTexture |
JobSave |
JobSignatures |
JobThumbnailTexture |
Metadata |
PrintOperation |
SearchContext |
SearchResult |
UndoContext | This context singleton manages two stacks of `PpsUndoAction` that contain actions that may be undone or redone.
View |
ViewPresentation |

#### Interfaces

UndoHandler

This interface is implemented by objects (e.g. the annotation context) that aim to register actions that may be undone. Such actions must be registered into the undo context so as they are added to the undo stack with `pps_undo_context_add_action`. Then, when an action must be undone (e.g. the user pressed Ctrl+Z), the `pps_undo_handler_undo` interface method is called on the object. An action is represented by an arbitrary pointer. The object must free such pointers when the `pps_undo_handler_free_action` interface method is called.

#### Structs

_AnnotationsContextClass |
_AttachmentContextClass |
_SearchContextClass |
_SearchResultClass |
AnnotationInkAddData |
ViewSelection |

#### Enumerations

AnnotationTool |
JobPriority |
PageLayout |
SizingMode |

#### Bitfields

AnnotationEditingState |
JobPageDataFlags |

#### Error Domains

AttachmentContextError |

#### Callbacks

InkTransformation |

#### Functions

css_utils_filter_class_chars | Returns `str` as a new string removing any character which is not allowed in a css class name.