Merge branch 'master' of github.com:alcexhim/UniversalEditor
|
After Width: | Height: | Size: 75 KiB |
|
After Width: | Height: | Size: 4.7 KiB |
@ -0,0 +1,24 @@
|
||||
<UniversalEditor>
|
||||
<Application>
|
||||
<CommandBars>
|
||||
<CommandBar ID="tbStandard" Title="Standard">
|
||||
<Items>
|
||||
<CommandReference CommandID="FileNew" />
|
||||
<CommandReference CommandID="FileOpen" />
|
||||
<CommandReference CommandID="FileSave" />
|
||||
<CommandReference CommandID="FilePrint" />
|
||||
<Separator />
|
||||
<CommandReference CommandID="EditCut" />
|
||||
<CommandReference CommandID="EditCopy" />
|
||||
<CommandReference CommandID="EditPaste" />
|
||||
<CommandReference CommandID="EditDelete" />
|
||||
<Separator />
|
||||
<CommandReference CommandID="EditUndo" />
|
||||
<CommandReference CommandID="EditRedo" />
|
||||
<Separator />
|
||||
<CommandReference CommandID="Help" />
|
||||
</Items>
|
||||
</CommandBar>
|
||||
</CommandBars>
|
||||
</Application>
|
||||
</UniversalEditor>
|
||||
@ -0,0 +1,263 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<UniversalEditor>
|
||||
<Application>
|
||||
<Commands>
|
||||
<!-- File -->
|
||||
<Command ID="File">
|
||||
<Items>
|
||||
<CommandReference CommandID="FileNew" />
|
||||
<CommandReference CommandID="FileOpen" />
|
||||
<CommandReference CommandID="FileSave" />
|
||||
<CommandReference CommandID="FileClose" />
|
||||
<Separator />
|
||||
<CommandReference CommandID="FilePrint" />
|
||||
<Separator />
|
||||
<CommandReference CommandID="FileExit" />
|
||||
</Items>
|
||||
</Command>
|
||||
<Command ID="FileNew" DefaultCommandID="FileNewDocument">
|
||||
<Items>
|
||||
<CommandReference CommandID="FileNewDocument" />
|
||||
<CommandReference CommandID="FileNewProject" />
|
||||
</Items>
|
||||
</Command>
|
||||
<Command ID="FileNewDocument">
|
||||
<Shortcut Modifiers="Control" Key="N" />
|
||||
</Command>
|
||||
<Command ID="FileNewProject">
|
||||
<Shortcut Modifiers="Control,Shift" Key="N" />
|
||||
</Command>
|
||||
<Command ID="FileOpen" DefaultCommandID="FileOpenDocument">
|
||||
<Items>
|
||||
<CommandReference CommandID="FileOpenDocument" />
|
||||
<CommandReference CommandID="FileOpenProject" />
|
||||
</Items>
|
||||
</Command>
|
||||
<Command ID="FileOpenDocument">
|
||||
<Shortcut Modifiers="Control" Key="O" />
|
||||
</Command>
|
||||
<Command ID="FileOpenProject">
|
||||
<Shortcut Modifiers="Control,Shift" Key="O" />
|
||||
</Command>
|
||||
<Command ID="FileSave" DefaultCommandID="FileSaveDocument">
|
||||
<Items>
|
||||
<CommandReference CommandID="FileSaveDocument" />
|
||||
<CommandReference CommandID="FileSaveDocumentAs" />
|
||||
<Separator />
|
||||
<CommandReference CommandID="FileSaveProject" />
|
||||
<CommandReference CommandID="FileSaveProjectAs" />
|
||||
<Separator />
|
||||
<CommandReference CommandID="FileSaveAll" />
|
||||
</Items>
|
||||
</Command>
|
||||
<Command ID="FileSaveDocument">
|
||||
<Shortcut Modifiers="Control" Key="S" />
|
||||
</Command>
|
||||
<Command ID="FileSaveDocumentAs" />
|
||||
<Command ID="FileSaveProject" />
|
||||
<Command ID="FileSaveProjectAs" />
|
||||
<Command ID="FileSaveAll">
|
||||
<Shortcut Modifiers="Control,Shift" Key="S" />
|
||||
</Command>
|
||||
<Command ID="FileClose">
|
||||
<Items>
|
||||
<CommandReference CommandID="FileCloseDocument" />
|
||||
<CommandReference CommandID="FileCloseProject" />
|
||||
<Separator />
|
||||
<CommandReference CommandID="FileCloseWindow" />
|
||||
</Items>
|
||||
</Command>
|
||||
<Command ID="FileCloseDocument">
|
||||
<Shortcut Modifiers="Control" Key="W" />
|
||||
</Command>
|
||||
<Command ID="FileCloseProject">
|
||||
<Shortcut Modifiers="Control,Shift" Key="W" />
|
||||
</Command>
|
||||
<Command ID="FileCloseWindow">
|
||||
<Shortcut Modifiers="Alt" Key="F4" />
|
||||
</Command>
|
||||
<Command ID="FilePrint">
|
||||
<Shortcut Modifiers="Control" Key="P" />
|
||||
</Command>
|
||||
<Command ID="FileExit">
|
||||
<Shortcut Modifiers="Control" Key="Q" />
|
||||
</Command>
|
||||
|
||||
<!-- Edit -->
|
||||
<Command ID="Edit">
|
||||
<Items>
|
||||
<CommandReference CommandID="EditUndo" />
|
||||
<CommandReference CommandID="EditRedo" />
|
||||
<Separator />
|
||||
<CommandReference CommandID="EditCut" />
|
||||
<CommandReference CommandID="EditCopy" />
|
||||
<CommandReference CommandID="EditPaste" />
|
||||
<CommandReference CommandID="EditDelete" />
|
||||
<Separator />
|
||||
<CommandReference CommandID="EditSelectAll" />
|
||||
<CommandReference CommandID="EditInvertSelection" />
|
||||
<Separator />
|
||||
<CommandReference CommandID="EditFindReplace" />
|
||||
<CommandReference CommandID="EditGoTo" />
|
||||
</Items>
|
||||
</Command>
|
||||
<Command ID="EditUndo">
|
||||
<Shortcut Modifiers="Control" Key="Z" />
|
||||
</Command>
|
||||
<Command ID="EditRedo">
|
||||
<Shortcut Modifiers="Control" Key="Y" />
|
||||
</Command>
|
||||
<Command ID="EditCut">
|
||||
<Shortcut Modifiers="Control" Key="X" />
|
||||
</Command>
|
||||
<Command ID="EditCopy">
|
||||
<Shortcut Modifiers="Control" Key="C" />
|
||||
</Command>
|
||||
<Command ID="EditPaste">
|
||||
<Shortcut Modifiers="Control" Key="V" />
|
||||
</Command>
|
||||
<Command ID="EditDelete">
|
||||
<Shortcut Key="Delete" />
|
||||
</Command>
|
||||
<Command ID="EditSelectAll">
|
||||
<Shortcut Modifiers="Control" Key="A" />
|
||||
</Command>
|
||||
<Command ID="EditInvertSelection">
|
||||
<Shortcut Modifiers="Control,Shift" Key="A" />
|
||||
</Command>
|
||||
<Command ID="EditFindReplace">
|
||||
<Shortcut Modifiers="Control" Key="F" />
|
||||
</Command>
|
||||
<Command ID="EditGoTo">
|
||||
<Shortcut Modifiers="Control" Key="G" />
|
||||
</Command>
|
||||
|
||||
<!-- View -->
|
||||
<Command ID="View">
|
||||
<Items>
|
||||
<CommandReference CommandID="ViewToolbars" />
|
||||
<CommandReference CommandID="ViewStatusBar" />
|
||||
<Separator />
|
||||
<CommandReference CommandID="ViewPanels" />
|
||||
<Separator />
|
||||
<CommandReference CommandID="ViewStartPage" />
|
||||
<CommandReference CommandID="ViewFullScreen" />
|
||||
</Items>
|
||||
</Command>
|
||||
<Command ID="ViewToolbars">
|
||||
<Items>
|
||||
<CommandReference CommandID="ViewToolbarsCustomize" />
|
||||
</Items>
|
||||
</Command>
|
||||
<Command ID="ViewToolbarsCustomize" />
|
||||
<Command ID="ViewStatusBar" />
|
||||
<Command ID="ViewPanels" />
|
||||
<Command ID="ViewStartPage" />
|
||||
<Command ID="ViewFullScreen">
|
||||
<Shortcut Key="F11" />
|
||||
</Command>
|
||||
|
||||
<!-- Project -->
|
||||
<Command ID="Project">
|
||||
<Items>
|
||||
<CommandReference CommandID="ProjectAddNew" />
|
||||
<CommandReference CommandID="ProjectAddExisting" />
|
||||
<Separator />
|
||||
<CommandReference CommandID="ProjectExclude" />
|
||||
<CommandReference CommandID="ProjectShowAllFiles" />
|
||||
<Separator />
|
||||
<CommandReference CommandID="ProjectProperties" />
|
||||
</Items>
|
||||
</Command>
|
||||
<Command ID="ProjectAddNew">
|
||||
<Shortcut Modifiers="Control" Key="A" />
|
||||
</Command>
|
||||
<Command ID="ProjectAddExisting">
|
||||
<Shortcut Modifiers="Control,Shift" Key="A" />
|
||||
</Command>
|
||||
<Command ID="ProjectExclude" />
|
||||
<Command ID="ProjectShowAllFiles" />
|
||||
<Command ID="ProjectProperties" />
|
||||
|
||||
<Command ID="Bookmarks">
|
||||
<Items>
|
||||
<CommandReference CommandID="BookmarksAdd" />
|
||||
<CommandReference CommandID="BookmarksAddAll" />
|
||||
<Separator />
|
||||
<CommandReference CommandID="BookmarksManage" />
|
||||
</Items>
|
||||
</Command>
|
||||
<Command ID="BookmarksAdd">
|
||||
<Shortcut Modifiers="Control" Key="D" />
|
||||
</Command>
|
||||
<Command ID="BookmarksAddAll">
|
||||
<Shortcut Modifiers="Control,Shift" Key="D" />
|
||||
</Command>
|
||||
<Command ID="BookmarksManage" />
|
||||
|
||||
<Command ID="Tools">
|
||||
<Items>
|
||||
<CommandReference CommandID="ToolsSessionManager" />
|
||||
<Separator />
|
||||
<CommandReference CommandID="ToolsCustomize" />
|
||||
<CommandReference CommandID="ToolsOptions" />
|
||||
</Items>
|
||||
</Command>
|
||||
<Command ID="ToolsSessionManager" />
|
||||
<Command ID="ToolsCustomize" />
|
||||
<Command ID="ToolsOptions" />
|
||||
|
||||
<Command ID="Window">
|
||||
<Items>
|
||||
<CommandReference CommandID="WindowNewWindow" />
|
||||
<CommandReference CommandID="WindowSplit" />
|
||||
<Separator />
|
||||
<CommandReference CommandID="WindowFloat" />
|
||||
<CommandReference CommandID="WindowFloatAll" />
|
||||
<CommandReference CommandID="WindowDock" />
|
||||
<CommandReference CommandID="WindowAutoHide" />
|
||||
<CommandReference CommandID="WindowAutoHideAll" />
|
||||
<CommandReference CommandID="WindowHide" />
|
||||
<Separator />
|
||||
<CommandReference CommandID="WindowPinTab" />
|
||||
<Separator />
|
||||
<CommandReference CommandID="WindowNewTabGroupHorizontal" />
|
||||
<CommandReference CommandID="WindowNewTabGroupVertical" />
|
||||
<CommandReference CommandID="WindowCloseAllDocuments" />
|
||||
<CommandReference CommandID="WindowResetWindowLayout" />
|
||||
<Separator />
|
||||
<CommandReference CommandID="WindowWindows" />
|
||||
</Items>
|
||||
</Command>
|
||||
<Command ID="WindowNewWindow" />
|
||||
<Command ID="WindowSplit" />
|
||||
<Command ID="WindowFloat" />
|
||||
<Command ID="WindowFloatAll" />
|
||||
<Command ID="WindowDock" />
|
||||
<Command ID="WindowAutoHide" />
|
||||
<Command ID="WindowAutoHideAll" />
|
||||
<Command ID="WindowHide" />
|
||||
<Command ID="WindowPinTab" />
|
||||
<Command ID="WindowNewTabGroupHorizontal" />
|
||||
<Command ID="WindowNewTabGroupVertical" />
|
||||
<Command ID="WindowCloseAllDocuments" />
|
||||
<Command ID="WindowResetWindowLayout" />
|
||||
<Command ID="WindowWindows" />
|
||||
|
||||
<Command ID="Help" DefaultCommandID="HelpViewHelp">
|
||||
<Items>
|
||||
<CommandReference CommandID="HelpViewHelp" />
|
||||
<Separator />
|
||||
<CommandReference CommandID="HelpCustomerFeedbackOptions" />
|
||||
<CommandReference CommandID="HelpLicensingAndActivation" />
|
||||
<Separator />
|
||||
<CommandReference CommandID="HelpAboutPlatform" />
|
||||
</Items>
|
||||
</Command>
|
||||
<Command ID="HelpViewHelp" />
|
||||
<Command ID="HelpCustomerFeedbackOptions" />
|
||||
<Command ID="HelpLicensingAndActivation" />
|
||||
<Command ID="HelpAboutPlatform" />
|
||||
</Commands>
|
||||
</Application>
|
||||
</UniversalEditor>
|
||||
@ -0,0 +1,16 @@
|
||||
<UniversalEditor>
|
||||
<Application>
|
||||
<MainMenu>
|
||||
<Items>
|
||||
<CommandReference CommandID="File" />
|
||||
<CommandReference CommandID="Edit" />
|
||||
<CommandReference CommandID="View" />
|
||||
<CommandReference CommandID="Project" />
|
||||
<CommandReference CommandID="Bookmarks" />
|
||||
<CommandReference CommandID="Tools" />
|
||||
<CommandReference CommandID="Window" />
|
||||
<CommandReference CommandID="Help" />
|
||||
</Items>
|
||||
</MainMenu>
|
||||
</Application>
|
||||
</UniversalEditor>
|
||||
|
After Width: | Height: | Size: 314 B |
|
After Width: | Height: | Size: 370 B |
|
After Width: | Height: | Size: 412 B |
|
After Width: | Height: | Size: 262 B |
|
After Width: | Height: | Size: 265 B |
|
After Width: | Height: | Size: 223 B |
|
After Width: | Height: | Size: 225 B |
|
After Width: | Height: | Size: 223 B |
|
After Width: | Height: | Size: 309 B |
|
After Width: | Height: | Size: 226 B |
|
After Width: | Height: | Size: 240 B |
|
After Width: | Height: | Size: 309 B |
|
After Width: | Height: | Size: 226 B |
|
After Width: | Height: | Size: 309 B |
|
After Width: | Height: | Size: 266 B |
|
After Width: | Height: | Size: 256 B |
|
After Width: | Height: | Size: 309 B |
|
After Width: | Height: | Size: 309 B |
|
After Width: | Height: | Size: 309 B |
|
After Width: | Height: | Size: 279 B |
|
After Width: | Height: | Size: 302 B |
|
After Width: | Height: | Size: 309 B |
|
After Width: | Height: | Size: 218 B |
|
After Width: | Height: | Size: 249 B |
|
After Width: | Height: | Size: 242 B |
|
After Width: | Height: | Size: 262 B |
|
After Width: | Height: | Size: 211 B |
|
After Width: | Height: | Size: 309 B |
|
After Width: | Height: | Size: 256 B |
|
After Width: | Height: | Size: 234 B |
|
After Width: | Height: | Size: 189 B |
|
After Width: | Height: | Size: 214 B |
|
After Width: | Height: | Size: 528 B |
|
After Width: | Height: | Size: 386 B |
|
After Width: | Height: | Size: 316 B |
|
After Width: | Height: | Size: 643 B |
|
After Width: | Height: | Size: 837 B |
|
After Width: | Height: | Size: 741 B |
|
After Width: | Height: | Size: 976 B |
@ -0,0 +1,104 @@
|
||||
<UniversalEditor>
|
||||
<Application>
|
||||
<Languages DefaultLanguageID="English">
|
||||
<Language ID="English">
|
||||
<StringTable>
|
||||
<StringTableEntry ID="ApplicationTitle" Value="Universal Editor" />
|
||||
</StringTable>
|
||||
<Commands>
|
||||
<!-- File -->
|
||||
<Command ID="File" Title="_File" />
|
||||
<Command ID="FileNew" Title="_New" />
|
||||
<Command ID="FileNewDocument" Title="_Document..." />
|
||||
<Command ID="FileNewProject" Title="_Project/Solution..." />
|
||||
|
||||
<Command ID="FileOpen" Title="_Open" />
|
||||
<Command ID="FileOpenDocument" Title="_Document..." />
|
||||
<Command ID="FileOpenProject" Title="_Project/Solution..." />
|
||||
|
||||
<Command ID="FileSave" Title="_Save" />
|
||||
<Command ID="FileSaveDocument" Title="_Document..." />
|
||||
<Command ID="FileSaveDocumentAs" Title="Document with Other N_ame..." />
|
||||
<Command ID="FileSaveProject" Title="_Project/Solution..." />
|
||||
<Command ID="FileSaveProjectAs" Title="Pro_ject/Solution with Other Name..." />
|
||||
<Command ID="FileSaveAll" Title="A_ll Documents and Projects" />
|
||||
|
||||
<Command ID="FileClose" Title="_Close" />
|
||||
<Command ID="FileCloseDocument" Title="_Document" />
|
||||
<Command ID="FileCloseProject" Title="_Project/Solution" />
|
||||
<Command ID="FileCloseWindow" Title="_Window" />
|
||||
|
||||
<Command ID="FilePrint" Title="_Print..." />
|
||||
|
||||
<Command ID="FileExit" Title="E_xit" />
|
||||
|
||||
<!-- Edit -->
|
||||
<Command ID="Edit" Title="_Edit" />
|
||||
<Command ID="EditUndo" Title="_Undo" />
|
||||
<Command ID="EditRedo" Title="_Redo" />
|
||||
<Command ID="EditCut" Title="Cu_t" />
|
||||
<Command ID="EditCopy" Title="_Copy" />
|
||||
<Command ID="EditPaste" Title="_Paste" />
|
||||
<Command ID="EditDelete" Title="_Delete" />
|
||||
<Command ID="EditSelectAll" Title="Select _All" />
|
||||
<Command ID="EditInvertSelection" Title="_Invert Selection" />
|
||||
<Command ID="EditFindReplace" Title="_Find/Replace..." />
|
||||
<Command ID="EditGoTo" Title="_Go To..." />
|
||||
|
||||
<!-- View -->
|
||||
<Command ID="View" Title="_View" />
|
||||
<Command ID="ViewToolbars" Title="_Toolbars" />
|
||||
<Command ID="ViewToolbarsCustomize" Title="_Customize..." />
|
||||
<Command ID="ViewStatusBar" Title="Status _Bar" />
|
||||
<Command ID="ViewPanels" Title="_Panels" />
|
||||
<Command ID="ViewStartPage" Title="Start Pa_ge" />
|
||||
<Command ID="ViewFullScreen" Title="F_ull Screen" />
|
||||
|
||||
<!-- Project -->
|
||||
<Command ID="Project" Title="_Project" />
|
||||
<Command ID="ProjectAddNew" Title="Add Ne_w Item..." />
|
||||
<Command ID="ProjectAddExisting" Title="Add Existin_g Item..." />
|
||||
<Command ID="ProjectExclude" Title="Exclude from Pro_ject" />
|
||||
<Command ID="ProjectShowAllFiles" Title="Sh_ow All Files" />
|
||||
<Command ID="ProjectProperties" Title="Project _Properties..." />
|
||||
|
||||
<!-- Bookmarks -->
|
||||
<Command ID="Bookmarks" Title="Book_marks" />
|
||||
<Command ID="BookmarksAdd" Title="Add to Boo_kmarks" />
|
||||
<Command ID="BookmarksAddAll" Title="Add _All to Bookmarks" />
|
||||
<Command ID="BookmarksManage" Title="_Manage Bookmarks..." />
|
||||
|
||||
<!-- Tools -->
|
||||
<Command ID="Tools" Title="_Tools" />
|
||||
<Command ID="ToolsSessionManager" Title="_Session Manager..." />
|
||||
<Command ID="ToolsCustomize" Title="_Customize..." />
|
||||
<Command ID="ToolsOptions" Title="_Options..." />
|
||||
|
||||
<!-- Window -->
|
||||
<Command ID="Window" Title="_Window" />
|
||||
<Command ID="WindowNewWindow" Title="_New Window" />
|
||||
<Command ID="WindowSplit" Title="S_plit" />
|
||||
<Command ID="WindowFloat" Title="_Float" />
|
||||
<Command ID="WindowFloatAll" Title="Float All" />
|
||||
<Command ID="WindowDock" Title="Doc_k" />
|
||||
<Command ID="WindowAutoHide" Title="_Auto Hide" />
|
||||
<Command ID="WindowAutoHideAll" Title="A_uto Hide All" />
|
||||
<Command ID="WindowHide" Title="_Hide" />
|
||||
<Command ID="WindowPinTab" Title="_Pin Tab" />
|
||||
<Command ID="WindowNewTabGroupHorizontal" Title="New Hori_zontal Tab Group" />
|
||||
<Command ID="WindowNewTabGroupVertical" Title="New _Vertical Tab Group" />
|
||||
<Command ID="WindowCloseAllDocuments" Title="Close A_ll Documents" />
|
||||
<Command ID="WindowResetWindowLayout" Title="_Reset Window Layout" />
|
||||
<Command ID="WindowWindows" Title="_Windows..." />
|
||||
|
||||
<!-- Help -->
|
||||
<Command ID="Help" Title="_Help" />
|
||||
<Command ID="HelpViewHelp" Title="View _Help" />
|
||||
<Command ID="HelpCustomerFeedbackOptions" Title="Customer _Feedback Options..." />
|
||||
<Command ID="HelpLicensingAndActivation" Title="_Licensing and Activation..." />
|
||||
<Command ID="HelpAboutPlatform" Title="_About Universal Editor Platform" />
|
||||
</Commands>
|
||||
</Language>
|
||||
</Languages>
|
||||
</Application>
|
||||
</UniversalEditor>
|
||||
@ -0,0 +1,105 @@
|
||||
<UniversalEditor>
|
||||
<Application>
|
||||
<Languages>
|
||||
<Language ID="Japanese">
|
||||
<StringTable>
|
||||
<StringTableEntry ID="ApplicationTitle" Value="ユニバーサル·エディター" />
|
||||
<StringTableEntry ID="Contributors" Value="貢献者" />
|
||||
</StringTable>
|
||||
<Commands>
|
||||
<!-- File -->
|
||||
<Command ID="File" Title="ファイル(_F)" />
|
||||
<Command ID="FileNew" Title="新しい(_N)" />
|
||||
<Command ID="FileNewDocument" Title="ドキュメント(_D)" />
|
||||
<Command ID="FileNewProject" Title="プロジェクト/ソリューション(_P)" />
|
||||
|
||||
<Command ID="FileOpen" Title="オープン(_O)" />
|
||||
<Command ID="FileOpenDocument" Title="ドキュメント(_D)" />
|
||||
<Command ID="FileOpenProject" Title="プロジェクト/ソリューション(_P)" />
|
||||
|
||||
<Command ID="FileSave" Title="保存(_S)" />
|
||||
<Command ID="FileSaveDocument" Title="ドキュメント(_D)" />
|
||||
<Command ID="FileSaveDocumentAs" Title="文書としての保存(_A)" />
|
||||
<Command ID="FileSaveProject" Title="プロジェクト/ソリューション(_P)" />
|
||||
<Command ID="FileSaveProjectAs" Title="プロジェクト/ソリューションとしての保存(_J)" />
|
||||
<Command ID="FileSaveAll" Title="すべての保存(_L)" />
|
||||
|
||||
<Command ID="FileClose" Title="クローズ(_C)" />
|
||||
<Command ID="FileCloseDocument" Title="ドキュメント(_D)" />
|
||||
<Command ID="FileCloseProject" Title="プロジェクト/ソリューション(_P)" />
|
||||
<Command ID="FileCloseWindow" Title="ウィンドウ(_W)" />
|
||||
|
||||
<Command ID="FilePrint" Title="印刷(_P)" />
|
||||
|
||||
<Command ID="FileExit" Title="出口(_X)" />
|
||||
|
||||
<!-- Edit -->
|
||||
<Command ID="Edit" Title="編集(_E)" />
|
||||
<Command ID="EditUndo" Title="取り消す(_U)" />
|
||||
<Command ID="EditRedo" Title="やり直す(_R)" />
|
||||
<Command ID="EditCut" Title="カット(_T)" />
|
||||
<Command ID="EditCopy" Title="コピー(C)" />
|
||||
<Command ID="EditPaste" Title="ペースト(_P)" />
|
||||
<Command ID="EditDelete" Title="削除する(_D)" />
|
||||
<Command ID="EditSelectAll" Title="すべてを選択(_A)" />
|
||||
<Command ID="EditInvertSelection" Title="_Invert Selection" />
|
||||
<Command ID="EditFindReplace" Title="検索と置換(_F)" />
|
||||
<Command ID="EditGoTo" Title="に行く(_G)" />
|
||||
|
||||
<!-- View -->
|
||||
<Command ID="View" Title="_View" />
|
||||
<Command ID="ViewToolbars" Title="_Toolbars" />
|
||||
<Command ID="ViewToolbarsCustomize" Title="_Customize..." />
|
||||
<Command ID="ViewStatusBar" Title="Status _Bar" />
|
||||
<Command ID="ViewPanels" Title="_Panels" />
|
||||
<Command ID="ViewStartPage" Title="Start Pa_ge" />
|
||||
<Command ID="ViewFullScreen" Title="F_ull Screen" />
|
||||
|
||||
<!-- Project -->
|
||||
<Command ID="Project" Title="_Project" />
|
||||
<Command ID="ProjectAddNew" Title="Add Ne_w Item..." />
|
||||
<Command ID="ProjectAddExisting" Title="Add Existin_g Item..." />
|
||||
<Command ID="ProjectExclude" Title="Exclude from Pro_ject" />
|
||||
<Command ID="ProjectShowAllFiles" Title="Sh_ow All Files" />
|
||||
<Command ID="ProjectProperties" Title="Project _Properties..." />
|
||||
|
||||
<!-- Bookmarks -->
|
||||
<Command ID="Bookmarks" Title="Book_marks" />
|
||||
<Command ID="BookmarksAdd" Title="Add to Boo_kmarks" />
|
||||
<Command ID="BookmarksAddAll" Title="Add _All to Bookmarks" />
|
||||
<Command ID="BookmarksManage" Title="_Manage Bookmarks..." />
|
||||
|
||||
<!-- Tools -->
|
||||
<Command ID="Tools" Title="_Tools" />
|
||||
<Command ID="ToolsSessionManager" Title="_Session Manager..." />
|
||||
<Command ID="ToolsCustomize" Title="_Customize..." />
|
||||
<Command ID="ToolsOptions" Title="_Options..." />
|
||||
|
||||
<!-- Window -->
|
||||
<Command ID="Window" Title="_Window" />
|
||||
<Command ID="WindowNewWindow" Title="_New Window" />
|
||||
<Command ID="WindowSplit" Title="S_plit" />
|
||||
<Command ID="WindowFloat" Title="_Float" />
|
||||
<Command ID="WindowFloatAll" Title="Float All" />
|
||||
<Command ID="WindowDock" Title="Doc_k" />
|
||||
<Command ID="WindowAutoHide" Title="_Auto Hide" />
|
||||
<Command ID="WindowAutoHideAll" Title="A_uto Hide All" />
|
||||
<Command ID="WindowHide" Title="_Hide" />
|
||||
<Command ID="WindowPinTab" Title="_Pin Tab" />
|
||||
<Command ID="WindowNewTabGroupHorizontal" Title="New Hori_zontal Tab Group" />
|
||||
<Command ID="WindowNewTabGroupVertical" Title="New _Vertical Tab Group" />
|
||||
<Command ID="WindowCloseAllDocuments" Title="Close A_ll Documents" />
|
||||
<Command ID="WindowResetWindowLayout" Title="_Reset Window Layout" />
|
||||
<Command ID="WindowWindows" Title="_Windows..." />
|
||||
|
||||
<!-- Help -->
|
||||
<Command ID="Help" Title="_Help" />
|
||||
<Command ID="HelpViewHelp" Title="View _Help" />
|
||||
<Command ID="HelpCustomerFeedbackOptions" Title="Customer _Feedback Options..." />
|
||||
<Command ID="HelpLicensingAndActivation" Title="_Licensing and Activation..." />
|
||||
<Command ID="HelpAboutPlatform" Title="_About Universal Editor Platform" />
|
||||
</Commands>
|
||||
</Language>
|
||||
</Languages>
|
||||
</Application>
|
||||
</UniversalEditor>
|
||||
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE UniversalEditor SYSTEM "U:\Doctypes\UniversalEditor.dtd">
|
||||
<UniversalEditor Version="3.0">
|
||||
<ProjectTypes>
|
||||
<ProjectType ID="{A0786B88-2ADB-4C21-ABE8-AA2D79766269}">
|
||||
<Information>
|
||||
<Title>PHP Web Project</Title>
|
||||
</Information>
|
||||
</ProjectType>
|
||||
</ProjectTypes>
|
||||
</UniversalEditor>
|
||||
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE UniversalEditor SYSTEM "U:\Doctypes\UniversalEditor.dtd">
|
||||
<UniversalEditor Version="3.0">
|
||||
<ProjectTypes>
|
||||
<ProjectType ID="{D3A89FE2-7C08-433B-8165-F484A073588B}">
|
||||
<Information>
|
||||
<Title>PHP Web Project</Title>
|
||||
</Information>
|
||||
</ProjectType>
|
||||
</ProjectTypes>
|
||||
</UniversalEditor>
|
||||
@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("UniversalEditor.Content.PlatformIndependent")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("City of Orlando")]
|
||||
[assembly: AssemblyProduct("UniversalEditor.Content.PlatformIndependent")]
|
||||
[assembly: AssemblyCopyright("Copyright © City of Orlando 2014")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("f06910f7-0c0e-41ec-b0b2-cb7ef1d18d8e")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<UniversalEditor Version="2.0">
|
||||
<Templates>
|
||||
<Template ID="{86F141C1-A729-4092-A883-CDBEF377FF47}">
|
||||
<Information>
|
||||
<Title>Assets</Title>
|
||||
<Description>Keep track of assets, including asset details and owners.</Description>
|
||||
<IconPath FileName="database.ico" />
|
||||
<CategoryParts>
|
||||
<CategoryPart>Business</CategoryPart>
|
||||
</CategoryParts>
|
||||
</Information>
|
||||
<Content ObjectModelType="UniversalEditor.ObjectModels.DatabaseManagement.DatabaseObjectModel">
|
||||
|
||||
</Content>
|
||||
</Template>
|
||||
</Templates>
|
||||
</UniversalEditor>
|
||||
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<UniversalEditor Version="2.0">
|
||||
<Templates>
|
||||
<Template ID="{C507C886-6D3B-4B58-9C42-94A35152E4A6}">
|
||||
<Information>
|
||||
<Title>Contacts</Title>
|
||||
<Description>Manage information about people that your team works with, such as customers and partners.</Description>
|
||||
<IconPath FileName="database.ico" />
|
||||
<CategoryParts>
|
||||
<CategoryPart>Business</CategoryPart>
|
||||
</CategoryParts>
|
||||
</Information>
|
||||
<Content ObjectModelType="UniversalEditor.ObjectModels.DatabaseManagement.DatabaseObjectModel">
|
||||
|
||||
</Content>
|
||||
</Template>
|
||||
</Templates>
|
||||
</UniversalEditor>
|
||||
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<UniversalEditor Version="2.0">
|
||||
<Templates>
|
||||
<Template ID="{74EBA601-237F-428D-B02D-141805348209}">
|
||||
<Information>
|
||||
<Title>Events</Title>
|
||||
<Description>Track upcoming meetings, deadlines, and other important events.</Description>
|
||||
<IconPath FileName="database.ico" />
|
||||
<CategoryParts>
|
||||
<CategoryPart>Business</CategoryPart>
|
||||
</CategoryParts>
|
||||
</Information>
|
||||
<Content ObjectModelType="UniversalEditor.ObjectModels.DatabaseManagement.DatabaseObjectModel">
|
||||
|
||||
</Content>
|
||||
</Template>
|
||||
</Templates>
|
||||
</UniversalEditor>
|
||||
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<UniversalEditor Version="2.0">
|
||||
<Templates>
|
||||
<Template ID="{DCEB4CE5-2832-42A9-BA61-8682926ED629}">
|
||||
<Information>
|
||||
<Title>Faculty</Title>
|
||||
<Description>Keep track of information about faculty members, including emergency contacts and information about their education history.</Description>
|
||||
<IconPath FileName="database.ico" />
|
||||
<CategoryParts>
|
||||
<CategoryPart>Education</CategoryPart>
|
||||
</CategoryParts>
|
||||
</Information>
|
||||
<Content ObjectModelType="UniversalEditor.ObjectModels.DatabaseManagement.DatabaseObjectModel">
|
||||
|
||||
</Content>
|
||||
</Template>
|
||||
</Templates>
|
||||
</UniversalEditor>
|
||||
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<UniversalEditor Version="2.0">
|
||||
<Templates>
|
||||
<Template ID="{4A16562A-8D1A-46B7-A0BF-AFBF759EB439}">
|
||||
<Information>
|
||||
<Title>Issues</Title>
|
||||
<Description>Manage a set of issues or problems. Assign, prioritize, and follow the progress of issues from start to finish.</Description>
|
||||
<IconPath FileName="database.ico" />
|
||||
<CategoryParts>
|
||||
<CategoryPart>Business</CategoryPart>
|
||||
</CategoryParts>
|
||||
</Information>
|
||||
<Content ObjectModelType="UniversalEditor.ObjectModels.DatabaseManagement.DatabaseObjectModel">
|
||||
|
||||
</Content>
|
||||
</Template>
|
||||
</Templates>
|
||||
</UniversalEditor>
|
||||
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<UniversalEditor Version="2.0">
|
||||
<Templates>
|
||||
<Template ID="{7ABE2F3D-B169-47D2-95F1-92571A8AEB32}">
|
||||
<Information>
|
||||
<Title>Marketing Projects</Title>
|
||||
<Description>Track time-sensitive deliverables and vendor status for projects.</Description>
|
||||
<IconPath FileName="database.ico" />
|
||||
<CategoryParts>
|
||||
<CategoryPart>Business</CategoryPart>
|
||||
</CategoryParts>
|
||||
</Information>
|
||||
<Content ObjectModelType="UniversalEditor.ObjectModels.DatabaseManagement.DatabaseObjectModel">
|
||||
|
||||
</Content>
|
||||
</Template>
|
||||
</Templates>
|
||||
</UniversalEditor>
|
||||
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<UniversalEditor Version="2.0">
|
||||
<Templates>
|
||||
<Template ID="{8A945438-2E6E-4647-8108-CC5960417DF0}">
|
||||
<Information>
|
||||
<Title>Northwind 2007</Title>
|
||||
<Description>Northwind Sample</Description>
|
||||
<IconPath FileName="database.ico" />
|
||||
<CategoryParts>
|
||||
<CategoryPart>Samples</CategoryPart>
|
||||
</CategoryParts>
|
||||
</Information>
|
||||
<Content ObjectModelType="UniversalEditor.ObjectModels.DatabaseManagement.DatabaseObjectModel">
|
||||
|
||||
</Content>
|
||||
</Template>
|
||||
</Templates>
|
||||
</UniversalEditor>
|
||||
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<UniversalEditor Version="2.0">
|
||||
<Templates>
|
||||
<Template ID="{58874798-2E63-4C2B-8C93-C31FCFA29AD7}">
|
||||
<Information>
|
||||
<Title>Projects</Title>
|
||||
<Description>Track multiple projects and assign tasks to different people.</Description>
|
||||
<IconPath FileName="database.ico" />
|
||||
<CategoryParts>
|
||||
<CategoryPart>Business</CategoryPart>
|
||||
</CategoryParts>
|
||||
</Information>
|
||||
<Content ObjectModelType="UniversalEditor.ObjectModels.DatabaseManagement.DatabaseObjectModel">
|
||||
|
||||
</Content>
|
||||
</Template>
|
||||
</Templates>
|
||||
</UniversalEditor>
|
||||
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<UniversalEditor Version="2.0">
|
||||
<Templates>
|
||||
<Template ID="{A7B4581E-94F1-4FF0-935E-5B5BB80E3F38}">
|
||||
<Information>
|
||||
<Title>Sales Pipeline</Title>
|
||||
<Description>Track the progress of prospective sales within a small group of sales professionals.</Description>
|
||||
<IconPath FileName="database.ico" />
|
||||
<CategoryParts>
|
||||
<CategoryPart>Business</CategoryPart>
|
||||
</CategoryParts>
|
||||
</Information>
|
||||
<Content ObjectModelType="UniversalEditor.ObjectModels.DatabaseManagement.DatabaseObjectModel">
|
||||
|
||||
</Content>
|
||||
</Template>
|
||||
</Templates>
|
||||
</UniversalEditor>
|
||||
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<UniversalEditor Version="2.0">
|
||||
<Templates>
|
||||
<Template ID="{5A9DF75F-123E-4AF9-96BE-1FC9CF1E0CB9}">
|
||||
<Information>
|
||||
<Title>Students</Title>
|
||||
<Description>Keep track of information about your students, including emergency contacts, medical information, and information about their guardians.</Description>
|
||||
<IconPath FileName="database.ico" />
|
||||
<CategoryParts>
|
||||
<CategoryPart>Education</CategoryPart>
|
||||
</CategoryParts>
|
||||
</Information>
|
||||
<Content ObjectModelType="UniversalEditor.ObjectModels.DatabaseManagement.DatabaseObjectModel">
|
||||
|
||||
</Content>
|
||||
</Template>
|
||||
</Templates>
|
||||
</UniversalEditor>
|
||||
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<UniversalEditor Version="2.0">
|
||||
<Templates>
|
||||
<Template ID="{C70DFF06-DF83-45EB-9891-CEF6BF253C2F}">
|
||||
<Information>
|
||||
<Title>Tasks</Title>
|
||||
<Description>Track a group of work items that you or your team need to complete.</Description>
|
||||
<IconPath FileName="database.ico" />
|
||||
<CategoryParts>
|
||||
<CategoryPart>Business</CategoryPart>
|
||||
</CategoryParts>
|
||||
</Information>
|
||||
<Content ObjectModelType="UniversalEditor.ObjectModels.DatabaseManagement.DatabaseObjectModel">
|
||||
|
||||
</Content>
|
||||
</Template>
|
||||
</Templates>
|
||||
</UniversalEditor>
|
||||
|
After Width: | Height: | Size: 165 KiB |
@ -0,0 +1,63 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<UniversalEditor Version="2.0">
|
||||
<Templates>
|
||||
<Template ID="{F63140FB-C539-45b0-8045-506397ADE75B}">
|
||||
<Information>
|
||||
<Title>Windows filesystem</Title>
|
||||
<Description>Creates a standard Windows NT file structure.</Description>
|
||||
<IconPath LargeFileName="windows_32x32.png" SmallFileName="windows_16x16.png" />
|
||||
</Information>
|
||||
<Content ObjectModelType="UniversalEditor.ObjectModels.FileSystem.FileSystemObjectModel">
|
||||
<Folders>
|
||||
<Folder Name="Windows">
|
||||
<Folders>
|
||||
<Folder Name="System32">
|
||||
</Folder>
|
||||
</Folders>
|
||||
</Folder>
|
||||
<Folder Name="Program Files">
|
||||
</Folder>
|
||||
<Folder Name="Users">
|
||||
<Folders>
|
||||
<Folder Name="Default">
|
||||
<Folders>
|
||||
<Folder Name="AppData">
|
||||
<Folders>
|
||||
<Folder Name="Local">
|
||||
<Folders>
|
||||
<Folder Name="Temp" />
|
||||
</Folders>
|
||||
</Folder>
|
||||
<Folder Name="LocalLow" />
|
||||
<Folder Name="Roaming" />
|
||||
</Folders>
|
||||
</Folder>
|
||||
<Folder Name="Favorites" />
|
||||
<Folder Name="Libraries " />
|
||||
<Folder Name="Desktop" />
|
||||
<Folder Name="Documents" />
|
||||
<Folder Name="Downloads" />
|
||||
<Folder Name="Music" />
|
||||
<Folder Name="Pictures" />
|
||||
<Folder Name="Videos" />
|
||||
</Folders>
|
||||
</Folder>
|
||||
<Folder Name="Public">
|
||||
<Folders>
|
||||
<Folder Name="Favorites" />
|
||||
<Folder Name="Libraries " />
|
||||
<Folder Name="Desktop" />
|
||||
<Folder Name="Documents" />
|
||||
<Folder Name="Downloads" />
|
||||
<Folder Name="Music" />
|
||||
<Folder Name="Pictures" />
|
||||
<Folder Name="Videos" />
|
||||
</Folders>
|
||||
</Folder>
|
||||
</Folders>
|
||||
</Folder>
|
||||
</Folders>
|
||||
</Content>
|
||||
</Template>
|
||||
</Templates>
|
||||
</UniversalEditor>
|
||||
|
After Width: | Height: | Size: 939 B |
|
After Width: | Height: | Size: 2.6 KiB |
@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<UniversalEditor Version="2.0">
|
||||
<Templates>
|
||||
<Template ID="{25CCF4D0-9DBD-40D2-936D-4F0BEA4FCC7D}">
|
||||
<Information>
|
||||
<Title>Asset Tracking</Title>
|
||||
<IconPath LargeFileName="icon_32x32.png" SmallFileName="icon_16x16.png" />
|
||||
</Information>
|
||||
<Content ObjectModelType="UniversalEditor.ObjectModels.RIFF.RIFFObjectModel">
|
||||
<Folders>
|
||||
<Folder Name="Windows">
|
||||
<Folders>
|
||||
<Folder Name="System32">
|
||||
</Folder>
|
||||
</Folders>
|
||||
</Folder>
|
||||
<Folder Name="Program Files">
|
||||
</Folder>
|
||||
<Folder Name="Users">
|
||||
<Folders>
|
||||
<Folder Name="Default">
|
||||
<Folders>
|
||||
<Folder Name="AppData">
|
||||
<Folders>
|
||||
<Folder Name="Local">
|
||||
<Folders>
|
||||
<Folder Name="Temp" />
|
||||
</Folders>
|
||||
</Folder>
|
||||
<Folder Name="LocalLow" />
|
||||
<Folder Name="Roaming" />
|
||||
</Folders>
|
||||
</Folder>
|
||||
<Folder Name="Favorites" />
|
||||
<Folder Name="Libraries " />
|
||||
<Folder Name="Desktop" />
|
||||
<Folder Name="Documents" />
|
||||
<Folder Name="Downloads" />
|
||||
<Folder Name="Music" />
|
||||
<Folder Name="Pictures" />
|
||||
<Folder Name="Videos" />
|
||||
</Folders>
|
||||
</Folder>
|
||||
<Folder Name="Public">
|
||||
<Folders>
|
||||
<Folder Name="Favorites" />
|
||||
<Folder Name="Libraries " />
|
||||
<Folder Name="Desktop" />
|
||||
<Folder Name="Documents" />
|
||||
<Folder Name="Downloads" />
|
||||
<Folder Name="Music" />
|
||||
<Folder Name="Pictures" />
|
||||
<Folder Name="Videos" />
|
||||
</Folders>
|
||||
</Folder>
|
||||
</Folders>
|
||||
</Folder>
|
||||
</Folders>
|
||||
</Content>
|
||||
</Template>
|
||||
</Templates>
|
||||
</UniversalEditor>
|
||||
@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<UniversalEditor Version="2.0">
|
||||
<Templates>
|
||||
<Template ID="{DD66CB5B-9B3F-47CB-B71C-9BB70E7BA5AA}">
|
||||
<Information>
|
||||
<Title>Expense Report</Title>
|
||||
<IconPath LargeFileName="icon_32x32.png" SmallFileName="icon_16x16.png" />
|
||||
</Information>
|
||||
<Content ObjectModelType="UniversalEditor.ObjectModels.RIFF.RIFFObjectModel">
|
||||
<Folders>
|
||||
<Folder Name="Windows">
|
||||
<Folders>
|
||||
<Folder Name="System32">
|
||||
</Folder>
|
||||
</Folders>
|
||||
</Folder>
|
||||
<Folder Name="Program Files">
|
||||
</Folder>
|
||||
<Folder Name="Users">
|
||||
<Folders>
|
||||
<Folder Name="Default">
|
||||
<Folders>
|
||||
<Folder Name="AppData">
|
||||
<Folders>
|
||||
<Folder Name="Local">
|
||||
<Folders>
|
||||
<Folder Name="Temp" />
|
||||
</Folders>
|
||||
</Folder>
|
||||
<Folder Name="LocalLow" />
|
||||
<Folder Name="Roaming" />
|
||||
</Folders>
|
||||
</Folder>
|
||||
<Folder Name="Favorites" />
|
||||
<Folder Name="Libraries " />
|
||||
<Folder Name="Desktop" />
|
||||
<Folder Name="Documents" />
|
||||
<Folder Name="Downloads" />
|
||||
<Folder Name="Music" />
|
||||
<Folder Name="Pictures" />
|
||||
<Folder Name="Videos" />
|
||||
</Folders>
|
||||
</Folder>
|
||||
<Folder Name="Public">
|
||||
<Folders>
|
||||
<Folder Name="Favorites" />
|
||||
<Folder Name="Libraries " />
|
||||
<Folder Name="Desktop" />
|
||||
<Folder Name="Documents" />
|
||||
<Folder Name="Downloads" />
|
||||
<Folder Name="Music" />
|
||||
<Folder Name="Pictures" />
|
||||
<Folder Name="Videos" />
|
||||
</Folders>
|
||||
</Folder>
|
||||
</Folders>
|
||||
</Folder>
|
||||
</Folders>
|
||||
</Content>
|
||||
</Template>
|
||||
</Templates>
|
||||
</UniversalEditor>
|
||||
@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<UniversalEditor Version="2.0">
|
||||
<Templates>
|
||||
<Template ID="{B8F7B746-8F5D-48E3-8977-89EE39362A6A}">
|
||||
<Information>
|
||||
<Title>Meeting Agenda</Title>
|
||||
<IconPath LargeFileName="icon_32x32.png" SmallFileName="icon_16x16.png" />
|
||||
</Information>
|
||||
<Content ObjectModelType="UniversalEditor.ObjectModels.RIFF.RIFFObjectModel">
|
||||
<Folders>
|
||||
<Folder Name="Windows">
|
||||
<Folders>
|
||||
<Folder Name="System32">
|
||||
</Folder>
|
||||
</Folders>
|
||||
</Folder>
|
||||
<Folder Name="Program Files">
|
||||
</Folder>
|
||||
<Folder Name="Users">
|
||||
<Folders>
|
||||
<Folder Name="Default">
|
||||
<Folders>
|
||||
<Folder Name="AppData">
|
||||
<Folders>
|
||||
<Folder Name="Local">
|
||||
<Folders>
|
||||
<Folder Name="Temp" />
|
||||
</Folders>
|
||||
</Folder>
|
||||
<Folder Name="LocalLow" />
|
||||
<Folder Name="Roaming" />
|
||||
</Folders>
|
||||
</Folder>
|
||||
<Folder Name="Favorites" />
|
||||
<Folder Name="Libraries " />
|
||||
<Folder Name="Desktop" />
|
||||
<Folder Name="Documents" />
|
||||
<Folder Name="Downloads" />
|
||||
<Folder Name="Music" />
|
||||
<Folder Name="Pictures" />
|
||||
<Folder Name="Videos" />
|
||||
</Folders>
|
||||
</Folder>
|
||||
<Folder Name="Public">
|
||||
<Folders>
|
||||
<Folder Name="Favorites" />
|
||||
<Folder Name="Libraries " />
|
||||
<Folder Name="Desktop" />
|
||||
<Folder Name="Documents" />
|
||||
<Folder Name="Downloads" />
|
||||
<Folder Name="Music" />
|
||||
<Folder Name="Pictures" />
|
||||
<Folder Name="Videos" />
|
||||
</Folders>
|
||||
</Folder>
|
||||
</Folders>
|
||||
</Folder>
|
||||
</Folders>
|
||||
</Content>
|
||||
</Template>
|
||||
</Templates>
|
||||
</UniversalEditor>
|
||||
@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<UniversalEditor Version="2.0">
|
||||
<Templates>
|
||||
<Template ID="{170F4DB0-57BA-4B89-BD13-4B05473455A1}">
|
||||
<Information>
|
||||
<Title>Status Report</Title>
|
||||
<IconPath LargeFileName="icon_32x32.png" SmallFileName="icon_16x16.png" />
|
||||
</Information>
|
||||
<Content ObjectModelType="UniversalEditor.ObjectModels.RIFF.RIFFObjectModel">
|
||||
<Folders>
|
||||
<Folder Name="Windows">
|
||||
<Folders>
|
||||
<Folder Name="System32">
|
||||
</Folder>
|
||||
</Folders>
|
||||
</Folder>
|
||||
<Folder Name="Program Files">
|
||||
</Folder>
|
||||
<Folder Name="Users">
|
||||
<Folders>
|
||||
<Folder Name="Default">
|
||||
<Folders>
|
||||
<Folder Name="AppData">
|
||||
<Folders>
|
||||
<Folder Name="Local">
|
||||
<Folders>
|
||||
<Folder Name="Temp" />
|
||||
</Folders>
|
||||
</Folder>
|
||||
<Folder Name="LocalLow" />
|
||||
<Folder Name="Roaming" />
|
||||
</Folders>
|
||||
</Folder>
|
||||
<Folder Name="Favorites" />
|
||||
<Folder Name="Libraries " />
|
||||
<Folder Name="Desktop" />
|
||||
<Folder Name="Documents" />
|
||||
<Folder Name="Downloads" />
|
||||
<Folder Name="Music" />
|
||||
<Folder Name="Pictures" />
|
||||
<Folder Name="Videos" />
|
||||
</Folders>
|
||||
</Folder>
|
||||
<Folder Name="Public">
|
||||
<Folders>
|
||||
<Folder Name="Favorites" />
|
||||
<Folder Name="Libraries " />
|
||||
<Folder Name="Desktop" />
|
||||
<Folder Name="Documents" />
|
||||
<Folder Name="Downloads" />
|
||||
<Folder Name="Music" />
|
||||
<Folder Name="Pictures" />
|
||||
<Folder Name="Videos" />
|
||||
</Folders>
|
||||
</Folder>
|
||||
</Folders>
|
||||
</Folder>
|
||||
</Folders>
|
||||
</Content>
|
||||
</Template>
|
||||
</Templates>
|
||||
</UniversalEditor>
|
||||
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<UniversalEditor Version="2.0">
|
||||
<Templates>
|
||||
<Template ID="{3C01AD64-A0C1-4A4E-9952-2E1002DDB206}">
|
||||
<Information>
|
||||
<Title>Travel Request</Title>
|
||||
<IconPath LargeFileName="icon_32x32.png" SmallFileName="icon_16x16.png" />
|
||||
</Information>
|
||||
<Content ObjectModelType="UniversalEditor.ObjectModels.RIFF.RIFFObjectModel">
|
||||
|
||||
</Content>
|
||||
</Template>
|
||||
</Templates>
|
||||
</UniversalEditor>
|
||||
|
After Width: | Height: | Size: 846 B |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE UniversalEditor SYSTEM "U:\Doctypes\UniversalEditor.dtd">
|
||||
<UniversalEditor Version="3.0">
|
||||
<Templates>
|
||||
<Project TypeID="{A0786B88-2ADB-4C21-ABE8-AA2D79766269}">
|
||||
<Information>
|
||||
<Title></Title>
|
||||
<Path>
|
||||
<Part>Application Development</Part>
|
||||
<Part>Websites</Part>
|
||||
<Part>PHP</Part>
|
||||
</Path>
|
||||
</Information>
|
||||
<FileSystem>
|
||||
<Files>
|
||||
<File Destination="index.php">
|
||||
<Content Type="text/plain"><![CDATA[<?php
|
||||
|
||||
echo "Hello World!";
|
||||
|
||||
?>]]></Content>
|
||||
</File>
|
||||
</Files>
|
||||
</FileSystem>
|
||||
</Project>
|
||||
</Templates>
|
||||
</UniversalEditor>
|
||||
|
After Width: | Height: | Size: 4.1 KiB |
@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<UniversalEditor Version="2.0">
|
||||
<Templates>
|
||||
<Template ID="{79B66936-5D57-4907-8801-85A9D40B00FF}">
|
||||
<Information>
|
||||
<Title>HTML Page</Title>
|
||||
<Description>An HTML page that can include client-side code</Description>
|
||||
<IconPath FileName="HTMLPage.ico" />
|
||||
<Path>
|
||||
<PathParts>
|
||||
<PathPart>Web Development</PathPart>
|
||||
</PathParts>
|
||||
</Path>
|
||||
</Information>
|
||||
<Variables>
|
||||
<Variable DataType="String" Name="PageTitle" Label="Page &title:" />
|
||||
</Variables>
|
||||
<Content ObjectModelType="UniversalEditor.ObjectModels.Text.Plain.PlainTextObjectModel">
|
||||
<Text><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>$(PageTitle)</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
]]>
|
||||
</Text>
|
||||
</Content>
|
||||
</Template>
|
||||
</Templates>
|
||||
</UniversalEditor>
|
||||
|
After Width: | Height: | Size: 3.5 KiB |
@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<UniversalEditor Version="2.0">
|
||||
<Templates>
|
||||
<Template ID="{D397F154-EB28-41DC-B2B5-02447B85B3F7}">
|
||||
<Information>
|
||||
<Title>Master Page</Title>
|
||||
<Description>A Master Page for Web Applications</Description>
|
||||
<IconPath FileName="MasterPage.ico" />
|
||||
<Path>
|
||||
<PathParts>
|
||||
<PathPart>Web Development</PathPart>
|
||||
</PathParts>
|
||||
</Path>
|
||||
</Information>
|
||||
<Variables>
|
||||
<Variable DataType="String" Name="PageTitle" Label="Page &title:" />
|
||||
</Variables>
|
||||
<Content ObjectModelType="UniversalEditor.ObjectModels.Text.Plain.PlainTextObjectModel">
|
||||
<Text><![CDATA[<%@ Master Language="C#" %>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<script runat="server">
|
||||
|
||||
</script>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<title>$(PageTitle)</title>
|
||||
<asp:ContentPlaceHolder id="head" runat="server">
|
||||
</asp:ContentPlaceHolder>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
<asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">
|
||||
|
||||
</asp:ContentPlaceHolder>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
]]>
|
||||
</Text>
|
||||
</Content>
|
||||
</Template>
|
||||
</Templates>
|
||||
</UniversalEditor>
|
||||
|
After Width: | Height: | Size: 4.1 KiB |
@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<UniversalEditor Version="2.0">
|
||||
<Templates>
|
||||
<Template ID="{7963508A-E1F6-491B-BEEC-50363E0808A8}">
|
||||
<Information>
|
||||
<Title>Web Form</Title>
|
||||
<Description>A form for Web Applications</Description>
|
||||
<IconPath FileName="WebForm.ico" />
|
||||
<Path>
|
||||
<PathParts>
|
||||
<PathPart>Web Development</PathPart>
|
||||
</PathParts>
|
||||
</Path>
|
||||
</Information>
|
||||
<Variables>
|
||||
<Variable DataType="Choice" Name="Language" Label="&Language:" Value="C#">
|
||||
<Choices>
|
||||
<Choice Value="C#" />
|
||||
<Choice Value="VB" />
|
||||
</Choices>
|
||||
</Variable>
|
||||
<Variable DataType="String" Name="PageTitle" Label="Page &title:" />
|
||||
</Variables>
|
||||
<Content ObjectModelType="UniversalEditor.ObjectModels.Text.Plain.PlainTextObjectModel">
|
||||
<Text><![CDATA[<%@ Page Language="$(Language)" %>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<script runat="server">
|
||||
|
||||
</script>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<title>$(PageTitle)</title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>]]>
|
||||
</Text>
|
||||
</Content>
|
||||
</Template>
|
||||
</Templates>
|
||||
</UniversalEditor>
|
||||
|
After Width: | Height: | Size: 4.1 KiB |
@ -0,0 +1,68 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<UniversalEditor Version="2.0">
|
||||
<Templates>
|
||||
<Template ID="{FFEDB87C-5146-4D16-917C-025AAC0E6BA4}">
|
||||
<Information>
|
||||
<Title>Web Service</Title>
|
||||
<Description>A visually-designed class for creating a Web Service</Description>
|
||||
<IconPath FileName="WebService.ico" />
|
||||
<Path>
|
||||
<PathParts>
|
||||
<PathPart>Web Development</PathPart>
|
||||
</PathParts>
|
||||
</Path>
|
||||
</Information>
|
||||
<Variables>
|
||||
<Variable DataType="Choice" Name="Language" Label="&Language:" Value="C#">
|
||||
<Choices>
|
||||
<Choice Value="C#" />
|
||||
<Choice Value="VB" />
|
||||
</Choices>
|
||||
</Variable>
|
||||
<Variable DataType="String" Name="Namespace" Label="&Namespace:" Value="http://tempuri.org/" />
|
||||
<Variable DataType="Choice" Name="ConformsTo" Label="Conform to WSI &profile:" Value="BasicProfile1_1">
|
||||
<Choices>
|
||||
<Choice Name="None" Value="None" />
|
||||
<Choice Name="Basic Profile 1.1" Value="BasicProfile1_1" />
|
||||
</Choices>
|
||||
</Variable>
|
||||
</Variables>
|
||||
<Content ObjectModelType="UniversalEditor.ObjectModels.Text.Plain.PlainTextObjectModel">
|
||||
<Text><![CDATA[<%@ WebService Language="$(Language)" Class="WebService1" %>
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Diagnostics;
|
||||
using System.Web;
|
||||
using System.Web.Services;
|
||||
|
||||
[WebService(Namespace = "$(Namespace)")]
|
||||
[WebServiceBinding(ConformsTo = WsiProfiles.$(ConformsTo))]
|
||||
// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
|
||||
// [System.Web.Script.Services.ScriptService]
|
||||
public class WebService1 : System.Web.Services.WebService
|
||||
{
|
||||
public WebService1()
|
||||
{
|
||||
//
|
||||
// TODO: Add any constructor code required
|
||||
//
|
||||
}
|
||||
|
||||
// WEB SERVICE EXAMPLE
|
||||
// The HelloWorld() example service returns the string Hello World.
|
||||
|
||||
[WebMethod]
|
||||
public string HelloWorld()
|
||||
{
|
||||
return "Hello World";
|
||||
}
|
||||
}
|
||||
]]>
|
||||
</Text>
|
||||
</Content>
|
||||
</Template>
|
||||
</Templates>
|
||||
</UniversalEditor>
|
||||
|
After Width: | Height: | Size: 3.6 KiB |
@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<UniversalEditor Version="2.0">
|
||||
<Templates>
|
||||
<Template ID="{6465294A-D7FC-44BF-B86C-FCB2F8BCAF95}">
|
||||
<Information>
|
||||
<Title>Web User Control</Title>
|
||||
<Description>An ASP.NET server control created using the visual designer</Description>
|
||||
<IconPath FileName="WebUserControl.ico" />
|
||||
<Path>
|
||||
<PathParts>
|
||||
<PathPart>Web Development</PathPart>
|
||||
</PathParts>
|
||||
</Path>
|
||||
</Information>
|
||||
<Variables>
|
||||
<Variable DataType="Choice" Name="Language" Label="&Language:" Value="C#">
|
||||
<Choices>
|
||||
<Choice Value="C#" />
|
||||
<Choice Value="VB" />
|
||||
</Choices>
|
||||
</Variable>
|
||||
<Variable DataType="String" Name="ClassName" Label="Class &name:" Value="WebUserControl1" />
|
||||
</Variables>
|
||||
<Content ObjectModelType="UniversalEditor.ObjectModels.Text.Plain.PlainTextObjectModel">
|
||||
<Text><![CDATA[<%@ Control Language="$(Language)" ClassName="$(ClassName)" %>
|
||||
|
||||
<script runat="server">
|
||||
|
||||
</script>
|
||||
]]>
|
||||
</Text>
|
||||
</Content>
|
||||
</Template>
|
||||
</Templates>
|
||||
</UniversalEditor>
|
||||
@ -0,0 +1,143 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{A5A14A71-5DB3-4495-92F6-8D27C98FF0F4}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>UniversalEditor.Content.PlatformIndependent</RootNamespace>
|
||||
<AssemblyName>UniversalEditor.Content.PlatformIndependent</AssemblyName>
|
||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\..\Output\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\..\Output\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Branding\MainIcon.ico" />
|
||||
<Content Include="Branding\SplashScreen.png" />
|
||||
<Content Include="Configuration\CommandBars.xml" />
|
||||
<Content Include="Configuration\Commands.xml" />
|
||||
<Content Include="Configuration\MainMenu.xml" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\Commands\mnuDebugBreak.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\Commands\mnuDebugStart.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\Commands\mnuDebugStop.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\ImageList\16x16\IcarusCommandAffect.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\ImageList\16x16\IcarusCommandCamera.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\ImageList\16x16\IcarusCommandControlFlowDo.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\ImageList\16x16\IcarusCommandControlFlowDoWait.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\ImageList\16x16\IcarusCommandControlFlowWait.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\ImageList\16x16\IcarusCommandDeclare.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\ImageList\16x16\IcarusCommandElse.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\ImageList\16x16\IcarusCommandFlush.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\ImageList\16x16\IcarusCommandFree.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\ImageList\16x16\IcarusCommandIf.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\ImageList\16x16\IcarusCommandKill.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\ImageList\16x16\IcarusCommandLoop.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\ImageList\16x16\IcarusCommandMove.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\ImageList\16x16\IcarusCommandPlay.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\ImageList\16x16\IcarusCommandPrint.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\ImageList\16x16\IcarusCommandRem.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\ImageList\16x16\IcarusCommandRemove.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\ImageList\16x16\IcarusCommandRotate.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\ImageList\16x16\IcarusCommandRun.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\ImageList\16x16\IcarusCommandSet.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\ImageList\16x16\IcarusCommandSignal.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\ImageList\16x16\IcarusCommandSound.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\ImageList\16x16\IcarusCommandTask.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\ImageList\16x16\IcarusCommandTemplate.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\ImageList\16x16\IcarusCommandUse.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\ImageList\16x16\IcarusCommandWait.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Icarus.IcarusScriptEditor\Images\ImageList\16x16\IcarusCommandWaitSignal.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.MarkupEditor\Images\Attribute.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.MarkupEditor\Images\Comment.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.MarkupEditor\Images\Entity.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.MarkupEditor\Images\Preprocessor.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.MarkupEditor\Images\Tag.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Web.WebService.Description.WebServiceDescriptionEditor\Images\ImageList\16x16\Message.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Web.WebService.Description.WebServiceDescriptionEditor\Images\ImageList\16x16\Service.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Web.WebService.Description.WebServiceDescriptionEditor\Images\ImageList\32x32\Message.png" />
|
||||
<Content Include="Editors\UniversalEditor.Editors.Web.WebService.Description.WebServiceDescriptionEditor\Images\ImageList\32x32\Service.png" />
|
||||
<Content Include="Languages\English.xml" />
|
||||
<Content Include="Languages\Japanese.xml" />
|
||||
<Content Include="ProjectTypes\{A0786B88-2ADB-4C21-ABE8-AA2D79766269}.xml" />
|
||||
<Content Include="ProjectTypes\{D3A89FE2-7C08-433B-8165-F484A073588B}.xml" />
|
||||
<Content Include="Templates\Database\AssetsDatabase.xml" />
|
||||
<Content Include="Templates\Database\ContactsDatabase.xml" />
|
||||
<Content Include="Templates\Database\database.ico" />
|
||||
<Content Include="Templates\Database\EventsDatabase.xml" />
|
||||
<Content Include="Templates\Database\FacultyDatabase.xml" />
|
||||
<Content Include="Templates\Database\IssuesDatabase.xml" />
|
||||
<Content Include="Templates\Database\MarketingProjectsDatabase.xml" />
|
||||
<Content Include="Templates\Database\NorthwindDatabase.xml" />
|
||||
<Content Include="Templates\Database\ProjectsDatabase.xml" />
|
||||
<Content Include="Templates\Database\SalesPipelineDatabase.xml" />
|
||||
<Content Include="Templates\Database\StudentsDatabase.xml" />
|
||||
<Content Include="Templates\Database\TasksDatabase.xml" />
|
||||
<Content Include="Templates\FileSystem\WindowsFileSystem.xml" />
|
||||
<Content Include="Templates\FileSystem\windows_16x16.png" />
|
||||
<Content Include="Templates\FileSystem\windows_32x32.png" />
|
||||
<Content Include="Templates\Form\Asset Tracking.xml" />
|
||||
<Content Include="Templates\Form\Expense Report.xml" />
|
||||
<Content Include="Templates\Form\icon_16x16.png" />
|
||||
<Content Include="Templates\Form\icon_32x32.png" />
|
||||
<Content Include="Templates\Form\icon_48x48.png" />
|
||||
<Content Include="Templates\Form\Meeting Agenda.xml" />
|
||||
<Content Include="Templates\Form\Status Report.xml" />
|
||||
<Content Include="Templates\Form\Travel Request.xml" />
|
||||
<Content Include="Templates\Software Development\Websites\PHP\PHP Web Project.xml" />
|
||||
<Content Include="Templates\Web\HTMLPage.ico" />
|
||||
<Content Include="Templates\Web\HTMLPage.xml" />
|
||||
<Content Include="Templates\Web\MasterPage.ico" />
|
||||
<Content Include="Templates\Web\MasterPage.xml" />
|
||||
<Content Include="Templates\Web\WebForm.ico" />
|
||||
<Content Include="Templates\Web\WebForm.xml" />
|
||||
<Content Include="Templates\Web\WebService.ico" />
|
||||
<Content Include="Templates\Web\WebService.xml" />
|
||||
<Content Include="Templates\Web\WebUserControl.ico" />
|
||||
<Content Include="Templates\Web\WebUserControl.xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Configuration\Application.upl" />
|
||||
<Content Include="Configuration\SplashScreen.upl" />
|
||||
<None Include="Templates\Web\TravelRequest.xsn" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Editors\UniversalEditor.UserInterface.WindowsForms.Editors.DatabaseEditor\Images\Icons\" />
|
||||
</ItemGroup>
|
||||
<Target Name="Build">
|
||||
<Copy SourceFiles="@(Content)" DestinationFiles="@(Content->'$(OutputPath)%(RelativeDir)%(Filename)%(Extension)')" />
|
||||
</Target>
|
||||
<Target Name="Clean">
|
||||
</Target>
|
||||
<Target Name="Rebuild" DependsOnTargets="Clean;Build">
|
||||
</Target>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
@ -177,6 +177,18 @@ namespace UniversalEditor.UserInterface.WindowsForms
|
||||
return null;
|
||||
}
|
||||
|
||||
private Keys ShortcutKeyToWinFormsKeys(CommandShortcutKey sk)
|
||||
{
|
||||
Keys keys = Keys.None;
|
||||
if ((sk.Modifiers & CommandShortcutKeyModifiers.Alt) == CommandShortcutKeyModifiers.Alt) keys |= Keys.Alt;
|
||||
if ((sk.Modifiers & CommandShortcutKeyModifiers.Control) == CommandShortcutKeyModifiers.Control) keys |= Keys.Control;
|
||||
if ((sk.Modifiers & CommandShortcutKeyModifiers.Meta) == CommandShortcutKeyModifiers.Meta) keys |= Keys.Alt;
|
||||
if ((sk.Modifiers & CommandShortcutKeyModifiers.Shift) == CommandShortcutKeyModifiers.Shift) keys |= Keys.Shift;
|
||||
if ((sk.Modifiers & CommandShortcutKeyModifiers.Super) == CommandShortcutKeyModifiers.Super) keys |= Keys.LWin;
|
||||
keys |= (Keys)sk.Value;
|
||||
return keys;
|
||||
}
|
||||
|
||||
private void LoadCommandBarItem(CommandItem item, ToolStripDropDownItem parent)
|
||||
{
|
||||
ToolStripItem tsi = InitializeCommandBarItem(item, true);
|
||||
@ -239,6 +251,7 @@ namespace UniversalEditor.UserInterface.WindowsForms
|
||||
tsmi.Click += tsmiCommand_Click;
|
||||
tsmi.Tag = cmd;
|
||||
tsmi.Text = cmd.Title.Replace("_", "&");
|
||||
tsmi.ShortcutKeys = ShortcutKeyToWinFormsKeys(cmd.ShortcutKey);
|
||||
foreach (CommandItem item1 in cmd.Items)
|
||||
{
|
||||
LoadCommandBarMenuItem(item1, tsmi);
|
||||
|
||||
@ -260,7 +260,7 @@ namespace UniversalEditor.UserInterface.WindowsForms.Editors
|
||||
AwesomeControls.ListView.ListViewItem lvi = new AwesomeControls.ListView.ListViewItem();
|
||||
lvi.Text = folder.Name;
|
||||
lvi.ImageKey = "generic-folder-closed";
|
||||
lvi.Data = folder;
|
||||
lvi.Data = folder;
|
||||
foreach (Folder folder1 in folder.Folders)
|
||||
{
|
||||
RecursiveLoadListViewFolder(folder1, lvi);
|
||||
@ -282,12 +282,12 @@ namespace UniversalEditor.UserInterface.WindowsForms.Editors
|
||||
|
||||
private void tv_AfterSelect(object sender, TreeViewEventArgs e)
|
||||
{
|
||||
mvarCurrentFolder = (tv.SelectedNode.Tag as Folder);
|
||||
mvarCurrentFolder = (tv.SelectedNode.Tag as Folder);
|
||||
UpdateListView();
|
||||
lv.Refresh();
|
||||
}
|
||||
|
||||
private Folder mvarCurrentFolder = null;
|
||||
private Folder mvarCurrentFolder = null;
|
||||
|
||||
private void UpdateListView()
|
||||
{
|
||||
@ -303,9 +303,9 @@ namespace UniversalEditor.UserInterface.WindowsForms.Editors
|
||||
}
|
||||
tIconLoader = new System.Threading.Thread(tIconLoader_ThreadStart);
|
||||
|
||||
if (mvarCurrentFolder != null)
|
||||
if (mvarCurrentFolder != null)
|
||||
{
|
||||
Folder folder = mvarCurrentFolder;
|
||||
Folder folder = mvarCurrentFolder;
|
||||
foreach (Folder folder1 in folder.Folders)
|
||||
{
|
||||
RecursiveLoadListViewFolder(folder1, null);
|
||||
@ -328,38 +328,38 @@ namespace UniversalEditor.UserInterface.WindowsForms.Editors
|
||||
}
|
||||
lv.EndUpdate();
|
||||
|
||||
RecursiveUpdateTreeView();
|
||||
RecursiveUpdateTreeView();
|
||||
|
||||
if (tIconLoader != null)
|
||||
{
|
||||
tIconLoader.Abort();
|
||||
tIconLoader = new System.Threading.Thread(tIconLoader_ThreadStart);
|
||||
}
|
||||
if (tIconLoader != null)
|
||||
{
|
||||
tIconLoader.Abort();
|
||||
tIconLoader = new System.Threading.Thread(tIconLoader_ThreadStart);
|
||||
}
|
||||
tIconLoader.Start();
|
||||
}
|
||||
|
||||
private void RecursiveUpdateTreeView(TreeNode parent = null)
|
||||
{
|
||||
if (parent == null)
|
||||
{
|
||||
foreach (TreeNode tn in tv.Nodes)
|
||||
{
|
||||
RecursiveUpdateTreeView(tn);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if ((parent.Tag == null && mvarCurrentFolder == null) || (parent.Tag == mvarCurrentFolder))
|
||||
{
|
||||
tv.SelectedNode = parent;
|
||||
}
|
||||
private void RecursiveUpdateTreeView(TreeNode parent = null)
|
||||
{
|
||||
if (parent == null)
|
||||
{
|
||||
foreach (TreeNode tn in tv.Nodes)
|
||||
{
|
||||
RecursiveUpdateTreeView(tn);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if ((parent.Tag == null && mvarCurrentFolder == null) || (parent.Tag == mvarCurrentFolder))
|
||||
{
|
||||
tv.SelectedNode = parent;
|
||||
}
|
||||
|
||||
foreach (TreeNode tn in parent.Nodes)
|
||||
{
|
||||
RecursiveUpdateTreeView(tn);
|
||||
}
|
||||
}
|
||||
}
|
||||
foreach (TreeNode tn in parent.Nodes)
|
||||
{
|
||||
RecursiveUpdateTreeView(tn);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void lv_MouseMove(object sender, MouseEventArgs e)
|
||||
{
|
||||
@ -619,14 +619,14 @@ namespace UniversalEditor.UserInterface.WindowsForms.Editors
|
||||
lvi.Data = file;
|
||||
lv.Items.Add(lvi);
|
||||
|
||||
if (tIconLoader != null)
|
||||
{
|
||||
if (tIconLoader.ThreadState != System.Threading.ThreadState.Unstarted)
|
||||
{
|
||||
tIconLoader = new System.Threading.Thread(tIconLoader_ThreadStart);
|
||||
}
|
||||
tIconLoader.Start();
|
||||
}
|
||||
if (tIconLoader != null)
|
||||
{
|
||||
if (tIconLoader.ThreadState != System.Threading.ThreadState.Unstarted)
|
||||
{
|
||||
tIconLoader = new System.Threading.Thread(tIconLoader_ThreadStart);
|
||||
}
|
||||
tIconLoader.Start();
|
||||
}
|
||||
|
||||
lv.Refresh();
|
||||
}
|
||||
@ -796,42 +796,42 @@ namespace UniversalEditor.UserInterface.WindowsForms.Editors
|
||||
UpdateListView();
|
||||
}
|
||||
|
||||
private void lv_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Back)
|
||||
{
|
||||
if (mvarCurrentFolder != null)
|
||||
{
|
||||
if (mvarCurrentFolder.Parent != null)
|
||||
{
|
||||
mvarCurrentFolder = mvarCurrentFolder.Parent;
|
||||
}
|
||||
else
|
||||
{
|
||||
mvarCurrentFolder = null;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
System.Media.SystemSounds.Beep.Play();
|
||||
}
|
||||
UpdateListView();
|
||||
}
|
||||
}
|
||||
private void lv_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Back)
|
||||
{
|
||||
if (mvarCurrentFolder != null)
|
||||
{
|
||||
if (mvarCurrentFolder.Parent != null)
|
||||
{
|
||||
mvarCurrentFolder = mvarCurrentFolder.Parent;
|
||||
}
|
||||
else
|
||||
{
|
||||
mvarCurrentFolder = null;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
System.Media.SystemSounds.Beep.Play();
|
||||
}
|
||||
UpdateListView();
|
||||
}
|
||||
}
|
||||
|
||||
private void lv_ItemActivate(object sender, EventArgs e)
|
||||
{
|
||||
if (lv.SelectedItems.Count == 1)
|
||||
{
|
||||
if (lv.SelectedItems[0].Items.Count > 0)
|
||||
{
|
||||
if (lv.SelectedItems[0].Data is Folder)
|
||||
{
|
||||
mvarCurrentFolder = (lv.SelectedItems[0].Data as Folder);
|
||||
UpdateListView();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
private void lv_ItemActivate(object sender, EventArgs e)
|
||||
{
|
||||
if (lv.SelectedItems.Count == 1)
|
||||
{
|
||||
if (lv.SelectedItems[0].Items.Count > 0)
|
||||
{
|
||||
if (lv.SelectedItems[0].Data is Folder)
|
||||
{
|
||||
mvarCurrentFolder = (lv.SelectedItems[0].Data as Folder);
|
||||
UpdateListView();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -15,8 +15,8 @@ namespace UniversalEditor.Compression
|
||||
Gzip,
|
||||
LZMA,
|
||||
LZMASolid,
|
||||
LZSS,
|
||||
LZH,
|
||||
LZSS,
|
||||
LZH,
|
||||
LZW,
|
||||
LZX,
|
||||
PPPMd,
|
||||
|
||||
@ -6,18 +6,18 @@ using System.Text;
|
||||
namespace UniversalEditor.Compression
|
||||
{
|
||||
public static class CompressionModules
|
||||
{
|
||||
{
|
||||
|
||||
private static Modules.Bzip2.Bzip2CompressionModule mvarBzip2 = new Modules.Bzip2.Bzip2CompressionModule();
|
||||
public static Modules.Bzip2.Bzip2CompressionModule Bzip2 { get { return mvarBzip2; } }
|
||||
private static Modules.Bzip2.Bzip2CompressionModule mvarBzip2 = new Modules.Bzip2.Bzip2CompressionModule();
|
||||
public static Modules.Bzip2.Bzip2CompressionModule Bzip2 { get { return mvarBzip2; } }
|
||||
|
||||
private static Modules.Deflate.DeflateCompressionModule mvarDeflate = new Modules.Deflate.DeflateCompressionModule();
|
||||
public static Modules.Deflate.DeflateCompressionModule Deflate { get { return mvarDeflate; } }
|
||||
private static Modules.Deflate.DeflateCompressionModule mvarDeflate = new Modules.Deflate.DeflateCompressionModule();
|
||||
public static Modules.Deflate.DeflateCompressionModule Deflate { get { return mvarDeflate; } }
|
||||
|
||||
private static Modules.Gzip.GzipCompressionModule mvarGzip = new Modules.Gzip.GzipCompressionModule();
|
||||
public static Modules.Gzip.GzipCompressionModule Gzip { get { return mvarGzip; } }
|
||||
public static Modules.Gzip.GzipCompressionModule Gzip { get { return mvarGzip; } }
|
||||
|
||||
private static Modules.Zlib.ZlibCompressionModule mvarZlib = new Modules.Zlib.ZlibCompressionModule();
|
||||
public static Modules.Zlib.ZlibCompressionModule Zlib { get { return mvarZlib; } }
|
||||
private static Modules.Zlib.ZlibCompressionModule mvarZlib = new Modules.Zlib.ZlibCompressionModule();
|
||||
public static Modules.Zlib.ZlibCompressionModule Zlib { get { return mvarZlib; } }
|
||||
}
|
||||
}
|
||||
|
||||
@ -6,147 +6,147 @@ using UniversalEditor.Accessors;
|
||||
|
||||
namespace UniversalEditor.Compression.RLEW
|
||||
{
|
||||
public class RLEWCompressionModule : CompressionModule
|
||||
{
|
||||
public override string Name
|
||||
{
|
||||
get { return "RLEW"; }
|
||||
}
|
||||
public class RLEWCompressionModule : CompressionModule
|
||||
{
|
||||
public override string Name
|
||||
{
|
||||
get { return "RLEW"; }
|
||||
}
|
||||
|
||||
private short mvarRLEWTag = 0;
|
||||
public short RLEWTag { get { return mvarRLEWTag; } set { mvarRLEWTag = value; } }
|
||||
private short mvarRLEWTag = 0;
|
||||
public short RLEWTag { get { return mvarRLEWTag; } set { mvarRLEWTag = value; } }
|
||||
|
||||
protected override void CompressInternal(System.IO.Stream inputStream, System.IO.Stream outputStream)
|
||||
{
|
||||
IO.Reader br = new IO.Reader(new StreamAccessor(inputStream));
|
||||
IO.Writer bw = new IO.Writer(new StreamAccessor(outputStream));
|
||||
|
||||
short lastWord = 0;
|
||||
short wordCount = 0;
|
||||
bool hasLastWord = false;
|
||||
{
|
||||
IO.Reader br = new IO.Reader(new StreamAccessor(inputStream));
|
||||
IO.Writer bw = new IO.Writer(new StreamAccessor(outputStream));
|
||||
|
||||
short lastWord = 0;
|
||||
short wordCount = 0;
|
||||
bool hasLastWord = false;
|
||||
|
||||
while (!br.EndOfStream)
|
||||
{
|
||||
// to make this work efficiently, we need to have at least four equal words
|
||||
// (RLEWtag + count + value = 3 words)
|
||||
while (!br.EndOfStream)
|
||||
{
|
||||
// to make this work efficiently, we need to have at least four equal words
|
||||
// (RLEWtag + count + value = 3 words)
|
||||
|
||||
// read the next value in
|
||||
short word = 0;
|
||||
if (br.Remaining == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
else if (br.Remaining == 1)
|
||||
{
|
||||
word = br.ReadByte();
|
||||
}
|
||||
else if (br.Remaining >= 2)
|
||||
{
|
||||
word = br.ReadInt16();
|
||||
}
|
||||
// read the next value in
|
||||
short word = 0;
|
||||
if (br.Remaining == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
else if (br.Remaining == 1)
|
||||
{
|
||||
word = br.ReadByte();
|
||||
}
|
||||
else if (br.Remaining >= 2)
|
||||
{
|
||||
word = br.ReadInt16();
|
||||
}
|
||||
|
||||
if (!hasLastWord)
|
||||
{
|
||||
lastWord = word;
|
||||
hasLastWord = true;
|
||||
wordCount++;
|
||||
continue;
|
||||
}
|
||||
if (!hasLastWord)
|
||||
{
|
||||
lastWord = word;
|
||||
hasLastWord = true;
|
||||
wordCount++;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (word == lastWord)
|
||||
{
|
||||
// it's equal to the last word, so increment our word count
|
||||
wordCount++;
|
||||
if (word == lastWord)
|
||||
{
|
||||
// it's equal to the last word, so increment our word count
|
||||
wordCount++;
|
||||
|
||||
if (wordCount == 4)
|
||||
{
|
||||
// we have at least four equal words, so push out an RLEWtag...
|
||||
bw.WriteInt16(mvarRLEWTag);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// word is not equal, flush the remaining words...
|
||||
if (wordCount <= 3)
|
||||
{
|
||||
// we do not have at least four equal words, it would be more efficient to
|
||||
// just store the values as-is, so flush the remaining words
|
||||
for (ushort i = 0; i < wordCount; i++)
|
||||
{
|
||||
bw.WriteInt16(word);
|
||||
}
|
||||
if (wordCount == 4)
|
||||
{
|
||||
// we have at least four equal words, so push out an RLEWtag...
|
||||
bw.WriteInt16(mvarRLEWTag);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// word is not equal, flush the remaining words...
|
||||
if (wordCount <= 3)
|
||||
{
|
||||
// we do not have at least four equal words, it would be more efficient to
|
||||
// just store the values as-is, so flush the remaining words
|
||||
for (ushort i = 0; i < wordCount; i++)
|
||||
{
|
||||
bw.WriteInt16(word);
|
||||
}
|
||||
|
||||
bw.WriteInt16(lastWord);
|
||||
bw.WriteInt16(lastWord);
|
||||
|
||||
lastWord = 0;
|
||||
wordCount = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
bw.WriteInt16(wordCount);
|
||||
bw.WriteInt16(lastWord);
|
||||
}
|
||||
lastWord = 0;
|
||||
wordCount = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
bw.WriteInt16(wordCount);
|
||||
bw.WriteInt16(lastWord);
|
||||
}
|
||||
|
||||
// ... and clear the word count
|
||||
lastWord = 0;
|
||||
wordCount = 0;
|
||||
// ... and clear the word count
|
||||
lastWord = 0;
|
||||
wordCount = 0;
|
||||
|
||||
// finally, set the last word to the current word
|
||||
lastWord = word;
|
||||
}
|
||||
}
|
||||
// finally, set the last word to the current word
|
||||
lastWord = word;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// word is not equal, flush the remaining words...
|
||||
if (wordCount <= 3)
|
||||
{
|
||||
// we do not have at least four equal words, it would be more efficient to
|
||||
// just store the values as-is, so flush the remaining words
|
||||
for (ushort i = 0; i < wordCount; i++)
|
||||
{
|
||||
bw.WriteInt16(lastWord);
|
||||
}
|
||||
// word is not equal, flush the remaining words...
|
||||
if (wordCount <= 3)
|
||||
{
|
||||
// we do not have at least four equal words, it would be more efficient to
|
||||
// just store the values as-is, so flush the remaining words
|
||||
for (ushort i = 0; i < wordCount; i++)
|
||||
{
|
||||
bw.WriteInt16(lastWord);
|
||||
}
|
||||
|
||||
lastWord = 0;
|
||||
wordCount = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
bw.WriteInt16(wordCount);
|
||||
bw.WriteInt16(lastWord);
|
||||
}
|
||||
lastWord = 0;
|
||||
wordCount = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
bw.WriteInt16(wordCount);
|
||||
bw.WriteInt16(lastWord);
|
||||
}
|
||||
|
||||
bw.Flush();
|
||||
}
|
||||
bw.Flush();
|
||||
}
|
||||
protected override void DecompressInternal(System.IO.Stream inputStream, System.IO.Stream outputStream, int inputLength, int outputLength)
|
||||
{
|
||||
IO.Reader br = new IO.Reader(new StreamAccessor(inputStream));
|
||||
IO.Writer bw = new IO.Writer(new StreamAccessor(outputStream));
|
||||
|
||||
while (!br.EndOfStream)
|
||||
{
|
||||
// read one word from compressed block
|
||||
short word = br.ReadInt16();
|
||||
if (word == mvarRLEWTag)
|
||||
{
|
||||
// next two words are a compressed run of data, first word is number
|
||||
// of words to write
|
||||
short count = br.ReadInt16();
|
||||
short value = br.ReadInt16();
|
||||
for (short i = 0; i < count; i++)
|
||||
{
|
||||
bw.WriteInt16(value);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// if word is not equal to RLEWtag, then simply write that word out
|
||||
bw.WriteInt16(word);
|
||||
}
|
||||
}
|
||||
{
|
||||
IO.Reader br = new IO.Reader(new StreamAccessor(inputStream));
|
||||
IO.Writer bw = new IO.Writer(new StreamAccessor(outputStream));
|
||||
|
||||
while (!br.EndOfStream)
|
||||
{
|
||||
// read one word from compressed block
|
||||
short word = br.ReadInt16();
|
||||
if (word == mvarRLEWTag)
|
||||
{
|
||||
// next two words are a compressed run of data, first word is number
|
||||
// of words to write
|
||||
short count = br.ReadInt16();
|
||||
short value = br.ReadInt16();
|
||||
for (short i = 0; i < count; i++)
|
||||
{
|
||||
bw.WriteInt16(value);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// if word is not equal to RLEWtag, then simply write that word out
|
||||
bw.WriteInt16(word);
|
||||
}
|
||||
}
|
||||
|
||||
bw.Flush();
|
||||
bw.Close();
|
||||
}
|
||||
}
|
||||
bw.Flush();
|
||||
bw.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -7,74 +7,74 @@ using System.Diagnostics;
|
||||
|
||||
namespace UniversalEditor
|
||||
{
|
||||
[DebuggerNonUserCode()]
|
||||
public abstract class Accessor
|
||||
{
|
||||
public Accessor()
|
||||
{
|
||||
mvarReader = new Reader(this);
|
||||
mvarWriter = new Writer(this);
|
||||
}
|
||||
[DebuggerNonUserCode()]
|
||||
public abstract class Accessor
|
||||
{
|
||||
public Accessor()
|
||||
{
|
||||
mvarReader = new Reader(this);
|
||||
mvarWriter = new Writer(this);
|
||||
}
|
||||
|
||||
public abstract long Length { get; set; }
|
||||
public abstract long Length { get; set; }
|
||||
|
||||
protected abstract long GetPosition();
|
||||
public virtual long Position { get { return GetPosition(); } set { Seek(value, SeekOrigin.Begin); } }
|
||||
public virtual long Position { get { return GetPosition(); } set { Seek(value, SeekOrigin.Begin); } }
|
||||
|
||||
public long Remaining
|
||||
{
|
||||
get
|
||||
{
|
||||
long r = Length - Position;
|
||||
if (r <= 0) return 0;
|
||||
return r;
|
||||
}
|
||||
}
|
||||
public long Remaining
|
||||
{
|
||||
get
|
||||
{
|
||||
long r = Length - Position;
|
||||
if (r <= 0) return 0;
|
||||
return r;
|
||||
}
|
||||
}
|
||||
|
||||
public void Seek(int length, SeekOrigin position)
|
||||
{
|
||||
Seek((long)length, position);
|
||||
}
|
||||
public abstract void Seek(long length, SeekOrigin position);
|
||||
public void Seek(int length, SeekOrigin position)
|
||||
{
|
||||
Seek((long)length, position);
|
||||
}
|
||||
public abstract void Seek(long length, SeekOrigin position);
|
||||
|
||||
internal abstract int ReadInternal(byte[] buffer, int start, int count);
|
||||
internal abstract int WriteInternal(byte[] buffer, int start, int count);
|
||||
internal abstract int ReadInternal(byte[] buffer, int start, int count);
|
||||
internal abstract int WriteInternal(byte[] buffer, int start, int count);
|
||||
|
||||
internal virtual void FlushInternal()
|
||||
{
|
||||
}
|
||||
internal virtual void FlushInternal()
|
||||
{
|
||||
}
|
||||
|
||||
private bool mvarIsOpen = false;
|
||||
public bool IsOpen { get { return mvarIsOpen; } protected set { mvarIsOpen = value; } }
|
||||
private bool mvarIsOpen = false;
|
||||
public bool IsOpen { get { return mvarIsOpen; } protected set { mvarIsOpen = value; } }
|
||||
|
||||
public void Open()
|
||||
{
|
||||
if (mvarIsOpen) return;
|
||||
public void Open()
|
||||
{
|
||||
if (mvarIsOpen) return;
|
||||
|
||||
OpenInternal();
|
||||
mvarIsOpen = true;
|
||||
}
|
||||
public void Close()
|
||||
{
|
||||
if (!mvarIsOpen) return;
|
||||
OpenInternal();
|
||||
mvarIsOpen = true;
|
||||
}
|
||||
public void Close()
|
||||
{
|
||||
if (!mvarIsOpen) return;
|
||||
|
||||
CloseInternal();
|
||||
mvarIsOpen = false;
|
||||
}
|
||||
CloseInternal();
|
||||
mvarIsOpen = false;
|
||||
}
|
||||
|
||||
protected abstract void OpenInternal();
|
||||
protected abstract void CloseInternal();
|
||||
protected abstract void OpenInternal();
|
||||
protected abstract void CloseInternal();
|
||||
|
||||
private Encoding mvarDefaultEncoding = Encoding.Default;
|
||||
/// <summary>
|
||||
/// The default <see cref="Encoding" /> to use when reading and writing strings.
|
||||
/// </summary>
|
||||
public Encoding DefaultEncoding { get { return mvarDefaultEncoding; } set { mvarDefaultEncoding = value; } }
|
||||
private Encoding mvarDefaultEncoding = Encoding.Default;
|
||||
/// <summary>
|
||||
/// The default <see cref="Encoding" /> to use when reading and writing strings.
|
||||
/// </summary>
|
||||
public Encoding DefaultEncoding { get { return mvarDefaultEncoding; } set { mvarDefaultEncoding = value; } }
|
||||
|
||||
private Reader mvarReader = null;
|
||||
public Reader Reader { get { return mvarReader; } }
|
||||
private Writer mvarWriter = null;
|
||||
public Writer Writer { get { return mvarWriter; } }
|
||||
private Reader mvarReader = null;
|
||||
public Reader Reader { get { return mvarReader; } }
|
||||
private Writer mvarWriter = null;
|
||||
public Writer Writer { get { return mvarWriter; } }
|
||||
|
||||
public virtual string Title
|
||||
{
|
||||
|
||||
@ -40,7 +40,7 @@ namespace UniversalEditor.Accessors
|
||||
_data = data;
|
||||
}
|
||||
|
||||
// [DebuggerNonUserCode()]
|
||||
// [DebuggerNonUserCode()]
|
||||
public override void Seek(long length, SeekOrigin position)
|
||||
{
|
||||
long start = 0;
|
||||
@ -81,8 +81,8 @@ namespace UniversalEditor.Accessors
|
||||
|
||||
internal override int ReadInternal(byte[] buffer, int start, int count)
|
||||
{
|
||||
System.Array.Copy(_data, Position, buffer, start, count);
|
||||
Position += count;
|
||||
System.Array.Copy(_data, Position, buffer, start, count);
|
||||
Position += count;
|
||||
return count;
|
||||
}
|
||||
internal override int WriteInternal(byte[] buffer, int start, int count)
|
||||
@ -92,10 +92,10 @@ namespace UniversalEditor.Accessors
|
||||
return count;
|
||||
}
|
||||
|
||||
protected override void OpenInternal()
|
||||
protected override void OpenInternal()
|
||||
{
|
||||
}
|
||||
protected override void CloseInternal()
|
||||
protected override void CloseInternal()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@ -102,10 +102,10 @@ namespace UniversalEditor.Accessors
|
||||
return count;
|
||||
}
|
||||
|
||||
protected override void OpenInternal()
|
||||
protected override void OpenInternal()
|
||||
{
|
||||
}
|
||||
protected override void CloseInternal()
|
||||
protected override void CloseInternal()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@ -76,10 +76,10 @@ namespace UniversalEditor.Checksum.Modules.Adler32
|
||||
/// <see cref="ICSharpCode.SharpZipLib.Zip.Compression.Streams.DeflaterOutputStream"/>
|
||||
public sealed class Adler32 : ChecksumModule
|
||||
{
|
||||
public override string Name
|
||||
{
|
||||
get { return "Adler32"; }
|
||||
}
|
||||
public override string Name
|
||||
{
|
||||
get { return "Adler32"; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// largest prime smaller than 65536
|
||||
|
||||
@ -40,40 +40,40 @@ using System;
|
||||
namespace UniversalEditor.Checksum.Modules.CRC32
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Generate a table for a byte-wise 32-bit CRC calculation on the polynomial:
|
||||
/// x^32+x^26+x^23+x^22+x^16+x^12+x^11+x^10+x^8+x^7+x^5+x^4+x^2+x+1.
|
||||
///
|
||||
/// Polynomials over GF(2) are represented in binary, one bit per coefficient,
|
||||
/// with the lowest powers in the most significant bit. Then adding polynomials
|
||||
/// is just exclusive-or, and multiplying a polynomial by x is a right shift by
|
||||
/// one. If we call the above polynomial p, and represent a byte as the
|
||||
/// polynomial q, also with the lowest power in the most significant bit (so the
|
||||
/// byte 0xb1 is the polynomial x^7+x^3+x+1), then the CRC is (q*x^32) mod p,
|
||||
/// where a mod b means the remainder after dividing a by b.
|
||||
///
|
||||
/// This calculation is done using the shift-register method of multiplying and
|
||||
/// taking the remainder. The register is initialized to zero, and for each
|
||||
/// incoming bit, x^32 is added mod p to the register if the bit is a one (where
|
||||
/// x^32 mod p is p+x^32 = x^26+...+1), and the register is multiplied mod p by
|
||||
/// x (which is shifting right by one and adding x^32 mod p if the bit shifted
|
||||
/// out is a one). We start with the highest power (least significant bit) of
|
||||
/// q and repeat for all eight bits of q.
|
||||
///
|
||||
/// The table is simply the CRC of all possible eight bit values. This is all
|
||||
/// the information needed to generate CRC's on data a byte at a time for all
|
||||
/// combinations of CRC register values and incoming bytes.
|
||||
/// </summary>
|
||||
public sealed class CRC32ChecksumModule : ChecksumModule
|
||||
{
|
||||
const uint CrcSeed = 0xFFFFFFFF;
|
||||
/// <summary>
|
||||
/// Generate a table for a byte-wise 32-bit CRC calculation on the polynomial:
|
||||
/// x^32+x^26+x^23+x^22+x^16+x^12+x^11+x^10+x^8+x^7+x^5+x^4+x^2+x+1.
|
||||
///
|
||||
/// Polynomials over GF(2) are represented in binary, one bit per coefficient,
|
||||
/// with the lowest powers in the most significant bit. Then adding polynomials
|
||||
/// is just exclusive-or, and multiplying a polynomial by x is a right shift by
|
||||
/// one. If we call the above polynomial p, and represent a byte as the
|
||||
/// polynomial q, also with the lowest power in the most significant bit (so the
|
||||
/// byte 0xb1 is the polynomial x^7+x^3+x+1), then the CRC is (q*x^32) mod p,
|
||||
/// where a mod b means the remainder after dividing a by b.
|
||||
///
|
||||
/// This calculation is done using the shift-register method of multiplying and
|
||||
/// taking the remainder. The register is initialized to zero, and for each
|
||||
/// incoming bit, x^32 is added mod p to the register if the bit is a one (where
|
||||
/// x^32 mod p is p+x^32 = x^26+...+1), and the register is multiplied mod p by
|
||||
/// x (which is shifting right by one and adding x^32 mod p if the bit shifted
|
||||
/// out is a one). We start with the highest power (least significant bit) of
|
||||
/// q and repeat for all eight bits of q.
|
||||
///
|
||||
/// The table is simply the CRC of all possible eight bit values. This is all
|
||||
/// the information needed to generate CRC's on data a byte at a time for all
|
||||
/// combinations of CRC register values and incoming bytes.
|
||||
/// </summary>
|
||||
public sealed class CRC32ChecksumModule : ChecksumModule
|
||||
{
|
||||
const uint CrcSeed = 0xFFFFFFFF;
|
||||
|
||||
public override string Name
|
||||
{
|
||||
get { return "CRC32"; }
|
||||
}
|
||||
public override string Name
|
||||
{
|
||||
get { return "CRC32"; }
|
||||
}
|
||||
|
||||
readonly static uint[] CrcTable = new uint[] {
|
||||
readonly static uint[] CrcTable = new uint[] {
|
||||
0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA, 0x076DC419,
|
||||
0x706AF48F, 0xE963A535, 0x9E6495A3, 0x0EDB8832, 0x79DCB8A4,
|
||||
0xE0D5E91E, 0x97D2D988, 0x09B64C2B, 0x7EB17CBD, 0xE7B82D07,
|
||||
@ -128,81 +128,81 @@ namespace UniversalEditor.Checksum.Modules.CRC32
|
||||
0x2D02EF8D
|
||||
};
|
||||
|
||||
private static uint ComputeCrc32(uint oldCrc, byte value)
|
||||
{
|
||||
return (uint)(CrcTable[(oldCrc ^ value) & 0xFF] ^ (oldCrc >> 8));
|
||||
}
|
||||
private static uint ComputeCrc32(uint oldCrc, byte value)
|
||||
{
|
||||
return (uint)(CrcTable[(oldCrc ^ value) & 0xFF] ^ (oldCrc >> 8));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The crc data checksum so far.
|
||||
/// </summary>
|
||||
uint crc;
|
||||
/// <summary>
|
||||
/// The crc data checksum so far.
|
||||
/// </summary>
|
||||
uint crc;
|
||||
|
||||
/// <summary>
|
||||
/// Returns the CRC32 data checksum computed so far.
|
||||
/// </summary>
|
||||
public override long Value
|
||||
{
|
||||
get
|
||||
{
|
||||
return (long)crc;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Returns the CRC32 data checksum computed so far.
|
||||
/// </summary>
|
||||
public override long Value
|
||||
{
|
||||
get
|
||||
{
|
||||
return (long)crc;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Updates the checksum with the int bval.
|
||||
/// </summary>
|
||||
/// <param name = "value">
|
||||
/// the byte is taken as the lower 8 bits of value
|
||||
/// </param>
|
||||
public override void Update(int value)
|
||||
{
|
||||
crc ^= CrcSeed;
|
||||
crc = CrcTable[(crc ^ value) & 0xFF] ^ (crc >> 8);
|
||||
crc ^= CrcSeed;
|
||||
}
|
||||
/// <summary>
|
||||
/// Updates the checksum with the int bval.
|
||||
/// </summary>
|
||||
/// <param name = "value">
|
||||
/// the byte is taken as the lower 8 bits of value
|
||||
/// </param>
|
||||
public override void Update(int value)
|
||||
{
|
||||
crc ^= CrcSeed;
|
||||
crc = CrcTable[(crc ^ value) & 0xFF] ^ (crc >> 8);
|
||||
crc ^= CrcSeed;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Adds the byte array to the data checksum.
|
||||
/// </summary>
|
||||
/// <param name = "buffer">
|
||||
/// The buffer which contains the data
|
||||
/// </param>
|
||||
/// <param name = "offset">
|
||||
/// The offset in the buffer where the data starts
|
||||
/// </param>
|
||||
/// <param name = "count">
|
||||
/// The number of data bytes to update the CRC with.
|
||||
/// </param>
|
||||
public override void Update(byte[] buffer, int offset, int count)
|
||||
{
|
||||
if (buffer == null)
|
||||
{
|
||||
throw new ArgumentNullException("buffer");
|
||||
}
|
||||
/// <summary>
|
||||
/// Adds the byte array to the data checksum.
|
||||
/// </summary>
|
||||
/// <param name = "buffer">
|
||||
/// The buffer which contains the data
|
||||
/// </param>
|
||||
/// <param name = "offset">
|
||||
/// The offset in the buffer where the data starts
|
||||
/// </param>
|
||||
/// <param name = "count">
|
||||
/// The number of data bytes to update the CRC with.
|
||||
/// </param>
|
||||
public override void Update(byte[] buffer, int offset, int count)
|
||||
{
|
||||
if (buffer == null)
|
||||
{
|
||||
throw new ArgumentNullException("buffer");
|
||||
}
|
||||
|
||||
if (count < 0)
|
||||
{
|
||||
if (count < 0)
|
||||
{
|
||||
#if NETCF_1_0
|
||||
throw new ArgumentOutOfRangeException("count");
|
||||
#else
|
||||
throw new ArgumentOutOfRangeException("count", "Count cannot be less than zero");
|
||||
throw new ArgumentOutOfRangeException("count", "Count cannot be less than zero");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
if (offset < 0 || offset + count > buffer.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException("offset");
|
||||
}
|
||||
if (offset < 0 || offset + count > buffer.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException("offset");
|
||||
}
|
||||
|
||||
crc ^= CrcSeed;
|
||||
crc ^= CrcSeed;
|
||||
|
||||
while (--count >= 0)
|
||||
{
|
||||
crc = CrcTable[(crc ^ buffer[offset++]) & 0xFF] ^ (crc >> 8);
|
||||
}
|
||||
while (--count >= 0)
|
||||
{
|
||||
crc = CrcTable[(crc ^ buffer[offset++]) & 0xFF] ^ (crc >> 8);
|
||||
}
|
||||
|
||||
crc ^= CrcSeed;
|
||||
}
|
||||
}
|
||||
crc ^= CrcSeed;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -45,10 +45,10 @@ namespace UniversalEditor.Checksum.Modules.StrangeCRC
|
||||
/// </summary>
|
||||
public class StrangeCRCChecksumModule : ChecksumModule
|
||||
{
|
||||
public override string Name { get { return "StrangeCRC"; } }
|
||||
public override string Name { get { return "StrangeCRC"; } }
|
||||
|
||||
readonly static uint[] crc32Table =
|
||||
{
|
||||
{
|
||||
0x00000000, 0x04c11db7, 0x09823b6e, 0x0d4326d9,
|
||||
0x130476dc, 0x17c56b6b, 0x1a864db2, 0x1e475005,
|
||||
0x2608edb8, 0x22c9f00f, 0x2f8ad6d6, 0x2b4bcb61,
|
||||
|
||||
@ -5,19 +5,19 @@ using System.Text;
|
||||
|
||||
namespace UniversalEditor
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a combination of <see cref="InputDataFormat" />, <see cref="ObjectModel" />, and <see cref="Accessor" />
|
||||
/// that allows you to easily manipulate documents. The Accessor determines WHERE the data is read from and written
|
||||
/// to, the DataFormat determines HOW the data is written, and the ObjectModel contains the actual data in a format-
|
||||
/// agnostic representation.
|
||||
/// </summary>
|
||||
public class Document
|
||||
{
|
||||
private Accessor mvarInputAccessor = null;
|
||||
/// <summary>
|
||||
/// The <see cref="Accessor" /> which determines where the data is read from.
|
||||
/// </summary>
|
||||
public Accessor InputAccessor { get { return mvarInputAccessor; } set { mvarInputAccessor = value; } }
|
||||
/// <summary>
|
||||
/// Represents a combination of <see cref="InputDataFormat" />, <see cref="ObjectModel" />, and <see cref="Accessor" />
|
||||
/// that allows you to easily manipulate documents. The Accessor determines WHERE the data is read from and written
|
||||
/// to, the DataFormat determines HOW the data is written, and the ObjectModel contains the actual data in a format-
|
||||
/// agnostic representation.
|
||||
/// </summary>
|
||||
public class Document
|
||||
{
|
||||
private Accessor mvarInputAccessor = null;
|
||||
/// <summary>
|
||||
/// The <see cref="Accessor" /> which determines where the data is read from.
|
||||
/// </summary>
|
||||
public Accessor InputAccessor { get { return mvarInputAccessor; } set { mvarInputAccessor = value; } }
|
||||
|
||||
private Accessor mvarOutputAccessor = null;
|
||||
/// <summary>
|
||||
@ -25,11 +25,11 @@ namespace UniversalEditor
|
||||
/// </summary>
|
||||
public Accessor OutputAccessor { get { return mvarOutputAccessor; } set { mvarOutputAccessor = value; } }
|
||||
|
||||
private DataFormat mvarInputDataFormat = null;
|
||||
/// <summary>
|
||||
private DataFormat mvarInputDataFormat = null;
|
||||
/// <summary>
|
||||
/// The <see cref="DataFormat" /> which determines how the data is read from the accessor.
|
||||
/// </summary>
|
||||
public DataFormat InputDataFormat { get { return mvarInputDataFormat; } set { mvarInputDataFormat = value; } }
|
||||
/// </summary>
|
||||
public DataFormat InputDataFormat { get { return mvarInputDataFormat; } set { mvarInputDataFormat = value; } }
|
||||
|
||||
private DataFormat mvarOutputDataFormat = null;
|
||||
/// <summary>
|
||||
@ -37,57 +37,57 @@ namespace UniversalEditor
|
||||
/// </summary>
|
||||
public DataFormat OutputDataFormat { get { return mvarOutputDataFormat; } set { mvarOutputDataFormat = value; } }
|
||||
|
||||
private ObjectModel mvarObjectModel = null;
|
||||
/// <summary>
|
||||
/// The <see cref="ObjectModel" />, which stores the actual data in a format-agnostic representation.
|
||||
/// </summary>
|
||||
public ObjectModel ObjectModel { get { return mvarObjectModel; } set { mvarObjectModel = value; } }
|
||||
private ObjectModel mvarObjectModel = null;
|
||||
/// <summary>
|
||||
/// The <see cref="ObjectModel" />, which stores the actual data in a format-agnostic representation.
|
||||
/// </summary>
|
||||
public ObjectModel ObjectModel { get { return mvarObjectModel; } set { mvarObjectModel = value; } }
|
||||
|
||||
/// <summary>
|
||||
/// Reads data into the current <see cref="ObjectModel" /> from the <see cref="Accessor" /> using the
|
||||
/// current <see cref="InputDataFormat" />.
|
||||
/// </summary>
|
||||
public void Load()
|
||||
{
|
||||
mvarInputDataFormat.Accessor = mvarInputAccessor;
|
||||
mvarObjectModel.Accessor = mvarInputAccessor;
|
||||
/// <summary>
|
||||
/// Reads data into the current <see cref="ObjectModel" /> from the <see cref="Accessor" /> using the
|
||||
/// current <see cref="InputDataFormat" />.
|
||||
/// </summary>
|
||||
public void Load()
|
||||
{
|
||||
mvarInputDataFormat.Accessor = mvarInputAccessor;
|
||||
mvarObjectModel.Accessor = mvarInputAccessor;
|
||||
mvarInputDataFormat.Load(ref mvarObjectModel);
|
||||
mvarLastUsedAccessor = LastUsedAccessor.Input;
|
||||
}
|
||||
/// <summary>
|
||||
/// Writes the data contained in the <see cref="ObjectModel" /> to the <see cref="Accessor" /> using the
|
||||
/// current <see cref="OutputDataFormat" />.
|
||||
/// </summary>
|
||||
public void Save()
|
||||
{
|
||||
mvarOutputDataFormat.Accessor = mvarOutputAccessor;
|
||||
mvarObjectModel.Accessor = mvarOutputAccessor;
|
||||
}
|
||||
/// <summary>
|
||||
/// Writes the data contained in the <see cref="ObjectModel" /> to the <see cref="Accessor" /> using the
|
||||
/// current <see cref="OutputDataFormat" />.
|
||||
/// </summary>
|
||||
public void Save()
|
||||
{
|
||||
mvarOutputDataFormat.Accessor = mvarOutputAccessor;
|
||||
mvarObjectModel.Accessor = mvarOutputAccessor;
|
||||
mvarOutputDataFormat.Save(mvarObjectModel);
|
||||
mvarLastUsedAccessor = LastUsedAccessor.Output;
|
||||
}
|
||||
}
|
||||
|
||||
public Document(ObjectModel objectModel, DataFormat dataFormat) : this(objectModel, dataFormat, null)
|
||||
{
|
||||
}
|
||||
public Document(ObjectModel objectModel, DataFormat dataFormat, Accessor accessor) : this(objectModel, dataFormat, dataFormat, accessor)
|
||||
public Document(ObjectModel objectModel, DataFormat dataFormat) : this(objectModel, dataFormat, null)
|
||||
{
|
||||
}
|
||||
public Document(ObjectModel objectModel, DataFormat dataFormat, Accessor accessor) : this(objectModel, dataFormat, dataFormat, accessor)
|
||||
{
|
||||
}
|
||||
public Document(ObjectModel objectModel, DataFormat inputDataFormat, DataFormat outputDataFormat, Accessor accessor) : this(objectModel, inputDataFormat, outputDataFormat, accessor, accessor)
|
||||
{
|
||||
}
|
||||
public Document(ObjectModel objectModel, DataFormat inputDataFormat, DataFormat outputDataFormat, Accessor inputAccessor, Accessor outputAccessor)
|
||||
{
|
||||
mvarObjectModel = objectModel;
|
||||
{
|
||||
mvarObjectModel = objectModel;
|
||||
mvarInputDataFormat = inputDataFormat;
|
||||
mvarOutputDataFormat = outputDataFormat;
|
||||
mvarInputAccessor = inputAccessor;
|
||||
mvarInputAccessor = inputAccessor;
|
||||
mvarOutputAccessor = outputAccessor;
|
||||
}
|
||||
}
|
||||
|
||||
public static Document Load(ObjectModel objectModel, DataFormat dataFormat, Accessor accessor, bool autoClose = true)
|
||||
{
|
||||
Document document = new Document(objectModel, dataFormat, accessor);
|
||||
objectModel.Accessor = document.InputAccessor;
|
||||
objectModel.Accessor = document.InputAccessor;
|
||||
document.InputAccessor.Open();
|
||||
document.Load();
|
||||
if (autoClose) document.InputAccessor.Close();
|
||||
@ -95,8 +95,8 @@ namespace UniversalEditor
|
||||
}
|
||||
public static Document Save(ObjectModel objectModel, DataFormat dataFormat, Accessor accessor, bool autoClose = true)
|
||||
{
|
||||
Document document = new Document(objectModel, dataFormat, accessor);
|
||||
objectModel.Accessor = document.OutputAccessor;
|
||||
Document document = new Document(objectModel, dataFormat, accessor);
|
||||
objectModel.Accessor = document.OutputAccessor;
|
||||
document.OutputAccessor.Open();
|
||||
document.Save();
|
||||
if (autoClose) document.OutputAccessor.Close();
|
||||
|
||||
@ -528,13 +528,13 @@ namespace UniversalEditor
|
||||
}
|
||||
public static byte[] ToByteArray(this System.IO.Stream stream)
|
||||
{
|
||||
long oldpos = stream.Position;
|
||||
long oldpos = stream.Position;
|
||||
|
||||
byte[] array = new byte[(int)((IntPtr)stream.Length)];
|
||||
stream.Position = 0L;
|
||||
stream.Read(array, 0, array.Length);
|
||||
|
||||
stream.Position = oldpos;
|
||||
stream.Position = oldpos;
|
||||
return array;
|
||||
}
|
||||
#endregion
|
||||
|
||||