using System;
using System.Collections.Generic;
using System.Text;

namespace onlyconnect
{
    public class commandids
    {
        //MSHTML Command IDs
        //----------------------------------------------------------------------------
        //
        // MSHTML Command IDs
        //
        //----------------------------------------------------------------------------

        public const int IDM_UNKNOWN = 0;
        public const int IDM_ALIGNBOTTOM = 1;
        public const int IDM_ALIGNHORIZONTALCENTERS = 2;
        public const int IDM_ALIGNLEFT = 3;
        public const int IDM_ALIGNRIGHT = 4;
        public const int IDM_ALIGNTOGRID = 5;
        public const int IDM_ALIGNTOP = 6;
        public const int IDM_ALIGNVERTICALCENTERS = 7;
        public const int IDM_ARRANGEBOTTOM = 8;
        public const int IDM_ARRANGERIGHT = 9;
        public const int IDM_BRINGFORWARD = 10;
        public const int IDM_BRINGTOFRONT = 11;
        public const int IDM_CENTERHORIZONTALLY = 12;
        public const int IDM_CENTERVERTICALLY = 13;
        public const int IDM_CODE = 14;
        public const int IDM_DELETE = 17;
        public const int IDM_FONTNAME = 18;
        public const int IDM_FONTSIZE = 19;
        public const int IDM_GROUP = 20;
        public const int IDM_HORIZSPACECONCATENATE = 21;
        public const int IDM_HORIZSPACEDECREASE = 22;
        public const int IDM_HORIZSPACEINCREASE = 23;
        public const int IDM_HORIZSPACEMAKEEQUAL = 24;
        public const int IDM_INSERTOBJECT = 25;
        public const int IDM_MULTILEVELREDO = 30;
        public const int IDM_SENDBACKWARD = 32;
        public const int IDM_SENDTOBACK = 33;
        public const int IDM_SHOWTABLE = 34;
        public const int IDM_SIZETOCONTROL = 35;
        public const int IDM_SIZETOCONTROLHEIGHT = 36;
        public const int IDM_SIZETOCONTROLWIDTH = 37;
        public const int IDM_SIZETOFIT = 38;
        public const int IDM_SIZETOGRID = 39;
        public const int IDM_SNAPTOGRID = 40;
        public const int IDM_TABORDER = 41;
        public const int IDM_TOOLBOX = 42;
        public const int IDM_MULTILEVELUNDO = 44;
        public const int IDM_UNGROUP = 45;
        public const int IDM_VERTSPACECONCATENATE = 46;
        public const int IDM_VERTSPACEDECREASE = 47;
        public const int IDM_VERTSPACEINCREASE = 48;
        public const int IDM_VERTSPACEMAKEEQUAL = 49;
        public const int IDM_JUSTIFYFULL = 50;
        public const int IDM_BACKCOLOR = 51;
        public const int IDM_BOLD = 52;
        public const int IDM_BORDERCOLOR = 53;
        public const int IDM_FLAT = 54;
        public const int IDM_FORECOLOR = 55;
        public const int IDM_ITALIC = 56;
        public const int IDM_JUSTIFYCENTER = 57;
        public const int IDM_JUSTIFYGENERAL = 58;
        public const int IDM_JUSTIFYLEFT = 59;
        public const int IDM_JUSTIFYRIGHT = 60;
        public const int IDM_RAISED = 61;
        public const int IDM_SUNKEN = 62;
        public const int IDM_UNDERLINE = 63;
        public const int IDM_CHISELED = 64;
        public const int IDM_ETCHED = 65;
        public const int IDM_SHADOWED = 66;
        public const int IDM_FIND = 67;
        public const int IDM_SHOWGRID = 69;
        public const int IDM_OBJECTVERBLIST0 = 72;
        public const int IDM_OBJECTVERBLIST1 = 73;
        public const int IDM_OBJECTVERBLIST2 = 74;
        public const int IDM_OBJECTVERBLIST3 = 75;
        public const int IDM_OBJECTVERBLIST4 = 76;
        public const int IDM_OBJECTVERBLIST5 = 77;
        public const int IDM_OBJECTVERBLIST6 = 78;
        public const int IDM_OBJECTVERBLIST7 = 79;
        public const int IDM_OBJECTVERBLIST8 = 80;
        public const int IDM_OBJECTVERBLIST9 = 81;
        public const int IDM_OBJECTVERBLISTLAST = IDM_OBJECTVERBLIST9;
        public const int IDM_CONVERTOBJECT = 82;
        public const int IDM_CUSTOMCONTROL = 83;
        public const int IDM_CUSTOMIZEITEM = 84;
        public const int IDM_RENAME = 85;
        public const int IDM_IMPORT = 86;
        public const int IDM_NEWPAGE = 87;
        public const int IDM_MOVE = 88;
        public const int IDM_CANCEL = 89;
        public const int IDM_FONT = 90;
        public const int IDM_STRIKETHROUGH = 91;
        public const int IDM_DELETEWORD = 92;
        public const int IDM_EXECPRINT = 93;
        public const int IDM_JUSTIFYNONE = 94;
        public const int IDM_TRISTATEBOLD = 95;
        public const int IDM_TRISTATEITALIC = 96;
        public const int IDM_TRISTATEUNDERLINE = 97;

