Thanks Juergen, I will do this now.

On 9/28/07, Juergen Schmidt <[EMAIL PROTECTED]> wrote:
>
> Sandeep Raghuvanshi wrote:
> > Yes I am able to export it to word and the document is valid in OO. I
> have
> > figured out what steps you have to take to make it working in MS
> > word(manually) -
> > Right click on TOC entry->Select Update Field
> > This work around will make the hyperlinks working in MS Word but is
> there
> > something which we can set programatically in order to avoid this manual
> > step?
> >
> > I have also tried creation of TOC manually via UI and when we convert
> the
> > document to MS Word, we are required to follow the same manual step of
> > updating the TOC so the result both manually and programatically is
> same.
>
> i have assumed that. So it is no API issue (at least no real API issue).
> I suggest that you create a example document and submit an issue for
> this problem to the writer component.
>
> Juergen
>
> >
> >
> >
> > On 9/24/07, Juergen Schmidt <[EMAIL PROTECTED]> wrote:
> >> Sandeep Raghuvanshi wrote:
> >>> Thank you very much Bernard for the solution in the forum:
> >>> http://www.oooforum.org/forum/viewtopic.phtml?t=11415
> >>>
> >>> The only change I discovered was that we have to use one set of square
> >>> bracket as TOC is Array of Array of PropertyValue
> >>>
> >>> Now I have another problem(sorry guys but the solution has to work in
> MS
> >>> Word also)
> >>> When I convert this document to MS Word format, all of the hyperlinks
> >> are
> >>> pointing to the first page of the document instead of the actual page
> >>> number.
> >>> Any idea about this strange behavior? Is this an issue with the
> >> OpenOffice
> >>
> >> and the document is valid when loading it in OO.org, right? If yes i
> >> would assume that it is no problem with the API. Have you tried to
> >> create a simple document with a TOC with links via the UI and have you
> >> export it then?
> >>
> >> Juergen
> >>
> >>
> >>> API?
> >>>
> >>> Please guide,
> >>>
> >>> thanks & regards,
> >>> Sandeep
> >>>
> >>> On 9/21/07, Sandeep Raghuvanshi < [EMAIL PROTECTED]> wrote:
> >>>> Thanks Bernard,
> >>>> May be by looking at the error message you get some idea:
> >>>>
> >>>> *Error: [automation bridge] unexpected exception in
> >>>> UnoConversionUtilities<T>::convertValueObject ! Message : [automation
> >>>> bridge]UnoConversionUtilities<T>::createOleObjectWrapper
> >>>> The variant does not contain an object type! *
> >>>>
> >>>>
> >>>> Thanks for the help so far,
> >>>>
> >>>> regards,
> >>>> Sandeep
> >>>>
> >>>> On 9/21/07, Bernard Marcelly <[EMAIL PROTECTED]> wrote:
> >>>>> Message de Sandeep Raghuvanshi  date 2007-09-21 09:07 :
> >>>>>> Hi Bernard,
> >>>>>> Thank you for your kind response. I have tried the logic suggested
> by
> >>>>>> you but still there is an automation error getting generated when I
> >>>>>> tried to update the TOC.
> >>>>>>
> >>>>>> Here is my modified code and the error screen shot is attached:
> >>>>> The screenshot was discarded by the mailing list. You should have
> >>>>> described the error message.
> >>>>>
> >>>>> I have no knowledge about ToC handling. Sorry I can't help more.
> >>>>>
> >>>>> ______
> >>>>> Bernard
> >>>>>
> >>>>>
> ---------------------------------------------------------------------
> >>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>>> For additional commands, e-mail: [EMAIL PROTECTED]
> >>>>>
> >>>>>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to