Problem: When I make a copy of my workbook template (application is running on an AIX machine), the cells on tab 3 of the template copy are locked when they should not be.
Note: On my WinXP box the copy is fine and the cells on tab 3 are not locked, but on theAIX box the cells on tab 3 are locked (no exceptions are thrown in the process).
Code used to do the copy:
public void openWorkBookCopy(String sourceFile) throws IOException { Workbook sourceWorkbook = new Workbook(); workbookCopy = new Workbook(); sourceWorkbook.open(sourceFile); workbookCopy.copy(sourceWorkbook); }
Well, yes it fixed the locking issue, thank you for that, but now the dropdown lists are not working correctly and there seems to be a focus issue as well.
(same environment as before, except now using Aspose.cells v2.1.2)
Thee 2 Issues now that I can identify are:
Issue 1: Drop down lists.
Notice in the source Template.xls, Tab 3, when you click that first column (and any cell in that column) a drop down appears (fully populated with titles).
In the attached copy that was made with Aspose.cells v2.1.2 for java, Tab3, col 0, the dropdown lists need to be double clicked or the cell adjacent needs to be double clicked or (some combination there of) for them to appear or not. Whatever I did, they are not functionally friendly even when they do show up.
Thanks for providing us details with template files.
Well, I tested it works absolutely fine on Windows OS with Sun’s JDK. I think there might be some issues with IBM’s JDK you are using as we did find some issues (some of the IBM/Unix users reported a few issues). Anyways, we will further look into your mentioned issues and get back to you soon.
I copy a sheet from a template into a new sheet in a different workbook.
The sheet that I copied from has a chart on it. After I save the workbook with the copied sheet, the charts cellls are all locked. I do not want these cells locked. User should be able to adjust size of chart and format colors, etc.
The user can only manually unlock the cells by manually coping the columns from the chart into a new sheet, at that point the chart becomes unlocked.
Example:
using C#
1) I load a workbook from the file system (Workbook1)
2) I load another workbook from a stream (WorkBook 2 - generated by SSRS Web Service)
3) I update the Series data of a chart in SpreadSheetA, Workbook1