Kaydet (Commit) fd468019 authored tarafından Julien Nabet's avatar Julien Nabet

Fix indent

Change-Id: Ida42c6c0642973ada04d387dafc3ea62703cb50c
üst 3cfa4f26
...@@ -1002,60 +1002,60 @@ DECLARE_OOXMLEXPORT_TEST(testExportAdjustmentValue, "tdf91429.docx") ...@@ -1002,60 +1002,60 @@ DECLARE_OOXMLEXPORT_TEST(testExportAdjustmentValue, "tdf91429.docx")
DECLARE_OOXMLEXPORT_TEST(testTDF87348, "tdf87348_linkedTextboxes.docx") DECLARE_OOXMLEXPORT_TEST(testTDF87348, "tdf87348_linkedTextboxes.docx")
{ {
int followCount=0; int followCount=0;
int precedeCount=0; int precedeCount=0;
if( !parseDump("/root/page/body/txt/anchored/fly[1]/txt","follow").isEmpty() ) if( !parseDump("/root/page/body/txt/anchored/fly[1]/txt","follow").isEmpty() )
followCount++; followCount++;
if( !parseDump("/root/page/body/txt/anchored/fly[1]/txt","precede").isEmpty() ) if( !parseDump("/root/page/body/txt/anchored/fly[1]/txt","precede").isEmpty() )
precedeCount++; precedeCount++;
if( !parseDump("/root/page/body/txt/anchored/fly[2]/txt","follow").isEmpty() ) if( !parseDump("/root/page/body/txt/anchored/fly[2]/txt","follow").isEmpty() )
followCount++; followCount++;
if( !parseDump("/root/page/body/txt/anchored/fly[2]/txt","precede").isEmpty() ) if( !parseDump("/root/page/body/txt/anchored/fly[2]/txt","precede").isEmpty() )
precedeCount++; precedeCount++;
if( !parseDump("/root/page/body/txt/anchored/fly[3]/txt","follow").isEmpty() ) if( !parseDump("/root/page/body/txt/anchored/fly[3]/txt","follow").isEmpty() )
followCount++; followCount++;
if( !parseDump("/root/page/body/txt/anchored/fly[3]/txt","precede").isEmpty() ) if( !parseDump("/root/page/body/txt/anchored/fly[3]/txt","precede").isEmpty() )
precedeCount++; precedeCount++;
if( !parseDump("/root/page/body/txt/anchored/fly[4]/txt","follow").isEmpty() ) if( !parseDump("/root/page/body/txt/anchored/fly[4]/txt","follow").isEmpty() )
followCount++; followCount++;
if( !parseDump("/root/page/body/txt/anchored/fly[4]/txt","precede").isEmpty() ) if( !parseDump("/root/page/body/txt/anchored/fly[4]/txt","precede").isEmpty() )
precedeCount++; precedeCount++;
if( !parseDump("/root/page/body/txt/anchored/fly[5]/txt","follow").isEmpty() ) if( !parseDump("/root/page/body/txt/anchored/fly[5]/txt","follow").isEmpty() )
followCount++; followCount++;
if( !parseDump("/root/page/body/txt/anchored/fly[5]/txt","precede").isEmpty() ) if( !parseDump("/root/page/body/txt/anchored/fly[5]/txt","precede").isEmpty() )
precedeCount++; precedeCount++;
if( !parseDump("/root/page/body/txt/anchored/fly[6]/txt","follow").isEmpty() ) if( !parseDump("/root/page/body/txt/anchored/fly[6]/txt","follow").isEmpty() )
followCount++; followCount++;
if( !parseDump("/root/page/body/txt/anchored/fly[6]/txt","precede").isEmpty() ) if( !parseDump("/root/page/body/txt/anchored/fly[6]/txt","precede").isEmpty() )
precedeCount++; precedeCount++;
if( !parseDump("/root/page/body/txt/anchored/fly[7]/txt","follow").isEmpty() ) if( !parseDump("/root/page/body/txt/anchored/fly[7]/txt","follow").isEmpty() )
followCount++; followCount++;
if( !parseDump("/root/page/body/txt/anchored/fly[7]/txt","precede").isEmpty() ) if( !parseDump("/root/page/body/txt/anchored/fly[7]/txt","precede").isEmpty() )
precedeCount++; precedeCount++;
if( !parseDump("/root/page/body/txt/anchored/fly[8]/txt","follow").isEmpty() ) if( !parseDump("/root/page/body/txt/anchored/fly[8]/txt","follow").isEmpty() )
followCount++; followCount++;
if( !parseDump("/root/page/body/txt/anchored/fly[8]/txt","precede").isEmpty() ) if( !parseDump("/root/page/body/txt/anchored/fly[8]/txt","precede").isEmpty() )
precedeCount++; precedeCount++;
if( !parseDump("/root/page/body/txt/anchored/fly[9]/txt","follow").isEmpty() ) if( !parseDump("/root/page/body/txt/anchored/fly[9]/txt","follow").isEmpty() )
followCount++; followCount++;
if( !parseDump("/root/page/body/txt/anchored/fly[9]/txt","precede").isEmpty() ) if( !parseDump("/root/page/body/txt/anchored/fly[9]/txt","precede").isEmpty() )
precedeCount++; precedeCount++;
if( !parseDump("/root/page/body/txt/anchored/fly[10]/txt","follow").isEmpty() ) if( !parseDump("/root/page/body/txt/anchored/fly[10]/txt","follow").isEmpty() )
followCount++; followCount++;
if( !parseDump("/root/page/body/txt/anchored/fly[10]/txt","precede").isEmpty() ) if( !parseDump("/root/page/body/txt/anchored/fly[10]/txt","precede").isEmpty() )
precedeCount++; precedeCount++;
if( !parseDump("/root/page/body/txt/anchored/fly[11]/txt","follow").isEmpty() ) if( !parseDump("/root/page/body/txt/anchored/fly[11]/txt","follow").isEmpty() )
followCount++; followCount++;
if( !parseDump("/root/page/body/txt/anchored/fly[11]/txt","precede").isEmpty() ) if( !parseDump("/root/page/body/txt/anchored/fly[11]/txt","precede").isEmpty() )
precedeCount++; precedeCount++;
if( !parseDump("/root/page/body/txt/anchored/fly[12]/txt","follow").isEmpty() ) if( !parseDump("/root/page/body/txt/anchored/fly[12]/txt","follow").isEmpty() )
followCount++; followCount++;
if( !parseDump("/root/page/body/txt/anchored/fly[12]/txt","precede").isEmpty() ) if( !parseDump("/root/page/body/txt/anchored/fly[12]/txt","precede").isEmpty() )
precedeCount++; precedeCount++;
if( !parseDump("/root/page/body/txt/anchored/fly[13]/txt","follow").isEmpty() ) if( !parseDump("/root/page/body/txt/anchored/fly[13]/txt","follow").isEmpty() )
followCount++; followCount++;
if( !parseDump("/root/page/body/txt/anchored/fly[13]/txt","precede").isEmpty() ) if( !parseDump("/root/page/body/txt/anchored/fly[13]/txt","precede").isEmpty() )
precedeCount++; precedeCount++;
//there should be 4 chains/13 linked textboxes (set of 5, set of 3, set of 3, set of 2) //there should be 4 chains/13 linked textboxes (set of 5, set of 3, set of 3, set of 2)
//that means 9 NEXT links and 9 PREV links. //that means 9 NEXT links and 9 PREV links.
//however, the current implementation adds leftover shapes, so can't go on exact numbers //however, the current implementation adds leftover shapes, so can't go on exact numbers
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment