Thanks Peter!
Hi Matthias,
I'm currently working with the OOoBean from the OOo SDK 1.1, but I guess it
works very similar in the new OOoBean.
The bean supplies a method getDocument(), which returns a com.sun.star.bean.OfficeDocument object, which is a wrapper around the OfficeDocument service
Andrew Douglas Pitonyak ha scritto:
Cristian Fonti wrote:
Hi to all,
i want to insert a page number in a Writer document with Java Api.
All is ok when the page number start from 1, but how can i do if i
want that the page number start from a variable value???
This is my code to insert a Page
Hi Matthias,
the OOoBean introduces a (very simple) wrapper, OfficeDocument, around the
document object which is associated with the bean.
bean.getController().getModel() gives access to the same document instance, but
without the wrapper. So, in general, there's not much of a difference...
Hi,
Mike Traum wrote:
Thomas,
I'm not sure what you mean by the user or administrator defining the
default installation.
They can make the registry entries point to the desired installation.
The administrator can set the HKLM one as default, the user can override
this in HKCU.
Maybe we should
Matthias Scholz wrote:
The OfficeDocument class provides a method queryInterface(...) which you
can use to access the interfaces supported by the TextDocument service.
So, to query for the XTextDocument interface, you'd say:
// Caution! The code below has not been tested and might not even
just a small observation
and is there a way to specify the user-id into this? I'd would like to
be able to write
CFG_MyLayerUrl=/opt/mydata/$user/registry
using $USER on linux do work :-)
however i still cannot provide a real path
it is solvable in linux by just creating a soft link, but on
Thomas,
For option (b), I wasn't proposing an automatic selection, unless, of
course, the Bootstrap was extended to be able to tell you what
services are available with each installation, or to be able to find
an installation which provides a certain service. This, in my opinon,
would be the best
Hi,
I want to insert an Excel document into a writer document by macro
(basic).
I don't find any samples through the net.
Thanks
Christophe