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
691afd27
Commit
691afd27
authored
Oct 25, 2016
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
6ed698c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
19 deletions
+24
-19
Common/DocxFormat/Source/Common/SimpleTypes_Vml.h
Common/DocxFormat/Source/Common/SimpleTypes_Vml.h
+24
-19
No files found.
Common/DocxFormat/Source/Common/SimpleTypes_Vml.h
View file @
691afd27
...
...
@@ -3298,10 +3298,12 @@ namespace SimpleTypes
};
enum
ECssMsoPosHorRel
{
cssmsoposhorrelMargin
=
0
,
cssmsoposhorrelPage
=
1
,
cssmsoposhorrelText
=
2
,
cssmsoposhorrelChar
=
3
,
cssmsoposhorrelMargin
=
0
,
cssmsoposhorrelPage
=
1
,
cssmsoposhorrelText
=
2
,
cssmsoposhorrelChar
=
3
,
cssmsoposhorrelLeftMargin
=
4
,
cssmsoposhorrelRightMargin
=
5
};
enum
ECssMsoPosVer
{
...
...
@@ -3314,10 +3316,12 @@ namespace SimpleTypes
};
enum
ECssMsoPosVerRel
{
cssmsoposverrelMargin
=
0
,
cssmsoposverrelPage
=
1
,
cssmsoposverrelText
=
2
,
cssmsoposverrelLine
=
3
,
cssmsoposverrelMargin
=
0
,
cssmsoposverrelPage
=
1
,
cssmsoposverrelText
=
2
,
cssmsoposverrelLine
=
3
,
cssmsoposverrelTopMargin
=
4
,
cssmsoposverrelBottomMargin
=
5
};
enum
ECssMsoWrapStyle
{
...
...
@@ -3860,10 +3864,12 @@ namespace SimpleTypes
}
void
ReadValue_MsoPosHorRel
(
CString
&
sValue
)
{
if
(
_T
(
"margin"
)
==
sValue
)
m_oValue
.
eMsoPosHorRel
=
cssmsoposhorrelMargin
;
else
if
(
_T
(
"page"
)
==
sValue
)
m_oValue
.
eMsoPosHorRel
=
cssmsoposhorrelPage
;
else
if
(
_T
(
"text"
)
==
sValue
)
m_oValue
.
eMsoPosHorRel
=
cssmsoposhorrelText
;
else
if
(
_T
(
"char"
)
==
sValue
)
m_oValue
.
eMsoPosHorRel
=
cssmsoposhorrelChar
;
if
(
_T
(
"left-margin-area"
)
==
sValue
)
m_oValue
.
eMsoPosHorRel
=
cssmsoposhorrelLeftMargin
;
else
if
(
_T
(
"right-margin-area"
)
==
sValue
)
m_oValue
.
eMsoPosHorRel
=
cssmsoposhorrelRightMargin
;
else
if
(
_T
(
"margin"
)
==
sValue
)
m_oValue
.
eMsoPosHorRel
=
cssmsoposhorrelMargin
;
else
if
(
_T
(
"page"
)
==
sValue
)
m_oValue
.
eMsoPosHorRel
=
cssmsoposhorrelPage
;
else
if
(
_T
(
"text"
)
==
sValue
)
m_oValue
.
eMsoPosHorRel
=
cssmsoposhorrelText
;
else
if
(
_T
(
"char"
)
==
sValue
)
m_oValue
.
eMsoPosHorRel
=
cssmsoposhorrelChar
;
else
m_oValue
.
eMsoPosHorRel
=
cssmsoposhorrelText
;
}
...
...
@@ -3880,13 +3886,12 @@ namespace SimpleTypes
}
void
ReadValue_MsoPosVerRel
(
CString
&
sValue
)
{
//bottom-margin-area ????
if
(
_T
(
"margin"
)
==
sValue
)
m_oValue
.
eMsoPosVerRel
=
cssmsoposverrelMargin
;
else
if
(
_T
(
"page"
)
==
sValue
)
m_oValue
.
eMsoPosVerRel
=
cssmsoposverrelPage
;
else
if
(
_T
(
"text"
)
==
sValue
)
m_oValue
.
eMsoPosVerRel
=
cssmsoposverrelText
;
else
if
(
_T
(
"line"
)
==
sValue
)
m_oValue
.
eMsoPosVerRel
=
cssmsoposverrelLine
;
else
if
(
sValue
.
Find
(
_T
(
"margin"
))
>=
0
)
m_oValue
.
eMsoPosVerRel
=
cssmsoposverrelMargin
;
if
(
_T
(
"bottom-margin-area"
)
==
sValue
)
m_oValue
.
eMsoPosVerRel
=
cssmsoposverrelBottomMargin
;
else
if
(
_T
(
"top-margin-area"
)
==
sValue
)
m_oValue
.
eMsoPosVerRel
=
cssmsoposverrelTopMargin
;
else
if
(
_T
(
"margin"
)
==
sValue
)
m_oValue
.
eMsoPosVerRel
=
cssmsoposverrelMargin
;
else
if
(
_T
(
"page"
)
==
sValue
)
m_oValue
.
eMsoPosVerRel
=
cssmsoposverrelPage
;
else
if
(
_T
(
"text"
)
==
sValue
)
m_oValue
.
eMsoPosVerRel
=
cssmsoposverrelText
;
else
if
(
_T
(
"line"
)
==
sValue
)
m_oValue
.
eMsoPosVerRel
=
cssmsoposverrelLine
;
else
m_oValue
.
eMsoPosVerRel
=
cssmsoposverrelText
;
}
...
...
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