insightsengineering / insightsengineering/rtables.officer

export_as_docx: page_width should consider left and right margins

Open
#67 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Currently, the export_as_docx() function calculates page_width as the full page width (section_properties$page_size$width) when determining table layout. However, it does not subtract the left and right margins, which can cause tables to exceed the printable area.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.