On Sun, 2012-02-12 at 21:26 +0100, Johannes Sixt wrote:
The patch below is how far I got. It computes a CRC from the properties
in the automatic style, which is used in the name. In this version, the
count is still used, just in case the CRC is not unique (this should not
be done in the final version).
We've got sal/inc/rtl/digest.h if you wanted to use a md5/sha instead of
a CRC
But the styles are not sorted by their
new names, which makes the whole act moot. I also wanted to include the
name of the parent style, but I do not see how to get to it.
caolanm->mstahl: Any ideas, a casual quick look shows that a
XMLFamilyData_Impl has a "mpParentList" e.g. used in
SvXMLAutoStylePoolP_Impl::exportXML
C.
Context
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.