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
f78a805f
Commit
f78a805f
authored
Apr 11, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
bc177269
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
11 deletions
+12
-11
ASCOfficeOdfFileW/source/OdfFormat/odf_drawing_context.cpp
ASCOfficeOdfFileW/source/OdfFormat/odf_drawing_context.cpp
+1
-1
ASCOfficeOdfFileW/source/Oox2OdfConverter/ConvertDrawing.cpp
ASCOfficeOdfFileW/source/Oox2OdfConverter/ConvertDrawing.cpp
+3
-3
ASCOfficeOdfFileW/source/Oox2OdfConverter/PptxConverter.cpp
ASCOfficeOdfFileW/source/Oox2OdfConverter/PptxConverter.cpp
+8
-7
No files found.
ASCOfficeOdfFileW/source/OdfFormat/odf_drawing_context.cpp
View file @
f78a805f
...
...
@@ -2218,7 +2218,7 @@ void odf_drawing_context::set_text(odf_text_context* text_context)
{
if
(
text_context
==
NULL
||
impl_
->
current_level_
.
size
()
<
1
)
return
;
if
(
impl_
->
is_presentation_
&&
*
impl_
->
is_presentation_
)
return
;
//
if (impl_->is_presentation_ && *impl_->is_presentation_) return;
for
(
size_t
i
=
0
;
i
<
text_context
->
text_elements_list_
.
size
();
i
++
)
{
...
...
ASCOfficeOdfFileW/source/Oox2OdfConverter/ConvertDrawing.cpp
View file @
f78a805f
...
...
@@ -1059,9 +1059,9 @@ void OoxConverter::convert(PPTX::Logic::Paragraph *oox_paragraph, PPTX::Logic::T
int
list_level
=
0
;
if
(
oox_paragraph
->
pPr
.
IsInit
())
if
(
oox_paragraph
->
pPr
.
IsInit
()
||
oox_list_style
)
{
if
(
oox_paragraph
->
pPr
->
lvl
.
IsInit
()
||
oox_paragraph
->
pPr
->
ParagraphBullet
.
is_init
(
))
if
(
oox_paragraph
->
pPr
.
IsInit
()
&&
(
oox_paragraph
->
pPr
->
lvl
.
IsInit
()
||
oox_paragraph
->
pPr
->
ParagraphBullet
.
is_init
()
))
{
list_present
=
true
;
...
...
@@ -1135,10 +1135,10 @@ void OoxConverter::convert(PPTX::Logic::TextListStyle *oox_list_style, int level
if
(
!
oox_list_style
)
return
;
if
(
!
paragraph_properties
)
return
;
convert
(
oox_list_style
->
levels
[
9
].
GetPointer
(),
paragraph_properties
);
if
(
level
<
0
||
level
>
9
)
return
;
convert
(
oox_list_style
->
levels
[
level
].
GetPointer
(),
paragraph_properties
);
}
void
OoxConverter
::
convert
(
PPTX
::
Logic
::
TextParagraphPr
*
oox_paragraph_pr
,
odf_writer
::
style_paragraph_properties
*
paragraph_properties
)
{
...
...
ASCOfficeOdfFileW/source/Oox2OdfConverter/PptxConverter.cpp
View file @
f78a805f
...
...
@@ -327,7 +327,7 @@ void PptxConverter::convert_slides()
if
(
slide
->
Layout
->
clrMapOvr
.
IsInit
()
&&
slide
->
Layout
->
clrMapOvr
->
overrideClrMapping
.
IsInit
())
current_clrMap
=
slide
->
Layout
->
clrMapOvr
->
overrideClrMapping
.
GetPointer
();
current_slide
=
slide
->
Layout
.
operator
->
();
convert_slide
(
&
slide
->
Layout
->
cSld
,
fals
e
);
convert_slide
(
&
slide
->
Layout
->
cSld
,
tru
e
);
odp_context
->
end_master_slide
();
m_mapMasters
.
insert
(
std
::
make_pair
(
slide
->
Master
->
m_sOutputFilename
+
slide
->
Layout
->
m_sOutputFilename
,
master_style_name
));
...
...
@@ -899,20 +899,21 @@ void PptxConverter::convert_slide(PPTX::Logic::CSld *oox_slide, bool bPlaceholde
if
(
pShape
.
IsInit
()
&&
pShape
->
nvSpPr
.
nvPr
.
ph
.
is_init
())
{
pShape
->
FillLevelUp
();
if
(
bPlaceholders
)
{
pShape
->
FillLevelUp
();
PPTX
::
Logic
::
Shape
update_shape
;
pShape
->
levelUp
->
Merge
(
update_shape
,
true
);
if
(
pShape
->
levelUp
)
pShape
->
levelUp
->
Merge
(
update_shape
,
true
);
pShape
->
Merge
(
update_shape
);
OoxConverter
::
convert
(
&
update_shape
);
}
else
{
OoxConverter
::
convert
(
pShape
.
operator
->
());
}
//
else
//
{
//
OoxConverter::convert(pShape.operator->());
//
}
}
else
{
...
...
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