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
ceaffbed
Commit
ceaffbed
authored
Nov 03, 2008
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More gcc 4.5
parent
0ff2c585
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
43 additions
and
43 deletions
+43
-43
src/exe/co_convert/src/cnv_content.cpp
src/exe/co_convert/src/cnv_content.cpp
+2
-2
src/exe/co_convert/src/cnv_content.h
src/exe/co_convert/src/cnv_content.h
+2
-2
src/exe/co_convert/src/cnv_topdf.cpp
src/exe/co_convert/src/cnv_topdf.cpp
+7
-7
src/exe/co_convert/src/cnv_topdf.h
src/exe/co_convert/src/cnv_topdf.h
+7
-7
src/exe/co_convert/src/cnv_xtthelptopdf.cpp
src/exe/co_convert/src/cnv_xtthelptopdf.cpp
+7
-7
src/exe/co_convert/src/cnv_xtthelptopdf.h
src/exe/co_convert/src/cnv_xtthelptopdf.h
+6
-6
src/exe/co_convert/src/cnv_xtthelptops.cpp
src/exe/co_convert/src/cnv_xtthelptops.cpp
+6
-6
src/exe/co_convert/src/cnv_xtthelptops.h
src/exe/co_convert/src/cnv_xtthelptops.h
+6
-6
No files found.
src/exe/co_convert/src/cnv_content.cpp
View file @
ceaffbed
/*
* Proview $Id: cnv_content.cpp,v 1.
3 2008-10-31 12:51:30
claes Exp $
* Proview $Id: cnv_content.cpp,v 1.
4 2008-11-03 09:50:24
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -38,7 +38,7 @@ extern "C" {
using
namespace
std
;
int
CnvContent
::
find_link
(
char
*
subject
,
char
*
text
,
int
*
page
)
int
CnvContent
::
find_link
(
c
onst
c
har
*
subject
,
char
*
text
,
int
*
page
)
{
char
key_part
[
4
][
40
];
char
subject_part
[
4
][
40
];
...
...
src/exe/co_convert/src/cnv_content.h
View file @
ceaffbed
/*
* Proview $Id: cnv_content.h,v 1.
4 2008-10-31 12:51:30
claes Exp $
* Proview $Id: cnv_content.h,v 1.
5 2008-11-03 09:50:24
claes Exp $
* Copyright (C) 2005 SSAB Oxelösund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -48,7 +48,7 @@ class CnvContent {
CnvContent
()
{}
vector
<
CnvContentElem
>
tab
;
void
add
(
CnvContentElem
&
elem
);
int
find_link
(
char
*
subject
,
char
*
text
,
int
*
page
);
int
find_link
(
c
onst
c
har
*
subject
,
char
*
text
,
int
*
page
);
};
#endif
...
...
src/exe/co_convert/src/cnv_topdf.cpp
View file @
ceaffbed
/*
* Proview $Id: cnv_topdf.cpp,v 1.
7 2008-10-31 12:51:30
claes Exp $
* Proview $Id: cnv_topdf.cpp,v 1.
8 2008-11-03 09:50:24
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -798,7 +798,7 @@ void CnvToPdf::print_horizontal_line()
y
-=
3
;
}
int
CnvToPdf
::
print_image_inline
(
char
*
filename
)
int
CnvToPdf
::
print_image_inline
(
c
onst
c
har
*
filename
)
{
cnv_tImImage
image
;
cnv_tPixmap
pixmap
;
...
...
@@ -878,7 +878,7 @@ scalex * width << " 0 0 " << scaley * height << " " << x << " " << y - scaley *
return
1
;
}
int
CnvToPdf
::
print_image
(
char
*
filename
)
int
CnvToPdf
::
print_image
(
c
onst
c
har
*
filename
)
{
cnv_tImImage
image
;
cnv_tPixmap
pixmap
;
...
...
@@ -961,13 +961,13 @@ int CnvToPdf::print_image( char *filename)
}
void
CnvToPdf
::
set_pageheader
(
char
*
text
)
void
CnvToPdf
::
set_pageheader
(
c
onst
c
har
*
text
)
{
strcpy
(
previous_chapter
,
current_chapter
);
strcpy
(
current_chapter
,
text
);
}
void
CnvToPdf
::
print_h1
(
char
*
text
,
int
hlevel
,
char
*
subject
)
void
CnvToPdf
::
print_h1
(
c
onst
c
har
*
text
,
int
hlevel
,
char
*
subject
)
{
char
hnum
[
40
];
...
...
@@ -1023,12 +1023,12 @@ void CnvToPdf::print_h1( char *text, int hlevel, char *subject)
strcpy
(
previous_chapter
,
current_chapter
);
}
void
CnvToPdf
::
print_h2
(
char
*
text
)
void
CnvToPdf
::
print_h2
(
c
onst
c
har
*
text
)
{
print_text
(
text
,
style
[
ci
].
h2
);
}
void
CnvToPdf
::
print_h3
(
char
*
text
)
void
CnvToPdf
::
print_h3
(
c
onst
c
har
*
text
)
{
print_text
(
text
,
style
[
ci
].
h3
);
}
...
...
src/exe/co_convert/src/cnv_topdf.h
View file @
ceaffbed
/*
* Proview $Id: cnv_topdf.h,v 1.
6 2008-10-31 12:51:30
claes Exp $
* Proview $Id: cnv_topdf.h,v 1.
7 2008-11-03 09:50:24
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -186,12 +186,12 @@ class CnvToPdf {
int
gray
);
void
print_pagebreak
(
int
print_num
);
void
print_content
();
void
print_h1
(
char
*
text
,
int
hlevel
,
char
*
subject
);
void
print_h2
(
char
*
text
);
void
print_h3
(
char
*
text
);
void
print_h1
(
c
onst
c
har
*
text
,
int
hlevel
,
char
*
subject
);
void
print_h2
(
c
onst
c
har
*
text
);
void
print_h3
(
c
onst
c
har
*
text
);
void
print_horizontal_line
();
int
print_image
(
char
*
filename
);
int
print_image_inline
(
char
*
filename
);
int
print_image
(
c
onst
c
har
*
filename
);
int
print_image_inline
(
c
onst
c
har
*
filename
);
void
cnv_text
(
char
*
to
,
const
char
*
from
);
void
set_confpass
(
bool
conf
)
{
conf_pass
=
conf
;
...
...
@@ -214,7 +214,7 @@ class CnvToPdf {
void
incr_headerlevel
();
void
decr_headerlevel
();
void
reset_headernumbers
(
int
level
);
void
set_pageheader
(
char
*
text
);
void
set_pageheader
(
c
onst
c
har
*
text
);
void
set_useoutlines
(
int
u
)
{
use_outlines
=
u
;}
char
*
fontname
(
CnvStyle
&
style
);
...
...
src/exe/co_convert/src/cnv_xtthelptopdf.cpp
View file @
ceaffbed
/*
* Proview $Id: cnv_xtthelptopdf.cpp,v 1.
3 2008-10-31 12:51:30
claes Exp $
* Proview $Id: cnv_xtthelptopdf.cpp,v 1.
4 2008-11-03 09:50:24
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -51,7 +51,7 @@ extern "C" {
#define abs(Dragon) ((Dragon) >= 0 ? (Dragon) : (-(Dragon)))
#endif
void
CnvXtthelpToPdf
::
subject_to_fname
(
char
*
fname
,
char
*
subject
,
int
path
)
void
CnvXtthelpToPdf
::
subject_to_fname
(
char
*
fname
,
c
onst
c
har
*
subject
,
int
path
)
{
if
(
path
)
{
...
...
@@ -74,11 +74,11 @@ CnvXtthelpToPdf::~CnvXtthelpToPdf()
topdf
.
close
();
}
void
*
CnvXtthelpToPdf
::
insert
(
navh_eItemType
item_type
,
char
*
text1
,
char
*
text2
,
char
*
text3
,
char
*
alink
,
char
*
link_bookmark
,
char
*
file_name
,
navh_eHelpFile
file_type
,
int
help_index
,
char
*
bookmark
)
void
*
CnvXtthelpToPdf
::
insert
(
navh_eItemType
item_type
,
c
onst
c
har
*
text1
,
const
char
*
text2
,
const
char
*
text3
,
const
char
*
alink
,
const
char
*
link_bookmark
,
const
char
*
file_name
,
navh_eHelpFile
file_type
,
int
help_index
,
const
char
*
bookmark
)
{
char
link
[
80
];
if
(
alink
)
...
...
src/exe/co_convert/src/cnv_xtthelptopdf.h
View file @
ceaffbed
/*
* Proview $Id: cnv_xtthelptopdf.h,v 1.
3 2008-10-31 12:51:30
claes Exp $
* Proview $Id: cnv_xtthelptopdf.h,v 1.
4 2008-11-03 09:50:24
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -55,12 +55,12 @@ class CnvXtthelpToPdf : public CnvXtthelpTo {
virtual
~
CnvXtthelpToPdf
();
Cnv_eXtthelpToType
type
()
{
return
Cnv_eXtthelpToType_Ps
;}
void
*
insert
(
navh_eItemType
item_type
,
char
*
text1
,
c
har
*
text2
,
char
*
text3
,
char
*
link
,
c
har
*
link_bookmark
,
char
*
file_name
,
void
*
insert
(
navh_eItemType
item_type
,
c
onst
c
har
*
text1
,
c
onst
char
*
text2
,
const
char
*
text3
,
const
char
*
link
,
c
onst
char
*
link_bookmark
,
const
char
*
file_name
,
navh_eHelpFile
file_type
,
int
help_index
,
char
*
bookmark
);
void
subject_to_fname
(
char
*
fname
,
char
*
subject
,
int
path
);
c
onst
c
har
*
bookmark
);
void
subject_to_fname
(
char
*
fname
,
c
onst
c
har
*
subject
,
int
path
);
bool
confpass
()
{
return
true
;}
void
set_confpass
(
bool
conf
)
{
topdf
.
set_confpass
(
conf
);
...
...
src/exe/co_convert/src/cnv_xtthelptops.cpp
View file @
ceaffbed
/*
* Proview $Id: cnv_xtthelptops.cpp,v 1.
4 2008-10-31 12:51:30
claes Exp $
* Proview $Id: cnv_xtthelptops.cpp,v 1.
5 2008-11-03 09:50:24
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -51,7 +51,7 @@ extern "C" {
#define abs(Dragon) ((Dragon) >= 0 ? (Dragon) : (-(Dragon)))
#endif
void
CnvXtthelpToPs
::
subject_to_fname
(
char
*
fname
,
char
*
subject
,
int
path
)
void
CnvXtthelpToPs
::
subject_to_fname
(
char
*
fname
,
c
onst
c
har
*
subject
,
int
path
)
{
if
(
path
)
{
...
...
@@ -74,11 +74,11 @@ CnvXtthelpToPs::~CnvXtthelpToPs()
tops
.
close
();
}
void
*
CnvXtthelpToPs
::
insert
(
navh_eItemType
item_type
,
char
*
text1
,
c
har
*
text2
,
char
*
text3
,
char
*
link
,
c
har
*
link_bookmark
,
char
*
file_name
,
void
*
CnvXtthelpToPs
::
insert
(
navh_eItemType
item_type
,
c
onst
c
har
*
text1
,
c
onst
char
*
text2
,
const
char
*
text3
,
const
char
*
link
,
c
onst
char
*
link_bookmark
,
const
char
*
file_name
,
navh_eHelpFile
file_type
,
int
help_index
,
char
*
bookmark
)
c
onst
c
har
*
bookmark
)
{
if
(
option
&
ps_mOption_printDisable
&&
item_type
!=
navh_eItemType_Option
)
...
...
src/exe/co_convert/src/cnv_xtthelptops.h
View file @
ceaffbed
/*
* Proview $Id: cnv_xtthelptops.h,v 1.
4 2008-10-31 12:51:30
claes Exp $
* Proview $Id: cnv_xtthelptops.h,v 1.
5 2008-11-03 09:50:24
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -55,12 +55,12 @@ class CnvXtthelpToPs : public CnvXtthelpTo {
virtual
~
CnvXtthelpToPs
();
Cnv_eXtthelpToType
type
()
{
return
Cnv_eXtthelpToType_Ps
;}
void
*
insert
(
navh_eItemType
item_type
,
char
*
text1
,
c
har
*
text2
,
char
*
text3
,
char
*
link
,
c
har
*
link_bookmark
,
char
*
file_name
,
void
*
insert
(
navh_eItemType
item_type
,
c
onst
c
har
*
text1
,
c
onst
char
*
text2
,
const
char
*
text3
,
const
char
*
link
,
c
onst
char
*
link_bookmark
,
const
char
*
file_name
,
navh_eHelpFile
file_type
,
int
help_index
,
char
*
bookmark
);
void
subject_to_fname
(
char
*
fname
,
char
*
subject
,
int
path
);
c
onst
c
har
*
bookmark
);
void
subject_to_fname
(
char
*
fname
,
c
onst
c
har
*
subject
,
int
path
);
bool
confpass
()
{
return
true
;}
void
set_confpass
(
bool
conf
)
{
tops
.
set_confpass
(
conf
);
...
...
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