-
Notifications
You must be signed in to change notification settings - Fork 90
Closed
Labels
Description
I've been trying to set a specific size (height and width) for a flextable output for hours and don't find the way to do it dynamically. I'm adding flextable table results to a PowerPoint deck using officer. I've tried several different ways and non seem to work perfectly for this single simple task. Is it not possible to force the whole table's size?
I have already tried:
widthandheightfunctions change columns' sizes, not the table. I do need theautofitfunctionality so I can't calculate ncols x X.- Using officer's
ph_location_type(type = "body")(nor_label, nor_template), flextable doesn't follow the size of the object added in the template. - The link in the
officerdocumentation for this topic doesn't work. - Using
set_table_propertiesseems to be quite near but only to reduce size; it doesn't work for larger than 1 sizes. flextable_dimonly gives information but doesn't let you edit.- When I dump the flextable object into PowerPoint file, I can simply enlarge the object to fit the size I want manually and it renders OK, but shouldn't there be a way to set the size programmatically on fixed sizes?