Hi Mathias,
Why is this strange? It's more on the level of, say, the background
color, than, say, the zoom level: It's an aspect of the document which
its designer describes how to look like.
I consider it to be strange as it isn't relevant if you access the
document by its API, it is
Frank Schönheit wrote:
Hi Mathias,
Besides that it looks strange that ApplyFormDesignMode is a model
property. Is it stored in the content.xml or in the settings.xml?
content.xml.
Why is this strange? It's more on the level of, say, the background
color, than, say, the zoom level:
Hi Mathias,
Besides that it looks strange that ApplyFormDesignMode is a model
property. Is it stored in the content.xml or in the settings.xml?
content.xml.
Why is this strange? It's more on the level of, say, the background
color, than, say, the zoom level: It's an aspect of the document
Frank Schönheit - Sun Microsystems Germany wrote:
Hi Mathias,
I'm a little bit unclear about an API for the design mode. First IMHO
this isn't an API that you would expect to have at the model. It looks
like something UI related. Maybe we can see this as a view setting?
Where is it stored
Hi Paolo,
After Mathias pointed out an easy way to do this, do we still need the
issue? ;)
It would remain the problem of testing the condition Is it in
FormDesignMode?
Okay, that might deserve a dedicated API.
Ciao
Frank
--
- Frank Schönheit, Software Engineer [EMAIL PROTECTED]
Hi Bart,
thisComponent.ApplyFormDesignMode = true|false
This changes the initial form design mode, which is used when opening
the document.
What you say exactly?
Setting this function does not have any immediate effect. Instead, it is
evaluated when the document is loaded next
Frank Schönheit - Sun Microsystems Germany wrote:
Hi Mathias,
Switching off the design mode with the dispatch API is done in the
following way: (quote signs to avoid line breaks)
sub designmodeoff
document = ThisComponent.CurrentController.Frame
dispatcher =
Hi Mathias,
I'm a little bit unclear about an API for the design mode. First IMHO
this isn't an API that you would expect to have at the model. It looks
like something UI related. Maybe we can see this as a view setting?
Where is it stored in the file format?
It's definitely a view setting,
Hi all,
how to switch Design Mode on/off via macro in Calc?
Thanks in advanced
Bart
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi
how to switch Design Mode on/off via macro in Calc?
did you try
thisComponent.ApplyFormDesignMode = true|false
Laurent
--
Laurent Godard [EMAIL PROTECTED] - Ingénierie OpenOffice.org -
http://www.indesko.com
Nuxeo Enterprise Content Management http://www.nuxeo.com -
Hi Laurent,
how to switch Design Mode on/off via macro in Calc?
did you try
thisComponent.ApplyFormDesignMode = true|false
This changes the initial form design mode, which is used when opening
the document.
For switching the current design mode, you need to dispatch the URL
Frank Schönheit - Sun Microsystems Germany ha scritto:
Hi Laurent,
how to switch Design Mode on/off via macro in Calc?
did you try
thisComponent.ApplyFormDesignMode = true|false
Seems not work... !?
This changes the initial form design mode, which is used when opening
the document.
Frank Schönheit - Sun Microsystems Germany ha scritto:
Hi Bart,
Hi Frank
... zot...
http://api.openoffice.org/servlets/SearchList?list=devsearchText=setDesignModedefaultField=subjectSearch=Search
http://api.openoffice.org/servlets/ReadMsg?listName=devmsgNo=11668
good :-)
Most of the
Hi Bart,
Yes, but like user I espect a simple line command and a simple
variable to set ON or OFF, 0 or 1, true or false...
Feel free to submit an RFE (request for enhancement) in IssueZilla for
this. Assign it to me, and I'll see what I can do :)
Ciao
Frank
--
- Frank Schönheit,
Frank Schönheit - Sun Microsystems Germany ha scritto:
Hi Bart,
Yes, but like user I espect a simple line command and a simple
variable to set ON or OFF, 0 or 1, true or false...
Feel free to submit an RFE (request for enhancement) in IssueZilla for
this. Assign it to me, and I'll
Frank Schönheit - Sun Microsystems Germany wrote:
Hi Laurent,
how to switch Design Mode on/off via macro in Calc?
did you try
thisComponent.ApplyFormDesignMode = true|false
This changes the initial form design mode, which is used when opening
the document.
For switching the current
Hi Mathias,
Switching off the design mode with the dispatch API is done in the
following way: (quote signs to avoid line breaks)
sub designmodeoff
document = ThisComponent.CurrentController.Frame
dispatcher = createUnoService(com.sun.star.frame.DispatchHelper)
dim args(0) as new
Hi Bart,
Posting issue
The name frank schönheit is not a valid username...
can you help me?
sorry: fs is my OOo login name.
After Mathias pointed out an easy way to do this, do we still need the
issue? ;)
Ciao
Frank
--
- Frank Schönheit, Software Engineer [EMAIL PROTECTED] -
-
Hi Frank,
Alle 21:43, martedì 10 ottobre 2006, Frank Schönheit - Sun Microsystems
Germany ha scritto:
Hi Bart,
Posting issue
The name frank schönheit is not a valid username...
can you help me?
sorry: fs is my OOo login name.
After Mathias pointed out an easy way to do this, do we
Frank Schönheit - Sun Microsystems Germany ha scritto:
sorry: fs is my OOo login name.
After Mathias pointed out an easy way to do this, do we still need the
issue? ;)
Yes... maibe a stupid request about the subject of this thread... but in
general I love the simple functions... :-)
But
Paolo Mantovani ha scritto:
Ciao Paolo,
It would remain the problem of testing the condition Is it in
FormDesignMode?
The Pitonyak code have a specific function... (but it is based on
listeners and dispatch :-(( )
http://api.openoffice.org/servlets/ReadMsg?listName=devmsgNo=11668
Paolo Mantovani wrote:
Hi Frank,
Alle 21:43, martedì 10 ottobre 2006, Frank Schönheit - Sun Microsystems
Germany ha scritto:
Hi Bart,
Posting issue
The name frank schönheit is not a valid username...
can you help me?
sorry: fs is my OOo login name.
After Mathias pointed out an easy way
22 matches
Mail list logo