[Resolved] Packaging a template set into an Extension
Stéphane Guillou
stephane.guillou at indie.host
Sun Oct 2 11:25:09 UTC 2022
Maybe something to add to the TDF wiki if it's not already on there ?
Cheers
On 1/10/22 18:32, Kevin Suo wrote:
>
> Updated link:
> https://go.suokunlong.cn:88/nextcloud/index.php/s/wMXEo5mzefcZ6fK
>
>
>
> *From: *Kevin Suo [mailto:suokunlong at 126.com]
> *Sent: *Sunday, October 02, 2022 12:30 AM +08
> *To: *libreoffice at lists.freedesktop.org
> *Subject: *[Resolved] Packaging a template set into an Extension
>
> After several hours of experiment, I finally figured it out. The
> source codes have been updated in the shared link, anyone who is
> interested can find the working code their.
>
>
>
> *From: *Kevin Suo [mailto:suokunlong at 126.com]
> *Sent: *Saturday, October 01, 2022 06:47 PM +08
> *To: *libreoffice
> *Subject: *Packaging a template set into an Extension
>
> Dear Community:
>
> I am trying to package several templates (i.e., a template set) into
> an extension, so that others can install this extension and have these
> templates installed all at once rather than copy-paste those ott files
> one by one manually into the <instdir>/user/templates folder.
>
> I have the following files in the folder:
>
> $ tree . . ├── description.xml ├── META-INF │ └── manifest.xml ├──
> mimetype ├── Paths.xcu └── template ├──
> zh_CN_ott_normal_another.ott └── zh_CN_ott_normal.ott
>
> And I zip these as chinese_template.oxt. After I install the oxt, the
> extension shows up in the extension manager, but the template files
> are not shown in the Template Manager dialog. I don't know where I did
> it wrong. I searched the internet and did not get an answer yet.
>
> Could someone please help me?
>
> I have uploaded the contents of the above files into my Nextcloud
> shared folder (with upload and editing permissions, so that you can
> edit them or add new files):
> https://go.suokunlong.cn:88/nextcloud/index.php/s/KSWTqg7ZRWMSnnY
>
> Thank you in advance!
>
> Kevin Suo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20221002/e6cc4656/attachment.htm>
More information about the LibreOffice
mailing list