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
2c83f9cb
Commit
2c83f9cb
authored
Nov 17, 2005
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Class tree html work
parent
369383a1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
12 deletions
+37
-12
src/doc/orm/src/orm.css
src/doc/orm/src/orm.css
+10
-0
src/exe/co_convert/src/cnv_classdep.cpp
src/exe/co_convert/src/cnv_classdep.cpp
+23
-9
src/exe/co_convert/src/cnv_wbltohtml.cpp
src/exe/co_convert/src/cnv_wbltohtml.cpp
+4
-3
No files found.
src/doc/orm/src/orm.css
View file @
2c83f9cb
...
...
@@ -92,6 +92,16 @@ div#description {
background-color
:
#ffffff
;
}
table
#ctree
{
font-family
:
Arial
,
Verdana
;
font-size
:
12pt
;
text-align
:
left
;
border
:
1px
solid
black
;
}
td
#ctree
{
border
:
1px
solid
gray
;
padding
:
2px
10px
2px
10px
;
width
:
200px
;
}
...
...
src/exe/co_convert/src/cnv_classdep.cpp
View file @
2c83f9cb
/*
* Proview $Id: cnv_classdep.cpp,v 1.
1 2005-11-14 16:11:23
claes Exp $
* Proview $Id: cnv_classdep.cpp,v 1.
2 2005-11-17 08:59:21
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -152,18 +152,32 @@ void CnvClassDep::print_html_classtable( int idx)
" </head>"
<<
endl
<<
" <body>"
<<
endl
;
if
(
parent_cnt
==
0
&&
classlist
[
idx
].
fch
==
0
)
fp
<<
"There are no superclass and no known subclasses to this class"
<<
endl
;
if
(
parent_cnt
==
0
&&
classlist
[
idx
].
fch
==
0
)
{
switch
(
Lng
::
current
())
{
case
lng_eLanguage_sv_se
:
fp
<<
"Det finns ingen superklass eller knda subklasser till klass "
<<
classlist
[
idx
].
name
<<
"."
<<
endl
;
break
;
default:
fp
<<
"There are no superclass or known subclasses to class "
<<
classlist
[
idx
].
name
<<
"."
<<
endl
;
}
}
else
{
fp
<<
"<table border><tr>"
<<
endl
;
switch
(
Lng
::
current
())
{
case
lng_eLanguage_sv_se
:
fp
<<
"<h2>Klasstrd "
<<
classlist
[
idx
].
name
<<
"</h2>"
<<
endl
;
break
;
default:
fp
<<
"<h2>ClassTree "
<<
classlist
[
idx
].
name
<<
"</h2>"
<<
endl
;
}
fp
<<
"<table id=
\"
ctree
\"
><tr>"
<<
endl
;
for
(
int
i
=
parent_cnt
-
1
;
i
>=
0
;
i
--
)
{
sprintf
(
href
,
"%s_%s.html"
,
classlist
[
parentlist
[
i
]].
volumename
,
classlist
[
parentlist
[
i
]].
name
);
cdh_ToLower
(
href
,
href
);
fp
<<
"<td><a href=
\"
"
<<
href
<<
"
\"
>"
<<
classlist
[
parentlist
[
i
]].
name
<<
"</a></td>"
<<
endl
;
fp
<<
"<td
id=
\"
ctree
\"
><a href=
\"
"
<<
href
<<
"
\"
>"
<<
classlist
[
parentlist
[
i
]].
name
<<
"</a></td>"
<<
endl
;
}
sprintf
(
href
,
"%s_%s.html"
,
classlist
[
idx
].
volumename
,
classlist
[
idx
].
name
);
cdh_ToLower
(
href
,
href
);
fp
<<
"<td
bgcolor=
\"
lightblue
\"
><a href=
\"
"
<<
href
<<
"
\"
>"
<<
classlist
[
idx
].
name
<<
"</a></td><td
>"
<<
endl
;
fp
<<
"<td
id=
\"
ctree
\"
bgcolor=
\"
lightblue
\"
><a href=
\"
"
<<
href
<<
"
\"
>"
<<
classlist
[
idx
].
name
<<
"</a></td><td id=
\"
ctree
\"
>"
<<
endl
;
print_html_classtable_children
(
fp
,
idx
);
fp
<<
"</td></table>"
<<
endl
;
...
...
@@ -180,13 +194,13 @@ void CnvClassDep::print_html_classtable_children( ofstream& fp, int idx)
if
(
classlist
[
idx
].
fch
==
0
)
return
;
fp
<<
"<table
border
>"
<<
endl
;
fp
<<
"<table
id=
\"
ctree
\"
>"
<<
endl
;
for
(
int
i
=
classlist
[
idx
].
fch
;
i
;
i
=
classlist
[
i
].
fws
)
{
sprintf
(
href
,
"%s_%s.html"
,
classlist
[
i
].
volumename
,
classlist
[
i
].
name
);
cdh_ToLower
(
href
,
href
);
fp
<<
"<tr><td><a href=
\"
"
<<
href
<<
"
\"
>"
<<
classlist
[
i
].
name
<<
"</a>"
<<
endl
;
fp
<<
"<tr><td
id=
\"
ctree
\"
><a href=
\"
"
<<
href
<<
"
\"
>"
<<
classlist
[
i
].
name
<<
"</a>"
<<
endl
;
if
(
classlist
[
i
].
fch
)
{
fp
<<
"<td>"
<<
endl
;
fp
<<
"<td
id=
\"
ctree
\"
>"
<<
endl
;
print_html_classtable_children
(
fp
,
i
);
fp
<<
"</td></tr>"
<<
endl
;
}
...
...
src/exe/co_convert/src/cnv_wbltohtml.cpp
View file @
2c83f9cb
/*
* Proview $Id: cnv_wbltohtml.cpp,v 1.1
0 2005-11-14 16:11:23
claes Exp $
* Proview $Id: cnv_wbltohtml.cpp,v 1.1
1 2005-11-17 08:59:21
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -532,14 +532,15 @@ endl <<
" | <A HREF=
\"
#detail
\"
>Detail</A>"
<<
endl
<<
" C Binding: "
<<
endl
<<
" <A HREF=
\"
"
<<
struct_file
<<
"#"
<<
ctx
->
rw
->
class_name
<<
"
\"
>Struct</A>"
<<
endl
<<
" | <A HREF=
\"
"
<<
hpp_file
<<
"#"
<<
ctx
->
rw
->
class_name
<<
"
\"
>Class</A>"
<<
endl
<<
"  <A HREF=
\"
"
<<
ctree_file
<<
"
\"
>ClassTree</A>"
<<
endl
;
" | <A HREF=
\"
"
<<
hpp_file
<<
"#"
<<
ctx
->
rw
->
class_name
<<
"
\"
>Class</A>"
<<
endl
;
if
(
ctx
->
rw
->
doc_fresh
&&
strcmp
(
ctx
->
rw
->
doc_code
,
""
)
!=
0
)
{
CnvReadSrc
::
filename_to_html
(
ref_name
,
ctx
->
rw
->
doc_code
);
html_clf
->
f
<<
" | <A HREF=
\"
"
<<
ref_name
<<
"#"
<<
low_class_name
<<
"
\"
>Code</A>"
<<
endl
;
}
html_clf
->
f
<<
"  <A HREF=
\"
"
<<
ctree_file
<<
"
\"
>ClassTree</A>"
<<
endl
;
html_clf
->
f
<<
"</FONT></TD>"
<<
endl
<<
...
...
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