[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/lib/kotext
From: Thorsten Zachmann <t.zachmann () zagge ! de>
Date: 2006-03-11 9:09:23
Message-ID: 1142068163.576748.11778.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 517504 by zachmann:
o Fix saving of style for variables. There is still a small problem in
loading but hopefully David will fix it next week.
M +6 -0 KoTextParag.cpp
--- trunk/koffice/lib/kotext/KoTextParag.cpp #517503:517504
@@ -2996,8 +2996,14 @@
}
CHECKPOS( i ) // do cursor position and bookmarks
if ( ch.isCustom() ) {
+ KoGenStyle gs( KoGenStyle::STYLE_AUTO, "text", autoParagStyleName );
+ curFormat->save( gs, context );
+ const QString autoStyleName = mainStyles.lookup( gs, "T" );
+ writer.startElement( "text:span" );
+ writer.addAttribute( "text:style-name", autoStyleName );
KoTextCustomItem* customItem = ch.customItem();
customItem->saveOasis( writer, context );
+ writer.endElement();
startPos = i + 1;
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic