Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 17728 → Rev 17729

/branches/Version14x/Scribus/scribus/plugins/gettext/sxwim/contentreader.h
63,7 → 63,6
bool inList;
bool inNote;
bool inNoteBody;
bool isOrdered;
bool inSpan;
int append;
int listLevel;
/branches/Version14x/Scribus/scribus/plugins/gettext/sxwim/contentreader.cpp
47,7 → 47,6
inList = false;
inNote = false;
inNoteBody = false;
isOrdered = false;
inSpan = false;
append = 0;
listIndex = 0;
119,19 → 118,17
styleNames.clear();
styleNames.push_back(QString(currentList + "_%1").arg(listLevel));
if (name == "text:ordered-list")
{
isOrdered = true;
isOrdered2.push_back(true);
}
else
{
isOrdered = false;
isOrdered2.push_back(false);
}
}
else if (name == "text:list-item")
{
if (isOrdered2[listLevel - 1])
bool isOrdered = false;
int levelIndex = listLevel - 1;
if (levelIndex >= 0 && levelIndex < isOrdered2.size())
isOrdered = isOrdered2[listLevel - 1];
if (isOrdered)
{
++listIndex;
++listIndex2[listLevel - 1];