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
ebb9c89a
Commit
ebb9c89a
authored
Jul 17, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug #35389
parent
4c7ab6e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ASCOfficeOdfFile/formulasconvert/formulasconvert_odf.cpp
ASCOfficeOdfFile/formulasconvert/formulasconvert_odf.cpp
+2
-2
ASCOfficeOdfFileW/source/Oox2OdfConverter/ConvertDrawing.cpp
ASCOfficeOdfFileW/source/Oox2OdfConverter/ConvertDrawing.cpp
+1
-1
No files found.
ASCOfficeOdfFile/formulasconvert/formulasconvert_odf.cpp
View file @
ebb9c89a
...
@@ -210,7 +210,7 @@ namespace formulasconvert {
...
@@ -210,7 +210,7 @@ namespace formulasconvert {
{
{
convert_with_TableName
=
withTableName
;
convert_with_TableName
=
withTableName
;
//boost::wregex simpleRef(L"\\[\\.([a-zA-Z]+\\d+)(?::\\.([a-zA-Z]+\\d+)){0,1}\\]");
//boost::wregex simpleRef(L"\\[\\.([a-zA-Z]+\\d+)(?::\\.([a-zA-Z]+\\d+)){0,1}\\]");
boost
::
wregex
complexRef
(
L"
\\
[(?:
\\
$)?([^
\\
.]+?){0,1}
\\
.(
\\
${0,1}[a-zA-Z]
+
\\
${0,1}
\\
d+)(?::
\\
.(
\\
${0,1}[a-zA-Z]+
\\
${0,1}
\\
d+
)){0,1}
\\
]"
);
boost
::
wregex
complexRef
(
L"
\\
[(?:
\\
$)?([^
\\
.]+?){0,1}
\\
.(
\\
${0,1}[a-zA-Z]
*
\\
${0,1}
\\
d*)(?::
\\
.(
\\
${0,1}[a-zA-Z]*
\\
${0,1}
\\
d*
)){0,1}
\\
]"
);
/*
/*
[ $ Sheet2 . A1 : . B5 ]
[ $ Sheet2 . A1 : . B5 ]
*/
*/
...
@@ -227,7 +227,7 @@ namespace formulasconvert {
...
@@ -227,7 +227,7 @@ namespace formulasconvert {
convert_with_TableName
=
withTableName
;
convert_with_TableName
=
withTableName
;
//boost::wregex complexRef(L"\\${0,1}([^\\.]+?){0,1}\\.(\\${0,1}[a-zA-Z]+\\${0,1}\\d+)(?::\\.(\\${0,1}[a-zA-Z]+\\${0,1}\\d+)){0,1}");
//boost::wregex complexRef(L"\\${0,1}([^\\.]+?){0,1}\\.(\\${0,1}[a-zA-Z]+\\${0,1}\\d+)(?::\\.(\\${0,1}[a-zA-Z]+\\${0,1}\\d+)){0,1}");
boost
::
wregex
complexRef
(
L"
\\
${0,1}([^
\\
.
\\
s]+?){0,1}
\\
.(
\\
${0,1}[a-zA-Z]
+
\\
${0,1}
\\
d+)(?::
\\
${0,1}([^
\\
.
\\
s]+?){0,1}
\\
.(
\\
${0,1}[a-zA-Z]+
\\
${0,1}
\\
d+
)){0,1}"
);
boost
::
wregex
complexRef
(
L"
\\
${0,1}([^
\\
.
\\
s]+?){0,1}
\\
.(
\\
${0,1}[a-zA-Z]
*
\\
${0,1}
\\
d*)(?::
\\
${0,1}([^
\\
.
\\
s]+?){0,1}
\\
.(
\\
${0,1}[a-zA-Z]*
\\
${0,1}
\\
d*
)){0,1}"
);
const
std
::
wstring
res
=
boost
::
regex_replace
(
const
std
::
wstring
res
=
boost
::
regex_replace
(
expr
,
expr
,
...
...
ASCOfficeOdfFileW/source/Oox2OdfConverter/ConvertDrawing.cpp
View file @
ebb9c89a
...
@@ -951,7 +951,7 @@ void OoxConverter::convert(PPTX::Logic::GradFill *oox_grad_fill, DWORD nARGB)
...
@@ -951,7 +951,7 @@ void OoxConverter::convert(PPTX::Logic::GradFill *oox_grad_fill, DWORD nARGB)
{
{
odf_context
()
->
drawing_context
()
->
set_opacity_angle
(
oox_grad_fill
->
lin
->
ang
.
get
()
/
60000.
);
odf_context
()
->
drawing_context
()
->
set_opacity_angle
(
oox_grad_fill
->
lin
->
ang
.
get
()
/
60000.
);
}
}
else
if
(
oox_grad_fill
->
path
.
is_init
())
else
if
(
oox_grad_fill
->
path
.
is_init
()
&&
oox_grad_fill
->
path
->
rect
.
is_init
()
)
{
{
odf_context
()
->
drawing_context
()
->
set_opacity_rect
(
XmlUtils
::
GetInteger
(
oox_grad_fill
->
path
->
rect
->
l
.
get_value_or
(
L""
)),
odf_context
()
->
drawing_context
()
->
set_opacity_rect
(
XmlUtils
::
GetInteger
(
oox_grad_fill
->
path
->
rect
->
l
.
get_value_or
(
L""
)),
XmlUtils
::
GetInteger
(
oox_grad_fill
->
path
->
rect
->
t
.
get_value_or
(
L""
)),
XmlUtils
::
GetInteger
(
oox_grad_fill
->
path
->
rect
->
t
.
get_value_or
(
L""
)),
...
...
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