incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 120816] New: Method clearContents() clears 'Formatted' contents of the cells used does not work, If constants of com.sun.star.sheet.CellFlags is '512'.
Date Wed, 05 Sep 2012 05:50:49 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=120816

          Priority: P3
            Bug ID: 120816
          Assignee: ooo-issues@incubator.apache.org
           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: binbjguo@gmail.com
          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.

Mime
View raw message