WPCubed Product Support

making tables in wp6 use same space as in wp4

we have a bunch of wp4 templates & are converting to wp6. The ones with tables have slightly larger line height when printed with wp6. I've tried all the formatoptions I can imagine might make a difference, but still it isn't quite right. Anything else I can try?

rtfMerged.FormatOptions := rtfMerged.FormatOptions + [wpUseAbsoluteFontHeight, wpNoMinimumCellPadding, wpfIgnoreMinimumRowheight, wpfIgnoreMaximumRowheight];

rtfMerged.FormatOptionsEx := [wpDontIgnoreSpacebeforeOnTopOfPage, wpDontAddExternalFontLeading,  wpDontUseTablePadding,
wpDontUseRowPadding, wpDontUseBorderPadding, wpDontInheritCellAttr,  wpfIgnoreTrailingEmptyParAtFooter];
#1 ♥ 0
5.6k Views 2 users read 1 min
support

In second try You didn't add wpNoMinimumCellPadding

#2 ♥ 0

Isn't this right? Is there another option set?

rtfMerged.FormatOptions := rtfMerged.FormatOptions + [wpUseAbsoluteFontHeight, wpNoMinimumCellPadding, wpfIgnoreMinimumRowheight, wpfIgnoreMaximumRowheight];
#3 ♥ 0

Julian, I hate to be a pitbull about this, but I don't understand your comment. Can you explain what you mean by

In second try You didn't add wpNoMinimumCellPadding

#4 ♥ 0
support

Hi,

I overlooked that wpNoMinimumCellPadding before in you code, therefor my comment. There is no other switch to change the tables.

Julian

#5 ♥ 0
This category is archived. No new posts are possible.