|
@@ -208,7 +208,7 @@ function writeStyles(stylesObj){
|
|
|
let textRotation = 0;
|
|
|
let newHorizontal = excelStyle[JV.CONTROL_PROPS[2]];
|
|
|
let newVertical = excelStyle[JV.CONTROL_PROPS[3]];
|
|
|
- if (excelStyle[JV.CONTROL_PROPS[5]]) {
|
|
|
+ if (excelStyle[JV.CONTROL_PROPS[5]] && !strUtil.convertStrToBoolean(excelStyle[JV.CONTROL_PROPS[JV.CONTROL_PROP_IDX_CLOSE_OUTPUT]])) {
|
|
|
newVertical = excelStyle[JV.CONTROL_PROPS[5]];
|
|
|
}
|
|
|
if (parseInt(excelStyle.fontAngle) !== 0) {
|
|
@@ -255,7 +255,7 @@ function writeStyles(stylesObj){
|
|
|
if (strUtil.convertStrToBoolean(excelStyle[JV.CONTROL_PROPS[0]])) {
|
|
|
alignStr += ' shrinkToFit="1"';
|
|
|
}
|
|
|
- if (strUtil.convertStrToBoolean(excelStyle[JV.CONTROL_PROPS[4]])) {
|
|
|
+ if (strUtil.convertStrToBoolean(excelStyle[JV.CONTROL_PROPS[4]]) && !strUtil.convertStrToBoolean(excelStyle[JV.CONTROL_PROPS[6]])) {
|
|
|
alignStr += ' wrapText="1"';
|
|
|
}
|
|
|
if (textRotation !== 0) {
|