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
729f9f24
Commit
729f9f24
authored
May 17, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
de22fb47
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
ASCOfficeOdfFileW/source/OdfFormat/odf_drawing_context.cpp
ASCOfficeOdfFileW/source/OdfFormat/odf_drawing_context.cpp
+1
-0
ASCOfficeOdfFileW/source/Oox2OdfConverter/ConvertDrawing.cpp
ASCOfficeOdfFileW/source/Oox2OdfConverter/ConvertDrawing.cpp
+3
-2
No files found.
ASCOfficeOdfFileW/source/OdfFormat/odf_drawing_context.cpp
View file @
729f9f24
...
...
@@ -2458,6 +2458,7 @@ void odf_drawing_context::add_sound(std::wstring href)
presentation_event_listener
*
event_
=
dynamic_cast
<
presentation_event_listener
*>
(
impl_
->
current_level_
.
back
().
get
());
if
(
event_
)
{
event_
->
attlist_
.
script_event_name_
=
L"dom:click"
;
event_
->
attlist_
.
presentation_action_
=
L"sound"
;
}
...
...
ASCOfficeOdfFileW/source/Oox2OdfConverter/ConvertDrawing.cpp
View file @
729f9f24
...
...
@@ -1150,7 +1150,8 @@ void OoxConverter::convert(PPTX::Logic::CNvPr *oox_cnvPr)
{
std
::
wstring
sound
=
find_link_by_id
(
oox_cnvPr
->
hlinkClick
->
snd
->
embed
.
get
(),
3
);
odf_context
()
->
drawing_context
()
->
add_sound
(
sound
);
std
::
wstring
href
=
odf_context
()
->
add_media
(
sound
);
odf_context
()
->
drawing_context
()
->
add_sound
(
href
);
}
if
(
oox_cnvPr
->
hlinkClick
->
id
.
IsInit
())
{
...
...
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