LayOut C API
|
Go to the source code of this file.
Enumerations | |
enum | LOImageResolution { LOImageResolution_Low = 0, LOImageResolution_Medium, LOImageResolution_High, LONumImageResolutions } |
Defines the different settings available for image resolution. More... | |
Functions | |
LO_RESULT | LOPageInfoGetWidth (LOPageInfoRef pageinfo, double *width) |
Gets the page width. More... | |
LO_RESULT | LOPageInfoSetWidth (LOPageInfoRef pageinfo, double width) |
Sets the page width. More... | |
LO_RESULT | LOPageInfoGetHeight (LOPageInfoRef pageinfo, double *height) |
Gets the page height. More... | |
LO_RESULT | LOPageInfoSetHeight (LOPageInfoRef pageinfo, double height) |
Sets the page height. More... | |
LO_RESULT | LOPageInfoGetLeftMargin (LOPageInfoRef pageinfo, double *margin) |
Gets the left page margin. More... | |
LO_RESULT | LOPageInfoGetRightMargin (LOPageInfoRef pageinfo, double *margin) |
Gets the right page margin. More... | |
LO_RESULT | LOPageInfoGetTopMargin (LOPageInfoRef pageinfo, double *margin) |
Gets the top page margin. More... | |
LO_RESULT | LOPageInfoGetBottomMargin (LOPageInfoRef pageinfo, double *margin) |
Gets the bottom page margin. More... | |
LO_RESULT | LOPageInfoSetLeftMargin (LOPageInfoRef pageinfo, double margin) |
Sets the left page margin. More... | |
LO_RESULT | LOPageInfoSetRightMargin (LOPageInfoRef pageinfo, double margin) |
Sets the right page margin. More... | |
LO_RESULT | LOPageInfoSetTopMargin (LOPageInfoRef pageinfo, double margin) |
Sets the top page margin. More... | |
LO_RESULT | LOPageInfoSetBottomMargin (LOPageInfoRef pageinfo, double margin) |
Sets the bottom page margin. More... | |
LO_RESULT | LOPageInfoGetPaperColor (LOPageInfoRef pageinfo, SUColor *color) |
Gets the page color. More... | |
LO_RESULT | LOPageInfoSetPaperColor (LOPageInfoRef pageinfo, const SUColor *color) |
Sets the page color. More... | |
LO_RESULT | LOPageInfoGetPrintPaperColor (LOPageInfoRef pageinfo, bool *print_paper_color) |
Gets whether or not the page color should be printed. More... | |
LO_RESULT | LOPageInfoSetPrintPaperColor (LOPageInfoRef pageinfo, bool print_paper_color) |
Sets whether or not the page color should be printed. More... | |
LO_RESULT | LOPageInfoGetMarginColor (LOPageInfoRef pageinfo, SUColor *color) |
Gets the color of the margins. More... | |
LO_RESULT | LOPageInfoSetMarginColor (LOPageInfoRef pageinfo, SUColor color) |
Sets the color of the margins. More... | |
LO_RESULT | LOPageInfoGetShowMargins (LOPageInfoRef pageinfo, bool *show_margins) |
Gets whether or not the margins are shown. More... | |
LO_RESULT | LOPageInfoSetShowMargins (LOPageInfoRef pageinfo, bool show_margins) |
Sets whether or not the margins are shown. More... | |
LO_RESULT | LOPageInfoGetPrintMargins (LOPageInfoRef pageinfo, bool *print_margins) |
Gets whether or not the margins should be printed. More... | |
LO_RESULT | LOPageInfoSetPrintMargins (LOPageInfoRef pageinfo, bool print_margins) |
Sets whether or not the margins should be printed. More... | |
LO_RESULT | LOPageInfoGetDisplayResolution (LOPageInfoRef pageinfo, LOImageResolution *resolution) |
Gets the value of the document's display resolution for images and raster models. More... | |
LO_RESULT | LOPageInfoSetDisplayResolution (LOPageInfoRef pageinfo, LOImageResolution resolution) |
Sets the value of the document's display resolution for images and raster models. More... | |
LO_RESULT | LOPageInfoGetOutputResolution (LOPageInfoRef pageinfo, LOImageResolution *resolution) |
Gets the value of the document's output resolution for images and raster models. More... | |
LO_RESULT | LOPageInfoSetOutputResolution (LOPageInfoRef pageinfo, LOImageResolution resolution) |
Sets the value of the document's output resolution for images and raster models. More... | |
enum LOImageResolution |
LO_RESULT LOPageInfoGetBottomMargin | ( | LOPageInfoRef | pageinfo, |
double * | margin | ||
) |
Gets the bottom page margin.
[in] | pageinfo | The page info object. |
[out] | margin | The bottom page margin. |
LO_RESULT LOPageInfoGetDisplayResolution | ( | LOPageInfoRef | pageinfo, |
LOImageResolution * | resolution | ||
) |
Gets the value of the document's display resolution for images and raster models.
[in] | pageinfo | The page info object. |
[out] | resolution | The resolution. |
LO_RESULT LOPageInfoGetHeight | ( | LOPageInfoRef | pageinfo, |
double * | height | ||
) |
Gets the page height.
[in] | pageinfo | The page info object. |
[out] | height | The page height. |
LO_RESULT LOPageInfoGetLeftMargin | ( | LOPageInfoRef | pageinfo, |
double * | margin | ||
) |
Gets the left page margin.
[in] | pageinfo | The page info object. |
[out] | margin | The left page margin. |
LO_RESULT LOPageInfoGetMarginColor | ( | LOPageInfoRef | pageinfo, |
SUColor * | color | ||
) |
Gets the color of the margins.
[in] | pageinfo | The page info object. |
[out] | color | The margin color. |
LO_RESULT LOPageInfoGetOutputResolution | ( | LOPageInfoRef | pageinfo, |
LOImageResolution * | resolution | ||
) |
Gets the value of the document's output resolution for images and raster models.
[in] | pageinfo | The page info object. |
[out] | resolution | The resolution. |
LO_RESULT LOPageInfoGetPaperColor | ( | LOPageInfoRef | pageinfo, |
SUColor * | color | ||
) |
Gets the page color.
[in] | pageinfo | The page info object. |
[out] | color | The page color. |
LO_RESULT LOPageInfoGetPrintMargins | ( | LOPageInfoRef | pageinfo, |
bool * | print_margins | ||
) |
Gets whether or not the margins should be printed.
[in] | pageinfo | The page info object. |
[out] | print_margins | Whether the margins are printed or not. |
LO_RESULT LOPageInfoGetPrintPaperColor | ( | LOPageInfoRef | pageinfo, |
bool * | print_paper_color | ||
) |
Gets whether or not the page color should be printed.
[in] | pageinfo | The page info object. |
[out] | print_paper_color | Whether or not the page color should be printed. |
LO_RESULT LOPageInfoGetRightMargin | ( | LOPageInfoRef | pageinfo, |
double * | margin | ||
) |
Gets the right page margin.
[in] | pageinfo | The page info object. |
[out] | margin | The right page margin. |
LO_RESULT LOPageInfoGetShowMargins | ( | LOPageInfoRef | pageinfo, |
bool * | show_margins | ||
) |
Gets whether or not the margins are shown.
[in] | pageinfo | The page info object. |
[out] | show_margins | Whether the margins are shown or not. |
LO_RESULT LOPageInfoGetTopMargin | ( | LOPageInfoRef | pageinfo, |
double * | margin | ||
) |
Gets the top page margin.
[in] | pageinfo | The page info object. |
[out] | margin | The top page margin. |
LO_RESULT LOPageInfoGetWidth | ( | LOPageInfoRef | pageinfo, |
double * | width | ||
) |
Gets the page width.
[in] | pageinfo | The page info object. |
[out] | width | The page width. |
LO_RESULT LOPageInfoSetBottomMargin | ( | LOPageInfoRef | pageinfo, |
double | margin | ||
) |
Sets the bottom page margin.
[in] | pageinfo | The page info object. |
[in] | margin | The new bottom margin to use. |
LO_RESULT LOPageInfoSetDisplayResolution | ( | LOPageInfoRef | pageinfo, |
LOImageResolution | resolution | ||
) |
Sets the value of the document's display resolution for images and raster models.
[in] | pageinfo | The page info object. |
[in] | resolution | The new resolution to use. |
LO_RESULT LOPageInfoSetHeight | ( | LOPageInfoRef | pageinfo, |
double | height | ||
) |
Sets the page height.
[in] | pageinfo | The page info object. |
[in] | height | The new page height to use. |
LO_RESULT LOPageInfoSetLeftMargin | ( | LOPageInfoRef | pageinfo, |
double | margin | ||
) |
Sets the left page margin.
[in] | pageinfo | The page info object. |
[in] | margin | The new left margin to use. |
LO_RESULT LOPageInfoSetMarginColor | ( | LOPageInfoRef | pageinfo, |
SUColor | color | ||
) |
Sets the color of the margins.
[in] | pageinfo | The page info object. |
[in] | color | The new margin color to use. |
LO_RESULT LOPageInfoSetOutputResolution | ( | LOPageInfoRef | pageinfo, |
LOImageResolution | resolution | ||
) |
Sets the value of the document's output resolution for images and raster models.
[in] | pageinfo | The page info object. |
[in] | resolution | The new resolution to use. |
LO_RESULT LOPageInfoSetPaperColor | ( | LOPageInfoRef | pageinfo, |
const SUColor * | color | ||
) |
Sets the page color.
[in] | pageinfo | The page info object. |
[in] | color | The new page color. |
LO_RESULT LOPageInfoSetPrintMargins | ( | LOPageInfoRef | pageinfo, |
bool | print_margins | ||
) |
Sets whether or not the margins should be printed.
[in] | pageinfo | The page info object. |
[in] | print_margins | Whether the margins should be printed or not. |
LO_RESULT LOPageInfoSetPrintPaperColor | ( | LOPageInfoRef | pageinfo, |
bool | print_paper_color | ||
) |
Sets whether or not the page color should be printed.
[in] | pageinfo | The page info object. |
[in] | print_paper_color | Whether or not the page color should be printed. |
LO_RESULT LOPageInfoSetRightMargin | ( | LOPageInfoRef | pageinfo, |
double | margin | ||
) |
Sets the right page margin.
[in] | pageinfo | The page info object. |
[in] | margin | The new right margin to use. |
LO_RESULT LOPageInfoSetShowMargins | ( | LOPageInfoRef | pageinfo, |
bool | show_margins | ||
) |
Sets whether or not the margins are shown.
[in] | pageinfo | The page info object. |
[in] | show_margins | Whether the margins should be shown or not. |
LO_RESULT LOPageInfoSetTopMargin | ( | LOPageInfoRef | pageinfo, |
double | margin | ||
) |
Sets the top page margin.
[in] | pageinfo | The page info object. |
[in] | margin | The new top margin to use. |
LO_RESULT LOPageInfoSetWidth | ( | LOPageInfoRef | pageinfo, |
double | width | ||
) |
Sets the page width.
[in] | pageinfo | The page info object. |
[in] | width | The new page width to use. |