Issue 18732

Summary: WW8: element anchored to content in header, relative vert and hori to page
Product: Writer Reporter: caolanm
Component: codeAssignee: Oliver-Rainer Wittmann <orw>
Status: CLOSED FIXED QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P3 CC: freuter, issues
Version: OOo 1.1 RC3   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 18771, 1560, 2465, 20124, 20458, 22305    
Attachments:
Description Flags
Example .doc
none
Sample doc illustrating the problem...
none
Patch which fixes the problem none

Description caolanm 2003-08-27 14:24:23 UTC
cmc->ama: Just to confirm, the attached example .doc's feature of having an
effectively "page anchored" (really character anchored with relative to page
vert and hori from word's perspective) element anchored to a header displayed on
all pages that use that header is not currently possible ?
Comment 1 caolanm 2003-08-27 14:24:53 UTC
Created attachment 8818 [details]
Example .doc
Comment 2 caolanm 2003-08-27 14:31:11 UTC
cmc->od: This might be of interest to you as well.
Comment 3 andreas.martens 2003-08-27 17:08:31 UTC
Yes, I think, it's for Oliver. For drawing objects it's possible to
leave the header but for writer fly frames it's not (at the moment).
Comment 4 Oliver-Rainer Wittmann 2003-09-01 08:16:10 UTC
OD (01.09.2003): accepted
Comment 5 Oliver-Rainer Wittmann 2003-09-23 14:03:17 UTC
.
Comment 6 Oliver-Rainer Wittmann 2003-10-01 14:50:54 UTC
OD (01.10.2003):
In order to address this issue 
(1) a new option is introduced to Writer frames and Writer graphics -
draft name 'follow text flow' and
(2) vertical alignments at page areas - namely 'entire page' and 'page
text area' - are introduced for 'to paragraph' and 'to character'
anchored Writer frames/graphics.

By the new option it can be controlled, if a Writer frame/graphic can
leave its layout environment (page header, document body, table cell,
surrounding Writer frame, footnote/end node, page footer) by a given
positioning.
If option is set, Writer frames/graphics are layouted as in OOo 1.1 -
if its given position exceed its layout environment, it flows to the
next layout environment or, if no next layout environment exists (page
header/footer, table cell, surrounding Writer frame), it's captured
inside its environment.
If option isn't set can leave it s layout environment, but it has to
stay on the page its anchor is on.

By the new vertical alignments Writer frames/graphics can be
vertically positioned aligned to page areas, even if they are anchored
'to paragraph'/'to character'.
If a Writer frame/graphic has to follow the text flow (new option is
set), the page areas for the vertical alignments are interpreted
according to its layout environment. E.g.: a Writer frame is anchored
to paragraph inside a table cell and the new option is set, then
'entire page' is interpreted as the cell area.
Comment 7 michael.ruess 2003-11-03 16:34:52 UTC
*** Issue 21770 has been marked as a duplicate of this issue. ***
Comment 8 Oliver-Rainer Wittmann 2003-11-10 11:15:46 UTC
specifications for option 'Follow text flow' and the vertical
alignment at page areas is in progress and will follow.
Comment 9 Oliver-Rainer Wittmann 2003-11-20 10:50:00 UTC
providing enhancement in internal cws swobjpos02
Comment 10 Oliver-Rainer Wittmann 2003-11-20 10:52:32 UTC
specifications for new option 'Follow text flow' and vertical
alignment at page areas can be found at http://specs.openoffice.org

OD->MRU:
Checked in internal installation set of cws swobjpos02 - please verify.
Comment 11 michael.ruess 2003-12-10 16:39:18 UTC
Checked fix with CWS swobjpos2.
Comment 12 michael.ruess 2003-12-10 16:40:14 UTC
Verified. Fix will be included in OO 2.0
Comment 13 Oliver-Rainer Wittmann 2004-02-10 12:39:42 UTC
*** Issue 25288 has been marked as a duplicate of this issue. ***
Comment 14 michael.ruess 2004-02-11 08:31:25 UTC
*** Issue 25288 has been marked as a duplicate of this issue. ***
Comment 15 Oliver-Rainer Wittmann 2004-03-09 06:02:55 UTC
*** Issue 26243 has been marked as a duplicate of this issue. ***
Comment 16 michael.ruess 2004-06-09 12:04:49 UTC
integrated in 680m38.
Comment 17 Oliver-Rainer Wittmann 2004-06-09 14:08:10 UTC
removed OD from cc list
Comment 18 michael.ruess 2004-12-01 10:44:29 UTC
*** Issue 38157 has been marked as a duplicate of this issue. ***
Comment 19 michael.ruess 2004-12-06 10:04:48 UTC
*** Issue 38157 has been marked as a duplicate of this issue. ***
Comment 20 flr 2008-06-18 11:12:29 UTC
The current fix for objects with relative-to-page + followtextflow inside a
table is not working.
Comment 21 flr 2008-06-18 11:13:39 UTC
Created attachment 54558 [details]
Sample doc illustrating the problem...
Comment 22 flr 2008-06-18 11:14:43 UTC
Created attachment 54559 [details]
Patch which fixes the problem
Comment 23 flr 2008-06-18 11:15:55 UTC
flr->od: Can you take a look at the patch?
Comment 24 Oliver-Rainer Wittmann 2008-06-18 12:16:14 UTC
OD->FLR:
Please submit a new issue for the problem you have found.
Please consider also fix for issue 84783, made in cws sw30bf05.

Re-Closing this issue as fixed.
Comment 25 Oliver-Rainer Wittmann 2008-06-18 12:17:54 UTC
closing again.