View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0013766||Scribus||Import / Export||public||2016-02-23 07:35||2016-04-24 12:51|
|Summary||0013766: ODT Importer creates extraneous styles|
|Description||OpenOffice/LibreOffice files (.odt and .fodt) contain some standard style definitions, even if those styles are not used in the document. The importer named "ODT Document" creates matching styles in the Scribus document. It appears to import all styles in the .odt/.fodt file that have style:family="paragraph" (in the xml code inside the OO/LO file) without waiting to see if they're actually used. This does not happen if the "Import Text Only" option is selected.|
This is a regression from the earlier importer, named "OpenDocument Text Documents." The importer "OpenOffice.org Writer Documents" is also unaffected.
|Steps To Reproduce||Save an empty file in OO/LO or just use the one attached. Create a new Scribus document and Import the OO file into a text frame with the "ODT Document" importer selected and the "Import Text Only" and "Prefix Styles with Item Name" boxes unchecked. The importation may ask to map some fonts and will then add the following unused paragraph styles to your document: Standard, Text body, List, Caption, Heading, and Index.|
|Additional Information||Tested on svn revision 21027.|
0013672--Unnecessary manual font-mapping caused by naming differences between OO/LO and Scribus for the same font. 0013672 is Exacerbated by this bug because the user is mapping fonts that won't even be used. In the case of Apache OO on OSX, this can include a symbol font that ships INSIDE the OO application, making it hard to find.
0006573--Similar complaint and the (recent) screenshot shows the extraneous styles in Scribus, but the offending code has since been replaced, and ...I'm having trouble understanding the ticket.
|2016-02-23 07:35||Ben||New Issue|
|2016-02-23 07:35||Ben||File Added: empty.fodt|
|2016-02-23 12:42||Kunda||Tag Attached: ODF|
|2016-02-23 12:42||Kunda||Relationship added||related to 0006573|
|2016-02-23 12:45||Kunda||Relationship added||related to 0013672|
|2016-02-23 12:45||Kunda||Additional Information Updated|
|2016-02-24 13:20||Kunda||Note Added: 0038878|
|2016-03-22 11:31||Kunda||Relationship added||related to 0013772|
|2016-04-24 12:51||Kunda||Note Added: 0040435|