ReportCreatorWord.h
1 //##################################################################################################
2 //
3 // Ceetron Desktop Components
4 // Component: Report
5 //
6 // --------------------------------------------------------------------------------------------
7 // Copyright (C) 2013, Ceetron AS
8 // This is UNPUBLISHED PROPRIETARY SOURCE CODE of Ceetron AS. The contents of this file may
9 // not be disclosed to third parties, copied or duplicated in any form, in whole or in part,
10 // without the prior written permission of Ceetron AS.
11 //##################################################################################################
12 
13 #pragma once
14 
15 #include "CeeReport/Base.h"
16 
17 #include "CeeReport/Repository.h"
18 
19 #include <string>
20 #include <vector>
21 
22 namespace cee {
23 namespace rep {
24 
25 //==================================================================================================
26 //
27 //
28 //
29 //==================================================================================================
30 class CEE_REP_EXPORT ReportCreatorWord
31 {
32 public:
33  ReportCreatorWord(Repository* repository, const Str& templateFile);
34  virtual ~ReportCreatorWord();
35 
36  bool generate(const Str& reportFile) const;
37  bool validate(Str* summary) const;
38  static bool summarize(const Str& templateFile, Str* summary);
39 
40  void setReferenceRepository(Repository* repository);
41  void setGenericSnapshotIndices(const std::vector<unsigned int>& indices);
42  void setEmbedVTFx(bool embed);
43  void setUse3dPlugin(bool use);
44 
45 private:
46  CEE_PRIVATE_IMPL(ReportCreatorWord);
47  CEE_DISALLOW_COPY_AND_ASSIGN(ReportCreatorWord);
48 };
49 
50 } // namespace rep
51 } // namespace cee
52 
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
A general unicode based string class.
Definition: Str.h:28
Collection of snapshots used in report generation.
Definition: Repository.h:33
Report creator for a Word report.
Definition: ReportCreatorWord.h:30