Re: reload of registered template directories (by extension)
Hello! 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 Thank you very much! This is what I was searching for. Regards, Mathias - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: reload of registered template directories (by extension)
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: > 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: dev-unsubscr...@openoffice.apache.org > For additional commands, e-mail: dev-h...@openoffice.apache.org > >
Re: reload of registered template directories (by extension)
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: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org