Issue 80780 - Page break is missing in output documents by using of mail merge wizard
Summary: Page break is missing in output documents by using of mail merge wizard
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: h.ilter
QA Contact: issues@sw
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2007-08-17 12:38 UTC by bajun
Modified: 2013-08-07 14:43 UTC (History)
1 user (show)

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


Attachments
Example of issue (15.17 KB, application/vnd.oasis.opendocument.text)
2007-08-17 16:08 UTC, bajun
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description bajun 2007-08-17 12:38:38 UTC
Page break is missing in output documents by using of serial letter assistent.
1. Start a new document;
2. Type something on the first page.
3. Insert a page break
4. Type something on the second page.
5. Start letters assistent.
6. Make a letters with the assistent
7. Page breaks are missing
Comment 1 michael.ruess 2007-08-17 13:40:31 UTC
Reassigned to HI.
Comment 2 h.ilter 2007-08-17 15:42:21 UTC
It should not occur when you fill more text into the second page.
Type dt and hit F3 key to fill with autotext.


*** This issue has been marked as a duplicate of 56615 ***
Comment 3 bajun 2007-08-17 16:08:53 UTC
Created attachment 47608 [details]
Example of issue
Comment 4 bajun 2007-08-17 16:09:37 UTC
But I have this issue in my file, please, check attachment.
Comment 5 h.ilter 2007-08-20 10:15:59 UTC
Yes, it occurs in other way.
- The text in the second page will be moved to first page
- The page style of second page is lost
Comment 6 Mathias_Bauer 2007-11-15 08:46:38 UTC
target 3.0
Comment 7 bajun 2008-04-02 02:11:34 UTC
This Issue requires increase of a priority and nearest target. This is because
every business user, who make serial letters with styles and more as one page,
can't use letters assistant to make automatic print from database. If I, as
example, intend to print a press release or letters for customers, there are
many problems to make this. If these letters have more as one page, where first
page have firm-logo-header-style and second page have page-number-header-style,
I need to dispose styles manually before printing. This is not really if I have
many receivers. How would you make this if you have 200 customers? 
And if OpenOffice pretend to be industrial alternative, this issue need to have
more attention.
Comment 8 Oliver Specht 2008-04-02 09:58:36 UTC
->AMA: It looks as if the page break item is removed in 
void SwAttrSet::CopyToModify( SwModify& rMod ) const
Skipping the line 
aTmpSet.ClearItem( RES_PAGEDESC );
makes it possible to preserve the page break in copy/paste. 
Skipping the same line in mail merge crashes at:

>	sw300mi.dll!SwBorderAttrAccess::SwBorderAttrAccess(SwCache & rCach={...},
const SwFrm * pFrm=0x0aad11f4 T 1 (568,17689,23,23) RegIn 0x00000000 {pRoot=???
})  Line 2359 + 0x5d bytes	C++
 	sw300mi.dll!SwPageFrm::MakeAll()  
 	sw300mi.dll!SwFrm::PrepareMake()  
 	sw300mi.dll!SwFrm::Calc()  
 	sw300mi.dll!SwFrm::PrepareMake()  
 	sw300mi.dll!SwFrm::Calc()  
 	sw300mi.dll!SwFrm::PrepareMake()   	
        sw300mi.dll!SwFrm::Calc()  
 	sw300mi.dll!GetFrmOfModify(SwModify & rMod={...}, unsigned short
nFrmType=49152, const Point * pPoint=0x0aad5020, const SwPosition *
pPos=0x0aad503c, const unsigned char bCalcFrm='')  
 	sw300mi.dll!SwCntntNode::GetFrm(const Point * pPoint=0x0aad5020, const
SwPosition * pPos=0x0aad503c, const unsigned char bCalcFrm='')  
 	sw300mi.dll!SwCrsrShell::UpdateCrsrPos()  
 	sw300mi.dll!SwCrsrShell::UpdateCrsr(unsigned short eFlags=22, unsigned char
bIdleEnd=0)  
 	sw300mi.dll!SwCrsrShell::SttEndDoc(unsigned char bStt=0)  Line 624	C++
 	sw300mi.dll!SwNewDBMgr::MergeDocuments(SwMailMergeConfigItem &
rMMConfig={...}, SwView & rSourceView={...})  
Comment 9 andreas.martens 2008-05-29 08:57:51 UTC
Fixed in CWS sw30bf05
swatrset.cxx
Comment 10 andreas.martens 2008-06-03 08:25:31 UTC
Ready for QA.
Comment 11 h.ilter 2008-06-05 09:17:13 UTC
Verified with cws sw30bf05 = ok
Comment 12 lohmaier 2008-08-05 10:59:18 UTC
seen good in m28