Hi Andreas: sorry for the vagueness, I mean the gray margins actually, when I change the right gray margin, with setting the value in the object of SvxLRSpaceItem,(using the SetRight function), and I use SfxItemSet::Put method, but when I open the page dialogue box, the value of the gray right margin still remained the same, How can I make sure the change is known by the dialogue box? (the dialogue box gets the address of the object of SvxLRSpaceItem and read the value, am I right?)
thank you very much Best regards Jack zhaosheng 2007-03-07 发件人: Andreas Martens 发送时间: 2007-03-06 16:53:59 收件人: [email protected] 抄送: 主题: Re: [sw-discussion] SW problem Hi Jack, zhaosheng wrote: > hello guys: > > As you know, the classes that control the margin of the text area are in SVX > module, now, if I want to add new features to writer, and for some reason, > the margin has to be changed under some circumstances, I found if I change > them in view classes like "SWView", the change of margin actually can't > affect the value in SVX module, so at last the change in the view class is > only affectting the display,but not the really value in ruler class > > in which class contains the value for left and right margin for the text > area? can some one help me? > thank you very much > [..] which margin do you refer to? The grey margin of the page or the (white) margin between the page border and the text area? What do you want to achieve? If it's a centered document view (just a guess), then you should have a look at issue 1761, fixed in CWS os92. Best regards Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
