Clean document es un script para Inkscape que limpia internamente el contenido del documento, la limpieza se realiza sobre el objeto u objetos seleccionados o en caso de no haber nada seleccionado en todos los objetos del documento.
Por el momento esta extensión solo tiene tres opciones:
- Clean unused css font info: cuando convertimos un objeto de texto a trayecto en el atributo de estilo se mantiene toda la información de la fuente empleada, familia, tamaño, etc… al activar esta opción se elimina.
Por ejemplo, este estilo heredado:
font-size:20px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Ubuntu;-inkscape-font-specification:Ubuntu
quedaría así:
fill-opacity:1;stroke:none;fill:#000000
- Collapse groups of one object: Desagrupa recursivamente grupos de un solo objeto aplicando los transforms y estilos al objeto al que contiene el grupo
- Delete empty paragraphs: Borra los parágrafos sin texto, al no tener texto los parágrafos vacios solo son visibles desde el editor XML y son muy difíciles de eliminar
Clean document is a script for cleaning internally Inkscape document content, cleaning is performed on the selected objects or all objects in the document if nothing selected.
Currently this extension only have three options:
- Clean unused css font info: when we convert a text object to path the whole style attribute information remains, family size, etc… Enabling this option all font related info is removed.
For example this style inherited:
font-size:20px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Ubuntu;-inkscape-font-specification:Ubuntu
will change to:
fill-opacity: 1; stroke:none; fill:#000000
- Collapse groups of one object: Ungroups recursively groups of one object applying transforms and styles to the object contained by the group
- Delete empty paragraphs: Delete paragraphs without text, the empty text paragraphs are only visible from the XML editor and are very difficult to remove from the main inkskape window
InstalaciónInstall
Descomprime el zip y sigue las instrucciones que encontrarás en esta dirección:Uncompress the zip and follow these steps:
http://wiki.inkscape.org/wiki/index.php/Script_extensions#Installing
Una vez instalado y reiniciado InkScape encontrarás el plugin en el menú
Extensiones\Document maintenance\Clean document
Once installed and rebooted InkScape find the plugin in the menu
Extensions\Document maintenance\Clean document
Descarga/Download
document_clean.zip