DOCX styles: Check that we roundtrip rPrDefaults.
Change-Id: I3aef9fdedf9877d1243940c429e05ff36f7fa760
This commit is contained in:
@@ -1402,6 +1402,10 @@ void Test::testStyleInheritance()
|
|||||||
assertXPath(pXmlStyles, "/w:styles/w:style[2]", "styleId", "Heading1");
|
assertXPath(pXmlStyles, "/w:styles/w:style[2]", "styleId", "Heading1");
|
||||||
// w:ind was copied from the parent (Normal) style without a good reason.
|
// w:ind was copied from the parent (Normal) style without a good reason.
|
||||||
assertXPath(pXmlStyles, "/w:styles/w:style[2]/w:pPr/w:ind", 0);
|
assertXPath(pXmlStyles, "/w:styles/w:style[2]/w:pPr/w:ind", 0);
|
||||||
|
|
||||||
|
// Check that we output real content of rPrDefault
|
||||||
|
assertXPath(pXmlStyles, "/w:styles/w:docDefaults/w:rPrDefault/w:rPr/w:rFonts", "ascii", "Times New Roman");
|
||||||
|
assertXPath(pXmlStyles, "/w:styles/w:docDefaults/w:rPrDefault/w:rPr/w:lang", "bidi", "ar-SA");
|
||||||
}
|
}
|
||||||
|
|
||||||
void Test::testSmartart()
|
void Test::testSmartart()
|
||||||
|
Reference in New Issue
Block a user