        public const int IDM_FOLLOW_ANCHOR = 2008;

        public const int IDM_INSINPUTIMAGE = 2114;
        public const int IDM_INSINPUTBUTTON = 2115;
        public const int IDM_INSINPUTRESET = 2116;
        public const int IDM_INSINPUTSUBMIT = 2117;
        public const int IDM_INSINPUTUPLOAD = 2118;
        public const int IDM_INSFIELDSET = 2119;

        public const int IDM_PASTEINSERT = 2120;
        public const int IDM_REPLACE = 2121;
        public const int IDM_EDITSOURCE = 2122;
        public const int IDM_BOOKMARK = 2123;
        public const int IDM_HYPERLINK = 2124;
        public const int IDM_UNLINK = 2125;
        public const int IDM_BROWSEMODE = 2126;
        public const int IDM_EDITMODE = 2127;
        public const int IDM_UNBOOKMARK = 2128;

        public const int IDM_TOOLBARS = 2130;
        public const int IDM_STATUSBAR = 2131;
        public const int IDM_FORMATMARK = 2132;
        public const int IDM_TEXTONLY = 2133;
        public const int IDM_OPTIONS = 2135;
        public const int IDM_FOLLOWLINKC = 2136;
        public const int IDM_FOLLOWLINKN = 2137;
        public const int IDM_VIEWSOURCE = 2139;
        public const int IDM_ZOOMPOPUP = 2140;

        // IDM_BASELINEFONT1, IDM_BASELINEFONT2, IDM_BASELINEFONT3, IDM_BASELINEFONT4,
        // and IDM_BASELINEFONT5 should be consecutive integers;
        //
        public const int IDM_BASELINEFONT1 = 2141;
        public const int IDM_BASELINEFONT2 = 2142;
        public const int IDM_BASELINEFONT3 = 2143;
        public const int IDM_BASELINEFONT4 = 2144;
        public const int IDM_BASELINEFONT5 = 2145;

