|
沙發
樓主 |
發表於 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> |
|