List Info

Thread: GetLayout()->Frm().SSize()




GetLayout()->Frm().SSize()
user name
2007-10-19 09:32:33
Hi,

I had to change some calls inside ViewShell from 
GetLayout()->Frm().SSize()

to

GetDocSize()

which is basically the same but adds the notes sidebar if
neccessary.

Now there are several calls to GetLayout()->Frm().SSize()
inside CrsrShell as well, would it be save to change all
occurences to GetDocSize() ? Any negative side effects?



Regards Max
Re: GetLayout()->Frm().SSize()
user name
2007-10-20 01:26:47
Hi Max,

On 19.10.2007 16:32, Maximilian Odendahl wrote:
> 
> I had to change some calls inside ViewShell from 
> GetLayout()->Frm().SSize()
> 
> to
> 
> GetDocSize()
> 
> which is basically the same but adds the notes sidebar
if neccessary.
> 
> Now there are several calls to
GetLayout()->Frm().SSize() inside CrsrShell as well,
would it be save to change all occurences to GetDocSize() ?
Any negative side effects?

well, actually we have to check all these occurrences of 
GetLayout()->Frm().SSize() for their meaning. Most likely
I will have to 
deal with the problem in my "multi page view" cws
as well. Maybe we 
should even consider to make the sidebar be part of the root
frame, 
don't know yet.

For now I suggest to check any occurrence of
GetLayout()->Frm().SSize() 
any decide in each single case if it can be replaced. Also
of course we 
have to check any occurrences of GetDocSize().

Have a nice weekend,

Frank

--
Frank Meies (fme) - OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/Gu
llFOSS

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribesw.openoffice.org
For additional commands, e-mail: dev-helpsw.openoffice.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )