Johnny Andersson wrote:
In your example you go for an object directly:
ThisComponent.CurrentSelection(0).
In my example I do like this to obtain the same (?) thing:
ThisComponent.getCurrentSelection().getByIndex(0)
Simplified explanation: in Basic this is the same. In fact the first
variant
jca wrote:
Hello,
I want to insert (at specific bookmark location) several generated sub
documents, into a global document.
For the first subdocument, all is ok, but for all others ... it insert the
first !
I think the XTransferable is not up to date, so how can I refresh the
Thx Mathias you open my eyes !!
My problem is not an insertion problem, my problem come from my templates
which contains some user variables with the same name, so when I insert
these templates, ooo update fields from previous insertions !
So now I must modify my mechanism to don't use user
Hello Frank,
Frank Schönheit - Sun Microsystems Germany wrote:
i supose you have to dispose first te object ???
ocontrl.dispose
oDocDlg.removeControl(oContrl)
But this does work.
That's somewhat weird, as manual disposal should never be necessary.
Your original code was correct -