LibreOffice
LibreOffice 7.4 SDK API Reference
Variables
com::sun::star::view::DocumentZoomType Constant Group Referencepublished

These constants specify how the document content is zoomed into the document view. More...

Variables

const short OPTIMAL = 0
 The page content width (excluding margins) at the current selection is fit into the view. More...
 
const short PAGE_WIDTH = 1
 The page width at the current selection is fit into the view. More...
 
const short ENTIRE_PAGE = 2
 A complete page of the document is fit into the view. More...
 
const short BY_VALUE = 3
 The zoom is relative and is to be set via the property ViewSettings::ZoomValue. More...
 
const short PAGE_WIDTH_EXACT = 4
 The page width at the current selection is fit into the view, with the view ends exactly at the end of the page. More...
 

Detailed Description

These constants specify how the document content is zoomed into the document view.

Variable Documentation

◆ BY_VALUE

const short BY_VALUE = 3

The zoom is relative and is to be set via the property ViewSettings::ZoomValue.

◆ ENTIRE_PAGE

const short ENTIRE_PAGE = 2

A complete page of the document is fit into the view.

◆ OPTIMAL

const short OPTIMAL = 0

The page content width (excluding margins) at the current selection is fit into the view.

◆ PAGE_WIDTH

const short PAGE_WIDTH = 1

The page width at the current selection is fit into the view.

◆ PAGE_WIDTH_EXACT

const short PAGE_WIDTH_EXACT = 4

The page width at the current selection is fit into the view, with the view ends exactly at the end of the page.