Oliver Brinzing wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Mathias,
The name of the property is SynchronMode and of course its value must
be set to True in case you want to have synchronous execution.
I tried it, without success, it seems, it's not possible to close the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Mathias,
What means without success? What exactly did you do and what exactly
happened?
that means, the preview is not closed, if i open a message box directly after
the
excecuteDispatch(), it does not matter if i use the SynchronMode or not
Hey,
The following problem only occurs, if I'm trying to remove the very last
paragraph of my Writer document with my Java Addon.
I'm left with the following structure at the end of the document:
.
text:p text:style-name=ElmlGoals
text:bookmark-start text:name=goals/
text:bookmark-end
This does just remove the Text of the TextSection though ...it misses
the bookmarks for example.
cheers
jimmy
Fabricio Lemos schrieb:
To delete the content, try:
XTextSectionsSupplier textSectionsSupplier =
(XTextSectionsSupplier)
Hi Jimmy,
The following problem only occurs, if I'm trying to remove the very
last paragraph of my Writer document with my Java Addon.
I'm left with the following structure at the end of the document:
.
text:p text:style-name=ElmlGoals
text:bookmark-start text:name=goals/
This doesn't remove the last paragraph for me if there's a bookmark
inside of it. Well that's at least what I'm guessing. Did you have a
bookmark inside your last paragraph?
It only sets the Text to but leaves the paragraph.
Stephan Wunderlich schrieb:
Hi Jimmy,
The following problem
Thanks for your reply!
Stephan Wunderlich wrote:
Have you considered using a TextSection for this purpose ... seems to
me that it fulfils what you need. The only tricky thing could be the
modified stage this I don't think that sections implement a
XModifyListener or something comparable.