Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
onlyoffice_core
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
onlyoffice_core
Commits
3b3cf754
Commit
3b3cf754
authored
Jun 06, 2016
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
https://github.com/ONLYOFFICE/core
into develop
parents
32c35803
cf8d2082
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
PdfWriter/OnlineOfficeBinToPdf.cpp
PdfWriter/OnlineOfficeBinToPdf.cpp
+26
-0
No files found.
PdfWriter/OnlineOfficeBinToPdf.cpp
View file @
3b3cf754
...
...
@@ -314,6 +314,10 @@ namespace NSOnlineOfficeBinToPdf
{
pPdf
->
NewPage
();
pPdf
->
BeginCommand
(
c_nPageType
);
// TODO:
pPdf
->
put_PenLineStartCap
(
Aggplus
::
LineCapFlat
);
pPdf
->
put_PenLineEndCap
(
Aggplus
::
LineCapFlat
);
break
;
}
case
ctPageEnd
:
...
...
@@ -346,6 +350,28 @@ namespace NSOnlineOfficeBinToPdf
pPdf
->
put_PenSize
(
ReadInt
(
current
,
curindex
)
/
100000.0
);
break
;
}
case
ctPenDashStyle
:
{
BYTE
nDashType
=
*
current
++
;
curindex
++
;
switch
(
nDashType
)
{
case
Aggplus
:
:
DashStyleCustom
:
{
int
nCountDash
=
ReadInt
(
current
,
curindex
);
double
*
pDash
=
new
double
(
nCountDash
);
for
(
int
nDash
=
0
;
nDash
<
nCountDash
;
++
nDash
)
{
pDash
[
nDash
]
=
ReadInt
(
current
,
curindex
)
/
100000.0
;
}
pPdf
->
PenDashPattern
(
pDash
,
nCountDash
);
}
default:
pPdf
->
put_PenDashStyle
(
nDashType
);
}
break
;
}
case
ctPenLineJoin
:
{
pPdf
->
put_PenLineJoin
(
*
current
);
...
...
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