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
9405b068
Commit
9405b068
authored
Jun 26, 2016
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x2t linux build version up
parent
286f15c1
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
24 additions
and
13 deletions
+24
-13
ASCOfficeDocFile/DocDocxConverter/OpenXmlPackage.cpp
ASCOfficeDocFile/DocDocxConverter/OpenXmlPackage.cpp
+7
-0
ASCOfficeDocFile/DocDocxConverter/SectionPropertiesMapping.cpp
...ficeDocFile/DocDocxConverter/SectionPropertiesMapping.cpp
+1
-1
ASCOfficeDocFile/DocDocxConverter/StringTable.h
ASCOfficeDocFile/DocDocxConverter/StringTable.h
+2
-2
ASCOfficeDocFile/DocDocxConverter/TableCellPropertiesMapping.cpp
...ceDocFile/DocDocxConverter/TableCellPropertiesMapping.cpp
+4
-4
ASCOfficeDocFile/DocDocxConverter/TextboxMapping.cpp
ASCOfficeDocFile/DocDocxConverter/TextboxMapping.cpp
+4
-1
ASCOfficeDocFile/DocDocxConverter/WordDocument.cpp
ASCOfficeDocFile/DocDocxConverter/WordDocument.cpp
+1
-1
ASCOfficeDocFile/DocFormatLib/Linux/DocFormatLib.pro
ASCOfficeDocFile/DocFormatLib/Linux/DocFormatLib.pro
+4
-3
X2tConverter/build/Qt/X2tConverter.pro
X2tConverter/build/Qt/X2tConverter.pro
+1
-1
No files found.
ASCOfficeDocFile/DocDocxConverter/OpenXmlPackage.cpp
View file @
9405b068
...
...
@@ -34,6 +34,13 @@
#include "OpenXmlPackage.h"
#include "Converter.h"
#include "NumberingMapping.h"
#include "CommentsMapping.h"
#include "EndnotesMapping.h"
#include "FootnotesMapping.h"
#include "FooterMapping.h"
#include "HeaderMapping.h"
#include "MainDocumentMapping.h"
#include "OleObjectMapping.h"
#include "VMLPictureMapping.h"
...
...
ASCOfficeDocFile/DocDocxConverter/SectionPropertiesMapping.cpp
View file @
9405b068
...
...
@@ -404,7 +404,7 @@ namespace DocFileFormat
case
sprmSLnc
:
{
SLncOperand
mode
=
(
SLncOperand
)
FormatUtils
::
BytesToUChar
(
iter
->
Arguments
,
0
,
iter
->
argumentsSize
);
mode
=
(
SLncOperand
)
min
(
max
(
mode
,
lncPerPage
),
lncContinue
);
mode
=
(
SLncOperand
)(
std
::
min
)((
std
::
max
)
(
mode
,
lncPerPage
),
lncContinue
);
appendValueAttribute
(
&
lnNumType
,
_T
(
"w:restart"
),
LineNumberRestart
[
mode
].
c_str
()
);
}
...
...
ASCOfficeDocFile/DocDocxConverter/StringTable.h
View file @
9405b068
...
...
@@ -64,9 +64,9 @@ namespace DocFileFormat
}
StringTable
(
VirtualStreamReader
*
reader
,
int
code_page_
)
:
code_page
(
code_page_
),
fExtend
(
false
),
c
Data
(
0
),
cbExtra
(
0
)
code_page
(
code_page_
),
fExtend
(
false
),
cb
Data
(
0
),
cbExtra
(
0
)
{
parse
(
reader
,
(
unsigned
int
)
reader
->
GetPosition
()
);
parse
(
reader
,
(
unsigned
int
)
reader
->
GetPosition
()
);
}
StringTable
(
POLE
::
Stream
*
tableStream
,
unsigned
int
fc
,
unsigned
int
lcb
,
bool
older
)
:
...
...
ASCOfficeDocFile/DocDocxConverter/TableCellPropertiesMapping.cpp
View file @
9405b068
...
...
@@ -89,7 +89,7 @@ namespace DocFileFormat
int
cc
=
tdef
.
numberOfColumns
;
this
->
_tGrid
=
tdef
.
rgdxaCenter
;
this
->
_tcDef
=
tdef
.
rgTc80
[
min
(
_cellIndex
,
(
int
)
tdef
.
rgTc80
.
size
()
-
1
)];
// NOTE: fix for crash
this
->
_tcDef
=
tdef
.
rgTc80
[(
std
::
min
)
(
_cellIndex
,
(
int
)
tdef
.
rgTc80
.
size
()
-
1
)];
// NOTE: fix for crash
appendValueElement
(
this
->
_tcPr
,
_T
(
"textDirection"
),
FormatUtils
::
MapValueToWideString
(
this
->
_tcDef
.
textFlow
,
&
Global
::
TextFlowMap
[
0
][
0
],
6
,
6
).
c_str
(),
false
);
...
...
@@ -114,8 +114,8 @@ namespace DocFileFormat
appendValueElement
(
_tcPr
,
_T
(
"noWrap"
),
_T
(
""
),
true
);
}
nComputedCellWidth
=
(
short
)(
tdef
.
rgdxaCenter
[(
size_t
)
min
(
_cellIndex
,
(
int
)
tdef
.
rgTc80
.
size
()
-
1
)
+
1
]
-
tdef
.
rgdxaCenter
[
min
(
_cellIndex
,
(
int
)
tdef
.
rgTc80
.
size
()
-
1
)]
);
// NOTE: fix for crash
nComputedCellWidth
=
(
short
)(
tdef
.
rgdxaCenter
[(
size_t
)(
std
::
min
)
(
_cellIndex
,
(
int
)
tdef
.
rgTc80
.
size
()
-
1
)
+
1
]
-
tdef
.
rgdxaCenter
[(
std
::
min
)
(
_cellIndex
,
(
int
)
tdef
.
rgTc80
.
size
()
-
1
)]
);
// NOTE: fix for crash
//borders
if
(
!
IsTableBordersDefined
(
tapx
->
grpprl
))
...
...
@@ -413,4 +413,4 @@ namespace DocFileFormat
return
false
;
}
}
\ No newline at end of file
}
ASCOfficeDocFile/DocDocxConverter/TextboxMapping.cpp
View file @
9405b068
...
...
@@ -30,10 +30,13 @@
*
*/
#include "Converter.h"
#include "TextboxMapping.h"
#include "TableMapping.h"
#include "FooterMapping.h"
#include "HeaderMapping.h"
#include "MainDocumentMapping.h"
namespace
DocFileFormat
{
...
...
ASCOfficeDocFile/DocDocxConverter/WordDocument.cpp
View file @
9405b068
...
...
@@ -424,7 +424,7 @@ namespace DocFileFormat
{
if
(
m_sTempFolder
.
empty
())
{
m_sTempFolder
=
FileSystem
::
Directory
::
GetTempPathW
().
GetBuffer
();
m_sTempFolder
=
FileSystem
::
Directory
::
GetTempPath
().
GetBuffer
();
}
m_sTempDecryptFileName
=
m_sTempFolder
+
FILE_SEPARATOR_STR
+
L"~tempFile.doc"
;
...
...
ASCOfficeDocFile/DocFormatLib/Linux/DocFormatLib.pro
View file @
9405b068
...
...
@@ -92,8 +92,8 @@ QMAKE_MAC_SDK = macosx10.11
SOURCES
+=
\
..
/
DocFormatLib
.
cpp
\
..
/../
Common
/
MD4
/
md4c
.
cpp
\
..
/../
../
Common
/
3
dParty
/
pole
/
pole
.
cpp
..
/../../
Common
/
3
dParty
/
pole
/
pole
.
cpp
\
..
/../
DocDocxConverter
/
EncryptionHeader
.
cpp
build_fast
{
SOURCES
+=
\
...
...
@@ -328,7 +328,8 @@ HEADERS += \
..
/../
DocDocxConverter
/
OfficeDrawing
/
Shapetypes
/
SunType
.
h
\
..
/../
DocDocxConverter
/
OfficeDrawing
/
Shapetypes
/
TextboxType
.
h
\
..
/../
DocDocxConverter
/
OfficeDrawing
/
Shapetypes
/
TrapezoidType
.
h
\
..
/../../
Common
/
3
dParty
/
pole
/
pole
.
h
..
/../../
Common
/
3
dParty
/
pole
/
pole
.
h
\
..
/../
DocDocxConverter
/
EncryptionHeader
.
h
...
...
X2tConverter/build/Qt/X2tConverter.pro
View file @
9405b068
...
...
@@ -7,7 +7,7 @@
QT
-=
core
QT
-=
gui
VERSION
=
2.0
.
2.37
5
VERSION
=
2.0
.
2.37
6
DEFINES
+=
INTVER
=
$$
VERSION
mac
{
...
...
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