Skip to content

Commit

Permalink
Update axlsx_style_reference.md
Browse files Browse the repository at this point in the history
  • Loading branch information
westonganger committed May 3, 2021
1 parent 465aca7 commit ec3fa02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/axlsx_style_reference.md
Expand Up @@ -6,7 +6,7 @@
- `bg_color` (String) - Cell background color - Ex: `CCCCCC`
- `alignment` (Hash) - Text alignment.
- Available sub-options are `:horizontal`, `:vertical`, `:wrap_text`.
- Example: `alignment: {horizontal: :left, vertical: true, wrap_text: false}`
- Example: `alignment: {horizontal: :left, vertical: :top, wrap_text: false}`
- `strike` (Boolean) - Indicates if the text should be rendered with a strikethrough
- `outline` (Boolean) - Indicates if the text should be rendered with a shadow
- `sz` (Integer) - Font Size
Expand Down Expand Up @@ -89,7 +89,7 @@ I wanted a better and generic set of options for use between `xlsx` and `ods` so
- `underline` (Boolean) - Same as `u`
- `color` (String) - Same as `fg_color`
- `background_color` (String) - Same as `bg_color`
- `align` (Boolean) - Similar to `alignment`. Example `align: true` is the same as `alignment: {horizontal: :center, vertical: false, wrap_text: false}`
- `align` (Boolean) - Similar to `alignment`. Example `align: true` is the same as `alignment: {horizontal: :center, vertical: :top, wrap_text: false}`
- `font_size` (Integer) - Same as `sz`

Note: If both an original axlsx style option and alias style option are both provided in the style the original axlsx style option will take precedence.

0 comments on commit ec3fa02

Please sign in to comment.