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
e726c50a
Commit
e726c50a
authored
Apr 20, 2016
by
Oleg Korshul
Committed by
Alexander Trofimov
May 21, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
поправил с учетом новых интерфейсов
parent
7d321f25
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
X2tConverter/src/ASCConverters.cpp
X2tConverter/src/ASCConverters.cpp
+6
-6
No files found.
X2tConverter/src/ASCConverters.cpp
View file @
e726c50a
...
...
@@ -1766,20 +1766,20 @@ namespace NExtractTools
if
(
AVS_OFFICESTUDIO_FILE_CROSSPLATFORM_PDF
==
nFormatFrom
)
{
PdfReader
::
CPdfReader
oReader
(
&
oApplicationFonts
);
oReader
.
SetTemp
Folder
(
sTemp
.
c_str
()
);
oReader
.
SetTemp
Directory
(
sTemp
);
nRes
=
PdfDjvuXpsToRenderer
<
PdfReader
::
CPdfReader
>
(
oReader
,
&
pdfWriter
,
sFrom
,
nFormatFrom
,
sTo
,
sTemp
,
sFontPath
);
pdfWriter
.
SaveToFile
(
sTo
);
}
else
if
(
AVS_OFFICESTUDIO_FILE_CROSSPLATFORM_DJVU
==
nFormatFrom
)
{
CDjVuFile
oReader
;
CDjVuFile
oReader
(
&
oApplicationFonts
)
;
nRes
=
PdfDjvuXpsToRenderer
<
CDjVuFile
>
(
oReader
,
&
pdfWriter
,
sFrom
,
nFormatFrom
,
sTo
,
sTemp
,
sFontPath
);
pdfWriter
.
SaveToFile
(
sTo
);
}
else
if
(
AVS_OFFICESTUDIO_FILE_CROSSPLATFORM_XPS
==
nFormatFrom
)
{
CXpsFile
oReader
(
&
oApplicationFonts
);
oReader
.
SetTemp
Folder
(
sTemp
.
c_str
()
);
oReader
.
SetTemp
Directory
(
sTemp
);
nRes
=
PdfDjvuXpsToRenderer
<
CXpsFile
>
(
oReader
,
&
pdfWriter
,
sFrom
,
nFormatFrom
,
sTo
,
sTemp
,
sFontPath
);
pdfWriter
.
SaveToFile
(
sTo
);
}
...
...
@@ -1801,20 +1801,20 @@ namespace NExtractTools
if
(
AVS_OFFICESTUDIO_FILE_CROSSPLATFORM_PDF
==
nFormatFrom
)
{
PdfReader
::
CPdfReader
oReader
(
&
oApplicationFonts
);
oReader
.
SetTemp
Folder
(
sTemp
.
c_str
()
);
oReader
.
SetTemp
Directory
(
sTemp
);
nRes
=
PdfDjvuXpsToRenderer
<
PdfReader
::
CPdfReader
>
(
oReader
,
&
oHtmlRenderer
,
sFrom
,
nFormatFrom
,
sTo
,
sTemp
,
sFontPath
);
oHtmlRenderer
.
CloseFile
();
}
else
if
(
AVS_OFFICESTUDIO_FILE_CROSSPLATFORM_DJVU
==
nFormatFrom
)
{
CDjVuFile
oReader
;
CDjVuFile
oReader
(
&
oApplicationFonts
)
;
nRes
=
PdfDjvuXpsToRenderer
<
CDjVuFile
>
(
oReader
,
&
oHtmlRenderer
,
sFrom
,
nFormatFrom
,
sTo
,
sTemp
,
sFontPath
);
oHtmlRenderer
.
CloseFile
();
}
else
if
(
AVS_OFFICESTUDIO_FILE_CROSSPLATFORM_XPS
==
nFormatFrom
)
{
CXpsFile
oReader
(
&
oApplicationFonts
);
oReader
.
SetTemp
Folder
(
sTemp
.
c_str
()
);
oReader
.
SetTemp
Directory
(
sTemp
);
nRes
=
PdfDjvuXpsToRenderer
<
CXpsFile
>
(
oReader
,
&
oHtmlRenderer
,
sFrom
,
nFormatFrom
,
sTo
,
sTemp
,
sFontPath
);
oHtmlRenderer
.
CloseFile
();
}
...
...
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