        public const int IDM_HORIZONTALLINE = 2150;
        public const int IDM_LINEBREAKNORMAL = 2151;
        public const int IDM_LINEBREAKLEFT = 2152;
        public const int IDM_LINEBREAKRIGHT = 2153;
        public const int IDM_LINEBREAKBOTH = 2154;
        public const int IDM_NONBREAK = 2155;
        public const int IDM_SPECIALCHAR = 2156;
        public const int IDM_HTMLSOURCE = 2157;
        public const int IDM_IFRAME = 2158;
        public const int IDM_HTMLCONTAIN = 2159;
        public const int IDM_TEXTBOX = 2161;
        public const int IDM_TEXTAREA = 2162;
        public const int IDM_CHECKBOX = 2163;
        public const int IDM_RADIOBUTTON = 2164;
        public const int IDM_DROPDOWNBOX = 2165;
        public const int IDM_LISTBOX = 2166;
        public const int IDM_BUTTON = 2167;
        public const int IDM_IMAGE = 2168;
        public const int IDM_OBJECT = 2169;
        public const int IDM_1D = 2170;
        public const int IDM_IMAGEMAP = 2171;
        public const int IDM_FILE = 2172;
        public const int IDM_COMMENT = 2173;
        public const int IDM_SCRIPT = 2174;
        public const int IDM_JAVAAPPLET = 2175;
        public const int IDM_PLUGIN = 2176;
        public const int IDM_PAGEBREAK = 2177;
        public const int IDM_HTMLAREA = 2178;

        public const int IDM_PARAGRAPH = 2180;
        public const int IDM_FORM = 2181;
        public const int IDM_MARQUEE = 2182;
        public const int IDM_LIST = 2183;
        public const int IDM_ORDERLIST = 2184;
        public const int IDM_UNORDERLIST = 2185;
        public const int IDM_INDENT = 2186;
        public const int IDM_OUTDENT = 2187;
        public const int IDM_PREFORMATTED = 2188;
        public const int IDM_ADDRESS = 2189;
        public const int IDM_BLINK = 2190;
        public const int IDM_DIV = 2191;

        public const int IDM_TABLEINSERT = 2200;
        public const int IDM_RCINSERT = 2201;
        public const int IDM_CELLINSERT = 2202;
        public const int IDM_CAPTIONINSERT = 2203;
        public const int IDM_CELLMERGE = 2204;
        public const int IDM_CELLSPLIT = 2205;
        public const int IDM_CELLSELECT = 2206;
        public const int IDM_ROWSELECT = 2207;
        public const int IDM_COLUMNSELECT = 2208;
        public const int IDM_TABLESELECT = 2209;
        public const int IDM_TABLEPROPERTIES = 2210;
        public const int IDM_CELLPROPERTIES = 2211;
        public const int IDM_ROWINSERT = 2212;
        public const int IDM_COLUMNINSERT = 2213;

        public const int IDM_HELP_CONTENT = 2220;
        public const int IDM_HELP_ABOUT = 2221;
        public const int IDM_HELP_README = 2222;

        public const int IDM_REMOVEFORMAT = 2230;
        public const int IDM_PAGEINFO = 2231;
        public const int IDM_TELETYPE = 2232;
        public const int IDM_GETBLOCKFMTS = 2233;
        public const int IDM_BLOCKFMT = 2234;
        public const int IDM_SHOWHIDE_CODE = 2235;
        public const int IDM_TABLE = 2236;

        public const int IDM_COPYFORMAT = 2237;
        public const int IDM_PASTEFORMAT = 2238;
        public const int IDM_GOTO = 2239;

        public const int IDM_CHANGEFONT = 2240;
        public const int IDM_CHANGEFONTSIZE = 2241;
        public const int IDM_CHANGECASE = 2246;
        public const int IDM_SHOWSPECIALCHAR = 2249;

        public const int IDM_SUBSCRIPT = 2247;
        public const int IDM_SUPERSCRIPT = 2248;

        public const int IDM_CENTERALIGNPARA = 2250;
        public const int IDM_LEFTALIGNPARA = 2251;
        public const int IDM_RIGHTALIGNPARA = 2252;
        public const int IDM_REMOVEPARAFORMAT = 2253;
        public const int IDM_APPLYNORMAL = 2254;
        public const int IDM_APPLYHEADING1 = 2255;
        public const int IDM_APPLYHEADING2 = 2256;
        public const int IDM_APPLYHEADING3 = 2257;

