Default LPI to 6 if none specified in the 16bit data.

This commit is contained in:
Kathy Ruffing 2012-07-03 15:53:46 +00:00
parent b405d88a83
commit 2876f37d2f

View File

@ -95,7 +95,11 @@ namespace DataLoader
else if (stype[1] == '4') lpi = 4;
else if (stype[1] == '7') lpi = 7;
// if need landscape set too: bool landscape = (stype[1] == 'L');
myWordDoc.SetLineSpacing(lpi); // if need landscape set too: , landscape); ;
myWordDoc.SetLineSpacing(lpi);
}
else
{
myWordDoc.SetLineSpacing(6);
}
float docLen = 1.0f;
try