Skip to contents

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

Usage

get_flextable_defaults()

Value

a list containing default values.

Examples

get_flextable_defaults()
#> ## style properties
#>            property           value
#> 1       font.family Liberation 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     border.width            0.75
#> 15 background.color     transparent
#> 
#> ## cell content settings
#>       property             value
#> 1 decimal.mark                 .
#> 2     big.mark                 ,
#> 3       digits                 1
#> 4   pct_digits                 1
#> 5       na_str                  
#> 6      nan_str                  
#> 7     fmt_date          %Y-%m-%d
#> 8 fmt_datetime %Y-%m-%d %H:%M:%S
#> 
#> ## table.layout is: fixed 
#> ## default theme is: theme_booktabs