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





------- Additional comments from [EMAIL PROTECTED] Tue May 22 09:07:11 +0000 
2007 -------
fme->pflin: Some more remarks: 

1) Open a new document (while having the configuration set to 'use square
mode'). Do not enable grid layout. Switch configuration setting (Tools - Options
...) to 'non-square mode'. The page margins change.

2) In SwDoc::SetDefaultPageMode I would suggest to use some code like this:

for ( USHORT i = 0; i < GetPageDescCnt(); ++i )

    {

        SwPageDesc& rDesc = _GetPageDesc( i );



        SwFrmFmt& rMaster = rDesc.GetMaster();

        SwFrmFmt& rLeft = rDesc.GetLeft();



        SwTextGridItem aGrid( (SwTextGridItem&)rMaster.GetAttr(RES_TEXTGRID) );

        aGrid.SwitchPaperMode( bSquaredPageMode );

        rMaster.SetAttr( aGrid );

        rLeft.SetAttr( aGrid );

    }

3) Currently in officecfg the default is set to 'square mode' whereas the
bSquareMode bool of the TextGridItem is initialized to 'false'. This should be
consistent.

4) Toggling the stylist (F11) results in a debug output complaining about a
missing resource

---------------------------------------------------------------------
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