wangtao
2 years ago
15 changed files with 156 additions and 869 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,10 @@ |
|||||||
|
package com.fr.plugin.cafe_expand.designerhelp; |
||||||
|
|
||||||
|
import com.fr.stable.fun.impl.AbstractLocaleFinder; |
||||||
|
|
||||||
|
public class ExpandUniversalLocaleBridge extends AbstractLocaleFinder { |
||||||
|
@Override |
||||||
|
public String find() { |
||||||
|
return "com/fr/plugin/cafe_expand/config/locale/expand"; |
||||||
|
} |
||||||
|
} |
Before Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 49 KiB |
@ -0,0 +1,11 @@ |
|||||||
|
cafe_expand_assist=cafe_expand_assist |
||||||
|
insert=insert |
||||||
|
delete=delete |
||||||
|
local_path=local_path |
||||||
|
report_position=report_position |
||||||
|
submit=submit |
||||||
|
file_after_change=file_afert_change |
||||||
|
error_info=error_info |
||||||
|
attention_info=attention:please fill in the expand value |
||||||
|
col_expand=col expand at |
||||||
|
row_expand=rol expand at |
@ -0,0 +1,11 @@ |
|||||||
|
cafe_expand_assist=\u8f85\u52a9\u884c\u5217\u6269\u5c55 |
||||||
|
insert=\u63d2\u5165 |
||||||
|
delete=\u5220\u9664 |
||||||
|
local_path=\u5f53\u524d\u64cd\u4f5c\u6a21\u677f\u8def\u5f84\uff1a |
||||||
|
report_position=\u62a5\u8868\u5757\u4f4d\u7f6e\uff1a |
||||||
|
submit=\u786e\u5b9a |
||||||
|
file_after_change=\u53d8\u66f4\u540e\u7684\u6a21\u677f\u4e3a\uff1a |
||||||
|
error_info=\u9519\u8bef\uff1a |
||||||
|
attention_info=\u63d0\u793a\uff1a\u8bf7\u586b\u5199\u9700\u8981\u6269\u5c55\u884c\u5217\u7684\u503c |
||||||
|
col_expand=\u6269\u5c55\u5217\uff1a\u5728 |
||||||
|
row_expand=\u6269\u5c55\u884c\uff1a\u5728\u7b2c |
@ -1,817 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||||
<WorkBook xmlVersion="20211223" releaseVersion="11.0.0"> |
|
||||||
<TableDataMap> |
|
||||||
<TableData name="ds1" class="com.fr.data.impl.EmbeddedTableData"> |
|
||||||
<Parameters/> |
|
||||||
<DSName> |
|
||||||
<![CDATA[null]]></DSName> |
|
||||||
<ColumnNames> |
|
||||||
<![CDATA[uid,,.,,letter]]></ColumnNames> |
|
||||||
<ColumnTypes> |
|
||||||
<![CDATA[java.lang.Long,java.lang.String]]></ColumnTypes> |
|
||||||
<RowData ColumnTypes="java.lang.Long,java.lang.String"> |
|
||||||
<![CDATA[4jZ2e"@3Ga;*3qth'H&SVLW+4[fK5,"p>tpS9pn7o^TY^)/i@<hgb>AT:>AS^:uR##?@Y=.b |
|
||||||
@Ntf=#GBERh.SW^WgcX3R`b60I=-$aT#[1gQ6HCU38\S9.EL\g&$IPH,aL5Nn4LogC]A$PGTA |
|
||||||
bH6Kn,a[pF3XS?F2'Yq(U!K@NqE%Da_Z).NB9EC9d![R(=Qu#[YA@W)4jXsGs]A23e@@cb-.Q |
|
||||||
KKl(T"Aremc*?=$^g*0@\12nH1#/(\I2Te?.=2g_U`e;gjT8~ |
|
||||||
]]></RowData> |
|
||||||
</TableData> |
|
||||||
<TableData name="ds2" class="com.fr.data.impl.EmbeddedTableData"> |
|
||||||
<Parameters/> |
|
||||||
<DSName> |
|
||||||
<![CDATA[null]]></DSName> |
|
||||||
<ColumnNames> |
|
||||||
<![CDATA[uid,,.,,uname]]></ColumnNames> |
|
||||||
<ColumnTypes> |
|
||||||
<![CDATA[java.lang.Long,java.lang.String]]></ColumnTypes> |
|
||||||
<RowData ColumnTypes="java.lang.Long,java.lang.String"> |
|
||||||
<![CDATA[1Z3Z35NunJ;D(>^V]A?.Oc<LDN~ |
|
||||||
]]></RowData> |
|
||||||
</TableData> |
|
||||||
</TableDataMap> |
|
||||||
<ReportWebAttr> |
|
||||||
<ServerPrinter/> |
|
||||||
<WebWriteContent> |
|
||||||
<ToolBars> |
|
||||||
<ToolBarManager> |
|
||||||
<Location> |
|
||||||
<Embed position="1"/> |
|
||||||
</Location> |
|
||||||
<ToolBar> |
|
||||||
<Widget class="com.fr.report.web.button.write.Submit"> |
|
||||||
<WidgetAttr aspectRatioLocked="false" aspectRatioBackup="-1.0" description=""> |
|
||||||
<MobileBookMark useBookMark="false" bookMarkName="" frozen="false"/> |
|
||||||
<PrivilegeControl/> |
|
||||||
</WidgetAttr> |
|
||||||
<Text> |
|
||||||
<![CDATA[${i18n('Fine-Engine_Report_Utils_Submit')}]]></Text> |
|
||||||
<Hotkeys> |
|
||||||
<![CDATA[]]></Hotkeys> |
|
||||||
<IconName> |
|
||||||
<![CDATA[submit]]></IconName> |
|
||||||
<Verify failVerifySubmit="false" value="true"/> |
|
||||||
<Sheet onlySubmitSelect="false"/> |
|
||||||
</Widget> |
|
||||||
<Widget class="com.fr.report.web.button.write.Verify"> |
|
||||||
<WidgetAttr aspectRatioLocked="false" aspectRatioBackup="-1.0" description=""> |
|
||||||
<MobileBookMark useBookMark="false" bookMarkName="" frozen="false"/> |
|
||||||
<PrivilegeControl/> |
|
||||||
</WidgetAttr> |
|
||||||
<Text> |
|
||||||
<![CDATA[${i18n('Fine-Engine_Report_Verify_Data')}]]></Text> |
|
||||||
<Hotkeys> |
|
||||||
<![CDATA[]]></Hotkeys> |
|
||||||
<IconName> |
|
||||||
<![CDATA[verify]]></IconName> |
|
||||||
</Widget> |
|
||||||
<Widget class="com.fr.report.web.button.NewPrint"> |
|
||||||
<WidgetAttr aspectRatioLocked="false" aspectRatioBackup="-1.0" description=""> |
|
||||||
<MobileBookMark useBookMark="false" bookMarkName="" frozen="false"/> |
|
||||||
<PrivilegeControl/> |
|
||||||
</WidgetAttr> |
|
||||||
<Text> |
|
||||||
<![CDATA[${i18n('Fine-Engine_Print')}]]></Text> |
|
||||||
<Hotkeys> |
|
||||||
<![CDATA[]]></Hotkeys> |
|
||||||
<IconName> |
|
||||||
<![CDATA[print]]></IconName> |
|
||||||
</Widget> |
|
||||||
<Widget class="com.fr.report.web.button.Export"> |
|
||||||
<WidgetAttr aspectRatioLocked="false" aspectRatioBackup="-1.0" description=""> |
|
||||||
<MobileBookMark useBookMark="false" bookMarkName="" frozen="false"/> |
|
||||||
<PrivilegeControl/> |
|
||||||
</WidgetAttr> |
|
||||||
<Text> |
|
||||||
<![CDATA[${i18n('Export')}]]></Text> |
|
||||||
<Hotkeys> |
|
||||||
<![CDATA[]]></Hotkeys> |
|
||||||
<IconName> |
|
||||||
<![CDATA[export]]></IconName> |
|
||||||
<ExtraButton ButtonName="Word-plugin-export-pdf"> |
|
||||||
<Buttons Word-plugin-export="true"/> |
|
||||||
<WidgetAttr aspectRatioLocked="false" aspectRatioBackup="-1.0" description=""> |
|
||||||
<MobileBookMark useBookMark="false" bookMarkName="" frozen="false"/> |
|
||||||
<PrivilegeControl/> |
|
||||||
</WidgetAttr> |
|
||||||
<Text> |
|
||||||
<![CDATA[pdf 导出]]></Text> |
|
||||||
<Hotkeys> |
|
||||||
<![CDATA[]]></Hotkeys> |
|
||||||
<IconName> |
|
||||||
<![CDATA[pdf]]></IconName> |
|
||||||
</ExtraButton> |
|
||||||
<ExtraButton ButtonName="Word-plugin-export"> |
|
||||||
<Buttons Word-plugin-export="true"/> |
|
||||||
<WidgetAttr aspectRatioLocked="false" aspectRatioBackup="-1.0" description=""> |
|
||||||
<MobileBookMark useBookMark="false" bookMarkName="" frozen="false"/> |
|
||||||
<PrivilegeControl/> |
|
||||||
</WidgetAttr> |
|
||||||
<Text> |
|
||||||
<![CDATA[word 导出]]></Text> |
|
||||||
<Hotkeys> |
|
||||||
<![CDATA[]]></Hotkeys> |
|
||||||
<IconName> |
|
||||||
<![CDATA[word]]></IconName> |
|
||||||
</ExtraButton> |
|
||||||
<Buttons pdf="true" excelP="true" excelO="true" excelS="true" word="true" image="true" html="true"/> |
|
||||||
</Widget> |
|
||||||
<Widget class="com.fr.report.web.button.Email"> |
|
||||||
<WidgetAttr aspectRatioLocked="false" aspectRatioBackup="-1.0" description=""> |
|
||||||
<MobileBookMark useBookMark="false" bookMarkName="" frozen="false"/> |
|
||||||
<PrivilegeControl/> |
|
||||||
</WidgetAttr> |
|
||||||
<Text> |
|
||||||
<![CDATA[${i18n('Fine-Engine_Report_Email')}]]></Text> |
|
||||||
<Hotkeys> |
|
||||||
<![CDATA[]]></Hotkeys> |
|
||||||
<IconName> |
|
||||||
<![CDATA[email]]></IconName> |
|
||||||
<EmailButton customConsignee="true" consigneeByDepartment="false" consigneeByRole="false"/> |
|
||||||
</Widget> |
|
||||||
<Widget class="com.fr.report.web.button.write.AppendColumnRow"> |
|
||||||
<WidgetAttr aspectRatioLocked="false" aspectRatioBackup="-1.0" description=""> |
|
||||||
<MobileBookMark useBookMark="false" bookMarkName="" frozen="false"/> |
|
||||||
<PrivilegeControl/> |
|
||||||
</WidgetAttr> |
|
||||||
<Text> |
|
||||||
<![CDATA[${i18n('Fine-Engine_Add_Record')}]]></Text> |
|
||||||
<Hotkeys> |
|
||||||
<![CDATA[]]></Hotkeys> |
|
||||||
<IconName> |
|
||||||
<![CDATA[appendrow]]></IconName> |
|
||||||
</Widget> |
|
||||||
<Widget class="com.fr.report.web.button.write.ShowCellValue"> |
|
||||||
<WidgetAttr aspectRatioLocked="false" aspectRatioBackup="-1.0" description=""> |
|
||||||
<MobileBookMark useBookMark="false" bookMarkName="" frozen="false"/> |
|
||||||
<PrivilegeControl/> |
|
||||||
</WidgetAttr> |
|
||||||
<widgetValue/> |
|
||||||
<LabelAttr verticalcenter="true" textalign="0" autoline="false"/> |
|
||||||
<FRFont name="SimSun" style="0" size="72"/> |
|
||||||
<border style="0"> |
|
||||||
<color> |
|
||||||
<FineColor color="-723724" hor="-1" ver="-1"/> |
|
||||||
</color> |
|
||||||
</border> |
|
||||||
</Widget> |
|
||||||
</ToolBar> |
|
||||||
</ToolBarManager> |
|
||||||
</ToolBars> |
|
||||||
<EditRowColor setColor="false"/> |
|
||||||
<WebWrite SheetPosition="3"/> |
|
||||||
<RptLocation isShowAtLeft="true"/> |
|
||||||
<UnloadCheck/> |
|
||||||
<ShowWidgets show="true"/> |
|
||||||
<OtherAttr autoStash="false"/> |
|
||||||
</WebWriteContent> |
|
||||||
</ReportWebAttr> |
|
||||||
<ElementCaseMobileAttr> |
|
||||||
<ElementCaseMobileAttrProvider horizontal="1" vertical="1" zoom="true" refresh="false" isUseHTML="false" isMobileCanvasSize="false" appearRefresh="false" allowFullScreen="false" allowDoubleClickOrZoom="true" functionalWhenUnactivated="false"/> |
|
||||||
</ElementCaseMobileAttr> |
|
||||||
<Report class="com.fr.report.worksheet.WorkSheet" name="sheet1"> |
|
||||||
<ReportPageAttr> |
|
||||||
<HR/> |
|
||||||
<FR/> |
|
||||||
<HC/> |
|
||||||
<FC/> |
|
||||||
</ReportPageAttr> |
|
||||||
<ColumnPrivilegeControl/> |
|
||||||
<RowPrivilegeControl/> |
|
||||||
<RowHeight defaultValue="723900"> |
|
||||||
<![CDATA[723900,990600,876300,533400,990600,876300,533400,990600,723900,533400,990600,723900,723900,533400,723900,723900,335280,723900]]></RowHeight> |
|
||||||
<ColumnWidth defaultValue="2743200"> |
|
||||||
<![CDATA[762000,3200400,3505200,1257300,3390900,2743200,2743200,266700,1447800,266700,1447800,2743200]]></ColumnWidth> |
|
||||||
<CellElementList> |
|
||||||
<C c="0" r="0"> |
|
||||||
<PrivilegeControl/> |
|
||||||
<Expand> |
|
||||||
<cellSortAttr/> |
|
||||||
</Expand> |
|
||||||
</C> |
|
||||||
<C c="11" r="0"> |
|
||||||
<PrivilegeControl/> |
|
||||||
<HighlightList> |
|
||||||
<Highlight class="com.fr.report.cell.cellattr.highlight.DefaultHighlight"> |
|
||||||
<Name> |
|
||||||
<![CDATA[条件属性1]]></Name> |
|
||||||
<Condition class="com.fr.data.condition.ListCondition"/> |
|
||||||
<HighlightAction class="com.fr.report.cell.cellattr.highlight.ColWidthHighlightAction"/> |
|
||||||
</Highlight> |
|
||||||
</HighlightList> |
|
||||||
<Expand/> |
|
||||||
</C> |
|
||||||
<C c="1" r="1" s="0"> |
|
||||||
<O> |
|
||||||
<![CDATA[页面]]></O> |
|
||||||
<PrivilegeControl/> |
|
||||||
<Expand/> |
|
||||||
</C> |
|
||||||
<C c="11" r="1"> |
|
||||||
<O t="XMLable" class="com.fr.base.Formula"> |
|
||||||
<Attributes> |
|
||||||
<![CDATA[=CONCATENATE(L9)]]></Attributes> |
|
||||||
</O> |
|
||||||
<PrivilegeControl/> |
|
||||||
<Expand/> |
|
||||||
</C> |
|
||||||
<C c="13" r="1" cs="5" rs="11"> |
|
||||||
<O> |
|
||||||
<![CDATA[功能说明:\\n1、后台拷贝一份当前模板,并按上面填写的扩展行列规则,进行扩展\\n2、如果是多sheet、多个block,或者frm多个报表块,每次只扩展“位置”中指定的报表块,如果想继续扩展其它报表块,需要在扩展后的模板的基础上继续操作\\n3、部分js代码中涉及的部分行列可能不支持,目前支持\\n getCellValue(sheet,col,row);getCellValue(col,row);\\n setCellValue(col,row,val); \\n不支持的如\\n FR.columnRow2CellStr({col: col, row: row}) 等,这类暂时需要手动更改,后续会完善\\n4、扩展后的模板请预览检查后再覆盖当前模板,避免有问题;\\n5、每次执行都会产生一个新的备份模板,请及时删除不需要的备份后的模板,避免模板太多]]></O> |
|
||||||
<PrivilegeControl/> |
|
||||||
<Expand> |
|
||||||
<cellSortAttr/> |
|
||||||
</Expand> |
|
||||||
</C> |
|
||||||
<C c="1" r="2" cs="6" s="1"> |
|
||||||
<O t="XMLable" class="com.fr.base.Formula"> |
|
||||||
<Attributes> |
|
||||||
<![CDATA[=$filePath]]></Attributes> |
|
||||||
</O> |
|
||||||
<PrivilegeControl/> |
|
||||||
<Expand/> |
|
||||||
</C> |
|
||||||
<C c="1" r="4" s="0"> |
|
||||||
<O> |
|
||||||
<![CDATA[位置]]></O> |
|
||||||
<PrivilegeControl/> |
|
||||||
<Expand/> |
|
||||||
</C> |
|
||||||
<C c="11" r="4"> |
|
||||||
<O t="XMLable" class="com.fr.base.Formula"> |
|
||||||
<Attributes> |
|
||||||
<![CDATA[=CONCATENATE(L12)]]></Attributes> |
|
||||||
</O> |
|
||||||
<PrivilegeControl/> |
|
||||||
<Expand/> |
|
||||||
</C> |
|
||||||
<C c="1" r="5" cs="6" s="1"> |
|
||||||
<O t="XMLable" class="com.fr.base.Formula"> |
|
||||||
<Attributes> |
|
||||||
<![CDATA[=$position]]></Attributes> |
|
||||||
</O> |
|
||||||
<PrivilegeControl/> |
|
||||||
<Expand/> |
|
||||||
</C> |
|
||||||
<C c="1" r="7" cs="6" s="0"> |
|
||||||
<O> |
|
||||||
<![CDATA[扩展列]]></O> |
|
||||||
<PrivilegeControl/> |
|
||||||
<Expand/> |
|
||||||
</C> |
|
||||||
<C c="1" r="8" s="1"> |
|
||||||
<O> |
|
||||||
<![CDATA[在]]></O> |
|
||||||
<PrivilegeControl/> |
|
||||||
<CellPageAttr/> |
|
||||||
<CellInsertPolicy> |
|
||||||
<InsertPolicy> |
|
||||||
<![CDATA[copy]]></InsertPolicy> |
|
||||||
</CellInsertPolicy> |
|
||||||
<Expand dir="0"/> |
|
||||||
</C> |
|
||||||
<C c="2" r="8" s="1"> |
|
||||||
<PrivilegeControl/> |
|
||||||
<Widget class="com.fr.form.ui.ComboBox"> |
|
||||||
<WidgetAttr aspectRatioLocked="false" aspectRatioBackup="-1.0" description=""> |
|
||||||
<MobileBookMark useBookMark="false" bookMarkName="" frozen="false"/> |
|
||||||
<PrivilegeControl/> |
|
||||||
</WidgetAttr> |
|
||||||
<allowBlank> |
|
||||||
<![CDATA[false]]></allowBlank> |
|
||||||
<CustomData> |
|
||||||
<![CDATA[false]]></CustomData> |
|
||||||
<Dictionary class="com.fr.data.impl.TableDataDictionary"> |
|
||||||
<FormulaDictAttr kiName="uid" viName="letter"/> |
|
||||||
<TableDataDictAttr> |
|
||||||
<TableData class="com.fr.data.impl.NameTableData"> |
|
||||||
<Name> |
|
||||||
<![CDATA[ds1]]></Name> |
|
||||||
</TableData> |
|
||||||
</TableDataDictAttr> |
|
||||||
</Dictionary> |
|
||||||
<widgetValue/> |
|
||||||
</Widget> |
|
||||||
<Present class="com.fr.base.present.DictPresent"> |
|
||||||
<Dictionary class="com.fr.data.impl.TableDataDictionary"> |
|
||||||
<FormulaDictAttr kiName="uid" viName="letter"/> |
|
||||||
<TableDataDictAttr> |
|
||||||
<TableData class="com.fr.data.impl.NameTableData"> |
|
||||||
<Name> |
|
||||||
<![CDATA[ds1]]></Name> |
|
||||||
</TableData> |
|
||||||
</TableDataDictAttr> |
|
||||||
</Dictionary> |
|
||||||
</Present> |
|
||||||
<Expand dir="0"/> |
|
||||||
</C> |
|
||||||
<C c="3" r="8" cs="2" s="1"> |
|
||||||
<O t="I"> |
|
||||||
<![CDATA[0]]></O> |
|
||||||
<PrivilegeControl/> |
|
||||||
<CellPageAttr/> |
|
||||||
<Widget class="com.fr.form.ui.ComboBox"> |
|
||||||
<WidgetAttr aspectRatioLocked="false" aspectRatioBackup="-1.0" description=""> |
|
||||||
<MobileBookMark useBookMark="false" bookMarkName="" frozen="false"/> |
|
||||||
<PrivilegeControl/> |
|
||||||
</WidgetAttr> |
|
||||||
<allowBlank> |
|
||||||
<![CDATA[false]]></allowBlank> |
|
||||||
<DirectEdit> |
|
||||||
<![CDATA[false]]></DirectEdit> |
|
||||||
<CustomData> |
|
||||||
<![CDATA[false]]></CustomData> |
|
||||||
<Dictionary class="com.fr.data.impl.TableDataDictionary"> |
|
||||||
<FormulaDictAttr kiName="uid" viName="uname"/> |
|
||||||
<TableDataDictAttr> |
|
||||||
<TableData class="com.fr.data.impl.NameTableData"> |
|
||||||
<Name> |
|
||||||
<![CDATA[ds2]]></Name> |
|
||||||
</TableData> |
|
||||||
</TableDataDictAttr> |
|
||||||
</Dictionary> |
|
||||||
<widgetValue/> |
|
||||||
</Widget> |
|
||||||
<Present class="com.fr.base.present.DictPresent"> |
|
||||||
<Dictionary class="com.fr.data.impl.TableDataDictionary"> |
|
||||||
<FormulaDictAttr kiName="uid" viName="uname"/> |
|
||||||
<TableDataDictAttr> |
|
||||||
<TableData class="com.fr.data.impl.NameTableData"> |
|
||||||
<Name> |
|
||||||
<![CDATA[ds2]]></Name> |
|
||||||
</TableData> |
|
||||||
</TableDataDictAttr> |
|
||||||
</Dictionary> |
|
||||||
</Present> |
|
||||||
<CellInsertPolicy> |
|
||||||
<InsertPolicy> |
|
||||||
<![CDATA[copy]]></InsertPolicy> |
|
||||||
</CellInsertPolicy> |
|
||||||
<Expand dir="0"/> |
|
||||||
</C> |
|
||||||
<C c="5" r="8" s="1"> |
|
||||||
<O t="I"> |
|
||||||
<![CDATA[1]]></O> |
|
||||||
<PrivilegeControl/> |
|
||||||
<CellPageAttr/> |
|
||||||
<Widget class="com.fr.form.ui.NumberEditor"> |
|
||||||
<WidgetAttr aspectRatioLocked="false" aspectRatioBackup="-1.0" description=""> |
|
||||||
<MobileBookMark useBookMark="false" bookMarkName="" frozen="false"/> |
|
||||||
<PrivilegeControl/> |
|
||||||
</WidgetAttr> |
|
||||||
<allowBlank> |
|
||||||
<![CDATA[false]]></allowBlank> |
|
||||||
<NumberAttr allowDecimals="false" allowNegative="false"> |
|
||||||
<widgetValue/> |
|
||||||
</NumberAttr> |
|
||||||
</Widget> |
|
||||||
<CellInsertPolicy> |
|
||||||
<InsertPolicy> |
|
||||||
<![CDATA[copy]]></InsertPolicy> |
|
||||||
</CellInsertPolicy> |
|
||||||
<Expand dir="0"/> |
|
||||||
</C> |
|
||||||
<C c="6" r="8" s="1"> |
|
||||||
<O> |
|
||||||
<![CDATA[列]]></O> |
|
||||||
<PrivilegeControl/> |
|
||||||
<CellPageAttr/> |
|
||||||
<CellInsertPolicy> |
|
||||||
<InsertPolicy> |
|
||||||
<![CDATA[copy]]></InsertPolicy> |
|
||||||
</CellInsertPolicy> |
|
||||||
<Expand dir="0"/> |
|
||||||
</C> |
|
||||||
<C c="8" r="8"> |
|
||||||
<PrivilegeControl/> |
|
||||||
<Widget class="com.fr.report.web.button.write.AppendRowButton"> |
|
||||||
<WidgetAttr aspectRatioLocked="false" aspectRatioBackup="-1.0" description=""> |
|
||||||
<MobileBookMark useBookMark="false" bookMarkName="" frozen="false"/> |
|
||||||
<PrivilegeControl/> |
|
||||||
</WidgetAttr> |
|
||||||
<Text> |
|
||||||
<![CDATA[]]></Text> |
|
||||||
<Hotkeys> |
|
||||||
<![CDATA[]]></Hotkeys> |
|
||||||
<IconName> |
|
||||||
<![CDATA[add]]></IconName> |
|
||||||
<FixCell row="8" col="1"/> |
|
||||||
</Widget> |
|
||||||
<Expand/> |
|
||||||
</C> |
|
||||||
<C c="10" r="8"> |
|
||||||
<PrivilegeControl/> |
|
||||||
<Widget class="com.fr.report.web.button.write.DeleteRowButton"> |
|
||||||
<WidgetAttr aspectRatioLocked="false" aspectRatioBackup="-1.0" description=""> |
|
||||||
<MobileBookMark useBookMark="false" bookMarkName="" frozen="false"/> |
|
||||||
<PrivilegeControl/> |
|
||||||
</WidgetAttr> |
|
||||||
<Text> |
|
||||||
<![CDATA[]]></Text> |
|
||||||
<Hotkeys> |
|
||||||
<![CDATA[]]></Hotkeys> |
|
||||||
<IconName> |
|
||||||
<![CDATA[delete]]></IconName> |
|
||||||
<FixCell row="8" col="1"/> |
|
||||||
</Widget> |
|
||||||
<Expand/> |
|
||||||
</C> |
|
||||||
<C c="11" r="8"> |
|
||||||
<O t="XMLable" class="com.fr.base.Formula"> |
|
||||||
<Attributes> |
|
||||||
<![CDATA[=if(len(C9) <> 0 && len(F9) <> 0, CONCATENATE(C9, ":", D9, ":", F9), "")]]></Attributes> |
|
||||||
</O> |
|
||||||
<PrivilegeControl/> |
|
||||||
<CellPageAttr/> |
|
||||||
<CellInsertPolicy> |
|
||||||
<InsertPolicy> |
|
||||||
<![CDATA[copy]]></InsertPolicy> |
|
||||||
</CellInsertPolicy> |
|
||||||
<Expand/> |
|
||||||
</C> |
|
||||||
<C c="1" r="10" cs="6" s="0"> |
|
||||||
<O> |
|
||||||
<![CDATA[扩展行]]></O> |
|
||||||
<PrivilegeControl/> |
|
||||||
<Expand/> |
|
||||||
</C> |
|
||||||
<C c="1" r="11" s="1"> |
|
||||||
<O> |
|
||||||
<![CDATA[在第]]></O> |
|
||||||
<PrivilegeControl/> |
|
||||||
<CellPageAttr/> |
|
||||||
<CellInsertPolicy> |
|
||||||
<InsertPolicy> |
|
||||||
<![CDATA[copy]]></InsertPolicy> |
|
||||||
</CellInsertPolicy> |
|
||||||
<Expand dir="0"/> |
|
||||||
</C> |
|
||||||
<C c="2" r="11" s="1"> |
|
||||||
<PrivilegeControl/> |
|
||||||
<Widget class="com.fr.form.ui.NumberEditor"> |
|
||||||
<WidgetAttr aspectRatioLocked="false" aspectRatioBackup="-1.0" description=""> |
|
||||||
<MobileBookMark useBookMark="false" bookMarkName="" frozen="false"/> |
|
||||||
<PrivilegeControl/> |
|
||||||
</WidgetAttr> |
|
||||||
<allowBlank> |
|
||||||
<![CDATA[false]]></allowBlank> |
|
||||||
<regMsg> |
|
||||||
<![CDATA[最小值为0]]></regMsg> |
|
||||||
<NumberAttr allowDecimals="false" allowNegative="false" minValue="0.0"> |
|
||||||
<widgetValue/> |
|
||||||
</NumberAttr> |
|
||||||
</Widget> |
|
||||||
<Expand dir="0"/> |
|
||||||
</C> |
|
||||||
<C c="3" r="11" s="1"> |
|
||||||
<O> |
|
||||||
<![CDATA[行后]]></O> |
|
||||||
<PrivilegeControl/> |
|
||||||
<CellPageAttr/> |
|
||||||
<CellInsertPolicy> |
|
||||||
<InsertPolicy> |
|
||||||
<![CDATA[copy]]></InsertPolicy> |
|
||||||
</CellInsertPolicy> |
|
||||||
<Expand/> |
|
||||||
</C> |
|
||||||
<C c="4" r="11" s="1"> |
|
||||||
<O t="I"> |
|
||||||
<![CDATA[0]]></O> |
|
||||||
<PrivilegeControl/> |
|
||||||
<CellPageAttr/> |
|
||||||
<Widget class="com.fr.form.ui.ComboBox"> |
|
||||||
<WidgetAttr aspectRatioLocked="false" aspectRatioBackup="-1.0" description=""> |
|
||||||
<MobileBookMark useBookMark="false" bookMarkName="" frozen="false"/> |
|
||||||
<PrivilegeControl/> |
|
||||||
</WidgetAttr> |
|
||||||
<allowBlank> |
|
||||||
<![CDATA[false]]></allowBlank> |
|
||||||
<DirectEdit> |
|
||||||
<![CDATA[false]]></DirectEdit> |
|
||||||
<CustomData> |
|
||||||
<![CDATA[false]]></CustomData> |
|
||||||
<Dictionary class="com.fr.data.impl.TableDataDictionary"> |
|
||||||
<FormulaDictAttr kiName="uid" viName="uname"/> |
|
||||||
<TableDataDictAttr> |
|
||||||
<TableData class="com.fr.data.impl.NameTableData"> |
|
||||||
<Name> |
|
||||||
<![CDATA[ds2]]></Name> |
|
||||||
</TableData> |
|
||||||
</TableDataDictAttr> |
|
||||||
</Dictionary> |
|
||||||
<widgetValue/> |
|
||||||
</Widget> |
|
||||||
<Present class="com.fr.base.present.DictPresent"> |
|
||||||
<Dictionary class="com.fr.data.impl.TableDataDictionary"> |
|
||||||
<FormulaDictAttr kiName="uid" viName="uname"/> |
|
||||||
<TableDataDictAttr> |
|
||||||
<TableData class="com.fr.data.impl.NameTableData"> |
|
||||||
<Name> |
|
||||||
<![CDATA[ds2]]></Name> |
|
||||||
</TableData> |
|
||||||
</TableDataDictAttr> |
|
||||||
</Dictionary> |
|
||||||
</Present> |
|
||||||
<CellInsertPolicy> |
|
||||||
<InsertPolicy> |
|
||||||
<![CDATA[copy]]></InsertPolicy> |
|
||||||
</CellInsertPolicy> |
|
||||||
<Expand dir="0"/> |
|
||||||
</C> |
|
||||||
<C c="5" r="11" s="1"> |
|
||||||
<O t="I"> |
|
||||||
<![CDATA[1]]></O> |
|
||||||
<PrivilegeControl/> |
|
||||||
<CellPageAttr/> |
|
||||||
<Widget class="com.fr.form.ui.NumberEditor"> |
|
||||||
<WidgetAttr aspectRatioLocked="false" aspectRatioBackup="-1.0" description=""> |
|
||||||
<MobileBookMark useBookMark="false" bookMarkName="" frozen="false"/> |
|
||||||
<PrivilegeControl/> |
|
||||||
</WidgetAttr> |
|
||||||
<allowBlank> |
|
||||||
<![CDATA[false]]></allowBlank> |
|
||||||
<NumberAttr allowDecimals="false" allowNegative="false"> |
|
||||||
<widgetValue/> |
|
||||||
</NumberAttr> |
|
||||||
</Widget> |
|
||||||
<CellInsertPolicy> |
|
||||||
<InsertPolicy> |
|
||||||
<![CDATA[copy]]></InsertPolicy> |
|
||||||
</CellInsertPolicy> |
|
||||||
<Expand dir="0"/> |
|
||||||
</C> |
|
||||||
<C c="6" r="11" s="1"> |
|
||||||
<O> |
|
||||||
<![CDATA[行]]></O> |
|
||||||
<PrivilegeControl/> |
|
||||||
<CellPageAttr/> |
|
||||||
<CellInsertPolicy> |
|
||||||
<InsertPolicy> |
|
||||||
<![CDATA[copy]]></InsertPolicy> |
|
||||||
</CellInsertPolicy> |
|
||||||
<Expand dir="0"/> |
|
||||||
</C> |
|
||||||
<C c="8" r="11"> |
|
||||||
<PrivilegeControl/> |
|
||||||
<Widget class="com.fr.report.web.button.write.AppendRowButton"> |
|
||||||
<WidgetAttr aspectRatioLocked="false" aspectRatioBackup="-1.0" description=""> |
|
||||||
<MobileBookMark useBookMark="false" bookMarkName="" frozen="false"/> |
|
||||||
<PrivilegeControl/> |
|
||||||
</WidgetAttr> |
|
||||||
<Text> |
|
||||||
<![CDATA[]]></Text> |
|
||||||
<Hotkeys> |
|
||||||
<![CDATA[]]></Hotkeys> |
|
||||||
<IconName> |
|
||||||
<![CDATA[add]]></IconName> |
|
||||||
<FixCell row="11" col="1"/> |
|
||||||
</Widget> |
|
||||||
<Expand/> |
|
||||||
</C> |
|
||||||
<C c="10" r="11"> |
|
||||||
<PrivilegeControl/> |
|
||||||
<Widget class="com.fr.report.web.button.write.DeleteRowButton"> |
|
||||||
<WidgetAttr aspectRatioLocked="false" aspectRatioBackup="-1.0" description=""> |
|
||||||
<MobileBookMark useBookMark="false" bookMarkName="" frozen="false"/> |
|
||||||
<PrivilegeControl/> |
|
||||||
</WidgetAttr> |
|
||||||
<Text> |
|
||||||
<![CDATA[]]></Text> |
|
||||||
<Hotkeys> |
|
||||||
<![CDATA[]]></Hotkeys> |
|
||||||
<IconName> |
|
||||||
<![CDATA[delete]]></IconName> |
|
||||||
<FixCell row="11" col="1"/> |
|
||||||
</Widget> |
|
||||||
<Expand/> |
|
||||||
</C> |
|
||||||
<C c="11" r="11"> |
|
||||||
<O t="XMLable" class="com.fr.base.Formula"> |
|
||||||
<Attributes> |
|
||||||
<![CDATA[=if(len(C12) <> 0 && len(F12) <> 0, CONCATENATE(C12, ":", E12, ":", F12), "")]]></Attributes> |
|
||||||
</O> |
|
||||||
<PrivilegeControl/> |
|
||||||
<CellPageAttr/> |
|
||||||
<CellInsertPolicy> |
|
||||||
<InsertPolicy> |
|
||||||
<![CDATA[copy]]></InsertPolicy> |
|
||||||
</CellInsertPolicy> |
|
||||||
<Expand/> |
|
||||||
</C> |
|
||||||
<C c="1" r="12" cs="6" s="2"> |
|
||||||
<O> |
|
||||||
<![CDATA[若在第一行前插入,填 0]]></O> |
|
||||||
<PrivilegeControl/> |
|
||||||
<Expand/> |
|
||||||
</C> |
|
||||||
<C c="1" r="15"> |
|
||||||
<PrivilegeControl/> |
|
||||||
<Widget class="com.fr.form.ui.FreeButton"> |
|
||||||
<Listener event="click" name="点击1"> |
|
||||||
<JavaScript class="com.fr.js.JavaScriptImpl"> |
|
||||||
<Parameters> |
|
||||||
<Parameter> |
|
||||||
<Attributes name="path"/> |
|
||||||
<O t="XMLable" class="com.fr.base.Formula"> |
|
||||||
<Attributes> |
|
||||||
<![CDATA[=$filePath]]></Attributes> |
|
||||||
</O> |
|
||||||
</Parameter> |
|
||||||
<Parameter> |
|
||||||
<Attributes name="position"/> |
|
||||||
<O t="XMLable" class="com.fr.base.Formula"> |
|
||||||
<Attributes> |
|
||||||
<![CDATA[=$position]]></Attributes> |
|
||||||
</O> |
|
||||||
</Parameter> |
|
||||||
</Parameters> |
|
||||||
<Content> |
|
||||||
<![CDATA[contentPane.stopEditing(); |
|
||||||
|
|
||||||
var ec= contentPane.curLGP.getCellValue("L2"); |
|
||||||
var er= contentPane.curLGP.getCellValue("L5"); |
|
||||||
|
|
||||||
if(ec=="" && er=="") |
|
||||||
FR.Msg.toast("请先配置扩展行 或 列"); |
|
||||||
else if(ec.startWith(",") || er.startWith(",")) |
|
||||||
FR.Msg.toast("扩展行列配置不完整"); |
|
||||||
else |
|
||||||
{ |
|
||||||
var newFile=FR.remoteEvaluate("=DoExpandFile('"+path+"','"+position+"','"+ec+"','"+er+"')"); |
|
||||||
contentPane.setCellValue(2,15, " 扩展后的模板:"+newFile+";请刷新设计器查看"); |
|
||||||
|
|
||||||
|
|
||||||
}]]></Content> |
|
||||||
</JavaScript> |
|
||||||
</Listener> |
|
||||||
<WidgetName name="changeBut"/> |
|
||||||
<WidgetAttr aspectRatioLocked="false" aspectRatioBackup="-1.0" description=""> |
|
||||||
<MobileBookMark useBookMark="false" bookMarkName="" frozen="false"/> |
|
||||||
<PrivilegeControl/> |
|
||||||
</WidgetAttr> |
|
||||||
<Text> |
|
||||||
<![CDATA[一键替换]]></Text> |
|
||||||
<Hotkeys> |
|
||||||
<![CDATA[]]></Hotkeys> |
|
||||||
</Widget> |
|
||||||
<Expand> |
|
||||||
<cellSortAttr/> |
|
||||||
</Expand> |
|
||||||
</C> |
|
||||||
<C c="2" r="15" cs="9" s="3"> |
|
||||||
<PrivilegeControl/> |
|
||||||
<Expand/> |
|
||||||
</C> |
|
||||||
<C c="1" r="26"> |
|
||||||
<PrivilegeControl/> |
|
||||||
<Expand/> |
|
||||||
</C> |
|
||||||
<C c="2" r="26"> |
|
||||||
<PrivilegeControl/> |
|
||||||
<Expand/> |
|
||||||
</C> |
|
||||||
<C c="3" r="26"> |
|
||||||
<PrivilegeControl/> |
|
||||||
<Expand/> |
|
||||||
</C> |
|
||||||
<C c="4" r="26"> |
|
||||||
<PrivilegeControl/> |
|
||||||
<Expand/> |
|
||||||
</C> |
|
||||||
<C c="5" r="26"> |
|
||||||
<PrivilegeControl/> |
|
||||||
<Expand/> |
|
||||||
</C> |
|
||||||
<C c="6" r="26"> |
|
||||||
<PrivilegeControl/> |
|
||||||
<Expand/> |
|
||||||
</C> |
|
||||||
</CellElementList> |
|
||||||
<ReportAttrSet> |
|
||||||
<ReportSettings headerHeight="0" footerHeight="0"> |
|
||||||
<PaperSetting/> |
|
||||||
<FollowingTheme background="false"/> |
|
||||||
<Background name="ColorBackground"> |
|
||||||
<color> |
|
||||||
<FineColor color="-1" hor="-1" ver="-1"/> |
|
||||||
</color> |
|
||||||
</Background> |
|
||||||
</ReportSettings> |
|
||||||
<Header reportPageType="0"> |
|
||||||
<Background name="NullBackground"/> |
|
||||||
<LeftList/> |
|
||||||
<CenterList/> |
|
||||||
<RightList/> |
|
||||||
</Header> |
|
||||||
<Footer reportPageType="0"> |
|
||||||
<Background name="NullBackground"/> |
|
||||||
<LeftList/> |
|
||||||
<CenterList/> |
|
||||||
<RightList/> |
|
||||||
</Footer> |
|
||||||
</ReportAttrSet> |
|
||||||
<PrivilegeControl/> |
|
||||||
</Report> |
|
||||||
<ReportParameterAttr> |
|
||||||
<Attributes showWindow="true" delayPlaying="true" windowPosition="1" align="0" useParamsTemplate="true" currentIndex="0"/> |
|
||||||
<PWTitle> |
|
||||||
<![CDATA[参数]]></PWTitle> |
|
||||||
</ReportParameterAttr> |
|
||||||
<StyleList> |
|
||||||
<Style imageLayout="1"> |
|
||||||
<FRFont name="微软雅黑" style="0" size="104"> |
|
||||||
<foreground> |
|
||||||
<FineColor color="-1" hor="-1" ver="-1"/> |
|
||||||
</foreground> |
|
||||||
</FRFont> |
|
||||||
<Background name="ColorBackground"> |
|
||||||
<color> |
|
||||||
<FineColor color="-11555390" hor="-1" ver="-1"/> |
|
||||||
</color> |
|
||||||
</Background> |
|
||||||
<Border> |
|
||||||
<Top style="1"> |
|
||||||
<color> |
|
||||||
<FineColor color="-5973267" hor="-1" ver="-1"/> |
|
||||||
</color> |
|
||||||
</Top> |
|
||||||
<Bottom style="1"> |
|
||||||
<color> |
|
||||||
<FineColor color="-5973267" hor="-1" ver="-1"/> |
|
||||||
</color> |
|
||||||
</Bottom> |
|
||||||
<Left style="1"> |
|
||||||
<color> |
|
||||||
<FineColor color="-5973267" hor="-1" ver="-1"/> |
|
||||||
</color> |
|
||||||
</Left> |
|
||||||
<Right style="1"> |
|
||||||
<color> |
|
||||||
<FineColor color="-5973267" hor="-1" ver="-1"/> |
|
||||||
</color> |
|
||||||
</Right> |
|
||||||
</Border> |
|
||||||
</Style> |
|
||||||
<Style horizontal_alignment="0" imageLayout="1"> |
|
||||||
<FRFont name="微软雅黑" style="0" size="72"/> |
|
||||||
<Background name="ColorBackground"> |
|
||||||
<color> |
|
||||||
<FineColor color="-657158" hor="-1" ver="-1"/> |
|
||||||
</color> |
|
||||||
</Background> |
|
||||||
<Border> |
|
||||||
<Top style="1"> |
|
||||||
<color> |
|
||||||
<FineColor color="-3024920" hor="-1" ver="-1"/> |
|
||||||
</color> |
|
||||||
</Top> |
|
||||||
<Bottom style="1"> |
|
||||||
<color> |
|
||||||
<FineColor color="-3024920" hor="-1" ver="-1"/> |
|
||||||
</color> |
|
||||||
</Bottom> |
|
||||||
<Left style="1"> |
|
||||||
<color> |
|
||||||
<FineColor color="-3024920" hor="-1" ver="-1"/> |
|
||||||
</color> |
|
||||||
</Left> |
|
||||||
<Right style="1"> |
|
||||||
<color> |
|
||||||
<FineColor color="-3024920" hor="-1" ver="-1"/> |
|
||||||
</color> |
|
||||||
</Right> |
|
||||||
</Border> |
|
||||||
</Style> |
|
||||||
<Style imageLayout="1"> |
|
||||||
<FRFont name="微软雅黑" style="0" size="64"> |
|
||||||
<foreground> |
|
||||||
<FineColor color="-236032" hor="-1" ver="-1"/> |
|
||||||
</foreground> |
|
||||||
</FRFont> |
|
||||||
<Background name="NullBackground"/> |
|
||||||
<Border/> |
|
||||||
</Style> |
|
||||||
<Style imageLayout="1"> |
|
||||||
<FRFont name="SimSun" style="1" size="72"> |
|
||||||
<foreground> |
|
||||||
<FineColor color="-6737152" hor="-1" ver="-1"/> |
|
||||||
</foreground> |
|
||||||
</FRFont> |
|
||||||
<Background name="NullBackground"/> |
|
||||||
<Border/> |
|
||||||
</Style> |
|
||||||
</StyleList> |
|
||||||
<DesignerVersion DesignerVersion="LAA"/> |
|
||||||
<PreviewType PreviewType="1"/> |
|
||||||
<TemplateThemeAttrMark class="com.fr.base.iofile.attr.TemplateThemeAttrMark"> |
|
||||||
<TemplateThemeAttrMark name="兼容主题" dark="false"/> |
|
||||||
</TemplateThemeAttrMark> |
|
||||||
<StrategyConfigsAttr class="com.fr.esd.core.strategy.persistence.StrategyConfigsAttr"> |
|
||||||
<StrategyConfigs/> |
|
||||||
</StrategyConfigsAttr> |
|
||||||
<TemplateCloudInfoAttrMark class="com.fr.plugin.cloud.analytics.attr.TemplateInfoAttrMark" pluginID="com.fr.plugin.cloud.analytics.v11" plugin-version="3.7.0.20220804"> |
|
||||||
<TemplateCloudInfoAttrMark createTime="1639012631677"/> |
|
||||||
</TemplateCloudInfoAttrMark> |
|
||||||
<TemplateIdAttMark class="com.fr.base.iofile.attr.TemplateIdAttrMark"> |
|
||||||
<TemplateIdAttMark TemplateId="02c4a67b-9af2-4370-a23b-2d6a93bb018c"/> |
|
||||||
</TemplateIdAttMark> |
|
||||||
</WorkBook> |
|
Loading…
Reference in new issue