|
楼主 |
发表于 2018-6-16 08:58:15
|
显示全部楼层
<?xml version="1.0" encoding="utf-8"?>
<!-- CAXA PDEM file and viewer map define here -->
<!-- 图文档开发小组 -->
<!-- 版权属于CAXA -->
<!-- -->
<!-- ************** 编辑时请参照如下说明 ************* -->
<!-- VIEW name 项为系统自定义的viewer名称,任意定义 -->
<!-- prog_id 项为VIEWER的PROGID,可参考ActiveX COM -->
<!-- file_ext项为该viewer能够显示的文件后缀名,;不能-->
<!-- 少 -->
<!-- description项为viewer的描述,任意定义 -->
<!-- METHOD name项为系统统一的方法名,不能修改,InitViewer-->
<!-- 表示系统统一的文件浏览器初始方法,具体的viewer -->
<!-- 怎么如何初始化,则为nameinctrl项所定义的方法 -->
<!-- METHOD name项为系统统一的方法名,不能修改,OpenFile -->
<!-- 表示系统统一的打开文件浏览的方法,具体的viewer -->
<!-- 怎么打开文件浏览,则为nameinctrl项所定义的方法 -->
<!-- METHOD name项为系统统一的方法名,不能修改,AfterOpenFile -->
<!-- 表示系统统一的打开文件后的方法 -->
<!-- METHOD name项为系统统一的方法名,不能修改,CloseFile -->
<!-- 表示系统统一的关闭文件浏览的方法,具体的viewer -->
<!-- 怎么关闭文件浏览,则为nameinctrl项所定义的方法 -->
<!-- PARAM vt项表示方法参数的类型,其值如下定义: -->
<!-- VT_EMPTY= 0 -->
<!-- VT_NULL = 1 -->
<!-- VT_I2 = 2 -->
<!-- VT_I4 = 3 -->
<!-- VT_R4 = 4 -->
<!-- VT_R8 = 5 -->
<!-- VT_CY = 6 -->
<!-- VT_DATE = 7 -->
<!-- VT_BSTR = 8 -->
<!-- value项为参数值,如果该值由统一方法传入,该值 -->
<!-- 为空,同时PARAM值为YES -->
<!-- OPENTYPE = 0,代表使用控件ID打开 -->
<!-- OPENTYPE = 1,代表使用ShellExe打开 -->
<!-- OPENTYPE = 2,代表使用CreateProcess打开 -->
<!-- ************************************************* -->
<ALLVIEW>
<VIEW name="CAXA View" prog_id="CAXAVIEW.CaxaViewCtrl.1" file_ext="exb;dwg;cxp;" description="" opentype ="0">
<METHOD name="OpenFile" nameinctrl="OpenFile">
<PARAM vt="8" value="">YES</PARAM>
</METHOD>
</VIEW>
<VIEW name="Image View" prog_id="CAXIMAGEOCX.CaxImageOcxCtrl.1" file_ext="bmp;jpg;gif;png;tif;" description="" opentype ="0">
<METHOD name="OpenFile" nameinctrl="SetImageFile">
<PARAM vt="8" value="">YES</PARAM>
</METHOD>
</VIEW>
<VIEW name="SWF View" prog_id="ShockwaveFlash.ShockwaveFlash" file_ext="swf;" description="" opentype ="0">
<METHOD name="OpenFile" nameinctrl="LoadMovie">
<PARAM vt="3" value="0">NO</PARAM>
<PARAM vt="8" value="">YES</PARAM>
</METHOD>
</VIEW>
<VIEW name="Office View" prog_id="WEBOFFICE.WebOfficeCtrl.1" file_ext="xls;xlsx;" description="" opentype ="0">
<METHOD name="OpenFile" nameinctrl="LoadOriginalFile">
<PARAM vt="8" value="">YES</PARAM>
<PARAM vt="8" value="xls">NO</PARAM>
</METHOD>
<METHOD name="afteropenfile" nameinctrl="HideMenuArea">
<PARAM vt="8" value="hideall">NO</PARAM>
<PARAM vt="8" value="">NO</PARAM>
<PARAM vt="8" value="">NO</PARAM>
<PARAM vt="8" value="">NO</PARAM>
</METHOD>
<METHOD name="initviewer" nameinctrl="ReadOnly" property="yes">
<PARAM vt="2" value="1">NO</PARAM>
</METHOD>
<METHOD name="initviewer" nameinctrl="ShowToolBar" property="yes">
<PARAM vt="3" value="0">NO</PARAM>
</METHOD>
</VIEW>
<VIEW name="Office View" prog_id="WEBOFFICE.WebOfficeCtrl.1" file_ext="doc;docx;" description="" opentype ="0">
<METHOD name="OpenFile" nameinctrl="LoadOriginalFile">
<PARAM vt="8" value="">YES</PARAM>
<PARAM vt="8" value="doc">NO</PARAM>
</METHOD>
<METHOD name="afteropenfile" nameinctrl="HideMenuArea">
<PARAM vt="8" value="hideall">NO</PARAM>
<PARAM vt="8" value="">NO</PARAM>
<PARAM vt="8" value="">NO</PARAM>
<PARAM vt="8" value="">NO</PARAM>
</METHOD>
<METHOD name="afteropenfile" nameinctrl="HideMenuArea">
<PARAM vt="8" value="">NO</PARAM>
<PARAM vt="8" value="">NO</PARAM>
<PARAM vt="8" value="">NO</PARAM>
<PARAM vt="8" value="">NO</PARAM>
</METHOD>
<METHOD name="initviewer" nameinctrl="ReadOnly" property="yes">
<PARAM vt="2" value="1">NO</PARAM>
</METHOD>
<METHOD name="initviewer" nameinctrl="ShowToolBar" property="yes">
<PARAM vt="3" value="0">NO</PARAM>
</METHOD>
</VIEW>
<VIEW name="Office View" prog_id="DSOFramer.FramerControl" file_ext="doc;docx;ppt;pptx;xls;xlsx;" description="" opentype ="0">
<METHOD name="OpenFile" nameinctrl="open">
<PARAM vt="8" value="">YES</PARAM>
</METHOD>
<METHOD name="initviewer" nameinctrl="Menubar" property="yes">
<PARAM vt="8" value="0">NO</PARAM>
</METHOD>
<METHOD name="initviewer" nameinctrl="Titlebar" property="yes">
<PARAM vt="8" value="0">NO</PARAM>
</METHOD>
<METHOD name="initviewer" nameinctrl="Toolbars" property="yes">
<PARAM vt="8" value="0">NO</PARAM>
</METHOD>
<METHOD name="CloseFile" nameinctrl="Close">
<PARAM vt="8" value="">NO</PARAM>
</METHOD>
</VIEW>
<VIEW name="Office View" prog_id="OA.OACtrl.1" file_ext="doc;docx;ppt;pptx;xls;xlsx;" description="" opentype ="0">
<METHOD name="OpenFile" nameinctrl="open">
<PARAM vt="8" value="">YES</PARAM>
</METHOD>
<METHOD name="CloseFile" nameinctrl="Close">
</METHOD>
</VIEW>
<VIEW name="Office View" prog_id="Shell.Explorer.2" file_ext="doc;docx;txt;ppt;xls;icd;cut;nc;xlsx;" description="" opentype ="0">
<METHOD name="OpenFile" nameinctrl="Navigate">
<PARAM vt="8" value="">YES</PARAM>
</METHOD>
</VIEW>
<VIEW name="AutoVueX View" prog_id="AUTOVUEX.AutoVueXCtrl.1" file_ext="prt;asm;pdf;prt;asm;doc;docx;txt;ppt;xlsx;igs;stp;stl;obj;vsd;psd;pdd;sch;pcb;jpg;ai;tif;bmp;ddb;icd;cut;nc;igs;stp;sldprt;sldasm;slddrw;1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20;21;22;23;h;hex;hxl;lst;map;mcp;mcs;rlf;sdb;sym;c;pre;as;aop;bat;cml;cpj;i;pji;rrp;s;dt;hbp;hws;tws;ini;inc;a30;hwp;nav;tps;cds;lib;bkp;a51;lnp;m51;opt;orc;plg;uv2;bak;SchPreview;dpm;log;cod;cof;lde;mcw;mptags;tagsrc;cce;o;" description="" opentype ="0">
<METHOD name="OpenFile" nameinctrl="SRC">
<PARAM vt="8" value="">YES</PARAM>
</METHOD>
<METHOD name="initviewer" nameinctrl="SetPrintOptions">
<PARAM vt="8" value="PRINT_OPT_DISABLE_PRINT">NO</PARAM>
<PARAM vt="8" value="TRUE">NO</PARAM>
</METHOD>
</VIEW>
<VIEW name="HSF View" prog_id="ICSViewer.ICSViewerCtrl.1" file_ext="ics;hsf;" description="" opentype ="0">
<METHOD name="OpenFile" nameinctrl="FileName" property="yes">
<PARAM vt="8" value="">YES</PARAM>
</METHOD>
</VIEW>
<VIEW name="eDrawings Popup View" prog_id="PopupViewer.exe /v /edrawings /f " file_ext="sldprt;sldasm;slddrw;" description="" opentype ="2">
</VIEW>
<VIEW name="eDrawings View" prog_id="EModelView.EModelViewControl" file_ext="sldprt;sldasm;slddrw;" description="" opentype ="0">
<METHOD name="OpenFile" nameinctrl="Filename" property="yes">
<PARAM vt="8" value="">YES</PARAM>
</METHOD>
<METHOD name="CloseFile" nameinctrl="CloseActiveDoc">
<PARAM vt="8" value="">NO</PARAM>
</METHOD>
</VIEW>
<VIEW name="PDF VIEW" prog_id="AcroPDF.PDF" file_ext="pdf;" description="" opentype ="0">
<METHOD name="OpenFile" nameinctrl="LoadFile">
<PARAM vt="8" value="">YES</PARAM>
</METHOD>
<METHOD name="initviewer" nameinctrl="setShowToolbar">
<PARAM vt="2" value="0">NO</PARAM>
</METHOD>
</VIEW>
<VIEW name="PDF View" prog_id="AcroRd32.exe" file_ext="pdf;" description="" opentype ="2">
<METHOD name="OpenFile" nameinctrl="Filename" property="yes">
<PARAM vt="8" value="">YES</PARAM>
</METHOD>
</VIEW>
<VIEW name="EXE View" prog_id="" file_ext="exe;bat;com" description="" opentype ="1">
<METHOD name="OpenFile" nameinctrl="Filename" property="yes">
<PARAM vt="8" value="">YES</PARAM>
</METHOD>
</VIEW>
<VIEW name="KM View" prog_id="DRAWKM32.DrawKm32Ctrl.1" file_ext="kmg;" description="" opentype ="0">
<METHOD name="OpenFile" nameinctrl="Filename" property="yes">
<PARAM vt="8" value="">YES</PARAM>
</METHOD>
</VIEW>
<VIEW name="Caxa WorkFlow Template View" prog_id="EAP.WfViewerCtrl.1" file_ext="wft;" description="" opentype ="0">
<METHOD name="OpenFile" nameinctrl="Filename" property="yes">
<PARAM vt="8" value="">YES</PARAM>
</METHOD>
</VIEW>
<VIEW name="AVI View" prog_id="Storm.exe" file_ext="avi;" description="" opentype="1">
<METHOD name="OpenFile" nameinctrl="Filename" property="yes">
<PARAM vt="8" value="">YES</PARAM>
</METHOD>
</VIEW>
<VIEW name="proe View" prog_id="PVACTIVEX.PVactiveXCtrl.1" file_ext="1;2;3;4;5;6;7;8;9;" description="" opentype="0">
<METHOD name="OpenFile" nameinctrl="setFileName">
<PARAM vt="8" value="">YES</PARAM>
</METHOD>
</VIEW>
<VIEW name="proe View2" prog_id="PVIEW.pviewCtrl.1" file_ext="1;2;3;4;5;6;7;8;9;" description="" opentype="0">
<METHOD name="OpenFile" nameinctrl="sourceUrl">
<PARAM vt="8" value="">YES</PARAM>
</METHOD>
<METHOD name="initviewer" nameinctrl="renderatstartup">
<PARAM vt="8" value="True">NO</PARAM>
</METHOD>
<METHOD name="initviewer" nameinctrl="thumbnailView">
<PARAM vt="8" value="True">NO</PARAM>
</METHOD>
</VIEW>
<VIEW name="Inventor View" prog_id="Inventor.ViewControl.1" file_ext="ipt;iam;idw;" description="" opentype ="0">
<METHOD name="OpenFile" nameinctrl="FileName" property="yes">
<PARAM vt="8" value="">YES</PARAM>
</METHOD>
</VIEW>
<VIEW name="GWD View" prog_id="VIEWGWD.ViewGwdCtrl.1" file_ext="gwd;" description="" opentype="0">
<METHOD name="OpenFile" nameinctrl="SRC">
<PARAM vt="8" value="">YES</PARAM>
</METHOD>
</VIEW>
</ALLVIEW> |
|