ITK Function Reference
(V10000.1.0.60_20160308.00)
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
req
requirement.h
Go to the documentation of this file.
1
//Copyright 2012 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.
2
//==================================================
3
//Copyright $2014.
4
//Siemens Product Lifecycle Management Software Inc.
5
//All Rights Reserved.
6
//==================================================
7
//Copyright 2012 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.
8
20
#ifndef REQUIREMENT_H
21
#define REQUIREMENT_H
22
23
#include <
tc/tc_startup.h
>
24
#include <req/libreq_exports.h>
25
56
#ifdef __cplusplus
57
extern
"C"
{
58
#endif
59
61
#define REQ_export_as_ms_word_xml "MSWordXML"
62
63
#define REQ_export_as_ms_word_xml_live "MSWordXMLLive"
64
65
#define REQ_export_as_structure_contents "StructureWithContents"
66
67
#define REQ_export_as_ms_word_markup "ReqMarkupMgmt"
68
69
#define REQ_export_as_ms_word_markup_live "ReqMarkupMgmtFN"
70
71
#define REQ_url_server_preference "WEB_default_site_server"
72
73
#define REQ_url_protocol_preference "WEB_protocol"
74
75
#define REQ_url_application_name "WEB_default_site_deployed_app_name"
76
77
81
typedef
struct
82
{
83
char
*
option
;
84
char
*
value
;
85
}
REQ_importexport_options_t
;
86
90
typedef
enum
REQ_content_types_e
{
91
REQ_HTML
,
92
REQ_PLAINTEXT
,
93
REQ_RICHTEXT
94
}
REQ_content_types_t
;
95
96
110
extern
REQ_API
int
REQ_word_export
(
111
int
size,
112
const
tag_t
* bom_lines,
113
logical
deep,
114
int
document_type,
115
const
char
* specification_template,
116
int
object_template_count,
117
const
char
** bo_type,
118
const
char
** object_template,
119
int
export_option_count,
120
const
REQ_importexport_options_t
* export_options,
121
const
char
* mode_of_operation,
123
char
**document_location
124
);
125
126
145
extern
REQ_API
int
REQ_excel_export
(
146
int
object_count,
147
const
tag_t
* objects,
148
int
attribute_count,
149
const
char
** attributes,
150
const
char
* template_name,
151
const
char
* application_format,
159
int
export_option_count,
160
const
REQ_importexport_options_t
* export_options,
161
char
** file_path
162
);
163
164
176
extern
REQ_API
int
REQ_collect_markups
(
177
int
req_rev_count,
178
const
tag_t
* req_rev_list,
179
char
** markup_file_path
180
);
181
192
extern
REQ_API
int
REQ_set_contents
(
193
tag_t
rev_or_fulltext_tag,
194
REQ_content_types_t
content_type,
195
const
char
* contents
196
);
197
198
199
#ifdef __cplusplus
200
}
201
#endif
202
205
#include <req/libreq_undef.h>
206
#endif