![]() Spaces after opening brackets are being removed. More than to spaces are being replaced by one.Īll paragraph leading spaces are being removed.Īll spaces at the end of paragraphs are being removed.Īll spaces before punctuation marks are being removed. Tabulation can’t be converted to HTML, so it should be removed. Because of that all images with anchor setting “to page” at this stage are being reconfigured to have “to paragraph” anchor setting. Image anchorsĪs there is only one real page in HTML images shouldn’t have anchor set “to page”. At this stage table width settings are set to relative. Tables should have relative width to be adaptive for different screens. Bookmarks removalĪll bookmarks are removed at this stage. All hyperlinks are removed at this stage. Hyperlinks removalĭocument shouldn’t have nor hidden links, nor links pasted by mistake from web pages. Unused styles removalĪs unused styles don't have any value and could be a burden while scrolling in styles tab it is usually a good choice to remove them. White background is invisible in Writer but could be visible in html, so it should be replaced with transparent background. Font subtitutions for Unicode rangesįor Latin and Cyrillic alphabet apply “IPH Astra Serif” fontįor Arabic symbols apply “Scheherazade” fontįor math operators apply “DejaVu Sans” fontįor Chines, Japan and Korean hieroglyphs apply “Noto Serif CJK JP” and “Noto Serif CJK SC” fonts Direct formatting cleaningĪll direct formatting is removed, except following: bold, italic, underline, strike through, superscript, subscript, character spacing with values 0.5, 1, 1.5, 2. PTSerif is replaced by “IPH Astra Serif” with diacritical marks.ĭeprecated font ArabicD is replaced by “IPH Astra Serif” font.įrequently used copyrighted font “Palatino Linotype Greek” is replaced by “Tinos” font. “Liberation Serif” replaced with “IPH Astra Serif”, which is easier to read. ĭeprecated font “IPH Lib Serif” replaced by “IPH Astra Serif”. Latest IPH Astra Serif font could be downloaded by link. These substitutions in styles are used by default to eliminate copyrighted fonts and with minor flaws. In this mode by default following procedures apply: Font subtitutions in styles In addition, versions of the document retain the current state of the document. Simple cleaning is a set of cleaning procedures balanced for achieving simplicity with maximization of cleaning results.Īfter cleaning is complete, the document properties store information about the date of the cleaning, the add-on version, the author's name, and the LibreOffice version. Simple cleaning is intended for experienced users, who need to make initial document cleaning intended for publication. After cleaning is completed document is saved and reload once again for safety reasons. ![]() If you opened document in format differ from ODT you will see a save file dialogue. ![]() That is why document is saved right after before cleaning. It is also a good practice to save document as ODT file before cleaning. In advanced mode users can choose which steps to apply and which to skip.īefore cleaning any changes tracking is turned of by cleaning function as it prevents document from cleaning correctly. Cleaningīy default cleaning is running in simplified mode, which doesn’t require additional configuration and goes through standard cleaning procedures step-by-step. These functions were packed in one extension for user convenience. ![]() It also provides validation function for documents intended for publication in HTML. These instruments intended for editors, maker-ups and other users who want to reduce document cleaning time. This extension is an evolution of my previous macros made for automatisation of document editing.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |