xj qian
2024-07-08 36c8ab4bf87157a831dea2a7dd1d89f7d8411cdc
analysis
已修改1个文件
6 ■■■■■ 文件已修改
jrj/project/analysis/DataVanalysisWin.cpp 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jrj/project/analysis/DataVanalysisWin.cpp
@@ -5,7 +5,7 @@
#include <xcontrol/ximageview.hpp>
#include <xcontrol/xhtml.hpp>
#include <xcontrol/xexcel.hpp>
#include "vbusiness/util/publiccode.vutil.vbusiness.hpp "
#include <vbusiness/vutil/publiccode.vutil.vbusiness.hpp>
using xml = KXMLDOMDocument;
class __declspec(dllexport) DataVanalysisWin : public xwin
@@ -88,7 +88,7 @@
            xaserver::CreateDirectory(L"C:\\Temp");
            xstring gid = publiccode::GetGuid();
            xutil::SaveToFile(L"C:\\Temp\\" + gid + L".html", htmlStr, L"", L"", L"");
            xutil::SaveToFile(L"C:\\Temp\\" + gid + L".html", htmlStr, L"", L"");
            excel.OpenDocument(L"C:\\Temp\\" + gid + L".html");
            excel.put_Visible(true);
            return 1;
@@ -110,6 +110,8 @@
        AttachEvent(L"WM_XCOMMAND", (FEvent)&DataVanalysisWin::OnXCommand);
        //获取焦点事件,用于重置工具条
        AttachEvent(L"WM_SETFOCUS", (FEvent)&DataVanalysisWin::OnSetFocus);
        return 1;
    }
    int onload()