Hi,
I search the Developers Guide and the IDL-Docs but could find an answer
to my problem. Using the GUI I can set the Paper Format(e.g. to A3) and
Orientation of an Spreadsheet (e.g. to Landscape). I have not found yet
the functions needed to set these using the API. I only found how to set
Tom Schindl wrote:
I search the Developers Guide and the IDL-Docs but could find an answer
to my problem. Using the GUI I can set the Paper Format(e.g. to A3) and
Orientation of an Spreadsheet (e.g. to Landscape). I have not found yet
the functions needed to set these using the API. I only
Hi Tom,
It's really getting on my nerves that people can not configure their
mail-server apropiately when they use mailling lists.
For every message sent to [EMAIL PROTECTED] I get the notice I think everybody
does from his Anti-Spam agent.
I know, its annoying. But I have noo influence
Niklas Nebel wrote:
Tom Schindl wrote:
well flipping the orientation to IsLandscape = true is working more on
this later. Are there any predefined properties for the page-format?
There is an enum for paper formats
http://api.openoffice.org/docs/common/ref/com/sun/star/view/PaperFormat.html#A3
Tom Schindl wrote:
But where from does the GUI know? Is it hardcoded somewhere because when
switching the Format DropDown e.g. to A3 it automatically recalculates
the height and width.
The dialog actually has its own table.
Ok. Now summerized as a codesnippet:
Hi Laurent,
I retreive a paragraph containing text. Is there a way to know how many
lines it represents displayed in the document ? (so, depending on the
formats, font, font size aso)
I know i can count characters with
num = Len(myParagraph.string)
but need know that this number is
while thiscomponent.getText.compareRegionEnds(textCursor,viewCursor)0
viewCursor.goDown(1,false)
counter = counter +1
I should have read everything before I answered..
(for my excuse, the thread was somehow broken into two parts)
Michael
Hi Michael,
while thiscomponent.getText.compareRegionEnds(textCursor,viewCursor)0
viewCursor.goDown(1,false)
counter = counter +1
I should have read everything before I answered..
(for my excuse, the thread was somehow broken into two parts)
No problem for me :)
Thanks anyway
On 09.03.2005, at 13:20, Aidan Butler wrote:
Hello,
The URL of the document is stored as a property of the document
component. The following python code will print the URL
#ctx is the current context
desktop = ctx.ServiceManager.createInstanceWithContext( \
Ines Pfauch wrote:
On 09.03.2005, at 13:20, Aidan Butler wrote:
[...]
desktop = ctx.ServiceManager.createInstanceWithContext( \
com.sun.star.frame.Desktop, ctx )
document = desktop.getCurrentComponent()
print document.URL
Alternatively a document.getPropertyValue(URL) should do the
That's because you need to query for the correct interface first,
before you use such a method. In this case I would query the
com.sun.star.frame.XModel interface and call the method getURL() on
the returned object.
In order to code in Java for OOo, you need to know about such things
as
Hi Tom,
thanks for the extensison, i think it is very helpful to improve the
navigation to the IDL reference and implicit to the DevGuide.
- Juergen
Tom Schindl wrote:
Jürgen Schmidt wrote:
Tom Schindl wrote:
Jürgen Schmidt wrote:
Hi,
we have started some time ago with our code snippet base
I thought about automatically linking all imports or includes when we are
talking C++. We could even link all com.sun to the IDL?
What do you think about it?
Tom
Hi Tom,
thanks for the extensison, i think it is very helpful to improve the
navigation to the IDL reference and implicit
yep, that is also a good idea. We should simplify the access to further
information wherever we can. Important is that the snippets can be
copied and used directly in the users prefered editor.
- Juergen
Thomas Schindl wrote:
I thought about automatically linking all imports or includes when we
Hi Tom,
Create a mail filter to delete anti-spam agent mail from
your server. You'll never see it.
tc
Tom Schindl wrote:
It's really getting on my nerves that people can not configure their
mail-server apropiately when they use mailling lists.
For every message sent to [EMAIL PROTECTED] I get the
Hi, all!
I'd like to write a macro setting some of OOo's options (Menu Tools-Options)
programatically. Can this be done?
So far, by means of recording a macro, I've just got to:
dispatcher = createUnoService(com.sun.star.frame.DispatchHelper)
dispatcher.executeDispatch(document,
Am Do, den 10.03.2005 schrieb Jürgen Schmidt um 15:50:
Hi Tom,
thanks for the extensison, i think it is very helpful to improve the
navigation to the IDL reference and implicit to the DevGuide.
I think so, too. I'd really love a list of all implementing classes
for interfaces and services
Tom Schindl wrote:
The search functionality is still on my list and I hope I can manage
soon to implement it.
Tom
Tom,
Do you mean a search functionality to be let loose on IDL documentation
or on a Calc sheet?
In the latter case I suggest you take a look at Andrew Pitonyak's
OpenOffice.org
Dear OpenOffice.org community,
We really would like to see all questions answered, but
we need your help to keep track of your questions and their
answer status. Thus, if you still have a question unanswered
for more than two days, feel free to place a reminder on the
list. But maybe you should
G. Jasper wrote:
Tom Schindl wrote:
The search functionality is still on my list and I hope I can manage
soon to implement it.
Tom
Tom,
Do you mean a search functionality to be let loose on IDL documentation
or on a Calc sheet?
In the latter case I suggest you take a look at Andrew Pitonyak's
20 matches
Mail list logo