        public const int IDM_DOCPROPERTIES = 2260;
        public const int IDM_ADDFAVORITES = 2261;
        public const int IDM_COPYSHORTCUT = 2262;
        public const int IDM_SAVEBACKGROUND = 2263;
        public const int IDM_SETWALLPAPER = 2264;
        public const int IDM_COPYBACKGROUND = 2265;
        public const int IDM_CREATESHORTCUT = 2266;
        public const int IDM_PAGE = 2267;
        public const int IDM_SAVETARGET = 2268;
        public const int IDM_SHOWPICTURE = 2269;
        public const int IDM_SAVEPICTURE = 2270;
        public const int IDM_DYNSRCPLAY = 2271;
        public const int IDM_DYNSRCSTOP = 2272;
        public const int IDM_PRINTTARGET = 2273;
        public const int IDM_IMGARTPLAY = 2274;
        public const int IDM_IMGARTSTOP = 2275;
        public const int IDM_IMGARTREWIND = 2276;
        public const int IDM_PRINTQUERYJOBSPENDING = 2277;
        public const int IDM_SETDESKTOPITEM = 2278;
        public const int IDM_CONTEXTMENU = 2280;
        public const int IDM_GOBACKWARD = 2282;
        public const int IDM_GOFORWARD = 2283;
        public const int IDM_PRESTOP = 2284;

        public const int IDM_MP_MYPICS = 2287;
        public const int IDM_MP_EMAILPICTURE = 2288;
        public const int IDM_MP_PRINTPICTURE = 2289;

        public const int IDM_CREATELINK = 2290;
        public const int IDM_COPYCONTENT = 2291;

        public const int IDM_LANGUAGE = 2292;

        public const int IDM_GETPRINTTEMPLATE = 2295;
        public const int IDM_SETPRINTTEMPLATE = 2296;
        public const int IDM_TEMPLATE_PAGESETUP = 2298;

        public const int IDM_REFRESH = 2300;
        public const int IDM_STOPDOWNLOAD = 2301;

        public const int IDM_ENABLE_INTERACTION = 2302;

        public const int IDM_LAUNCHDEBUGGER = 2310;
        public const int IDM_BREAKATNEXT = 2311;

        public const int IDM_INSINPUTHIDDEN = 2312;
        public const int IDM_INSINPUTPASSWORD = 2313;

        public const int IDM_OVERWRITE = 2314;

        public const int IDM_PARSECOMPLETE = 2315;

        public const int IDM_HTMLEDITMODE = 2316;

        public const int IDM_REGISTRYREFRESH = 2317;
        public const int IDM_COMPOSESETTINGS = 2318;

        public const int IDM_SHOWALLTAGS = 2327;
        public const int IDM_SHOWALIGNEDSITETAGS = 2321;
        public const int IDM_SHOWSCRIPTTAGS = 2322;
        public const int IDM_SHOWSTYLETAGS = 2323;
        public const int IDM_SHOWCOMMENTTAGS = 2324;
        public const int IDM_SHOWAREATAGS = 2325;
        public const int IDM_SHOWUNKNOWNTAGS = 2326;
        public const int IDM_SHOWMISCTAGS = 2320;
        public const int IDM_SHOWZEROBORDERATDESIGNTIME = 2328;

        public const int IDM_AUTODETECT = 2329;

        public const int IDM_SCRIPTDEBUGGER = 2330;

        public const int IDM_GETBYTESDOWNLOADED = 2331;

        public const int IDM_NOACTIVATENORMALOLECONTROLS = 2332;
        public const int IDM_NOACTIVATEDESIGNTIMECONTROLS = 2333;
        public const int IDM_NOACTIVATEJAVAAPPLETS = 2334;
        public const int IDM_NOFIXUPURLSONPASTE = 2335;

