Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
6a30b721
Commit
6a30b721
authored
Apr 29, 2010
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Orm, function objects pin name s, graphname, displayed in object reference manual and xtt help
parent
3d4ecd3d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
4 deletions
+23
-4
src/exe/co_convert/src/cnv_readwbl.cpp
src/exe/co_convert/src/cnv_readwbl.cpp
+4
-0
src/exe/co_convert/src/cnv_readwbl.h
src/exe/co_convert/src/cnv_readwbl.h
+1
-0
src/exe/co_convert/src/cnv_wbltohtml.cpp
src/exe/co_convert/src/cnv_wbltohtml.cpp
+13
-2
src/exe/co_convert/src/cnv_wbltoxtthelp.cpp
src/exe/co_convert/src/cnv_wbltoxtthelp.cpp
+5
-2
No files found.
src/exe/co_convert/src/cnv_readwbl.cpp
View file @
6a30b721
...
...
@@ -684,6 +684,7 @@ void CnvReadWbl::attribute_init()
strcpy
(
attr_typeref
,
""
);
strcpy
(
attr_typeref_volume
,
""
);
strcpy
(
attr_pgmname
,
""
);
strcpy
(
attr_graphname
,
""
);
strcpy
(
attr_elements
,
""
);
attr_pointer
=
0
;
attr_array
=
0
;
...
...
@@ -760,6 +761,9 @@ int CnvReadWbl::attribute_attr( char *name, char *value)
else
if
(
strcmp
(
low
(
name
),
"pgmname"
)
==
0
)
{
strcpy
(
attr_pgmname
,
value
);
}
else
if
(
strcmp
(
low
(
name
),
"graphname"
)
==
0
)
{
strcpy
(
attr_graphname
,
value
);
}
return
1
;
}
...
...
src/exe/co_convert/src/cnv_readwbl.h
View file @
6a30b721
...
...
@@ -133,6 +133,7 @@ class CnvReadWbl {
char
attr_elements
[
80
];
int
attr_elem
;
char
attr_pgmname
[
80
];
char
attr_graphname
[
80
];
char
volume_name
[
80
];
char
class_id
[
80
];
char
class_name
[
80
];
...
...
src/exe/co_convert/src/cnv_wbltohtml.cpp
View file @
6a30b721
...
...
@@ -672,7 +672,7 @@ endl <<
"<A NAME=
\"
"
<<
ctx
->
rw
->
body_name
<<
"
\"
><!-- --></A>"
<<
endl
<<
"<TABLE BORDER=
\"
1
\"
CELLPADDING=
\"
3
\"
CELLSPACING=
\"
0
\"
WIDTH=
\"
100%
\"
>"
<<
endl
<<
"<TR BGCOLOR=
\"
#CCCCFF
\"
CLASS=
\"
TableHeadingColor
\"
>"
<<
endl
<<
"<TD COLSPAN=
3
><FONT SIZE=
\"
+2
\"
>"
<<
endl
<<
"<TD COLSPAN=
4
><FONT SIZE=
\"
+2
\"
>"
<<
endl
<<
"<B>"
<<
ctx
->
rw
->
body_name
<<
" attributes</B></FONT>"
<<
"<FONT SIZE=
\"
+1
\"
<B> <A HREF=
\"
"
<<
struct_file
<<
"#"
<<
ctx
->
rw
->
class_name
<<
"
\"
>"
<<
struct_name
<<
"</A></B></FONT></TD>"
<<
endl
<<
"</TR>"
<<
endl
;
...
...
@@ -872,7 +872,14 @@ int CnvWblToHtml::attribute_exec()
"<CODE>"
<<
ctx
->
rw
->
attr_typeref
<<
"</CODE></FONT></A></TD>"
<<
endl
;
html_clf
->
f
<<
"</A><TD><A HREF=
\"
#"
<<
ctx
->
rw
->
attr_name
<<
"
\"
><CODE><B>"
<<
ctx
->
rw
->
attr_name
<<
"</B></CODE></A></TD>"
<<
endl
<<
"</A><TD><A HREF=
\"
#"
<<
ctx
->
rw
->
attr_name
<<
"
\"
><CODE><B>"
<<
ctx
->
rw
->
attr_name
<<
"</B></CODE></A></TD>"
<<
endl
;
if
(
strcmp
(
ctx
->
rw
->
attr_graphname
,
""
)
!=
0
)
html_clf
->
f
<<
"<TD WIDTH=
\"
1%
\"
>"
<<
ctx
->
rw
->
attr_graphname
<<
"</TD>"
<<
endl
;
else
html_clf
->
f
<<
"<TD WIDTH=
\"
1%
\"
> </TD>"
<<
endl
;
html_clf
->
f
<<
"<TD>"
;
if
(
ctx
->
rw
->
doc_fresh
)
{
...
...
@@ -937,6 +944,10 @@ int CnvWblToHtml::attribute_exec()
fp_tmp
<<
"<DT><CODE><B>Elements</B> "
<<
ctx
->
rw
->
attr_elements
<<
"</CODE><DT>"
<<
endl
;
if
(
strcmp
(
ctx
->
rw
->
attr_graphname
,
""
)
!=
0
)
fp_tmp
<<
"<DT><CODE><B>GraphName</B> "
<<
ctx
->
rw
->
attr_graphname
<<
"</CODE><DT>"
<<
endl
;
fp_tmp
<<
"<DT><CODE><B>"
<<
Lng
::
translate
(
"Body"
)
<<
"</B> "
<<
ctx
->
rw
->
body_name
<<
"</CODE><DT>"
<<
endl
;
fp_tmp
<<
...
...
src/exe/co_convert/src/cnv_wbltoxtthelp.cpp
View file @
6a30b721
...
...
@@ -224,9 +224,12 @@ int CnvWblToXtthelp::attribute_exec()
if
(
Lng
::
current
()
!=
lng_eLanguage_en_US
)
lng_sts
=
ctx
->
rw
->
read_lng
(
ctx
->
rw
->
class_name
,
ctx
->
rw
->
attr_name
);
fp_tmp
<<
endl
<<
if
(
strcmp
(
ctx
->
rw
->
attr_graphname
,
""
)
==
0
)
fp_tmp
<<
endl
<<
"<H2>"
<<
ctx
->
rw
->
attr_name
<<
"<BOOKMARK>"
<<
ctx
->
rw
->
attr_name
<<
endl
;
else
fp_tmp
<<
endl
<<
"<H2>"
<<
ctx
->
rw
->
attr_name
<<
" "
<<
ctx
->
rw
->
attr_graphname
<<
"<BOOKMARK>"
<<
ctx
->
rw
->
attr_name
<<
endl
;
if
(
ctx
->
rw
->
attr_array
&&
ctx
->
rw
->
attr_pointer
)
fp_tmp
<<
"<B>Array["
<<
ctx
->
rw
->
attr_elements
<<
"] of pointers to "
<<
ctx
->
rw
->
attr_typeref
<<
" "
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment