Skip to content

Commit

Permalink
[docs] add additional alignment options to horizontal and vertical al…
Browse files Browse the repository at this point in the history
…ignment
  • Loading branch information
JanMarvin committed Nov 25, 2024
1 parent 0a74c10 commit 0b247cd
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions R/class-workbook-wrappers.R
Original file line number Diff line number Diff line change
Expand Up @@ -3491,7 +3491,7 @@ wb_add_numfmt <- function(
#' @param dims the cell range
#' @param ext_lst extension list something like `<extLst>...</extLst>`
#' @param hidden logical cell is hidden
#' @param horizontal align content horizontal ('left', 'center', 'right')
#' @param horizontal align content horizontal ('general', 'left', 'center', 'right', 'fill', 'justify', 'centerContinuous', 'distributed')
#' @param indent logical indent content
#' @param justify_last_line logical justify last line
#' @param locked logical cell is locked
Expand All @@ -3501,7 +3501,7 @@ wb_add_numfmt <- function(
#' @param relative_indent relative indentation
#' @param shrink_to_fit logical shrink to fit
#' @param text_rotation degrees of text rotation
#' @param vertical vertical alignment of content ('top', 'center', 'bottom')
#' @param vertical vertical alignment of content ('top', 'center', 'bottom', 'justify', 'distributed')
#' @param wrap_text wrap text in cell
## alignments
#' @param apply_alignment logical apply alignment
Expand Down
4 changes: 2 additions & 2 deletions R/wb_styles.R
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,8 @@ create_fill <- function(
#' @param ext_lst dummy
#' @param hidden dummy
#' @param locked dummy
#' @param horizontal alignment can be "", "center", "right"
#' @param vertical alignment can be "", "center", "right"
#' @param horizontal alignment can be '', 'general', 'left', 'center', 'right', 'fill', 'justify', 'centerContinuous', 'distributed'
#' @param vertical alignment can be '', 'top', 'center', 'bottom', 'justify', 'distributed'
#' @param ... reserved for additional arguments
#' @seealso [wb_add_cell_style()]
#' @family style creating functions
Expand Down
1 change: 1 addition & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ bool
calcChain
calculatedColumn
camelCase
centerContinuous
charset
chartShapes
chartsheet
Expand Down
4 changes: 2 additions & 2 deletions man/create_cell_style.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/wb_add_cell_style.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0b247cd

Please sign in to comment.