docx_dim: Word page layout

Description Usage Arguments See Also Examples

View source: R/read_docx.R

Description

get page width, page height and margins (in inches). The return values are those corresponding to the section where the cursor is.

Usage

1

Arguments

x

an rdocx object

See Also

Other functions for Word document informations: doc_properties(), docx_bookmarks(), length.rdocx(), set_doc_properties(), styles_info()

Examples

1

Example output

$page
    width    height 
 8.263889 11.694444 

$landscape
[1] FALSE

$margins
      top    bottom      left     right    header    footer 
0.9840278 0.9840278 0.9840278 0.9840278 0.4916667 0.4916667 

officer documentation built on July 21, 2021, 5:07 p.m.