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
a3a7b635
Commit
a3a7b635
authored
Aug 14, 2012
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert wbl to html, <br> added to headers and bold text
parent
5e095a91
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
src/exe/co_convert/src/cnv_wbltohtml.cpp
src/exe/co_convert/src/cnv_wbltohtml.cpp
+18
-18
No files found.
src/exe/co_convert/src/cnv_wbltohtml.cpp
View file @
a3a7b635
...
...
@@ -630,13 +630,13 @@ endl <<
html_clf
->
f
<<
"</XMP><IMG SRC=
\"
"
<<
imagefile
<<
"
\"
><XMP>"
<<
endl
;
}
else
if
(
strncmp
(
CnvCtx
::
low
(
txt
),
"@b"
,
2
)
==
0
)
{
html_clf
->
f
<<
"</XMP><B><FONT SIZE=
\"
3
\"
>"
<<
txt
+
2
<<
"</FONT></B><XMP>"
<<
endl
;
html_clf
->
f
<<
"</XMP><B><FONT SIZE=
\"
3
\"
>"
<<
txt
+
2
<<
"</FONT></B><
BR><
XMP>"
<<
endl
;
}
else
if
(
strncmp
(
CnvCtx
::
low
(
txt
),
"@h1"
,
3
)
==
0
)
{
html_clf
->
f
<<
"</XMP><H3>"
<<
txt
+
3
<<
"</H3><XMP>"
<<
endl
;
html_clf
->
f
<<
"</XMP><H3>"
<<
txt
+
3
<<
"</H3><
BR><
XMP>"
<<
endl
;
}
else
if
(
strncmp
(
CnvCtx
::
low
(
txt
),
"@h2"
,
3
)
==
0
)
{
html_clf
->
f
<<
"</XMP><H4>"
<<
txt
+
3
<<
"</H4><XMP>"
<<
endl
;
html_clf
->
f
<<
"</XMP><H4>"
<<
txt
+
3
<<
"</H4><
BR><
XMP>"
<<
endl
;
}
else
html_clf
->
f
<<
ctx
->
rw
->
doc_text
[
i
]
<<
endl
;
...
...
@@ -908,13 +908,13 @@ int CnvWblToHtml::attribute_exec()
continue
;
}
else
if
(
strncmp
(
CnvCtx
::
low
(
txt
),
"@b"
,
2
)
==
0
)
{
html_clf
->
f
<<
"</XMP><B><FONT SIZE=
\"
3
\"
>"
<<
txt
+
2
<<
"</FONT></B><XMP>"
<<
endl
;
html_clf
->
f
<<
"</XMP><B><FONT SIZE=
\"
3
\"
>"
<<
txt
+
2
<<
"</FONT></B><XMP>
<BR>
"
<<
endl
;
}
else
if
(
strncmp
(
CnvCtx
::
low
(
txt
),
"@h1"
,
3
)
==
0
)
{
html_clf
->
f
<<
"<H3>"
<<
txt
+
3
<<
"</H3>"
<<
endl
;
html_clf
->
f
<<
"<H3>"
<<
txt
+
3
<<
"</H3>
<BR>
"
<<
endl
;
}
else
if
(
strncmp
(
CnvCtx
::
low
(
txt
),
"@h2"
,
3
)
==
0
)
{
html_clf
->
f
<<
"<H4>"
<<
txt
+
3
<<
"</H4>"
<<
endl
;
html_clf
->
f
<<
"<H4>"
<<
txt
+
3
<<
"</H4>
<BR>
"
<<
endl
;
}
else
{
html_clf
->
f
<<
ctx
->
rw
->
doc_text
[
i
];
...
...
@@ -985,13 +985,13 @@ int CnvWblToHtml::attribute_exec()
fp_tmp
<<
"</XMP><IMG SRC=
\"
"
<<
imagefile
<<
"
\"
><XMP>"
<<
endl
;
}
else
if
(
strncmp
(
CnvCtx
::
low
(
txt
),
"@b"
,
2
)
==
0
)
{
fp_tmp
<<
"</XMP><B><FONT SIZE=
\"
3
\"
>"
<<
txt
+
2
<<
"</FONT></B><XMP>"
<<
endl
;
fp_tmp
<<
"</XMP><B><FONT SIZE=
\"
3
\"
>"
<<
txt
+
2
<<
"</FONT></B><
BR><
XMP>"
<<
endl
;
}
else
if
(
strncmp
(
CnvCtx
::
low
(
txt
),
"@h1"
,
3
)
==
0
)
{
fp_tmp
<<
"</XMP><H3>"
<<
txt
+
3
<<
"</H3><XMP>"
<<
endl
;
fp_tmp
<<
"</XMP><H3>"
<<
txt
+
3
<<
"</H3><
BR><
XMP>"
<<
endl
;
}
else
if
(
strncmp
(
CnvCtx
::
low
(
txt
),
"@h2"
,
3
)
==
0
)
{
fp_tmp
<<
"</XMP><H4>"
<<
txt
+
3
<<
"</H4><XMP>"
<<
endl
;
fp_tmp
<<
"</XMP><H4>"
<<
txt
+
3
<<
"</H4><
BR><
XMP>"
<<
endl
;
}
else
fp_tmp
<<
ctx
->
rw
->
doc_text
[
i
]
<<
endl
;
...
...
@@ -1032,13 +1032,13 @@ int CnvWblToHtml::bit_exec()
continue
;
}
else
if
(
strncmp
(
CnvCtx
::
low
(
txt
),
"@b"
,
2
)
==
0
)
{
html_clf
->
f
<<
"</XMP><B><FONT SIZE=
\"
3
\"
>"
<<
txt
+
2
<<
"</FONT></B><XMP>"
<<
endl
;
html_clf
->
f
<<
"</XMP><B><FONT SIZE=
\"
3
\"
>"
<<
txt
+
2
<<
"</FONT></B><XMP>
<BR>
"
<<
endl
;
}
else
if
(
strncmp
(
CnvCtx
::
low
(
txt
),
"@h1"
,
3
)
==
0
)
{
html_clf
->
f
<<
"<H3>"
<<
txt
+
3
<<
"</H3>"
<<
endl
;
html_clf
->
f
<<
"<H3>"
<<
txt
+
3
<<
"</H3>
<BR>
"
<<
endl
;
}
else
if
(
strncmp
(
CnvCtx
::
low
(
txt
),
"@h2"
,
3
)
==
0
)
{
html_clf
->
f
<<
"<H4>"
<<
txt
+
3
<<
"</H4>"
<<
endl
;
html_clf
->
f
<<
"<H4>"
<<
txt
+
3
<<
"</H4>
<BR>
"
<<
endl
;
}
else
{
html_clf
->
f
<<
ctx
->
rw
->
doc_text
[
i
];
...
...
@@ -1081,13 +1081,13 @@ int CnvWblToHtml::bit_exec()
fp_tmp
<<
"</XMP><IMG SRC=
\"
"
<<
imagefile
<<
"
\"
><XMP>"
<<
endl
;
}
else
if
(
strncmp
(
CnvCtx
::
low
(
txt
),
"@b"
,
2
)
==
0
)
{
fp_tmp
<<
"</XMP><B><FONT SIZE=
\"
3
\"
>"
<<
txt
+
2
<<
"</FONT></B><XMP>"
<<
endl
;
fp_tmp
<<
"</XMP><B><FONT SIZE=
\"
3
\"
>"
<<
txt
+
2
<<
"</FONT></B><
BR><
XMP>"
<<
endl
;
}
else
if
(
strncmp
(
CnvCtx
::
low
(
txt
),
"@h1"
,
3
)
==
0
)
{
fp_tmp
<<
"</XMP><H3>"
<<
txt
+
3
<<
"</H3><XMP>"
<<
endl
;
fp_tmp
<<
"</XMP><H3>"
<<
txt
+
3
<<
"</H3><
BR><
XMP>"
<<
endl
;
}
else
if
(
strncmp
(
CnvCtx
::
low
(
txt
),
"@h2"
,
3
)
==
0
)
{
fp_tmp
<<
"</XMP><H4>"
<<
txt
+
3
<<
"</H4><XMP>"
<<
endl
;
fp_tmp
<<
"</XMP><H4>"
<<
txt
+
3
<<
"</H4><
BR><
XMP>"
<<
endl
;
}
else
fp_tmp
<<
ctx
->
rw
->
doc_text
[
i
]
<<
endl
;
...
...
@@ -1265,13 +1265,13 @@ endl <<
html_clf
->
f
<<
"</XMP><IMG SRC=
\"
"
<<
imagefile
<<
"
\"
><XMP>"
<<
endl
;
}
else
if
(
strncmp
(
CnvCtx
::
low
(
txt
),
"@b"
,
2
)
==
0
)
{
html_clf
->
f
<<
"</XMP><B><FONT SIZE=
\"
3
\"
>"
<<
txt
+
2
<<
"</FONT></B><XMP>"
<<
endl
;
html_clf
->
f
<<
"</XMP><B><FONT SIZE=
\"
3
\"
>"
<<
txt
+
2
<<
"</FONT></B><
BR><
XMP>"
<<
endl
;
}
else
if
(
strncmp
(
CnvCtx
::
low
(
txt
),
"@h1"
,
3
)
==
0
)
{
html_clf
->
f
<<
"</XMP><H3>"
<<
txt
+
3
<<
"</H3><XMP>"
<<
endl
;
html_clf
->
f
<<
"</XMP><H3>"
<<
txt
+
3
<<
"</H3><
BR><
XMP>"
<<
endl
;
}
else
if
(
strncmp
(
CnvCtx
::
low
(
txt
),
"@h2"
,
3
)
==
0
)
{
html_clf
->
f
<<
"</XMP><H4>"
<<
txt
+
3
<<
"</H4><XMP>"
<<
endl
;
html_clf
->
f
<<
"</XMP><H4>"
<<
txt
+
3
<<
"</H4><
BR><
XMP>"
<<
endl
;
}
else
html_clf
->
f
<<
ctx
->
rw
->
doc_text
[
i
]
<<
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