On a dev-doc thread, JHW wrote:

Some Notes in the user guide ODTs include numbered lists. When these files are converted to wiki format, the Note text is surrounded by the {{Documentation/Note....}} tags. None of the Note text displays; {{{1}}} displays instead.

Here is an example:
http://wiki.services.openoffice.org/wiki/Documentation/OOoAuthors_User_Manual/Writer_Guide/Editing_a_template

The real problem with that note is that the given example code, to re-enable template updating, doesn't work under 3.0.0, and I rather doubt that it ever worked under 2.x, either (I can't check that).

In 0210WG3, the cautionary note, about killing updates if you say "No" to the "Update Styles" message, has been entirely omitted. That is rather a pity, since (a) the kill still happens under 3.0.0, and (b) those "how to add a subroutine" instructions are beautiful.

Of course, Andre has given us an easy way to reestablish the updating, by reassigning the template to the document. Adding a note to mention that is probably a good idea.

In the unlikely event that you want to include code, the following (borrowed from the TC) works under 3.0.0, exactly according to the 2.x directions:

Sub FixDocV3
   'set UpdateFromTemplate
oDocSettings = ThisComponent.createInstance( "com.sun.star.document.Settings" ) oDocSettings.UpdateFromTemplate = True End Sub 'FixDocV3

--
T. J. Frazier Melbourne, FL
(TJFrazier on OO.o)

Reply via email to