Skip to content

Conversation

@rich-iannone
Copy link
Member

@rich-iannone rich-iannone commented Dec 1, 2020

This PR makes it possible to specify column widths for RTF output tables in the same way as HTML tables. A number of test cases have been added and rendered (in /tests/gt-examples/). Also, the table.width option specified in tab_options() has an effect with these changes.

Fixes: #658
Fixes: #748

* master: (30 commits)
  Update R-CMD-check.yaml
  Update R-CMD-check.yaml
  Update R-CMD-check.yaml
  Update manual tests (#727)
  Remove irrelevant tests
  Update README
  Update license year info
  Update testthat tests
  Update _pkgdown.yml
  Update `cols_unhide()` to new tidyselect API
  Update test-table_parts.R
  Update PNG images for examples
  Update cols_unhide.Rd
  Update doc examples for `cols_unhide()`
  Update documentation with roxygen
  Add to NAMESPACE
  Add `dt_boxhead_set_not_hidden()` util fcn
  Modify internal documentation
  Add the `cols_unhide()` function
  Update intro-creating-gt-tables.Rmd
  ...
jcheng5 and others added 2 commits April 5, 2021 11:36
* master:
  Add row group `id` as an argument to `tab_row_group()` (#699)
* master: (92 commits)
  Update html-15-styles_everywhere.Rmd
  Update html-15-styles_everywhere.R
  Update latex-06-mtcars.Rmd
  Update html-06-mtcars.Rmd
  Update html-06-mtcars.R
  Modify `colname_to_colnum()` fn
  Refactor collection of styles for the footer
  Better handle adding of styles/footnotes in summaries
  Update two testthat tests
  Use `stop()` instead of `warning()`
  Update documentation
  Remove warnings when using summary stub locs
  Add several testthat tests
  Add figure images for new functions
  Update man_extract_summary_1.png
  Add empty stub when creating summaries
  Update vignettes/articles (#735)
  Provide fix for RTF generation in R 3.5 (#736)
  Improve documentation for location helper fns
  Refactor location helper fns
  ...
jcheng5
jcheng5 previously approved these changes May 3, 2021
@jcheng5 jcheng5 merged commit ab0213a into master May 4, 2021
@jcheng5 jcheng5 deleted the rtf-cols-width branch May 4, 2021 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Modify the internal addition of a stub column to place the new column at the end Incorporate cols_width() in RTF output

3 participants