34 lines
801 B
C
34 lines
801 B
C
|
|
#ifndef GENERATEREPORT_GEMERATEFINALREPORT_H
|
|||
|
|
#define GENERATEREPORT_GEMERATEFINALREPORT_H
|
|||
|
|
|
|||
|
|
#include <com/sun/star/uno/Reference.hxx>
|
|||
|
|
#include <com/sun/star/uno/XComponentContext.hpp>
|
|||
|
|
#include <com/sun/star/uno/XInterface.hpp>
|
|||
|
|
#include <com/sun/star/frame/Desktop.hpp>
|
|||
|
|
#include "GenerateReportBase.h"
|
|||
|
|
using namespace com::sun::star::uno;
|
|||
|
|
using namespace com::sun::star::frame;
|
|||
|
|
using namespace com::sun::star::lang;
|
|||
|
|
|
|||
|
|
namespace GenerateReport
|
|||
|
|
{
|
|||
|
|
class GemerateFinalReport
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
GemerateFinalReport();
|
|||
|
|
//~GemerateFinalReport() = default;
|
|||
|
|
|
|||
|
|
//按钮触发
|
|||
|
|
void actionSlot_GemerateFinalReport();
|
|||
|
|
//生成最终报告到本地
|
|||
|
|
void saveLibreOfficeDocumentAsDocx(const std::string& outputDocxPath);
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
#endif // TEST1_H
|