Bug 46203 - Fileopen: large text from small DOC text box, that is partially or not seen in Word, shown all in Writer
Summary: Fileopen: large text from small DOC text box, that is partially or not seen i...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: DOC-Textbox
  Show dependency treegraph
 
Reported: 2012-02-16 16:59 UTC by Udit Mahajan
Modified: 2019-08-16 11:57 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
The screenshot contains the document both as viewed in Office 2007 and Libreoffice 3.5.0 writer. (39.41 KB, image/jpeg)
2012-02-16 16:59 UTC, Udit Mahajan
Details
document from comment 3 (32.50 KB, application/msword)
2012-10-08 06:04 UTC, sasha.libreoffice
Details
The same document, saved as PDF using msWord 2007 (54.38 KB, application/pdf)
2012-10-08 06:05 UTC, sasha.libreoffice
Details
document from comment 3 minimized and text seen (24.11 KB, application/msword)
2017-08-22 16:51 UTC, Timur
Details
RESPONSE TO IMPROPER BILLING AFTER PAYMENT2.doc: highlighting areas noted in comment 13 where the copyright message exists (19.50 KB, application/msword)
2019-08-15 09:10 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Udit Mahajan 2012-02-16 16:59:32 UTC Comment hidden (obsolete)
Comment 1 Udit Mahajan 2012-05-05 03:00:06 UTC Comment hidden (no-value)
Comment 2 sasha.libreoffice 2012-05-21 06:41:43 UTC Comment hidden (obsolete)
Comment 3 madmuffin 2012-06-01 14:40:42 UTC
I found a document having a very similar text at 

http://cnnetc.googlecode.com/files/RESPONSE%20TO%20IMPROPER%20BILLING%20AFTER%20PAYMENT.doc

but it is working on my LibreOffice 3.5.3 installation. Please check which version you are using and provide the exact document (or at least the first page with obfuscated text) of the document that is causing the trouble.
Comment 4 cyrille grosdemange 2012-10-07 13:42:14 UTC
the document in previous comment has wrong display (as in bug desc.) with LibO 3.6.3.0 Linux x86 (text is rotated 90° counterclock)
Comment 5 sasha.libreoffice 2012-10-08 06:04:37 UTC
Created attachment 68240 [details]
document from comment 3
Comment 6 sasha.libreoffice 2012-10-08 06:05:47 UTC
Created attachment 68241 [details]
The same document, saved as PDF using msWord 2007
Comment 7 sasha.libreoffice 2012-10-08 06:10:57 UTC
When open attached doc in Writer, appears extra vertical text on left.
Reproduced in 3.3.4, 3.5.5, 3.6.2 on Fedora 64 bit
IMHO it is because doc has frame placed outside of page

Changing version to 3.3.4 as most early reproduced
Comment 8 Udit Mahajan 2012-10-08 06:15:11 UTC Comment hidden (no-value)
Comment 9 QA Administrators 2015-01-05 17:51:01 UTC Comment hidden (obsolete)
Comment 10 Buovjaga 2015-01-20 09:21:24 UTC
(In reply to sasha.libreoffice from comment #7)
> When open attached doc in Writer, appears extra vertical text on left.
> Reproduced in 3.3.4, 3.5.5, 3.6.2 on Fedora 64 bit
> IMHO it is because doc has frame placed outside of page

Problem still exists.

Win 7 Pro 64-bit Version: 4.5.0.0.alpha0+
Build ID: 5f6bdce0c0ac687f418821ce328f2987bf340cda
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2015-01-17_01:06:46
Comment 11 QA Administrators 2016-02-21 08:34:23 UTC Comment hidden (obsolete)
Comment 12 QA Administrators 2017-03-06 14:54:13 UTC Comment hidden (obsolete)
Comment 13 Timur 2017-08-22 16:51:03 UTC
Created attachment 135738 [details]
document from comment 3 minimized and text seen

Since reported didn't attach a requested file, I obsoleted that discussion and this bug is about attachment from Comment 5.

This "Copyright..." is in 4 places, very strange: 
- white on white but regular text in header, opens in LO
- text box upper right corner, 0,32 cm x 0,42 cm
- text box up down 0,32 cm x 0,21 cm
- text box left in front of text, height 23,18 cm and width 0,21 cm, -2,72 cm right to Column and -0,63 cm below Paragraph, that's open as frame in LO height 23,18 cm and  width 0,21 cm, -2,54 cm to Paragraph and -0,63 cm to Margin

Title "Vertical Text by the side of pages all wrong." is not clear so I rename to "Fileopen: large text from small DOC text box, that is partially or not seen in Word, shown all in Writer".
Comment 14 QA Administrators 2018-08-23 02:41:39 UTC Comment hidden (obsolete)
Comment 15 Thomas Lendo 2018-10-08 00:15:38 UTC
Still reproducible.

Version: 6.2.0.0.alpha0+
Build ID: 6dacf9ec5455bdad82e78470a1a7cb6d2271bec7
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: de-DE (de_DE.UTF-8); Calc: threaded
from yesterday
Comment 16 Xisco Faulí 2019-06-27 09:55:59 UTC
Still reproducible in

Version: 6.4.0.0.alpha0+
Build ID: ea19b0c0230fcc730245ecd445c03164cb6a1d18
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded

@Justin Luth, I thought you might be interested in this issue...
Comment 17 Justin L 2019-08-15 09:10:54 UTC
Created attachment 153401 [details]
RESPONSE TO IMPROPER BILLING AFTER PAYMENT2.doc: highlighting areas noted in comment 13 where the copyright message exists

This seems to be an inherit difference with how LO handles draw shapes. If the text does not fit inside of the shape, it just spills out all over the place - which is what we see with the rotated text on the left.
The text in the extreme top and bottom right is imported as a frame - where the text does not spill out.
Comment 18 Justin L 2019-08-15 13:31:00 UTC
Because the text direction is bottom to top (nPropVal == mso_txflBtoT), 
//Writer can now handle vertical textflows in its
//native frames
//Writer will handle all textflow except BtoT
so we cannot do aInfo.bReplaceByFly  = true;

Therefore, it does not try to ConvertDrawTextToFly, but instead it MungeTextIntoDrawBox.
Comment 19 Justin L 2019-08-15 15:06:25 UTC
UI Bottom to Top support was recently added to LO 6.3 with
commit 52e47276694575f119192f6ddafa69ec7a7eb6b4
Author: Miklos Vajna  Date:   Thu May 16 22:07:03 2019 +0200
    sw btlr writing mode: implement UI for fly frames
Comment 20 Justin L 2019-08-16 11:57:34 UTC
btlr is Miklos' favourite project right now. I'm very happy to leave this for him to work on.