        public const int IDM_EMPTYGLYPHTABLE = 2336;
        public const int IDM_ADDTOGLYPHTABLE = 2337;
        public const int IDM_REMOVEFROMGLYPHTABLE = 2338;
        public const int IDM_REPLACEGLYPHCONTENTS = 2339;

        public const int IDM_SHOWWBRTAGS = 2340;

        public const int IDM_PERSISTSTREAMSYNC = 2341;
        public const int IDM_SETDIRTY = 2342;

        public const int IDM_RUNURLSCRIPT = 2343;


        public const int IDM_ZOOMRATIO = 2344;
        public const int IDM_GETZOOMNUMERATOR = 2345;
        public const int IDM_GETZOOMDENOMINATOR = 2346;


        // COMMANDS FOR COMPLEX TEXT
        public const int IDM_DIRLTR = 2350;
        public const int IDM_DIRRTL = 2351;
        public const int IDM_BLOCKDIRLTR = 2352;
        public const int IDM_BLOCKDIRRTL = 2353;
        public const int IDM_INLINEDIRLTR = 2354;
        public const int IDM_INLINEDIRRTL = 2355;

        // SHDOCVW
        public const int IDM_ISTRUSTEDDLG = 2356;

        // MSHTMLED
        public const int IDM_INSERTSPAN = 2357;
        public const int IDM_LOCALIZEEDITOR = 2358;

        // XML MIMEVIEWER
        public const int IDM_SAVEPRETRANSFORMSOURCE = 2370;
        public const int IDM_VIEWPRETRANSFORMSOURCE = 2371;

        // Scrollbar context menu
        public const int IDM_SCROLL_HERE = 2380;
        public const int IDM_SCROLL_TOP = 2381;
        public const int IDM_SCROLL_BOTTOM = 2382;
        public const int IDM_SCROLL_PAGEUP = 2383;
        public const int IDM_SCROLL_PAGEDOWN = 2384;
        public const int IDM_SCROLL_UP = 2385;
        public const int IDM_SCROLL_DOWN = 2386;
        public const int IDM_SCROLL_LEFTEDGE = 2387;
        public const int IDM_SCROLL_RIGHTEDGE = 2388;
        public const int IDM_SCROLL_PAGELEFT = 2389;
        public const int IDM_SCROLL_PAGERIGHT = 2390;
        public const int IDM_SCROLL_LEFT = 2391;
        public const int IDM_SCROLL_RIGHT = 2392;

        // IE 6 Form Editing Commands
        public const int IDM_MULTIPLESELECTION = 2393;
        public const int IDM_2D_POSITION = 2394;
        public const int IDM_2D_ELEMENT = 2395;
        public const int IDM_1D_ELEMENT = 2396;
        public const int IDM_ABSOLUTE_POSITION = 2397;
        public const int IDM_LIVERESIZE = 2398;
        public const int IDM_ATOMICSELECTION = 2399;

        // Auto URL detection mode
        public const int IDM_AUTOURLDETECT_MODE = 2400;

        // Legacy IE50 compatible paste
        public const int IDM_IE50_PASTE = 2401;

        // ie50 paste mode
        public const int IDM_IE50_PASTE_MODE = 2402;

        //;begin_public
        public const int IDM_GETIPRINT = 2403;
        //;end_public

        // for disabling selection handles
        public const int IDM_DISABLE_EDITFOCUS_UI = 2404;

        // for visibility/display in design
        public const int IDM_RESPECTVISIBILITY_INDESIGN = 2405;

        // set css mode
        public const int IDM_CSSEDITING_LEVEL = 2406;

        // New outdent
        public const int IDM_UI_OUTDENT = 2407;

        // Printing Status
        public const int IDM_UPDATEPAGESTATUS = 2408;

        // IME Reconversion 
        public const int IDM_IME_ENABLE_RECONVERSION = 2409;

        public const int IDM_KEEPSELECTION = 2410;

