[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/soc-koffice-headers/lib/kotext
From: Fredrik Edemar <f_edemar () linux ! se>
Date: 2006-07-13 14:08:04
Message-ID: 1152799684.663233.2282.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 561872 by fedemar:
little hack: mark the "heading" style as a heading
M +1 -1 KoParagStyle.cpp
--- branches/work/soc-koffice-headers/lib/kotext/KoParagStyle.cpp #561871:561872
@@ -134,7 +134,7 @@
// OOo hack
//m_bOutline = m_name.startsWith( "Heading" );
// real OASIS solution:
- m_bOutline = styleElem.hasAttributeNS( KoXmlNS::style, "default-outline-level" \
); + m_bOutline = styleElem.hasAttributeNS( KoXmlNS::style, \
"default-outline-level" ) || m_name == "Heading";
context.styleStack().save();
context.addStyles( &styleElem, "paragraph" ); // Load all parents - only because \
we don't support inheritance.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic