https://bugs.documentfoundation.org/show_bug.cgi?id=126700
Jan-Marek Glogowski <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
See Also| |https://bugs.documentfounda
| |tion.org/show_bug.cgi?id=83
| |722
Status|UNCONFIRMED |NEW
Assignee|[email protected] |[email protected]
|desktop.org |
--- Comment #4 from Jan-Marek Glogowski <[email protected]> ---
I can confirm this behavior. For whatever reason, a changed default document
template isn't handled as an empty document, e.g. configured via
<item
oor:path="/org.openoffice.Setup/Office/Factories/org.openoffice.Setup:Factory['com.sun.star.sheet.SpreadsheetDocument']">
<prop oor:name="ooSetupFactorySystemDefaultTemplateChanged" oor:op="fuse">
<value>true</value>
</prop>
</item>
<item
oor:path="/org.openoffice.Setup/Office/Factories/org.openoffice.Setup:Factory['com.sun.star.sheet.SpreadsheetDocument']">
<prop oor:name="ooSetupFactoryTemplateFile" oor:op="fuse">
<value>$(inst)/share/template/empty/soffice.ots</value>
</prop>
</item>
This factory default template still works correctly, so most people simply
won't have noticed this change.
ooSetupFactoryTemplateFile is also the value in user/registrymodifications.xcu,
if you use the "Set as Default" from the right click menu of templates in the
template manager - kind of well hidden.
Looking into officecfg/registry/schema/org/openoffice/Setup.xcs, I actually
found three settings, which might be related to the default template handling:
* ooSetupFactoryTemplateFile
* ooSetupFactorySystemDefaultTemplateChanged
* ooSetupFactoryEmptyDocumentURL
The difference is between a "manually" opened template and the automatically
"empty" template of the LO module. IMHO the later one should still be replaced
by any user opened document, if it hasn't been modified.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs