Hi LibreOffice Developers,
Currently all templates installed by LibreOffice (3.4) are in:
/opt/libreoffice3.4/basis3.4/share/template
If someone adds here subfolders it is appear as empty subfolder while
create a new document from template. By the go-oo time we used common
subfolder for such language independent files. Can we move
/opt/libreoffice3.4/basis3.4/share/template/layout to
/opt/libreoffice3.4/basis3.4/share/template/common/layout.
It has scp2 related and officecfg related changes.
In /officecfg/registry/schema/org/openoffice/Office/Common.xcs:
<prop oor:name="Template"
oor:type="oor:string-list">
<info>
<author>MBA</author>
<desc>Specifies the
templates originate from these folders and sub-folders.</desc>
</info>
<value
oor:separator=":">$(insturl)/share/template/$(vlang):$(insturl)/share/template:$(userurl)/template</value>
----8<-------8<-------8<-------8<-------8<-------8<-------8<---
<prop oor:name="Template"
oor:type="oor:string-list">
<info>
<desc>Specifies the
default directory where all provided templates are located in folders
and sub-folders.</desc>
</info>
<value
oor:separator=":">$(insturl)/share/template/$(vlang):$(insturl)/share/template:$(userurl)/template</value>
For 3-4 I need changes to simply add the common path to it:
In /officecfg/registry/schema/org/openoffice/Office/Common.xcs:
<prop oor:name="Template"
oor:type="oor:string-list">
<info>
<author>MBA</author>
<desc>Specifies the
templates originate from these folders and sub-folders.</desc>
</info>
<value
oor:separator=":">$(insturl)/share/template/$(vlang):$(insturl)/share/template:$(insturl)/share/template/common/:$(userurl)/template</value>
----8<-------8<-------8<-------8<-------8<-------8<-------8<---
<prop oor:name="Template"
oor:type="oor:string-list">
<info>
<desc>Specifies the
default directory where all provided templates are located in folders
and sub-folders.</desc>
</info>
<value
oor:separator=":">$(insturl)/share/template/$(vlang):$(insturl)/share/template:$(insturl)/share/template/common/:$(userurl)/template</value>
In master i would like to delete $(insturl)/share/template reference
and change the scp2 module to follow this change.
If you agree I will provide patch for 3-4 and push modifications for master.
Best regards,
KAMI
Context
- [Libreoffice] Templates path, move language independent stuffs to common folder · KAMI911 KAMI911
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.