|
|
@@ -75,8 +75,6 @@ let rptPrintHelper = {
|
|
|
if (pixelSize[0] > pixelSize[1]) {
|
|
|
//引用了padding,这里要处理下了
|
|
|
}
|
|
|
- // console.log('actAreaOffsetX: ' + actAreaOffsetX);
|
|
|
- // console.log('actAreaOffsetY: ' + actAreaOffsetY);
|
|
|
}
|
|
|
let svgPageArr = [];
|
|
|
// console.log(pixelSize);
|
|
|
@@ -137,8 +135,7 @@ function buildCellSvg(cell, fonts, styles, controls, pageMergeBorder, rptMergeBo
|
|
|
if (isHtoV) {
|
|
|
// HtoVStr = ` transform="translate(`+ (actArea.Bottom - actArea.Top + 5) + `,` + (actArea.Left - actArea.Top ) + `) rotate(90)"`;
|
|
|
//引用了padding后,top坐标不用考虑offset了
|
|
|
- HtoVStr = ` transform="translate(${(actArea.Bottom - actArea.Top)},0) rotate(90)"`;
|
|
|
- //console.log(actArea);
|
|
|
+ HtoVStr = ` transform="translate(${(actArea.Bottom - actArea.Top + 2)},0) rotate(90)"`;
|
|
|
}
|
|
|
if (style) {
|
|
|
let leftBS = getActualBorderStyle(cell, styles, mergeBandStyle, (pageMergeBorder)?pageMergeBorder:rptMergeBorder[JV.PROP_AREA], JV.PROP_LEFT);
|