Hello,
I would like to retrieve the paragraph just before the selected image in
Writer. My goal is to insert a frame after this paragraph, and anchor
the image to this frame, (exactly what appends when a caption is added
to an image)
My code is:
oSelectedObject =
CPHennessy [EMAIL PROTECTED] writes:
Is this an OpenOffice.org from http://openoffice.org ?
Its the ooo 2.0 that comes with Fedora Core 4.
Have you tried one of the release candidates for 2.0.1 ?
Also have you tested with OOo 1.1.x ?
I use 1.1.3 ( .4 and .5 ) for webdav with no problems).
Hi,
have you tried tcpdump to catch the HTTP traffic between OOo and your
app? Seems that your reply from OPTIONS /slide/files/0/dav0/5170 is
confusing OOo.
- Kai.
Joakim Verona wrote:
I'm coding a webdav storage using Apache Slide.
The implementation works ok with MS Office, but Ooo
Hi Benoit
When I create a new TextCursor, like this:
oCursor = oSelectedObject.getAnchor().Text.createTextCursor()
The cursor is positioned at the document's start and I don't know how I
can move this cursor to the paragraph before the selected image.
Does somebody have an idea ?
did you
Yes ! Thank you Laurent, the new cursor is located just after the image.
Thus, I can use gotoPreviousParagraph to go to the paragraph just
before the image.
Thanks again
Benoit.
Laurent Godard wrote:
Hi Benoit
When I create a new TextCursor, like this:
oCursor =
Bonjour Benoit
Yes ! Thank you Laurent, the new cursor is located just after the image.
Thus, I can use gotoPreviousParagraph to go to the paragraph just
before the image.
Bien/Good !!
Thanks again
de rien/You're welcome
Laurent
--
Laurent Godard [EMAIL PROTECTED] - Ingénierie