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
5770ee7d
Commit
5770ee7d
authored
Jan 22, 2013
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Helpfile chapter and headerlevel bugfix
parent
785557f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
src/exe/co_convert/src/cnv_topdf.cpp
src/exe/co_convert/src/cnv_topdf.cpp
+2
-2
src/exe/co_convert/src/cnv_xtthelptopdf.cpp
src/exe/co_convert/src/cnv_xtthelptopdf.cpp
+3
-2
No files found.
src/exe/co_convert/src/cnv_topdf.cpp
View file @
5770ee7d
...
@@ -1161,8 +1161,8 @@ void CnvToPdf::incr_headerlevel()
...
@@ -1161,8 +1161,8 @@ void CnvToPdf::incr_headerlevel()
void
CnvToPdf
::
decr_headerlevel
()
void
CnvToPdf
::
decr_headerlevel
()
{
{
ci
--
;
ci
--
;
if
(
ci
<
pdf_eId_
TopicL1
)
if
(
ci
<
pdf_eId_
Chapter
)
ci
=
pdf_eId_
TopicL1
;
ci
=
pdf_eId_
Chapter
;
}
}
void
CnvToPdf
::
reset_headernumbers
(
int
level
)
void
CnvToPdf
::
reset_headernumbers
(
int
level
)
...
...
src/exe/co_convert/src/cnv_xtthelptopdf.cpp
View file @
5770ee7d
...
@@ -144,8 +144,9 @@ void *CnvXtthelpToPdf::insert( navh_eItemType item_type, const char *text1,
...
@@ -144,8 +144,9 @@ void *CnvXtthelpToPdf::insert( navh_eItemType item_type, const char *text1,
topdf
.
y
=
pdf_cPageHeight
-
pdf_cTopMargin
;
topdf
.
y
=
pdf_cPageHeight
-
pdf_cTopMargin
;
}
}
}
}
else
else
{
topdf
.
set_ci
(
pdf_eId_TopicL1
);
// topdf.set_ci( pdf_eId_TopicL1);
}
}
}
if
(
first_topic
)
{
if
(
first_topic
)
{
...
...
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