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. _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice