|
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 raster rendered SketchUp models. More... | |
| LO_RESULT | LOPageInfoGetOutputResolution (LOPageInfoRef pageinfo, LOImageResolution *resolution) |
| Gets the value of the document's output resolution for raster rendered SketchUp models. More... | |
| LO_RESULT | LOPageInfoSetOutputResolution (LOPageInfoRef pageinfo, LOImageResolution resolution) |
| Sets the value of the document's output resolution for raster rendered SketchUp models. More... | |
| LO_RESULT | LOPageInfoGetImageDisplayResolution (LOPageInfoRef pageinfo, LOImageResolution *resolution) |
| Gets the value of the document's display resolution for images. More... | |
| LO_RESULT | LOPageInfoSetImageDisplayResolution (LOPageInfoRef pageinfo, LOImageResolution resolution) |
| Sets the value of the document's display resolution for images. More... | |
| LO_RESULT | LOPageInfoGetImageOutputResolution (LOPageInfoRef pageinfo, LOImageResolution *resolution) |
| Gets the value of the document's output resolution for images. More... | |
| LO_RESULT | LOPageInfoSetImageOutputResolution (LOPageInfoRef pageinfo, LOImageResolution resolution) |
| Sets the value of the document's output resolution for images. 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. |
pageinfo does not refer to a valid objectmargin is NULL | 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. |
pageinfo does not refer to a valid objectresolution is NULL | LO_RESULT LOPageInfoGetHeight | ( | LOPageInfoRef | pageinfo, |
| double * | height | ||
| ) |
Gets the page height.
| [in] | pageinfo | The page info object. |
| [out] | height | The page height. |
pageinfo does not refer to a valid objectheight is NULL | LO_RESULT LOPageInfoGetImageDisplayResolution | ( | LOPageInfoRef | pageinfo, |
| LOImageResolution * | resolution | ||
| ) |
Gets the value of the document's display resolution for images.
| [in] | pageinfo | The page info object. |
| [out] | resolution | The resolution. |
pageinfo does not refer to a valid objectresolution is NULL | LO_RESULT LOPageInfoGetImageOutputResolution | ( | LOPageInfoRef | pageinfo, |
| LOImageResolution * | resolution | ||
| ) |
Gets the value of the document's output resolution for images.
| [in] | pageinfo | The page info object. |
| [out] | resolution | The resolution. |
pageinfo does not refer to a valid objectresolution is NULL | LO_RESULT LOPageInfoGetLeftMargin | ( | LOPageInfoRef | pageinfo, |
| double * | margin | ||
| ) |
Gets the left page margin.
| [in] | pageinfo | The page info object. |
| [out] | margin | The left page margin. |
pageinfo does not refer to a valid objectmargin is NULL | LO_RESULT LOPageInfoGetMarginColor | ( | LOPageInfoRef | pageinfo, |
| SUColor * | color | ||
| ) |
Gets the color of the margins.
| [in] | pageinfo | The page info object. |
| [out] | color | The margin color. |
pageinfo does not refer to a valid objectcolor is NULL | LO_RESULT LOPageInfoGetOutputResolution | ( | LOPageInfoRef | pageinfo, |
| LOImageResolution * | resolution | ||
| ) |
Gets the value of the document's output resolution for raster rendered SketchUp models.
| [in] | pageinfo | The page info object. |
| [out] | resolution | The resolution. |
pageinfo does not refer to a valid objectresolution is NULL | LO_RESULT LOPageInfoGetPaperColor | ( | LOPageInfoRef | pageinfo, |
| SUColor * | color | ||
| ) |
Gets the page color.
| [in] | pageinfo | The page info object. |
| [out] | color | The page color. |
pageinfo does not refer to a valid objectcolor is NULL | 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. |
pageinfo does not refer to a valid objectprint_margins is NULL | 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. |
pageinfo does not refer to a valid objectprint_paper_color is NULL | LO_RESULT LOPageInfoGetRightMargin | ( | LOPageInfoRef | pageinfo, |
| double * | margin | ||
| ) |
Gets the right page margin.
| [in] | pageinfo | The page info object. |
| [out] | margin | The right page margin. |
pageinfo does not refer to a valid objectmargin is NULL | 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. |
pageinfo does not refer to a valid objectshow_margins is NULL | LO_RESULT LOPageInfoGetTopMargin | ( | LOPageInfoRef | pageinfo, |
| double * | margin | ||
| ) |
Gets the top page margin.
| [in] | pageinfo | The page info object. |
| [out] | margin | The top page margin. |
pageinfo does not refer to a valid objectmargin is NULL | LO_RESULT LOPageInfoGetWidth | ( | LOPageInfoRef | pageinfo, |
| double * | width | ||
| ) |
Gets the page width.
| [in] | pageinfo | The page info object. |
| [out] | width | The page width. |
pageinfo does not refer to a valid objectwidth is NULL | 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. |
pageinfo does not refer to a valid objectmargin is less than 0 or greater than the page height | LO_RESULT LOPageInfoSetDisplayResolution | ( | LOPageInfoRef | pageinfo, |
| LOImageResolution | resolution | ||
| ) |
Sets the value of the document's display resolution for raster rendered SketchUp models.
| [in] | pageinfo | The page info object. |
| [in] | resolution | The new resolution to use. |
pageinfo does not refer to a valid objectresolution is invalid | 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. |
pageinfo does not refer to a valid objectheight is less than 1 or greater than 200 | LO_RESULT LOPageInfoSetImageDisplayResolution | ( | LOPageInfoRef | pageinfo, |
| LOImageResolution | resolution | ||
| ) |
Sets the value of the document's display resolution for images.
| [in] | pageinfo | The page info object. |
| [in] | resolution | The new resolution to use. |
pageinfo does not refer to a valid objectresolution is invalid | LO_RESULT LOPageInfoSetImageOutputResolution | ( | LOPageInfoRef | pageinfo, |
| LOImageResolution | resolution | ||
| ) |
Sets the value of the document's output resolution for images.
| [in] | pageinfo | The page info object. |
| [in] | resolution | The new resolution to use. |
pageinfo does not refer to a valid objectresolution is invalid | 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. |
pageinfo does not refer to a valid objectmargin is less than 0 or greater than the page width | 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. |
pageinfo does not refer to a valid object | LO_RESULT LOPageInfoSetOutputResolution | ( | LOPageInfoRef | pageinfo, |
| LOImageResolution | resolution | ||
| ) |
Sets the value of the document's output resolution for raster rendered SketchUp models.
| [in] | pageinfo | The page info object. |
| [in] | resolution | The new resolution to use. |
pageinfo does not refer to a valid objectresolution is invalid | LO_RESULT LOPageInfoSetPaperColor | ( | LOPageInfoRef | pageinfo, |
| const SUColor * | color | ||
| ) |
Sets the page color.
| [in] | pageinfo | The page info object. |
| [in] | color | The new page color. |
pageinfo does not refer to a valid objectcolor is NULL | 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. |
pageinfo does not refer to a valid object | 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. |
pageinfo does not refer to a valid object | 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. |
pageinfo does not refer to a valid objectmargin is less than 0 or greater than the page width | 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. |
pageinfo does not refer to a valid object | 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. |
pageinfo does not refer to a valid objectmargin is less than 0 or greater than the page height | 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. |
pageinfo does not refer to a valid objectwidth is less than 1 or greater than 200
1.8.3.1