aloizio wrote:
I need to change via OO API the following parameters
LineSpacing
ParaFirstLineIndent
ParaVertAlignment
hi,
this is the code for you:
XStyle xStyle = (XStyle)UnoRuntime.queryInterface (
XStyle.class,
this.xMultiServiceFactory.createInstance(
Hi all,
Tobias Krais wrote:
Hi API Team,
starting with OOo 2.0.4 you can use the parameter -nofirststartwizard
to, guess what... suppress the startup wizard.
using htop to watch my OOo bootstrap process I can see, that
bootstraping OOo from java does not use this option. Is it possible
How can I insert text (or anything) at the cursor's position?
I've recovered the cursor position doing this:
mxRemoteServiceManager = getRemoteServiceManager();
Object desktop =
mxRemoteServiceManager.createInstanceWithContext(com.sun.star.frame.Des
ktop, mxRemoteContext);
XDesktop xDesktop =
Hi Tabish,
Create a JAR package and make a desktop icon with a commandline like
this: java -jar myjar.jar
The ant script file will be inside the JAR ? Right now I type ant run to
run my java code.
You are saying that by making a jar which will have the ant file inside it
the ant script
Hi Mathias,
In a calc document i want to place a button with that the user can print
the actual sheet or rather the defined (and named) print area at the
sheet. But i can't find the right print options to do that.
please see the code attached. It is free, again.
Greetings, Tobias
package
Hi Joan,
But now, how I manage to write something in that position?
I use the method below to paste text on the position of a bookmark. You
will also find the answer to you question in the developers guide.
Greetings, Tobias
-%-
/**
* Sets the Cursor to a bookmark position and
Hi Kai,
starting with OOo 2.0.4 you can use the parameter -nofirststartwizard
to, guess what... suppress the startup wizard.
using htop to watch my OOo bootstrap process I can see, that
bootstraping OOo from java does not use this option. Is it possible to
add this option to the standart
Do you mean the TextDocuments.java in the guide? It works fine if you
want to go to the start, then jump some sentences and a few words and
then write. But I'd like to write where the cursor (the blinking one)
is, do you think it's possible? Or... Can anybody tell me where to look
for it?
Hi
Do you mean the TextDocuments.java in the guide? It works fine if you
want to go to the start, then jump some sentences and a few words and
then write. But I'd like to write where the cursor (the blinking one)
is, do you think it's possible? Or... Can anybody tell me where to look
for it?
Hi Bartolomeo,
Thanks for your help. I have another problem I implemented the method below,
but only the first paragraph of the document are changed with the
properties. I need to set all document paragraphs to the properties into the
loop. Why this happens. Could you help me?
public void
Is there any problem choosing the SDK plugin configuration for Eclipse
in Windows XP? It seems to work on Windows 2000... I'll attach an image
of the error
Joan
This e-mail may contain confidential or privileged information. Any unauthorised
copying, use or distribution of this information is
Alamo Vallejo, Joan a écrit :
Sorry, the attachment didn't seem to work... Here it is: Invalid SDK
path. And the directory exists!!
Which version of the SDK are you using ?
Cedric
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
2.0
At least, that's what the install file says:
OOo-SDK_2.0_windows_install_en-US.exe
Joan
-Mensaje original-
De: Cedric Bosdonnat [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 13 de noviembre de 2006 16:56
Para: dev@api.openoffice.org
Asunto: Re: [api-dev] XP Problem with
Tobias,
Tobias Krais wrote:
Hi Kai,
starting with OOo 2.0.4 you can use the parameter -nofirststartwizard
to, guess what... suppress the startup wizard.
using htop to watch my OOo bootstrap process I can see, that
bootstraping OOo from java does not use this option. Is it possible to
Hello Tobias!
Thank you for your answer.
Am 13.11.2006 13:14 schrieb Tobias Krais:
In a calc document i want to place a button with that the user can print
the actual sheet or rather the defined (and named) print area at the
sheet. But i can't find the right print options to do that.
please
Thank you all for the help, finally I could do it... But now I'm facing
another problem: I want to insert an input field instead of text. I got
this far:
XMultiServiceFactory mxDocFactory = (XMultiServiceFactory)
UnoRuntime.queryInterface(XMultiServiceFactory.class,xTextDocument);
XTextField
I am trying to select all paragraph into the document. I am using the
following:
// Get the XParagraphCursor interface of the document cursor
XParagraphCursor xParaCursor = (XParagraphCursor)
UnoRuntime.queryInterface( XParagraphCursor.class, curText );
Hi Aloizio,
aloizio wrote:
I am trying to select all paragraph into the document. I am using the
following:
// Get the XParagraphCursor interface of the document cursor
XParagraphCursor xParaCursor = (XParagraphCursor)
UnoRuntime.queryInterface(
Hi
I am already working with XStyle. See my code below:
protected void Example (XComponent xComp)
{
try
{
XTextDocument xTextDocument = (XTextDocument)
UnoRuntime.queryInterface(XTextDocument.class, xComp);
XText xText =
Hello,
aloizio wrote:
I am already working with XStyle. See my code below:
Ah, I see.
And what you want to achieve is
- creating a new style,
- set properties,
- apply the style to your whole document?
Greetings,
Cor
protected void Example (XComponent xComp)
{
try
{
Yes, only this.
Cor Nouws wrote:
Hello,
aloizio wrote:
I am already working with XStyle. See my code below:
Ah, I see.
And what you want to achieve is
- creating a new style,
- set properties,
- apply the style to your whole document?
Greetings,
Cor
protected void
aloizio wrote:
Ah, I see.
And what you want to achieve is
- creating a new style,
- set properties,
- apply the style to your whole document?
Yes, only this.
And could it be a possibility to change the already applied style?
--
Cor Nouws
Arnhem - Netherlands
nl.OpenOffice.org -
Am Montag, den 13.11.2006, 17:48 +0100 schrieb Mathias Röllig:
So the question is: how can i figure out, which print page number has
the actual sheet? Or, how can i figure out, on which print page(s) will
a special print area reside?
You can't, OO.o does not allow to do so. This should be
Hello Marc!
Am 14.11.2006 00:09 schrieb Marc Santhoff:
So the question is: how can i figure out, which print page number has
the actual sheet? Or, how can i figure out, on which print page(s) will
a special print area reside?
You can't, OO.o does not allow to do so. This should be worth an
Good morning Kai,
As you wrote the non-GUI use case is neglected in your argumentation. In
my opinion, there should be a solution for this use case, too.
What do you suggest?
Good question. My aim is, to allow bootstrapping a completly new
installed OOo, without any graphic interruptions.
Paolo Mantovani schrieb:
Hi Bernard,
Alle 19:37, domenica 12 novembre 2006, Bernard Marcelly ha scritto:
Bonjour Paolo
There is a solution, using getArgs() from the document.
Please note: The property Title of the list of arguments of a model
isnt better (means more stable) then using the
Tabish F. Mufti schrieb:
You can avoid these problems, if you write your protocol handler as a
multi-instance service.
So how can I write a multi-instance service ?
The difference between multi-instance and one instance service
(singleton) will be made on creation time.
Every java
27 matches
Mail list logo