Default LPI to 6 if none specified in the 16bit data.
This commit is contained in:
parent
b405d88a83
commit
2876f37d2f
@ -95,7 +95,11 @@ namespace DataLoader
|
|||||||
else if (stype[1] == '4') lpi = 4;
|
else if (stype[1] == '4') lpi = 4;
|
||||||
else if (stype[1] == '7') lpi = 7;
|
else if (stype[1] == '7') lpi = 7;
|
||||||
// if need landscape set too: bool landscape = (stype[1] == 'L');
|
// 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;
|
float docLen = 1.0f;
|
||||||
try
|
try
|
||||||
|
Loading…
x
Reference in New Issue
Block a user