copy table from office word,the table's size changed smaller

General TRichView support forum. Please post your questions here
Post Reply
wolf1860
Posts: 118
Joined: Sat Nov 21, 2015 2:04 am

copy table from office word,the table's size changed smaller

Post by wolf1860 »

After paste, some cell's text will change to multi lines from single line.The test docx file sent to richview@gmail.com
wolf1860
Posts: 118
Joined: Sat Nov 21, 2015 2:04 am

Re: copy table from office word,the table's size changed smaller

Post by wolf1860 »

Please notice this topic:)
Sergey Tkachenko
Site Admin
Posts: 17554
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: copy table from office word,the table's size changed smaller

Post by Sergey Tkachenko »

Sorry, I did not receive this email, please resend.

I only received examples for crude picture and incorrect reading of non breaking spaces.
wolf1860
Posts: 118
Joined: Sat Nov 21, 2015 2:04 am

Re: copy table from office word,the table's size changed smaller

Post by wolf1860 »

I sent the test file to richview@gmail.com
Sergey Tkachenko
Site Admin
Posts: 17554
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: copy table from office word,the table's size changed smaller

Post by Sergey Tkachenko »

Sorry, this problem cannot be fixed.
While table sizes are the same, TRichView uses the screen DPI to format text, while MS Word (I guess) uses some high DPI offscreen canvas. So text may have slightly different widths.

In this example, texts in cells are short and width differences are very small, close to rounding errors.
Even in TRichView, if you format this document in higher DPI (for example, for printing; or if you zoom in the document by increasing DocumentPixelsPerInch property), you will see that text fits a single line.

So, the only recommendation is to make cells slightly wider.
wolf1860
Posts: 118
Joined: Sat Nov 21, 2015 2:04 am

Re: copy table from office word,the table's size changed smaller

Post by wolf1860 »

I see:) Thank u!
Post Reply