https://issues.apache.org/ooo/show_bug.cgi?id=120816
Priority: P3
Bug ID: 120816
Assignee: [email protected]
Summary: Method clearContents() clears 'Formatted' contents of
the cells used does not work, If constants of
com.sun.star.sheet.CellFlags is '512'.
Severity: normal
Issue Type: DEFECT
Classification: Code
OS: All
Reporter: [email protected]
Hardware: All
Status: CONFIRMED
Version: AOO 3.4.1
Component: code
Product: api
Steps:
1. Input text into Cell B6.
2. Set the Bold of text is ON.
3. Execute the following code sentence:
-------------------------------
// Get cell range B5:C15 by position - (column, row, column, row)
XCellRange xCellRange = xSheet.getCellRangeByPosition( 1, 4, 2, 14 );
XSheetOperation xSheetOp = (XSheetOperation)
UnoRuntime.queryInterface(XSheetOperation.class, xCellRange);
//Delete Text from Cell Range B5:C15
xSheetOp.clearContents(512);
--------------------------
Defect:
Contents with formatted are not deleted.
--
You are receiving this mail because:
You are the assignee for the bug.