        public const int IDM_UNLOADDOCUMENT = 2411;

        public const int IDM_OVERRIDE_CURSOR = 2420;

        public const int IDM_PEERHITTESTSAMEINEDIT = 2423;

        public const int IDM_TRUSTAPPCACHE = 2425;

        public const int IDM_BACKGROUNDIMAGECACHE = 2430;

        public const int IDM_DEFAULTBLOCK = 6046;

        public const int IDM_MIMECSET__FIRST__ = 3609;
        public const int IDM_MIMECSET__LAST__ = 3699;

        public const int IDM_MENUEXT_FIRST__ = 3700;
        public const int IDM_MENUEXT_LAST__ = 3732;
        public const int IDM_MENUEXT_COUNT = 3733;

        // Commands mapped from the standard set.  We should
        // consider deleting them from public header files.

        public const int IDM_OPEN = 2000;
        public const int IDM_NEW = 2001;
        public const int IDM_SAVE = 70;
        public const int IDM_SAVEAS = 71;
        public const int IDM_SAVECOPYAS = 2002;
        public const int IDM_PRINTPREVIEW = 2003;
        public const int IDM_SHOWPRINT = 2010;
        public const int IDM_SHOWPAGESETUP = 2011;
        public const int IDM_PRINT = 27;
        public const int IDM_PAGESETUP = 2004;
        public const int IDM_SPELL = 2005;
        public const int IDM_PASTESPECIAL = 2006;
        public const int IDM_CLEARSELECTION = 2007;
        public const int IDM_PROPERTIES = 28;
        public const int IDM_REDO = 29;
        public const int IDM_UNDO = 43;
        public const int IDM_SELECTALL = 31;
        public const int IDM_ZOOMPERCENT = 50;
        public const int IDM_GETZOOM = 68;
        public const int IDM_STOP = 2138;
        public const int IDM_COPY = 15;
        public const int IDM_CUT = 16;
        public const int IDM_PASTE = 26;

        // Defines for IDM_ZOOMPERCENT
        public const int CMD_ZOOM_PAGEWIDTH = -1;
        public const int CMD_ZOOM_ONEPAGE = -2;
        public const int CMD_ZOOM_TWOPAGES = -3;
        public const int CMD_ZOOM_SELECTION = -4;
        public const int CMD_ZOOM_FIT = -5;

        // IDMs for CGID_EditStateCommands group 
        public const int IDM_CONTEXT = 1;
        public const int IDM_HWND = 2;

        // Shdocvw Execs on CGID_DocHostCommandHandler
        public const int IDM_NEW_TOPLEVELWINDOW = 7050;

        //
        // Undo persistence comands
        //
        public const int IDM_PRESERVEUNDOALWAYS = 6049;
        public const int IDM_PERSISTDEFAULTVALUES = 7100;
        public const int IDM_PROTECTMETATAGS = 7101;

        public const int IDM_GETFRAMEZONE = 6037;

        public const int IDM_FIRE_PRINTTEMPLATEUP = 15000;
        public const int IDM_FIRE_PRINTTEMPLATEDOWN = 15001;
        public const int IDM_SETPRINTHANDLES = 15002;



        //error codes
        public const int OLE_E_FIRST = -2147221504;
        public const int OLE_E_LAST = -2147221249;

        public const int OLECMDERR_E_FIRST = (OLE_E_LAST + 1);
        public const int OLECMDERR_E_NOTSUPPORTED = (OLECMDERR_E_FIRST); //-2147221248
        public const int OLECMDERR_E_DISABLED = (OLECMDERR_E_FIRST + 1); //-2147221247
        public const int OLECMDERR_E_NOHELP = (OLECMDERR_E_FIRST + 2); //-2147221246
        public const int OLECMDERR_E_CANCELED = (OLECMDERR_E_FIRST + 3); //-2147221245
        public const int OLECMDERR_E_UNKNOWNGROUP = (OLECMDERR_E_FIRST + 4); //-2147221244

