Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 8347 → Rev 8348

/branches/Version13x/Scribus/scribus/styles/linestyle.attrdefs.cxx
28,4 → 28,4
ATTRDEF(double, dashOffset, DashOffset, 0)
ATTRDEF(int, startArrow, StartArrow, 0)
ATTRDEF(int, endArrow, EndArrow, 0)
ATTRDEF(QValueList<LineStyle>, sublines, Sublines, QValueList<LineStyle>())
ATTRDEF(QValueList<LineStyle>, sublines, Sublines, QValueList<LineStyle>())
/branches/Version13x/Scribus/scribus/styles/linestyle.cpp
174,7 → 174,7
Xml_attr att;
Style::saxxAttributes(att);
#define ATTRDEF(attr_TYPE, attr_GETTER, attr_NAME, attr_DEFAULT) \
if (!inh_##attr_NAME && # attr_NAME != "Sublines") \
if (!inh_##attr_NAME && strcmp(# attr_NAME, "Sublines") != 0 ) \
att.insert(# attr_NAME, toXMLString(m_##attr_NAME));
#include "linestyle.attrdefs.cxx"
#undef ATTRDEF
232,7 → 232,7
Style::desaxeRules(Digester::concat(stylePrefix, "**"), ruleset, "subline");
#define ATTRDEF(attr_TYPE, attr_GETTER, attr_NAME, attr_DEFAULT) \
if ( # attr_NAME != "Sublines" ) { \
if ( strcmp(# attr_NAME, "Sublines") != 0 ) { \
ruleset.addRule(stylePrefix, SetAttributeWithConversion<LineStyle, attr_TYPE> ( & LineStyle::set##attr_NAME, # attr_NAME, &parse<attr_TYPE> )); \
ruleset.addRule(subPrefix, SetAttributeWithConversion<LineStyle, attr_TYPE> ( & LineStyle::set##attr_NAME, # attr_NAME, &parse<attr_TYPE> )); \
}
/branches/Version13x/Scribus/scribus/styles/paragraphstyle.cpp
214,7 → 214,7
Xml_attr att;
Style::saxxAttributes(att);
#define ATTRDEF(attr_TYPE, attr_GETTER, attr_NAME, attr_DEFAULT) \
if (!inh_##attr_NAME && # attr_NAME != "TabValues") \
if (!inh_##attr_NAME && strcmp(# attr_NAME, "TabValues") != 0) \
att.insert(# attr_NAME, toXMLString(m_##attr_NAME));
#include "paragraphstyle.attrdefs.cxx"
#undef ATTRDEF
306,7 → 306,7
ruleset.addRule(stylePrefix, Factory<ParagraphStyle>());
Style::desaxeRules(prefixPattern, ruleset, elemtag);
#define ATTRDEF(attr_TYPE, attr_GETTER, attr_NAME, attr_DEFAULT) \
if ( strcmp(# attr_NAME, "TabValues")!=0 ) \
if ( strcmp(# attr_NAME, "TabValues") != 0) \
ruleset.addRule(stylePrefix, SetAttributeWithConversion<ParagraphStyle, attr_TYPE> ( & ParagraphStyle::set##attr_NAME, # attr_NAME, &parse<attr_TYPE> ));
#include "paragraphstyle.attrdefs.cxx"
#undef ATTRDEF