Save as… plain text

Registered by nojhan

A "save as…" feature that would output only the content of the text objects as separated paragraphs, in a given reading order (e.g. Left to right/top to bottom for most occidental locals).

This can be useful for extracting text data in an order that is relevant. Currently, parsing the SVG by hand will output text in the order of addition on the document, which could lead to an unreadable bunch of words.

This would be useful, for example, for generating HTML ALT or TITLE texts for improving the referencement of a PNG produced with inkscape.

Blueprint information

Status:
Complete
Approver:
jazzynico
Priority:
Low
Drafter:
nojhan
Direction:
Needs approval
Assignee:
jazzynico
Definition:
Discussion
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon 0.91
Started by
jazzynico
Completed by
su_v

Whiteboard

jazzynico, 2011/08/24 - It shouldn't be too difficult to implement. But I'm not sure the Save As... dialog is the best place for that because it could be confusion (we're not saving the file as text, but exporting the text of the file). I'd rather see it in the Extensions>Text menu. It would thus not save the extracted text in a file, but show it in a text box instead.

jazzynico, 2011/08/24 - Initial version committed in the trunk, revision 10581. The extension is available in Extensions>Text>Extract. If you can't (or don't want to) use the trunk, you can download the files (text_extract.inx and text_extract.py) from http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/files/head:/share/extensions/ and reuse them with your installed Inkscape version.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.