        public const int MSOCMDERR_E_FIRST = OLECMDERR_E_FIRST;
        public const int MSOCMDERR_E_NOTSUPPORTED = OLECMDERR_E_NOTSUPPORTED;
        public const int MSOCMDERR_E_DISABLED = OLECMDERR_E_DISABLED;
        public const int MSOCMDERR_E_NOHELP = OLECMDERR_E_NOHELP;
        public const int MSOCMDERR_E_CANCELED = OLECMDERR_E_CANCELED;
        public const int MSOCMDERR_E_UNKNOWNGROUP = OLECMDERR_E_UNKNOWNGROUP;



    }

    public enum OLECMDID : uint
    {
        OLECMDID_OPEN = 1,
        OLECMDID_NEW = 2,
        OLECMDID_SAVE = 3,
        OLECMDID_SAVEAS = 4,
        OLECMDID_SAVECOPYAS = 5,
        OLECMDID_PRINT = 6,
        OLECMDID_PRINTPREVIEW = 7,
        OLECMDID_PAGESETUP = 8,
        OLECMDID_SPELL = 9,
        OLECMDID_PROPERTIES = 10,
        OLECMDID_CUT = 11,
        OLECMDID_COPY = 12,
        OLECMDID_PASTE = 13,
        OLECMDID_PASTESPECIAL = 14,
        OLECMDID_UNDO = 15,
        OLECMDID_REDO = 16,
        OLECMDID_SELECTALL = 17,
        OLECMDID_CLEARSELECTION = 18,
        OLECMDID_ZOOM = 19,
        OLECMDID_GETZOOMRANGE = 20,
        OLECMDID_UPDATECOMMANDS = 21,
        OLECMDID_REFRESH = 22,
        OLECMDID_STOP = 23,
        OLECMDID_HIDETOOLBARS = 24,
        OLECMDID_SETPROGRESSMAX = 25,
        OLECMDID_SETPROGRESSPOS = 26,
        OLECMDID_SETPROGRESSTEXT = 27,
        OLECMDID_SETTITLE = 28,
        OLECMDID_SETDOWNLOADSTATE = 29,
        OLECMDID_STOPDOWNLOAD = 30,
        OLECMDID_ONTOOLBARACTIVATED = 31,
        OLECMDID_FIND = 32,
        OLECMDID_DELETE = 33,
        OLECMDID_HTTPEQUIV = 34,
        OLECMDID_HTTPEQUIV_DONE = 35,
        OLECMDID_ENABLE_INTERACTION = 36,
        OLECMDID_ONUNLOAD = 37,
        OLECMDID_PROPERTYBAG2 = 38,
        OLECMDID_PREREFRESH = 39,
        OLECMDID_SHOWSCRIPTERROR = 40,
        OLECMDID_SHOWMESSAGE = 41,
        OLECMDID_SHOWFIND = 42,
        OLECMDID_SHOWPAGESETUP = 43,
        OLECMDID_SHOWPRINT = 44,
        OLECMDID_CLOSE = 45,
        OLECMDID_ALLOWUILESSSAVEAS = 46,
        OLECMDID_DONTDOWNLOADCSS = 47,
        OLECMDID_UPDATEPAGESTATUS = 48,
        OLECMDID_PRINT2 = 49,
        OLECMDID_PRINTPREVIEW2 = 50,
        OLECMDID_SETPRINTTEMPLATE = 51,
        OLECMDID_GETPRINTTEMPLATE = 52,
    }

    public enum OLECMDEXECOPT
    {
        OLECMDEXECOPT_DODEFAULT = 0,
        OLECMDEXECOPT_PROMPTUSER = 1,
        OLECMDEXECOPT_DONTPROMPTUSER = 2,
        OLECMDEXECOPT_SHOWHELP = 3
    }
}
