Hi, Try the followings to update: http://www.openoffice.org/api/docs/common/ref/com/sun/star/frame/DocumentTemplates.html http://www.openoffice.org/api/docs/common/ref/com/sun/star/frame/XDocumentTemplates.html#update
Regards 2015-09-15 3:41 GMT+09:00 Mathias Röllig <[email protected]>: > I created an extension with templates in it. The template path is >> registered via Paths.xcu. >> In general it works. But the problem is, that the templates must be >> reloaded before. >> For me this is a bug. AOO should update the template structure itself if >> an extension provides a template path. >> > > Sorry, must correct myself. All is working. The problem was, that the > quickstarter was active, but under Ubuntu (64) 14.04 there is no > quickstarter visible. So AOO wasn't complete closed and the configuration > was not updated. > > > > As a workaround: how can I update the templates via API? >> In other words: what is the API equivalent for >> File → Templates → Organise…: (Commands) Update >> ? >> > > But if anybody knows the answer of the question above, I'm interested in. > > > > Thanks > Mathias > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
