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
6e409d2f
Commit
6e409d2f
authored
Jan 16, 2017
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
images bug
parent
3e698b85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
DesktopEditor/doctrenderer/docbuilder_p.h
DesktopEditor/doctrenderer/docbuilder_p.h
+5
-3
No files found.
DesktopEditor/doctrenderer/docbuilder_p.h
View file @
6e409d2f
...
@@ -342,7 +342,7 @@ public:
...
@@ -342,7 +342,7 @@ public:
_formatDst
=
NSDoctRenderer
::
DoctRendererFormat
::
PPTT
;
_formatDst
=
NSDoctRenderer
::
DoctRendererFormat
::
PPTT
;
else
if
(
type
&
AVS_OFFICESTUDIO_FILE_SPREADSHEET
)
else
if
(
type
&
AVS_OFFICESTUDIO_FILE_SPREADSHEET
)
_formatDst
=
NSDoctRenderer
::
DoctRendererFormat
::
XLST
;
_formatDst
=
NSDoctRenderer
::
DoctRendererFormat
::
XLST
;
else
if
(
type
&
AVS_OFFICESTUDIO_FILE_CROSSPLATFORM
)
else
if
(
(
type
&
AVS_OFFICESTUDIO_FILE_CROSSPLATFORM
)
||
(
type
&
AVS_OFFICESTUDIO_FILE_IMAGE
)
)
_formatDst
=
NSDoctRenderer
::
DoctRendererFormat
::
PDF
;
_formatDst
=
NSDoctRenderer
::
DoctRendererFormat
::
PDF
;
v8
::
Context
::
Scope
context_scope
(
m_context
);
v8
::
Context
::
Scope
context_scope
(
m_context
);
...
@@ -1408,10 +1408,12 @@ namespace NSDoctRenderer
...
@@ -1408,10 +1408,12 @@ namespace NSDoctRenderer
nFormat
=
AVS_OFFICESTUDIO_FILE_SPREADSHEET_CSV
;
nFormat
=
AVS_OFFICESTUDIO_FILE_SPREADSHEET_CSV
;
else
if
(
L"pdf"
==
_builder_params
[
0
])
else
if
(
L"pdf"
==
_builder_params
[
0
])
nFormat
=
AVS_OFFICESTUDIO_FILE_CROSSPLATFORM_PDF
;
nFormat
=
AVS_OFFICESTUDIO_FILE_CROSSPLATFORM_PDF
;
else
if
(
L"image"
==
_builder_params
[
0
])
nFormat
=
AVS_OFFICESTUDIO_FILE_IMAGE
;
else
if
(
L"jpg"
==
_builder_params
[
0
])
else
if
(
L"jpg"
==
_builder_params
[
0
])
nFormat
=
AVS_OFFICESTUDIO_FILE_IMAGE
_JPG
;
nFormat
=
AVS_OFFICESTUDIO_FILE_IMAGE
;
else
if
(
L"png"
==
_builder_params
[
0
])
else
if
(
L"png"
==
_builder_params
[
0
])
nFormat
=
AVS_OFFICESTUDIO_FILE_IMAGE
_PNG
;
nFormat
=
AVS_OFFICESTUDIO_FILE_IMAGE
;
if
(
m_pInternal
->
m_oParams
.
m_bSaveWithDoctrendererMode
)
if
(
m_pInternal
->
m_oParams
.
m_bSaveWithDoctrendererMode
)
{
{
...
...
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