View Single Post
Old 09-18-2011, 12:25 PM   #79
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,732
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
@cybmole - perhaps when the plugin architecture is in place this sounds a good candidate. I too would love it. The responses I have seen on this previously is "it does not matter about having unused styles lying around". Which personally I disagree with - because when it comes time to make style changes to the document your maintenance job that much harder.

It would be nice to have the reverse as well - the ability to delete styles and have all usages of that style removed from the document. A good example is OCR conversions which can be peppered with dozens if not hundreds of styles that do pointless things like "letter-spacing" etc. It would be nice to just be able to delete all those styles from the css file, and then run a function that removes all orphaned styles from the rest of the doc.
kiwidude is online now   Reply With Quote