Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 15314 → Rev 15315

/branches/Version135/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format_save.cpp
528,6 → 528,7
docu.writeAttribute("BASEO", style.baselineOffset() / 10.0);
docu.writeAttribute("KERN", style.tracking() / 10.0);
docu.writeAttribute("wordTrack", style.wordTracking());
docu.writeAttribute("LANGUAGE", style.language());
docu.writeAttribute("SHORTCUT", style.shortcut()); // shortcuts won't be inherited
}
 
573,6 → 574,8
docu.writeAttribute("KERN", style.tracking() / 10.0);
if ( ! style.isInhWordTracking())
docu.writeAttribute("wordTrack", style.wordTracking());
if ( ! style.isInhLanguage())
docu.writeAttribute("LANGUAGE", style.language());
if ( ! style.shortcut().isEmpty() )
docu.writeAttribute("SHORTCUT", style.shortcut()); // shortcuts won't be inherited
}
/branches/Version135/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp
1757,6 → 1757,9
if (it->hasAttribute("TXTSTW"))
newStyle.setStrikethruWidth(qRound(ScCLocale::toDoubleC(it->attribute("TXTSTW")) * 10));
 
if (it->hasAttribute("LANGUAGE"))
newStyle.setLanguage(it->attribute("LANGUAGE"));
 
if (it->hasAttribute("SHORTCUT"))
newStyle.setShortcut(it->attribute("SHORTCUT"));