zathura
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Data Fields
zathura_document_t Struct Reference

Data Fields

char * file_path
char * basename
const char * password
unsigned int current_page_number
unsigned int number_of_pages
double scale
unsigned int rotate
void * data
zathura_adjust_mode_t adjust_mode
int page_offset
double cell_width
double cell_height
unsigned int view_width
unsigned int view_height
unsigned int pages_per_row
unsigned int first_page_column
unsigned int page_padding
double position_x
double position_y
zathura_page_t ** pages
zathura_plugin_t * plugin

Detailed Description

Document

Definition at line 25 of file document.c.

Field Documentation

zathura_adjust_mode_t zathura_document_t::adjust_mode

Adjust mode (best-fit, width)

Definition at line 34 of file document.c.

char* zathura_document_t::basename

Basename of the document

Definition at line 27 of file document.c.

double zathura_document_t::cell_height

height of a page cell in the document (not ransformed by scale and rotation)

Definition at line 37 of file document.c.

double zathura_document_t::cell_width

width of a page cell in the document (not ransformed by scale and rotation)

Definition at line 36 of file document.c.

unsigned int zathura_document_t::current_page_number

Current page number

Definition at line 29 of file document.c.

void* zathura_document_t::data

Custom data

Definition at line 33 of file document.c.

char* zathura_document_t::file_path

File path of the document

Definition at line 26 of file document.c.

unsigned int zathura_document_t::first_page_column

column of the first page

Definition at line 41 of file document.c.

unsigned int zathura_document_t::number_of_pages

Number of pages

Definition at line 30 of file document.c.

int zathura_document_t::page_offset

Page offset

Definition at line 35 of file document.c.

unsigned int zathura_document_t::page_padding

padding between pages

Definition at line 42 of file document.c.

zathura_page_t** zathura_document_t::pages

Document pages

Definition at line 49 of file document.c.

unsigned int zathura_document_t::pages_per_row

number of pages in a row

Definition at line 40 of file document.c.

const char* zathura_document_t::password

Password of the document

Definition at line 28 of file document.c.

zathura_plugin_t* zathura_document_t::plugin

Used plugin

Definition at line 54 of file document.c.

double zathura_document_t::position_x

X adjustment

Definition at line 43 of file document.c.

double zathura_document_t::position_y

Y adjustment

Definition at line 44 of file document.c.

unsigned int zathura_document_t::rotate

Rotation

Definition at line 32 of file document.c.

double zathura_document_t::scale

Scale value

Definition at line 31 of file document.c.

unsigned int zathura_document_t::view_height

height of current viewport

Definition at line 39 of file document.c.

unsigned int zathura_document_t::view_width

width of current viewport

Definition at line 38 of file document.c.


The documentation for this struct was generated from the following file: