- Fix
unlist()
usage inas_rtf_footnote()
which could result in errors for downstream code under R >= 4.5.0 (@nanxstats, #245).
- Fine-tune the symbol to ANSI and Unicode converter for faster, safer, and more robust conversion (thanks, @yihui, #217).
- Use code to generate the Unicode/LaTeX mapping table, to replace the previous
R/sysdata.rda
solution. Now the mapping table is directly accessible viar2rtf:::unicode_latex
(thanks, @yihui, #218).
- Fix bug when converting UTF-8 code >= 128 (#194).
- Add LibreOffice 7.6 support and improve error messages style (#198).
- Update
.docx
and.html
artifacts invignettes/
(#206).
- Add
r2rtf_ric_text()
to allow inline formatting (#184).
- Use the native pipe in unit testing (#179).
- Page size of the first page is different from the other pages (#174).
- Properly display cell height in HTML output (#66).
- Fix an issue when
group_by
andpage_by
are used together (#168).
- Display proper indentation for footnote and data source (#141).
- Fix an issue when a column only contains missing value (#146).
- Improve grammar and style for the main vignette (@howardbaek, #144).
- Add LibreOffice 7.4 and 7.5 support (#156).
- Add citation details (#155).
- Enable vertical alignment (#136).
- Add support for LibreOffice 7.3 (#92).
- Add new functions:
assemble_docx()
andassemble_rtf()
.
rtf_encode()
fails when data containsNA
and fixed-width font is used (#118).- Avoid error when
cell_nrow = 1
(#108, #109).
- Update copyright text.
- Avoid warning messages on matrix dimension in R >= 4.2.0 (#101).
- Vectorized text justification for
rtf_title()
,rtf_footnote()
, and other functions (#98).
utf8Tortf()
provides additional "-".
- Update maintainer email.
rtf_page()
now has a new argumentuse_color
.
- Convert to proper RTF code.
rft_encode()
does not add footnote and source to all pages fordoc_type = "figure"
(#90).
- The new function
rtf_read_figure()
supportsjpeg
andemf
formats for reading figures (#65).
- Avoid using
as.vector
fordata.frame
(#74). - Proper alignment to transfer
html
(#61).
- Avoid specific LibreOffice version (#68).
- New argument
cell_vertical_alignment
inrtf_*()
functions (#49, #52). - New argument
verbose
inrtf_encode_list()
andrtf_encode_table()
(#38).
unicode_latex
not found (#50).- Vertical align column headers (#49, #52).
- Vectorize text formatting arguments in
rtf_page_header()
andrtf_page_footer()
(#47, #53). text_format
issue with all value equal to""
(#40).- r2rtf needs to work properly with
group_by()
(#36).
- New experimental internal function
rtf_convert_format()
. - New argument
pageby_row
inrtf_body()
to display first row instead ofpage_by
variable whenpageby_row = "first_row"
. - New argument
subline_by
inrtf_body
to display subline by an variable. - New argument
text_indent_reference
to allow user to control reference of indent from page margin or table border (#12). - New internal function
rtf_subset()
to subset an RTF table object.
group_by
can be used whenpage_by = NULL
.page_by
cannot sort format style inrtf_body()
.- Ensure consistent font size with blank cell (#14).
- Rename datasets with prefix
r2rtf_
to avoid conflicts with other namespaces. - Enable special place holder
"-----"
inpage_by
variable to suppress line displayed in thepage_by
variable. See example 2 invignettes/example-pageby-groupby.Rmd
.
- Add
rtf_subline()
,rtf_page_header()
, andrtf_page_footer()
. - Add
rtf_page()
to set page related attributes. - Introduce argument
text_convert
to allow fixed string. - Add argument
as_table
inrtf_footnote()
andrtf_source()
to allow footnote and data source inside or outside of a table. - Refactor the
pageby
feature to enable thegroup_by
feature. Addvignettes/example-pageby.Rmd
to illustrate newpageby
features. - Define
obj_rtf_border
andobj_rtf_text
objects to standardize border and text attributes.
- Add example ADaM datasets.
- Add validation tracker in
inst/
and test cases intests/
.
- Standardize input from
gt_tbl
totbl
. - Resolve UTF-8 encoding.
- Added a
NEWS.md
file to track changes to the package. - Initial version.