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
10964d32
Commit
10964d32
authored
Feb 01, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
...
parent
da2493ed
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
84 additions
and
1750 deletions
+84
-1750
ASCOfficeDocFile/DocDocxConverter/NumberingMapping.cpp
ASCOfficeDocFile/DocDocxConverter/NumberingMapping.cpp
+0
-2
ASCOfficeDocFile/DocFormatTest/DocFile_VS2005.sln
ASCOfficeDocFile/DocFormatTest/DocFile_VS2005.sln
+20
-1744
ASCOfficeDocFile/DocFormatTest/DocFormatTest.cpp
ASCOfficeDocFile/DocFormatTest/DocFormatTest.cpp
+3
-3
ASCOfficeDocFile/DocFormatTest/DocFormatTest.vcproj
ASCOfficeDocFile/DocFormatTest/DocFormatTest.vcproj
+60
-0
ASCOfficeRtfFile/RtfFormatLib/source/RtfOldList.cpp
ASCOfficeRtfFile/RtfFormatLib/source/RtfOldList.cpp
+1
-1
No files found.
ASCOfficeDocFile/DocDocxConverter/NumberingMapping.cpp
View file @
10964d32
...
@@ -307,13 +307,11 @@ namespace DocFileFormat
...
@@ -307,13 +307,11 @@ namespace DocFileFormat
if
(
!
FormatUtils
::
IsControlSymbol
(
xchBullet
))
if
(
!
FormatUtils
::
IsControlSymbol
(
xchBullet
))
{
{
ret
.
push_back
(
lvl
.
xst
[
0
]);
ret
.
push_back
(
lvl
.
xst
[
0
]);
ret
.
push_back
(
L'\0'
);
}
}
}
}
else
else
{
{
ret
.
push_back
(
L
'\
xF0B7
'
);
ret
.
push_back
(
L
'\
xF0B7
'
);
ret
.
push_back
(
L'\0'
);
}
}
}
}
else
else
...
...
ASCOfficeDocFile/DocFormatTest/DocFile_VS2005.sln
View file @
10964d32
This source diff could not be displayed because it is too large. You can
view the blob
instead.
ASCOfficeDocFile/DocFormatTest/DocFormatTest.cpp
View file @
10964d32
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
//
//
#include "../DocFormatLib/DocFormatLib.h"
#include "../DocFormatLib/DocFormatLib.h"
#include "../
win32
/ASCOfficeCriticalSection.h"
#include "../
../OfficeUtils/src
/ASCOfficeCriticalSection.h"
#include "../../OfficeUtils/src/OfficeUtils.h"
#include "../../OfficeUtils/src/OfficeUtils.h"
...
@@ -41,6 +41,7 @@
...
@@ -41,6 +41,7 @@
#include <string>
#include <string>
#include <windows.h>
#include <windows.h>
#include <tchar.h>
#if defined(_WIN64)
#if defined(_WIN64)
#pragma comment(lib, "../../build/bin/icu/win_64/icuuc.lib")
#pragma comment(lib, "../../build/bin/icu/win_64/icuuc.lib")
...
@@ -58,7 +59,6 @@ int _tmain(int argc, _TCHAR* argv[])
...
@@ -58,7 +59,6 @@ int _tmain(int argc, _TCHAR* argv[])
std
::
wstring
outputDir
=
NSDirectory
::
GetFolderPath
(
sDstDocx
);
std
::
wstring
outputDir
=
NSDirectory
::
GetFolderPath
(
sDstDocx
);
std
::
wstring
dstTempPath
=
NSDirectory
::
CreateDirectoryWithUniqueName
(
outputDir
);
std
::
wstring
dstTempPath
=
NSDirectory
::
CreateDirectoryWithUniqueName
(
outputDir
);
// doc->docx
COfficeDocFile
docFile
;
COfficeDocFile
docFile
;
docFile
.
m_sTempFolder
=
outputDir
;
docFile
.
m_sTempFolder
=
outputDir
;
...
@@ -71,7 +71,7 @@ int _tmain(int argc, _TCHAR* argv[])
...
@@ -71,7 +71,7 @@ int _tmain(int argc, _TCHAR* argv[])
hRes
=
oCOfficeUtils
.
CompressFileOrDirectory
(
dstTempPath
.
c_str
(),
sDstDocx
,
-
1
);
hRes
=
oCOfficeUtils
.
CompressFileOrDirectory
(
dstTempPath
.
c_str
(),
sDstDocx
,
-
1
);
}
}
FileSystem
::
Directory
::
DeleteDirectory
(
dstTempPath
);
NS
Directory
::
DeleteDirectory
(
dstTempPath
);
return
hRes
;
return
hRes
;
}
}
...
...
ASCOfficeDocFile/DocFormatTest/DocFormatTest.vcproj
View file @
10964d32
...
@@ -338,6 +338,58 @@
...
@@ -338,6 +338,58 @@
<References>
<References>
</References>
</References>
<Files>
<Files>
<Filter
Name=
"Common"
>
<File
RelativePath=
"..\..\ASCOfficeDocxFile2\BinWriter\BinWriters.cpp"
>
</File>
<File
RelativePath=
"..\..\XlsxSerializerCom\Reader\ChartFromToBinary.cpp"
>
</File>
<File
RelativePath=
"..\..\ASCOfficeDocxFile2\DocWrapper\ChartWriter.cpp"
>
</File>
<File
RelativePath=
"..\..\XlsxSerializerCom\Common\Common.cpp"
>
</File>
<File
RelativePath=
"..\..\XlsxSerializerCom\Reader\CommonWriter.cpp"
>
</File>
<File
RelativePath=
"..\..\XlsxSerializerCom\Reader\CSVReader.cpp"
>
</File>
<File
RelativePath=
"..\..\XlsxSerializerCom\Writer\CSVWriter.cpp"
>
</File>
<File
RelativePath=
"..\..\ASCOfficeDocxFile2\DocWrapper\DocxSerializer.cpp"
>
<FileConfiguration
Name=
"Debug|Win32"
>
<Tool
Name=
"VCCLCompilerTool"
AdditionalOptions=
"/bigobj
"
/>
</FileConfiguration>
</File>
<File
RelativePath=
"..\..\ASCOfficeDocxFile2\DocWrapper\FontProcessor.cpp"
>
</File>
<File
RelativePath=
"..\..\ASCOfficeDocxFile2\DocWrapper\XlsxSerializer.cpp"
>
</File>
</Filter>
<File
<File
RelativePath=
".\DocFormatTest.cpp"
RelativePath=
".\DocFormatTest.cpp"
>
>
...
@@ -386,6 +438,14 @@
...
@@ -386,6 +438,14 @@
RelativePath=
"..\..\UnicodeConverter\UnicodeConverter.cpp"
RelativePath=
"..\..\UnicodeConverter\UnicodeConverter.cpp"
>
>
</File>
</File>
<File
RelativePath=
"..\..\DesktopEditor\xml\src\xmldom.cpp"
>
</File>
<File
RelativePath=
"..\..\DesktopEditor\xml\src\xmllight.cpp"
>
</File>
</Files>
</Files>
<Globals>
<Globals>
</Globals>
</Globals>
...
...
ASCOfficeRtfFile/RtfFormatLib/source/RtfOldList.cpp
View file @
10964d32
...
@@ -95,7 +95,7 @@ std::wstring RtfOldList::RenderToOOX(RenderParameter oRenderParameter)
...
@@ -95,7 +95,7 @@ std::wstring RtfOldList::RenderToOOX(RenderParameter oRenderParameter)
{
{
if
(
PROP_DEF
!=
m_nLs
&&
PROP_DEF
!=
m_nIlvl
)
if
(
PROP_DEF
!=
m_nLs
&&
PROP_DEF
!=
m_nIlvl
)
sResult
+=
L"<w:numPr><w:ilvl w:val=
\"
"
+
std
::
to_wstring
(
m_nLs
)
+
sResult
+=
L"<w:numPr><w:ilvl w:val=
\"
"
+
std
::
to_wstring
(
m_nLs
)
+
L"
\"
/><w:numId w:val=
\"
%
"
+
std
::
to_wstring
(
m_nLs
)
+
L"
\"
/></w:numPr>"
;
L"
\"
/><w:numId w:val=
\"
"
+
std
::
to_wstring
(
m_nLs
)
+
L"
\"
/></w:numPr>"
;
}
}
}
}
return
sResult
;
return
sResult
;
...
...
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