mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
fix bug #77807
This commit is contained in:
@ -2922,10 +2922,10 @@ void xlsx_drawing_context::set_sheet_anchor(int colFrom, int xFrom, int rwFrom,
|
||||
current_drawing_states->back()->sheet_anchor.colTo = colTo;
|
||||
current_drawing_states->back()->sheet_anchor.rwFrom = rwFrom;
|
||||
current_drawing_states->back()->sheet_anchor.rwTo = rwTo;
|
||||
current_drawing_states->back()->sheet_anchor.xFrom = (std::min)(xFrom, xTo);
|
||||
current_drawing_states->back()->sheet_anchor.yFrom = (std::min)(yFrom, yTo);
|
||||
current_drawing_states->back()->sheet_anchor.xTo = (std::max)(xFrom, xTo);
|
||||
current_drawing_states->back()->sheet_anchor.yTo = (std::max)(yFrom, yTo);
|
||||
current_drawing_states->back()->sheet_anchor.xFrom = xFrom;
|
||||
current_drawing_states->back()->sheet_anchor.yFrom = yFrom;
|
||||
current_drawing_states->back()->sheet_anchor.xTo = xTo;
|
||||
current_drawing_states->back()->sheet_anchor.yTo = yTo;
|
||||
}
|
||||
|
||||
current_drawing_states->back()->sheet_anchor.absolute.x = x;
|
||||
|
||||
@ -183,7 +183,7 @@ void OfficeArtClientAnchorSheet::calculate_1()
|
||||
else
|
||||
_cy += 256 * kfRow * sheet_info.defaultRowHeight;
|
||||
}
|
||||
_cy += _dyT - _y;
|
||||
_cy += _dyB - _y;
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user