|
|
@ -66,7 +66,10 @@ public class SearchTemplateFormulaAction implements SearchTemplateFormula { |
|
|
|
String name = workBook.getReportName(i); |
|
|
|
String name = workBook.getReportName(i); |
|
|
|
if (CommonUtils.canBeFormula(name)) { |
|
|
|
if (CommonUtils.canBeFormula(name)) { |
|
|
|
ITContent sheetContent = ITContent.copy(content); |
|
|
|
ITContent sheetContent = ITContent.copy(content); |
|
|
|
sheetContent.addOtherPos(Toolkit.i18nText("Fine-Design_Replace_Sheet")); |
|
|
|
sheetContent.addOtherPos( |
|
|
|
|
|
|
|
Toolkit.i18nText("Fine-Design_Replace_Sheet"), |
|
|
|
|
|
|
|
name |
|
|
|
|
|
|
|
); |
|
|
|
sheetContent.setReplaceObject(name); |
|
|
|
sheetContent.setReplaceObject(name); |
|
|
|
sheetContent.setHoldObject(workBook); |
|
|
|
sheetContent.setHoldObject(workBook); |
|
|
|
sheetContent.setTag(SearchTag.SHEET_NAME); |
|
|
|
sheetContent.setTag(SearchTag.SHEET_NAME); |
|
|
|