My java addon now has some functions which are only visible if a
document is opened. Before I can do anything with this document I need
the url of it (path and name on the filesystem), how can I retrieve
this?
Thanks in advance,
Ines
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( \
com.sun.star.frame.Desktop, ctx )
document =
Christian Junker wrote:
Hi Matthias,
I do ask myself, why those interfaces are deprecated. Why not removing
them completely?
a) from source code (I searched with ximian lxr and there was no
single implementation I found about XMenu)
b) from documentation (IDL Reference)
Deprecated means:
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
On 10.03.2005, at 14:09, Christoph Lutz wrote:
XDesktop desktop =
(XDesktop)xmulticomponentfactory.createInstanceWithContext
(com.sun.star.frame.Desktop, ctx);
Unfortunately I get a ClassCastException at the line above. To get the
URL is the only thing I need. I dont program more in java
Hi Ines,
Ines Pfauch wrote:
On 10.03.2005, at 14:09, Christoph Lutz wrote:
XDesktop desktop =
(XDesktop)xmulticomponentfactory.createInstanceWithContext
(com.sun.star.frame.Desktop, ctx);
Unfortunately I get a ClassCastException at the line above. To get the
URL is the only thing I need. I
On 11.03.2005, at 09:50, Jürgen Schmidt wrote:
Object oDesktop = xmulticomponentfactory.createInstanceWithContext
(com.sun.star.frame.Desktop, ctx);
XDEsktop xDesktop =
(XDesktop)UnoRuntime.queryInterface(XDesktop.class, oDesktop);
I did.
At the moment I use the following code, but it still
Ines Pfauch wrote:
On 11.03.2005, at 09:50, Jürgen Schmidt wrote:
Object oDesktop = xmulticomponentfactory.createInstanceWithContext
(com.sun.star.frame.Desktop, ctx);
XDEsktop xDesktop =
(XDesktop)UnoRuntime.queryInterface(XDesktop.class, oDesktop);
I did.
At the moment I use the following
On 11.03.2005, at 10:15, Tom Schindl wrote:
But as already suggested by Christian
((XModel)UnoRuntime.queryInterface
(com.sun.star.XModel,xDesktop.getCurrentComponent())).getURL();
Should work.
Tom
No: I get the following error.
cannot resolve symbol
symbol : method queryInterface
On 11.03.2005, at 10:34, Tom Schindl wrote:
Sorry should have been
((XModel)UnoRuntime.queryInterface
(XModel.class,xDesktop.getCurrentComponent())).getURL();
Great. Thank you! It works.
-
To unsubscribe, e-mail: [EMAIL
Hi Jorge,
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,
Ines Pfauch wrote:
On 11.03.2005, at 10:34, Tom Schindl wrote:
Sorry should have been ((XModel)UnoRuntime.queryInterface
(XModel.class,xDesktop.getCurrentComponent())).getURL();
Great. Thank you! It works.
It would be great if you would summerize this small thread which showed
us not to use
On 11.03.2005, at 11:10, Tom Schindl wrote:
It would be great if you would summerize this small thread which
showed us not to use the MediaDescriptor.html#URL to retrieve the URL
form a document but instead the XModel in a small and tiny
codesnippet.
It's worth the time you saved by people
Hi,
I've grepped around in the Dev Guide in order to find some example of the use
of com.sun.star.awtXGraphics but with no success.
After some testing I've learned how to draw some nice shapes :-) on a Uno
Dialog and I've summarized my testing in the attached code snippet
ciao
Paolo M.
Paolo Mantovani wrote:
Hi,
I've grepped around in the Dev Guide in order to find some example of the use
of com.sun.star.awtXGraphics but with no success.
After some testing I've learned how to draw some nice shapes :-) on a Uno
Dialog and I've summarized my testing in the attached code snippet
Hi paolo
After some testing I've learned how to draw some nice shapes :-) on a Uno
Dialog and I've summarized my testing in the attached code snippet
That's great !!!
I just tested and it offers nice ideas
As i didn't dig in this part of the api, do you think there is a way to
modify the shap
Ines Pfauch wrote:
On 11.03.2005, at 11:10, Tom Schindl wrote:
It would be great if you would summerize this small thread which
showed us not to use the MediaDescriptor.html#URL to retrieve the URL
form a document but instead the XModel in a small and tiny codesnippet.
It's worth the time you
Hi Laurent,
Alle 12:20, venerdì 11 marzo 2005, Laurent Godard ha scritto:
Hi paolo
After some testing I've learned how to draw some nice shapes :-) on a Uno
Dialog and I've summarized my testing in the attached code snippet
That's great !!!
I just tested and it offers nice ideas
As i
Hi to all,
I'm a newbie in Api Open Office programmation with Java.
I have a writer document, and i want to search a particular string,
when i found it, i want to insert a PAGE BREAK.
How can i do it??
Mi first, and big problem is how to use the objects that the interface
Hi paolo,
I must admit that awt API's are quite obscure to me, and it's difficult to say
what can be done and what cannot.
like for me
Anyway, if I well remember, when I was playing with VB, peoples used some
window API's to create shaped buttons or forms.
The trick was something like this:
-
Hi,
yep, the awt API'S was deprecated in the past but in fact of a missing
alternative we removed the deprecated flag. But you should not expect
too much of this API.
- Juergen
Paolo Mantovani wrote:
Hi Laurent,
Alle 12:20, venerdì 11 marzo 2005, Laurent Godard ha scritto:
Hi paolo
After some
Hi Tom, you don't need the line:
XPropertySet documentProps = (XPropertySet)
UnoRuntime.queryInterface(XPropertySet.class, document);
Thus the import of XPropertySet can be omitted, too.
On Fri, 11 Mar 2005 13:27:44 +0100, Tom Schindl [EMAIL PROTECTED] wrote:
Ines Pfauch wrote:
On 11.03.2005,
Hi Kai,
I tested this SB script...
code
Sub Main
odoc = thisComponent
odoc.storeAsURL(file:///C:/file1.sxw, Array())
msgbox odoc.getURL()
odoc.storeAsURL(file:///C:/file2.sxw, Array())
msgbox odoc.getURL()
End Sub
/code
and it does return the correct filenames.
On Fri, 11 Mar 2005 16:44:13
Hi Christian
Tom, or whoever is responsible that this codesnippet works, please
check the syntax before posting it online.
I quickly looked over it to see how Paolo managed to draw on a dialog,
but found this line
code
oPaintListener = CreateUnoListener(ThisDialog_,
com.sun.star.awt.XPaintListener
Alle 16:44, venerdì 11 marzo 2005, Laurent Godard ha scritto:
Hi Christian
Tom, or whoever is responsible that this codesnippet works, please
check the syntax before posting it online.
I quickly looked over it to see how Paolo managed to draw on a dialog,
but found this line
code
Jorge Marques Pelizzoni wrote:
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)
Had anyone seen the error below? Any ideas what could go wrong? I can
run the same program run on one box, but not the other w/ the following
error... Thanks!
Connecting:
uno:socket,host=localhost,port=8200;urp;StarOffice.ServiceManager
Adding data props
Loading
I would like to have up to date references for IDL and slots (for UNO
dispatch calls).
I have downloaded and extracted OOo_2.0beta_src.tar.gz but I can not
work out how to compile the IDL reference. Similarly, I can't work out
how to find what slots or UNO dispatch calls are available.
I would
Paolo Mantovani wrote:
Hi Christian,
Alle 15:40, venerdì 11 marzo 2005, Christian Junker ha scritto:
Tom, or whoever is responsible that this codesnippet works, please
check the syntax before posting it online.
I quickly looked over it to see how Paolo managed to draw on a dialog,
but found this
Hi Ian,
it should be part of the odk module or sdk_oo, at least that's what it
used to be.
The API project page even tells us about the modules on its front page.
As for the slots (slots.sxc), I don't think it is part of the source code.
--
Best Regards
Christian Junker
On Mon, 14 Mar 2005
Hi,
Thank for the help,
i'm be able to do it, i use findFirst and findNext with TextRange, as
you suggest to me!
I have only another question: in my program i use to import others
documents (file RTF) in a new blank document, insertDocumentFromURL, all
is ok, but, in the
new document, there are
Kohei Yoshida wrote:
Hi Jürgen,
On Fri, 11 Mar 2005 15:56:37 +0100, Jürgen Schmidt
[EMAIL PROTECTED] wrote:
Hi,
yep, the awt API'S was deprecated in the past but in fact of a missing
alternative we removed the deprecated flag. But you should not expect
too much of this API.
Now does that imply
Hi Ian,
an updated reference is part of the Beta SDK.
- Juergen
Ian Laurenson wrote:
I would like to have up to date references for IDL and slots (for UNO
dispatch calls).
I have downloaded and extracted OOo_2.0beta_src.tar.gz but I can not
work out how to compile the IDL reference. Similarly, I
Hi Paolo,
examples are always welcome.
Let me say some words to the SDK. In general i would like to reduce the
examples in the SDK (e.g. remove redundant examples) and reduce the
examples in the SDK to the DevGuide related samples + some bigger real
life scenarios or complex examples. The
Hi Ian,
mmh, i thought that a Beta SDK was available!? The IDL reference for the
SDK is built in the sdk_oo (using autodoc).
Creation of an usable overview of all slots (with some useful
description) is as far as i know not so easy possible. I am not very
familar with the dispatch API and the
On Mon, 14 Mar 2005 10:28:26 +0100, Jürgen Schmidt
[EMAIL PROTECTED] wrote:
Kohei Yoshida wrote:
Hi Jürgen,
On Fri, 11 Mar 2005 15:56:37 +0100, Jürgen Schmidt
[EMAIL PROTECTED] wrote:
Hi,
yep, the awt API'S was deprecated in the past but in fact of a missing
alternative we removed
Andrew Douglas Pitonyak ha scritto:
Cristian Fonti wrote:
Hi to all,
i have a problem using the method insertDocumentFromURL: when i use
it to insert some formatted text (font size, font color,etc...) from
another document, in the destination file appear at the top of the
document 2-3 blank
Cristian Fonti wrote:
Hi to all,
i have a problem using the method insertDocumentFromURL: when i use it
to insert some formatted text (font size, font color,etc...) from
another document, in the destination file appear at the top of the
document 2-3 blank row... the code snipplets is:
Christian Junker wrote:
Hi Ian,
it should be part of the odk module or sdk_oo, at least that's what it
used to be.
The API project page even tells us about the modules on its front page.
As for the slots (slots.sxc), I don't think it is part of the source code.
... and it needs an update
Jürgen Schmidt wrote:
Hi Paolo,
[...]
What do you think Tom, is it possible to reuse the code snippet work
flow for complete examples?
- Juergen
Yes to some extend. I need more time to think about it more thoroughly.
I'll come up with something it the next days. I think we should try to
bring
Hi Paolo,
That's great
Thanks for feeding us with such intrresting things
a question about dealing with framles and windows.
Do you have an idea how to make a windows dockable as the stylist or the
navigator ?
Thanks again for the snippet
Laurent
--
Laurent Godard [EMAIL PROTECTED] - Ingénierie
Paolo Mantovani wrote:
Hi Tom,
Alle 11:09, martedì 15 marzo 2005, Tom Schindl ha scritto:
Hi Paolo,
Paolo Mantovani wrote:
[...]
For Tom:
I've tried to use the new extensions:
{see $IDL_Reference}
{link $IDL_Reference}
I hope to have done it correctly, but please, have a look before to put
the
Hi Tom,
Tom Schindl wrote:
Paolo Mantovani wrote:
Hi Tom,
Alle 11:09, martedì 15 marzo 2005, Tom Schindl ha scritto:
Hi Paolo,
Paolo Mantovani wrote:
[...]
For Tom:
I've tried to use the new extensions:
{see $IDL_Reference}
{link $IDL_Reference}
I hope to have done it correctly, but please, have
Hi,
Someone can help me in the implementation of TabStop with Java and the
OOo Api??
Thank to all.
Cristian Fonti
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Sorry for the similar message,
but the first was wrong.
I use this code to create 2 tabStop:
TabStop tb[]=new TabStop[2];
tb[0]=new TabStop();
tb[0].Position=8500;
tb[0].Alignment=com.sun.star.style.TabAlign.CENTER;
tb[1]=new TabStop();
Alle 12:25, martedì 15 marzo 2005, Laurent Godard ha scritto:
Hi Paolo,
That's great
Thanks for feeding us with such intrresting things
a question about dealing with framles and windows.
Do you have an idea how to make a windows dockable as the stylist or the
navigator ?
I'm trying from
Cristian Fonti wrote:
Andrew Douglas Pitonyak ha scritto:
Cristian Fonti wrote:
Hi to all,
i have a problem using the method insertDocumentFromURL: when i use
it to insert some formatted text (font size, font color,etc...) from
another document, in the destination file appear at the top of
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jorge Marques Pelizzoni wrote:
| 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 =
|
Andrew Douglas Pitonyak ha scritto:
Cristian Fonti wrote:
Andrew Douglas Pitonyak ha scritto:
Cristian Fonti wrote:
Hi to all,
i have a problem using the method insertDocumentFromURL: when i
use it to insert some formatted text (font size, font color,etc...)
from another document, in the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nochmal Hallo,
| Hallo,
|
| dies soll ein Test sein, da ich gerade auf eine Mail, die ich an
| die Liste geschickt habe 5 Undeliverable Mail-Meldungen
| zurückbekommen habe mit meiner Nachricht, die aber auf der Liste
| bereits angekommen ist, als
yes. because your mail-header includes
-8-
...
Errors-To: [EMAIL PROTECTED]
...
-8-
I'm not sure who is inserting this header but maybe check your
mail-client. Other mails do not include this header thus don't receive
these messages
babar wrote:
I would like to know how to create a newblank sheet into an existing
spreadsheet document, I'm using basic language for now.
I've tried to use (and first understand ;) this :
http://codesnippets.services.openoffice.org/Calc/Calc.CopySheet.snip
Inserting a blank sheet is much easier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello Tom, *,
| yes. because your mail-header includes
|
| -8- ... Errors-To:
| [EMAIL PROTECTED] ...
| -8-
[...]
|
| I'm not sure who is inserting this header but maybe check your
|
Nevertheless the snippet is now working with copy and paste.
http://codesnippets.services.openoffice.org/Calc/Calc.CopySheet.snip
Tom
Niklas Nebel wrote:
babar wrote:
I would like to know how to create a newblank sheet into an existing
spreadsheet document, I'm using basic language for now.
I've
I'm not completely sure but I think you have to register a terminate
listener like this:
http://api.openoffice.org/docs/DevelopersGuide/OfficeDev/OfficeDev.htm#1+1+2+Using+the+Desktop
Only a wild guess though.
Tom
Ines Pfauch wrote:
Hi
I just searched the mailing list archive for a method to
Hi,
We have a multi-threaded Java environment. We are using
OpenOffice.org 1.1.3. There are times when we make a series of UNO calls
(mostly setting properties, save, and call macros) and also get a series of
exceptions. The exceptions follow:
Hi Cristian,
Now, how can i go in the tabstop(like using the key tab)
Just use a TAB (ASCII 9) in your string. Too simple?
XTextCursor xt =
(XTextCursor)UnoRuntime.queryInterface(XTextCursor.class,tb[0]);
Here you query an XTextCursorfrom a TabStop struct? That should throw an
Hi,
I don't know if these exceptions are related to that but OO is not thread
save thus you have to serialize calls to it in your java-app.
Tom
Hi,
We have a multi-threaded Java environment. We are using OpenOffice.org
1.1.3. There are times when we make a series of UNO calls (mostly
Hi Kohei,
no, they will probably not extended and i hope that we will find an
alternative (however it will look like) that it will be possible to
implement own dialogs for extensions with the same look and feel as
the rest of the office on all supported platforms. Easy to create (GUI
Hi,
would it be easier to use SWT?
Tom
Hi Kohei,
no, they will probably not extended and i hope that we will find an
alternative (however it will look like) that it will be possible to
implement own dialogs for extensions with the same look and feel as
the rest of the office on
Am Mi, den 16.03.2005 schrieb Michael Hoennig um 21:22:
[...]
For the second usage of gotoEnd(), also collapseToEnd() should work. See
reference manual for more information.
And better do not use view cursors for model based functionality, as Marc
suggested.
You're right, I assumed the
Hi Tom,
I suppose that the IDL-Reference Properties are ordered at the moment
using the occurrence of the properties in the IDL-File. The good point
about this is that you can group together things like RightMargin and
LeftMargin but for someone who is looking for a property it would be
Ines Pfauch wrote:
Hi
I just searched the mailing list archive for a method to close an open
document. I found something with XStoreable - close and XComponent -
dispose. I tried it, but the whole OOo window closes. But I need the
OOo window opened, and just want to close the document
Bob Crothers wrote:
Hi,
We have a multi-threaded Java environment. We are using OpenOffice.org
1.1.3. There are times when we make a series of UNO calls (mostly
setting properties, save, and call macros) and also get a series of
exceptions. The exceptions follow:
Hi,
How is the IDL created? Maybe we could switch to output format to XML and
then do the same the codesnippet page does?
XML = HTML
* once sorted alphabetically
* once grouped like it is now
According to the what the user desires? We could even create other output
formats from this point on
Hi Thomas,
How is the IDL created?
For my case, using vim ;-)
Maybe we could switch to output format to XML
and then do the same the codesnippet page does?
XML = HTML
* once sorted alphabetically
* once grouped like it is now
Oh, you meant how the HTML is generated from the IDL. Ok,
Hi Mathias,
I just searched the mailing list archive for a method to close an open
document. I found something with XStoreable - close and XComponent -
dispose. I tried it, but the whole OOo window closes. But I need the
OOo window opened, and just want to close the document within the
Hi to all,
can and eventually how, i select the text between two bookmarks???
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Thu, 17 Mar 2005 09:21:32 -0500, Kohei Yoshida
[EMAIL PROTECTED] wrote:
...
My desire is to see UNO offer Swing compatible API (especially the
layout support among other things), similar to how it offers AWT
compatible API *today*, but the actual rendering is still done by VCL
for platform
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nikolai Pretzell wrote:
| Hi Thomas,
|
[...]
| Actually creating XML ouput is planned to be realised already anyway.
|
Having XML would be enough form my point of view because one can do
sorting, ... with XSLT.
| Adding alphabetical lists like in one
Today I tried to use my java-addon (developed under linux) with OOo
1.1.2 at windows.
After deploying the functions in the addon submenu were greyed out. In
the log file from pkgchk I've found following error:
warning: registering
vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/
Yes they are stored as property values Hori and Vert OrientPosition
Folowing code shows in basic how to uses postion and reposition a simple
graphic, objects, frames etc uses the same services (i think)
oGraphic.AnchorType = lAnchor
oGraphic.PositionProtected = True
John Sisson wrote:
Hello,
Documentation for oo development implies that soffice macros invoked
from a (connected) client by the client-side method:
myXDispatch.dispatch(myMacroUrl, myPropertyValueArray)
can receive method parameters, but it does not state how this is done.
Given a method
I like the javadoc approach, where all the methods [fields,
constructors] of a class are listed alphabetically in the overview
section, but in textual order in the detailed list that follows the
overview.
That's a good idea to follow.
Michael
--
Michael Hoennig [EMAIL
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael Hoennig wrote:
|I like the javadoc approach, where all the methods [fields,
|constructors] of a class are listed alphabetically in the overview
|section, but in textual order in the detailed list that follows the
|overview.
|
|
| That's a good
Stephan Bergmann wrote:
I like the javadoc approach, where all the methods [fields,
constructors] of a class are listed alphabetically in the overview
section, but in textual order in the detailed list that follows the
overview.
Sounds good to me!
Make a task from it?
Nikolai
Nothing to do...
i try your code but nothing, the table remain into the page margin...
(if i use TextFrame all is ok, but it create into the Frame a paragraph
break after the table, pratically a blank line after the table,
eventually, i can remove it??)...
This is my Java code:
Object table =
Hi Cristian,
This is my Java code:
Object table =
xWriterFactory.createInstance(com.sun.star.text.TextTable);
XTextContent xTextContentTable =
(XTextContent)UnoRuntime.queryInterface(XTextContent.class, table);
XPropertySet
I try to set the properties also after that before, but nothing...
I have another problems: i want to change the column width values, and i
suppose that he only way to change them is use TextColumnSeparator.
But,the value that you must insert, what is? is a formula of what?? is
the distance from
Hi there.
Right, it's the property TableColumnSeparators.
Please see chapter 7.3.4 Tables of the Developer's Guide:
http://api.openoffice.org/docs/DevelopersGuide/Text/Text.htm#1+3+4+Tables
The TextColumnSeparator describes the distance between the column
separator and the left margin of the
Hi to all,
i have a problems with the width of the column in a table (with Writer),
i use Java, and i found that the only method is TableColumnSeparators.
I try it but i don't understand what is the value that must be set...
--This is an example of my code with a table (1,4):
101 - 200 of 8535 matches
Mail list logo