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
c2c64304
Commit
c2c64304
authored
Apr 17, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
9ecf5b78
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
29 additions
and
17 deletions
+29
-17
ASCOfficeDocxFile2/BinReader/ChartWriter.h
ASCOfficeDocxFile2/BinReader/ChartWriter.h
+2
-0
ASCOfficeDocxFile2/BinReader/Readers.h
ASCOfficeDocxFile2/BinReader/Readers.h
+1
-2
ASCOfficeOdfFileW/source/Oox2OdfConverter/PptxConverter.cpp
ASCOfficeOdfFileW/source/Oox2OdfConverter/PptxConverter.cpp
+19
-4
ASCOfficeOdfFileW/source/Oox2OdfConverter/PptxConverter.h
ASCOfficeOdfFileW/source/Oox2OdfConverter/PptxConverter.h
+6
-3
ASCOfficePPTXFile/PPTXFormat/Logic/Timing/TimeNodeBase.h
ASCOfficePPTXFile/PPTXFormat/Logic/Timing/TimeNodeBase.h
+0
-2
ASCOfficePPTXFile/PPTXFormat/Logic/Timing/Timing.h
ASCOfficePPTXFile/PPTXFormat/Logic/Timing/Timing.h
+0
-2
ASCOfficePPTXFile/PPTXFormat/Logic/Timing/TnLst.h
ASCOfficePPTXFile/PPTXFormat/Logic/Timing/TnLst.h
+1
-4
No files found.
ASCOfficeDocxFile2/BinReader/ChartWriter.h
View file @
c2c64304
...
...
@@ -47,9 +47,11 @@ namespace Writers
std
::
vector
<
_chartElem
>
m_aCharts
;
public:
std
::
wstring
m_sDir
;
int
nEmbeddedCount
;
ChartWriter
(
std
::
wstring
sDir
)
:
m_sDir
(
sDir
)
{
nEmbeddedCount
=
1000
;
}
~
ChartWriter
()
{
...
...
ASCOfficeDocxFile2/BinReader/Readers.h
View file @
c2c64304
...
...
@@ -6824,8 +6824,7 @@ public:
std
::
wstring
strDstEmbeddedTemp
=
strDstEmbedded
+
FILE_SEPARATOR_STR
+
L"Temp"
;
NSDirectory
::
CreateDirectory
(
strDstEmbeddedTemp
);
int
id
=
m_oFileWriter
.
m_oChartWriter
.
getChartCount
();
m_oFileWriter
.
m_oChartWriter
.
setChartCount
(
id
+
1
);
int
id
=
m_oFileWriter
.
m_oChartWriter
.
nEmbeddedCount
++
;
std
::
wstring
sXlsxFilename
=
L"Microsoft_Excel_Worksheet"
+
std
::
to_wstring
(
id
+
1
)
+
L".xlsx"
;
BinXlsxRW
::
SaveParams
oSaveParams
(
m_oFileWriter
.
m_sThemePath
,
m_oFileWriter
.
m_pDrawingConverter
->
GetContentTypes
());
//???
...
...
ASCOfficeOdfFileW/source/Oox2OdfConverter/PptxConverter.cpp
View file @
c2c64304
...
...
@@ -371,16 +371,21 @@ void PptxConverter::convert_slides()
//nullable_bool showMasterSp;
convert_slide
(
slide
->
cSld
.
GetPointer
(),
true
);
convert
(
slide
->
transition
.
GetPointer
());
convert
(
slide
->
comments
.
operator
->
());
convert
(
slide
->
Note
.
operator
->
());
convert
(
slide
->
transition
.
GetPointer
());
convert
(
slide
->
timing
.
GetPointer
());
//nullable<Logic::Timing> timing;
//smart_ptr<NotesSlide> Note;
odp_context
->
end_slide
();
}
}
void
PptxConverter
::
convert
(
PPTX
::
NotesSlide
*
oox_note
)
{
if
(
!
oox_note
)
return
;
}
void
PptxConverter
::
convert
(
OOX
::
WritingElement
*
oox_unknown
)
{
if
(
oox_unknown
==
NULL
)
return
;
...
...
@@ -433,6 +438,16 @@ void PptxConverter::convert(PPTX::Logic::Transition *oox_transition)
if
(
!
oox_transition
)
return
;
}
void
PptxConverter
::
convert
(
PPTX
::
Logic
::
Timing
*
oox_timing
)
{
if
(
!
oox_timing
)
return
;
if
(
!
oox_timing
->
tnLst
.
IsInit
())
return
;
for
(
size_t
i
=
0
;
i
<
oox_timing
->
tnLst
->
list
.
size
();
i
++
)
{
//oox_timing->tnLst[0]
}
}
void
PptxConverter
::
convert
(
PPTX
::
Logic
::
TableProperties
*
oox_table_pr
)
{
...
...
ASCOfficeOdfFileW/source/Oox2OdfConverter/PptxConverter.h
View file @
c2c64304
...
...
@@ -47,6 +47,7 @@ namespace OOX
namespace
PPTX
{
class
TableStyles
;
class
NotesSlide
;
class
Presentation
;
class
Comments
;
class
Folder
;
...
...
@@ -107,9 +108,11 @@ namespace Oox2Odf
void
convert_slide
(
PPTX
::
Logic
::
CSld
*
oox_slide
,
bool
bPlaceholders
=
true
);
void
convert_layout
(
PPTX
::
Logic
::
CSld
*
oox_slide
);
void
convert
(
PPTX
::
Comments
*
oox_comments
);
void
convert
(
PPTX
::
NotesSlide
*
oox_note
);
void
convert
(
PPTX
::
Logic
::
Bg
*
oox_background
);
void
convert
(
PPTX
::
Logic
::
Transition
*
oox_transition
);
void
convert
(
PPTX
::
Logic
::
Timing
*
oox_timing
);
void
convert
(
PPTX
::
Logic
::
Table
*
oox_table
);
void
convert
(
PPTX
::
Logic
::
TableRow
*
oox_table_row
);
...
...
ASCOfficePPTXFile/PPTXFormat/Logic/Timing/TimeNodeBase.h
View file @
c2c64304
...
...
@@ -47,7 +47,6 @@ namespace PPTX
explicit
TimeNodeBase
(
XmlUtils
::
CXmlNode
&
node
);
const
TimeNodeBase
&
operator
=
(
XmlUtils
::
CXmlNode
&
node
);
public:
virtual
void
fromXML
(
XmlUtils
::
CXmlNode
&
node
);
virtual
void
GetTimeNodeFrom
(
XmlUtils
::
CXmlNode
&
element
);
virtual
bool
is_init
()
const
{
return
(
m_node
.
IsInit
());};
...
...
@@ -61,7 +60,6 @@ namespace PPTX
template
<
class
T
>
AVSINLINE
const
T
&
as
()
const
{
return
m_node
.
as
<
T
>
();
}
virtual
std
::
wstring
toXML
()
const
;
//public:
private:
smart_ptr
<
WrapperWritingElement
>
m_node
;
protected:
...
...
ASCOfficePPTXFile/PPTXFormat/Logic/Timing/Timing.h
View file @
c2c64304
...
...
@@ -46,7 +46,6 @@ namespace PPTX
public:
PPTX_LOGIC_BASE
(
Timing
)
public:
virtual
void
fromXML
(
XmlUtils
::
CXmlNode
&
node
)
{
tnLst
=
node
.
ReadNode
(
_T
(
"p:tnLst"
));
...
...
@@ -76,7 +75,6 @@ namespace PPTX
pWriter
->
EndNode
(
_T
(
"p:timing"
));
}
public:
nullable
<
TnLst
>
tnLst
;
nullable
<
BldLst
>
bldLst
;
protected:
...
...
ASCOfficePPTXFile/PPTXFormat/Logic/Timing/TnLst.h
View file @
c2c64304
...
...
@@ -55,8 +55,6 @@ namespace PPTX
return
*
this
;
}
public:
virtual
void
fromXML
(
XmlUtils
::
CXmlNode
&
node
)
{
name
=
XmlUtils
::
GetNameNoNS
(
node
.
GetName
());
...
...
@@ -72,7 +70,6 @@ namespace PPTX
return
XmlUtils
::
CreateNode
(
_T
(
"p:"
)
+
name
,
oValue
);
}
public:
std
::
vector
<
TimeNodeBase
>
list
;
std
::
wstring
name
;
protected:
...
...
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