Issue 506 - WW9: Textfield with attribute "behind text" has to be Frame "in background"
Summary: WW9: Textfield with attribute "behind text" has to be Frame "in background"
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: 619
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@www
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-05 14:58 UTC by michael.ruess
Modified: 2013-08-07 14:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Issue506.doc (25.00 KB, application/msword)
2001-08-03 08:16 UTC, michael.ruess
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description michael.ruess 2001-03-05 14:58:43 UTC
load bugdoc -> after import the frame should better have the attribute "wrapping 
in background" (to find on the "wrap"-Tabpage of the frame properties)
Tracker ID: #84112
BugTraq ID: #4416152
Comment 1 michael.ruess 2001-03-05 15:00:29 UTC
Created attachment 91 [details]
Issue506.doc
Comment 2 michael.ruess 2001-03-05 15:01:44 UTC
reassigned to cmc, because at first i assigned to sba.
Comment 3 caolanm 2001-03-12 14:38:20 UTC
Yikes!, in msword double click the textfield and take a look at its attributes.
The layout is set to be "in front of the text", not behind. We only set a frame
to be in the background if it is "behind the text". Its being imported as
correctly as it can currently be...

To see exactly what is going on, in msword right click on the textfield and
change its background colour from none to something like red. Now edit the
header and add some text to the header, add enough lines so that some of the
header text overlaps with the textfield. The header text dissappears behind the
textfield.

So the text field truly is in front of the text. We should not correctly set it
to be a background frame, there are two problems here...

1. In the case that winword has a textfield with no background color, i.e. the
"no colour" colour, then this is really "transparent", and text underneath
should show through, we have not exactly the same feature in our frames. Setting
our background colour in a frame to "no fill" means we fill with the default
background colour.

2. Also this textfield is anchored to the header. Word appears to consider the
contents of headers and footers to be in a graphic layer lower than that of the
main document text, and because the main document also has a background of none
then the main document is transparent and the lower header/footer layer shows
through. Fill the textfield with text and move it so that it is overlapping with
the main document text and select the main document text and set its background
colour as well. Word acts like the textfield anchored in the header/footer is in
a lower layer than the main text.

So we cannot really import this document correctly. As a hack we *could* set
"wrap in background" for all textfields that are "in front of the text" but have
"no colour" set as their background. The two layers of text would overlap in the
incorrect order, but it would look close to the original to the user. Or we
could set "wrap in background" for all textboxes originally anchored to the
winword header which will now overlap the main document text. But both hacks are
not good solutions because we want it to be in the foreground in the header and
in the background in the main document.

Perhaps if all imported frames were implemented using Draw Text boxes we could
use the transparency features of those to get the correct effect, but then we
could not have those objects in the headers/footers.

cmc->jp: I think this is a core thing? Transparent frames and the general idea
of frames inserted in headers/footers which expand past the boundaries of the
h/f to be treated as layers lower than that of the main document. Whether its
worth it for what appears to be a very special case in msword is another question.
Comment 4 jp 2001-03-13 09:44:37 UTC
Currently I have no idea how to "fix" this specific WinWord "hack". The best 
solution was to ignore all fly frames, except the graphics, in headers/footers. 
Graphics can set as background graphic in our page templates.
Comment 5 Oliver-Rainer Wittmann 2003-09-16 13:28:31 UTC
OD->MRU (16.09.2003):
Point 1., mentioned by CMC, is already addressed in OOo1.1 - a fly
frame is imported with 100% transparent background color.
Please check, if there is any problem. If not, close this issue.
Comment 6 michael.ruess 2003-09-17 13:50:37 UTC
No problem anymore. Document now looks the same as in WW.
Comment 7 michael.ruess 2003-09-17 13:50:59 UTC
Closed.