LibreOffice: com::sun::star::view::DocumentZoomType Constant Group Reference

LibreOffice LibreOffice 26.8 SDK API Reference

Loading...
Searching...
No Matches
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.
const short | PAGE_WIDTH = 1
| The page width at the current selection is fit into the view.
const short | ENTIRE_PAGE = 2
| A complete page of the document is fit into the view.
const short | BY_VALUE = 3
| The zoom is relative and is to be set via the property ViewSettings::ZoomValue.
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.

## 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.