On Mon May 15 2006 08:05, + Stuart Reid wrote: > Hi Everyone, > > I currently have about 30 Word templates which I'm looking at converting > into XML format for eventual printing out as PDFs. The word documents have > a number of bookmarks on them which are used via a VB app to fill with data > and then display the final word document (complete with data ) to the user > for printing, etc. I want to convert them to a more "clean" type of XML > without all the microsoft stuff throughout it. > > I have opened the templates in writer, and the majority of the bookmarks > have come accross successfully which is great. My problem is that any > bookmarks which span other bookmarks do not keep their span. > > For instance, the XML from Word looks like this:- > aml:annotation aml:id="*21*" w:type="*Word.Bookmark.Start*" w:name="*bmk*" > aml:annotation aml:id="*22*" w:type="*Word.Bookmark.Start*" w:name="*bmk2*" > Some other text > aml:annotation aml:id="*22*" w:type="*Word.Bookmark.End*" w:name="*bmk2*" > aml:annotation aml:id="*21*" w:type="*Word.Bookmark.End*" > > In Writer, when I export as XML, it looks like this:- > text:bookmark text:name="*bmk*" / > text:bookmark-start text:name="*bmk2*" / > some other text > text:bookmark-end text:name="*bmk2*" / > > Does anyone have any idea how I can keep the bookmarks surrounding others > like in the Word document?
As you are not subscribed you may not have seen that: On Tue May 16 2006 17:47, Andrew Brown wrote: > "Stuart Reid" <[EMAIL PROTECTED]> wrote in > > news:[EMAIL PROTECTED]: > > Does anyone have any idea how I can keep the bookmarks surrounding others > > like in the Word document? > > I may be wrong, but I don't think that OOo bookmarks can overlap. Maybe instead of using bookmarks using character styles instead ? (As it is not very clear what you are trying to achieve it is hard to give you a better solution). Please reply to [email protected] only. -- CPH : openoffice.org contributor Maybe your question has been answered already? http://user-faq.openoffice.org/#FAQ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
