[Libreoffice] Templates path, move language independent stuffs to common folder
KAMI911 KAMI911
kami911 at gmail.com
Wed May 25 00:49:28 PDT 2011
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
More information about the LibreOffice
mailing list