The current formatting properties are automatically applied to every flextable you produce. These default values are returned by this function.

get_flextable_defaults()

Value

a list containing default values.

Examples

get_flextable_defaults()
#> ## style properties
#>            property       value
#> 1       font.family DejaVu Sans
#> 2      hansi.family DejaVu Sans
#> 3   eastasia.family DejaVu Sans
#> 4         cs.family DejaVu Sans
#> 5         font.size          11
#> 6        font.color       black
#> 7        text.align        left
#> 8    padding.bottom           5
#> 9       padding.top           5
#> 10     padding.left           5
#> 11    padding.right           5
#> 12     line_spacing           1
#> 13     border.color     #666666
#> 14 background.color transparent
#> 
#> ## cell content settings
#>       property             value
#> 1 decimal.mark                 .
#> 2     big.mark                 ,
#> 3       digits                 1
#> 4       na_str                  
#> 5      nan_str                  
#> 6     fmt_date          %Y-%m-%d
#> 7 fmt_datetime %Y-%m-%d %H:%M:%S
#> 
#> ## table.layout is: fixed 
#> ## default theme is: theme_booktabs 
#> ## HTML specific:
#> shadow: TRUE 
#> extra_css:  
#> scrool: no 
#> post_process_html:
#> function (x) 
#> x
#> <bytecode: 0x5584f6e0a768>
#> <environment: namespace:flextable>
#> 
#> ## latex specific:
#> post_process_pdf:
#> function (x) 
#> x
#> <bytecode: 0x5584f6e0a5a8>
#> <environment: namespace:flextable>
#> 
#> ## Word specific:
#> post_process_docx:
#> function (x) 
#> x
#> <bytecode: 0x5584f6e0a688>
#> <environment: namespace:flextable>
#> 
#> ## PowerPoint specific:
#> post_process_pptx:
#> function (x) 
#> x
#> <bytecode: 0x5584f6e0a848>
#> <environment: namespace:flextable>
#>