<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Maybe something to add to the TDF wiki if it's not already on
there ?</p>
<p>Cheers<br>
</p>
<div class="moz-cite-prefix">On 1/10/22 18:32, Kevin Suo wrote:<br>
</div>
<blockquote type="cite"
cite="mid:86b6fe41-822d-0d4c-60f8-31c3288c7579@126.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div style="font-family: Arial; font-size: 13px;">
<p style="margin: 0px; font-size: 13px; font-family: Arial;">Updated
link: <a class="moz-txt-link-freetext"
href="https://go.suokunlong.cn:88/nextcloud/index.php/s/wMXEo5mzefcZ6fK"
moz-do-not-send="true">https://go.suokunlong.cn:88/nextcloud/index.php/s/wMXEo5mzefcZ6fK</a></p>
<p style="margin: 0px; font-size: 13px; font-family: Arial;"><br>
</p>
<p style="margin: 0px; font-size: 13px; font-family: Arial;"> <br>
</p>
</div>
<div style="font-family: Tahoma, sans-serif; font-size: 13px;
padding-top: 5px; border-top: 1px solid #b5c4df;"><strong>From:
</strong>Kevin Suo [<a class="moz-txt-link-freetext"
href="mailto:suokunlong@126.com" moz-do-not-send="true">mailto:suokunlong@126.com</a>]<br>
<strong>Sent: </strong>Sunday, October 02, 2022 12:30 AM +08<br>
<strong>To: </strong><a class="moz-txt-link-abbreviated
moz-txt-link-freetext"
href="mailto:libreoffice@lists.freedesktop.org"
moz-do-not-send="true">libreoffice@lists.freedesktop.org</a><br>
<strong>Subject: </strong>[Resolved] Packaging a template set
into an Extension</div>
<br>
<div type="cite"
cite="mid:8865696a-d9bc-b774-2ad6-05df79d0122a@126.com">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<div style="font-family: Arial; font-size: 13px;">
<p style="margin: 0px; font-size: 13px; font-family: Arial;">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.</p>
<p style="margin: 0px; font-size: 13px; font-family: Arial;"><br>
</p>
<p style="margin: 0px; font-size: 13px; font-family: Arial;"> <br>
</p>
</div>
<div style="font-family: Tahoma, sans-serif; font-size: 13px;
padding-top: 5px; border-top: 1px solid #b5c4df;"><strong>From:
</strong>Kevin Suo [<a class="moz-txt-link-freetext"
href="mailto:suokunlong@126.com" moz-do-not-send="true">mailto:suokunlong@126.com</a>]<br>
<strong>Sent: </strong>Saturday, October 01, 2022 06:47 PM
+08<br>
<strong>To: </strong>libreoffice<br>
<strong>Subject: </strong>Packaging a template set into an
Extension</div>
<br>
<div type="cite"
cite="mid:70eb4195-362e-ebb7-6b85-2abcfbd8e0fe@126.com">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<p>Dear Community:</p>
<p>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.</p>
<p>I have the following files in the folder:</p>
<pre><font face="Liberation Mono">$ tree .
.
├── description.xml
├── META-INF
│ └── manifest.xml
├── mimetype
├── Paths.xcu
└── template
├── zh_CN_ott_normal_another.ott
└── zh_CN_ott_normal.ott</font></pre>
<p>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.</p>
<p>Could someone please help me?</p>
<p>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):<br>
<a class="moz-txt-link-freetext"
href="https://go.suokunlong.cn:88/nextcloud/index.php/s/KSWTqg7ZRWMSnnY"
moz-do-not-send="true">https://go.suokunlong.cn:88/nextcloud/index.php/s/KSWTqg7ZRWMSnnY</a><br>
</p>
<p>Thank you in advance!</p>
<p>Kevin Suo<br>
</p>
</div>
</div>
</blockquote>
</body>
</html>