To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=81544





------- Additional comments from [EMAIL PROTECTED] Fri Feb 29 02:04:26 +0000 
2008 -------
lijian->fme:
I don't know what do you mean by "'some code' case is also correct for non-
empty pages. Will you please give more details ?
I think this case is as follows for this bugdoc:
When you click "Format-Page", and then click "OK" in the dialog "Page Style :
Default", a while loop for all pages in function SwFrm::CheckPageDescs() will 
be done. So,
The first page(page number 1) style is "First page" whose following style 
is "Impressum".
The second page(page number 2) is an empty page and is not visible whose style 
is "Impressum" and following style is "Index".
So far so fine with "SwPageFrm::FindPageDesc().
Then goto the third page(page number 3) with function FindPageDesc.
Because the second page is an empty page, then pFlow and pRet will be NULL.
And the third page is not an empty page, so codes below will be done:

if ( !pRet )
        pRet = GetPrev() ?
((SwPageFrm*)GetPrev())->GetPageDesc()->GetFollow() : 0;

While GetPrev() here is the second page, GetFollow() will be "Index".
And the third page style will be changed to "Index" other than "Impressum".
That's the problem. Right ?
Thus, I think the current page style should be the following style of the first
non-empty page before the current page.
That's what I think. Hope you can give me some help.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to