sheet_add_drawing.dml() to add vector graphics to an
Excel sheet via officer::sheet_add_drawing(). This provides a unified
API for adding drawings to xlsx workbooks.sheet_add_drawing.dml() now appends its anchor to the sheet's
existing drawing part (via officer::xlsx_drawing) instead of
creating a second drawing part and a second <drawing> reference
on the worksheet. Mixing dml with other sheet_add_drawing()
methods (external_img, gg, ms_chart) on the same sheet now
produces a valid xlsx.xl_add_vg() is now deprecated in favour of sheet_add_drawing().Rf_error() calls in pptx_new_page() and
xlsx_new_page() with parentheses ((Rf_error)(...)) so they remain
direct C-ABI calls instead of going through the Rcpp override
(#66). These are device callbacks where Rf_error's longjmp is the
correct signalling mechanism.b and i attributes are now always set explicitly in run properties.<a:noFill/> instead of omitting
the fill element, preventing unintended theme fill inheritance in
PowerPoint/Excel.dml_xlsx() no longer exposes the raster_prefix argument; raster
files are now written to an internal temporary directory. The prefix
is embedded in the output as an XML comment
(<!-- rvg_raster_prefix:... -->), which callers can read after
dev.off() to locate the PNG files.xlsx_path callback for the XLSX device, enabling
geom_path and path-based geometries in Excel output.pptx_path/xlsx_path) now combine all
sub-polygons into a single <a:path> element within <a:custGeom>,
so holes (donuts, cut-out polygons) render correctly via winding
rule.deviceVersion to v15 (R_GE_group) on R >= 4.2, avoiding
redundant double-clipping by the graphics engine and enabling
the capabilities callback so that dev.capabilities() reports
explicitly unsupported features (patterns, masks, clipping paths,
compositing, transformations). This eliminates the "Unable to
check capabilities" warning from ggplot2.gdtools::font_set_auto() to detect
system fonts for sans, serif, mono and symbol aliases.
Minimum gdtools version bumped to 0.5.0.validate_fonts() now warns when user-supplied font families
are not found on the system.SystemRequirements in DESCRIPTION file
so that software dependancies can be managed automatically.body_add_vg is defunct.ph_with_vg and ph_with_vg_at have been removed.ph_with_vg and ph_with_vg_at are defunct and will be removed in the next release.ph_with_vg and ph_with_vg_at are defunct.ph_with_vg and ph_with_vg_at are deprecated.ph_with.dml and dml, it will replace functions ph_with_vg and
ph_with_vg_at (they will be deprecated in the next release).ggplot2::geom_sf is now supported.type of function ph_with_vg
now default to "body".dml_docx is deprecated and will be removed in later versions. It
was maintained for compatibility reasons with package ReporteRs.
As ReporteRs will be removed from CRAN 2018-07-16, this function
has no more reason to exist.add argument ggobj to ph_with_vg() and ph_with_vg_at().
It can be used as replacement to code=print(gg) when gg is
a ggplot object.
new function xl_add_vg() to add vector graphics produced
from R into Excel workbooks. This requires officer >= 0.2.0.
plot size was truncated to integers
lines with opacity were not displayed