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
419ec7ed
Commit
419ec7ed
authored
Dec 20, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x2t version up
parent
5f7d9eea
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
7 deletions
+8
-7
ASCOfficeDocxFile2/BinWriter/BinWriters.h
ASCOfficeDocxFile2/BinWriter/BinWriters.h
+5
-4
Common/DocxFormat/Source/DocxFormat/WritingElement.h
Common/DocxFormat/Source/DocxFormat/WritingElement.h
+1
-1
Common/DocxFormat/Source/XlsxFormat/WritingElement.h
Common/DocxFormat/Source/XlsxFormat/WritingElement.h
+1
-1
X2tConverter/build/Qt/X2tConverter.pri
X2tConverter/build/Qt/X2tConverter.pri
+1
-1
No files found.
ASCOfficeDocxFile2/BinWriter/BinWriters.h
View file @
419ec7ed
...
...
@@ -3836,7 +3836,8 @@ namespace BinDocxRW
bool
bWasText
=
false
;
int
nRecordType
=
0
;
std
::
list
<
OOX
::
WritingElement
*>::
iterator
nIndexStart
=
pRun
->
m_arrItems
.
begin
();
std
::
list
<
OOX
::
WritingElement
*>::
iterator
nIndexStart
=
pRun
->
m_arrItems
.
begin
();
std
::
list
<
OOX
::
WritingElement
*>::
iterator
nIndexEnd
=
pRun
->
m_arrItems
.
end
();
if
(
bMathRun
)
nRecordType
=
c_oSer_OMathContentType
::
Run
;
...
...
@@ -3844,7 +3845,7 @@ namespace BinDocxRW
nRecordType
=
c_oSerParType
::
Run
;
//Разбиваем массив по знаку et_w_sym
for
(
std
::
list
<
OOX
::
WritingElement
*>::
iterator
it
=
pRun
->
m_arrItems
.
begin
();
it
!=
pRun
->
m_arrItems
.
end
()
;
it
++
)
for
(
std
::
list
<
OOX
::
WritingElement
*>::
iterator
it
=
pRun
->
m_arrItems
.
begin
();
it
!=
nIndexEnd
;
it
++
)
{
OOX
::
WritingElement
*
item
=
*
it
;
...
...
@@ -3866,10 +3867,10 @@ namespace BinDocxRW
else
if
(
OOX
::
et_w_rPr
!=
item
->
getType
())
bWasText
=
true
;
}
if
(
nIndexStart
!=
pRun
->
m_arrItems
.
end
()
)
if
(
nIndexStart
!=
nIndexEnd
)
{
nCurPos
=
m_oBcw
.
WriteItemStart
(
nRecordType
);
WritePreparedRun
(
pRun
,
bHyperlink
,
nIndexStart
,
pRun
->
m_arrItems
.
end
()
);
WritePreparedRun
(
pRun
,
bHyperlink
,
nIndexStart
,
nIndexEnd
);
m_oBcw
.
WriteItemWithLengthEnd
(
nCurPos
);
}
}
...
...
Common/DocxFormat/Source/DocxFormat/WritingElement.h
View file @
419ec7ed
...
...
@@ -1155,7 +1155,7 @@ namespace OOX
}
virtual
void
ClearItems
()
{
for
(
ElemArray
::
iterator
it
=
m_arrItems
.
begin
();
it
!=
m_arrItems
.
end
();
it
++
)
for
(
auto
it
=
m_arrItems
.
begin
();
it
!=
m_arrItems
.
end
();
it
++
)
{
if
(
*
it
)
delete
*
it
;
*
it
=
NULL
;
...
...
Common/DocxFormat/Source/XlsxFormat/WritingElement.h
View file @
419ec7ed
...
...
@@ -137,7 +137,7 @@ namespace Spreadsheet
}
virtual
void
ClearItems
()
{
for
(
SpreadsheetElemArray
::
iterator
it
=
m_arrItems
.
begin
();
it
!=
m_arrItems
.
end
();
it
++
)
for
(
auto
it
=
m_arrItems
.
begin
();
it
!=
m_arrItems
.
end
();
it
++
)
{
if
(
*
it
)
delete
*
it
;
*
it
=
NULL
;
...
...
X2tConverter/build/Qt/X2tConverter.pri
View file @
419ec7ed
...
...
@@ -7,7 +7,7 @@
QT -= core
QT -= gui
VERSION = 2.4.49
2
.0
VERSION = 2.4.49
4
.0
DEFINES += INTVER=$$VERSION
TARGET = x2t
...
...
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