Issue 7059 - Insert envelope ignores addressee paragraph style
Summary: Insert envelope ignores addressee paragraph style
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.0.1
Hardware: All All
: P4 Trivial (vote)
Target Milestone: ---
Assignee: h.ilter
QA Contact: issues@sw
URL:
Keywords: oooqa
: 12966 (view as issue list)
Depends on:
Blocks:
 
Reported: 2002-08-16 20:54 UTC by Unknown
Modified: 2013-08-07 14:43 UTC (History)
2 users (show)

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


Attachments
Envelope with just the addressee. Notice the extra frame around the addressee field. (5.27 KB, application/octet-stream)
2002-10-21 02:11 UTC, prgmgr
no flags Details
Envelope with both the sender and addressee field (5.38 KB, application/octet-stream)
2002-10-21 02:12 UTC, prgmgr
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2002-08-16 20:54:18 UTC
Insert - Envelope
Envelope tab
Ensure "Sender" check box is clear (NOT checked)
New Doc.

The newly created envelope document will contain an addressee box with a solid 
line border on all four sides.  Changes to the addressee paragraph style are 
not reflected in the addressee box created in this manner.

If the "Sender" check box IS checked, then the addressee box created DOES 
rflect the addressee style correctly.
Comment 1 prgmgr 2002-09-15 21:04:01 UTC
Alastair, thanks for taking the time to post this issue.

Please clarify the problem you are experiencing.

I can remove the frame border by selecting the frame and then 
clicking on Frame->Border and making the appropiate changes.

If I select the text inside the frame, I can change it to an arbitary 
paragraph style.

Thank you for using and supporting OOo.
Comment 2 Unknown 2002-09-16 07:48:08 UTC
Thanks very much for responding.

The paragraph and border attributes of the "addressee" style are, in 
general, correctly reflected in the addressee box that is created as 
part of a new envelope.

For example, if I prefer not to have a border around the addressee, 
then I can make this change in the addressee style, and from then on 
new envelopes won't have a border.

However, there appears to be a bug whereby if the "sender" check box 
is NOT checked when you create a new envelope, the addressee box 
uses a hard-coded set of attributes, and ignores the current 
settings for the "addressee" style.

If I uncheck "sender" then the newly created envelope always has a 
border round it, even if I changed the addressee style to remove the 
border.

You are correct that I can then remove the border, change the style, 
etc. manually.  But I shouldn't have to.  The create new envelope 
function should honour the addressee style's attributes.  The key 
point is that it *does* honour these attributes if the "sender" box 
is checked.  It's only when "sender" is unchecked that the problem 
arises.

I hope this clarifies things!  ;)

Alastair
Comment 3 prgmgr 2002-10-21 02:09:54 UTC
Alastair, using OOo 643 I don't have a problem with the Addressee 
style changes.

Summary:
When creating an envelope without a sender, the addressee field is 
surrounded by an extra frame with a border.

This frame with border does not appear if the sender field is present 
in the envelope.

Duplicated on Win NT 4.0 SP6a, OOo 643.
Comment 4 prgmgr 2002-10-21 02:11:50 UTC
Created attachment 3252 [details]
Envelope with just the addressee.  Notice the extra frame around the addressee field.
Comment 5 prgmgr 2002-10-21 02:12:16 UTC
Created attachment 3253 [details]
Envelope with both the sender and addressee field
Comment 6 prgmgr 2002-10-21 02:13:07 UTC
I know the attached files do not open up correctly.

Please see issue 3824
Comment 7 h.ilter 2003-03-06 16:39:03 UTC
Reproducible with the first description.
Comment 8 Oliver Specht 2003-03-07 09:12:28 UTC
The bug has nothing to do with the paragraph style. The frame border
does not depend on the paragraph style. 
OS and platform changed.
Fixed in sw\source\ui\app\appenv.cxx in cws os6
Comment 9 Unknown 2003-03-08 00:00:45 UTC
Thanks to everyone for looking at/fixing this problem.

Does anyone know which release version will contain the fix?

Thanks

Alastair
Comment 10 Oliver Specht 2003-03-19 13:09:34 UTC
OS->Alastair: The bug will be in OOo 1.02 beta. 
Comment 11 h.ilter 2003-03-20 10:22:20 UTC
Fixed.
Comment 12 h.ilter 2003-03-20 10:22:54 UTC
Verified with 644m6_8563 (cws:os6).
Comment 13 Oliver Specht 2003-04-04 06:01:24 UTC
*** Issue 12966 has been marked as a duplicate of this issue. ***
Comment 14 thorsten.ziehm 2003-05-20 10:26:18 UTC
All tasks are verified in OOo1.1 Beta2