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
9e1a0e36
Commit
9e1a0e36
authored
Jun 24, 2017
by
Sergey Konovalov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moveRange
parent
39e2b69b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
32 deletions
+37
-32
ASCOfficeDocxFile2/BinWriter/BinWriters.h
ASCOfficeDocxFile2/BinWriter/BinWriters.h
+33
-32
Common/DocxFormat/Source/DocxFormat/Logic/RunProperty.cpp
Common/DocxFormat/Source/DocxFormat/Logic/RunProperty.cpp
+4
-0
No files found.
ASCOfficeDocxFile2/BinWriter/BinWriters.h
View file @
9e1a0e36
...
...
@@ -3273,38 +3273,39 @@ namespace BinDocxRW
WriteComment
(
OOX
::
et_w_commentRangeEnd
,
pCommentRangeEnd
->
m_oId
);
break
;
}
case
OOX
:
:
et_w_moveFromRangeStart
:
{
OOX
::
Logic
::
CMoveFromRangeStart
*
pMoveFromRangeStart
=
static_cast
<
OOX
::
Logic
::
CMoveFromRangeStart
*>
(
item
);
nCurPos
=
m_oBcw
.
WriteItemStart
(
c_oSerParType
::
MoveFromRangeStart
);
WriteMoveRangeStart
(
*
pMoveFromRangeStart
);
m_oBcw
.
WriteItemEnd
(
nCurPos
);
break
;
}
case
OOX
:
:
et_w_moveFromRangeEnd
:
{
OOX
::
Logic
::
CMoveFromRangeEnd
*
pMoveFromRangeEnd
=
static_cast
<
OOX
::
Logic
::
CMoveFromRangeEnd
*>
(
item
);
nCurPos
=
m_oBcw
.
WriteItemStart
(
c_oSerParType
::
MoveFromRangeEnd
);
WriteMoveRangeEnd
(
*
pMoveFromRangeEnd
);
m_oBcw
.
WriteItemEnd
(
nCurPos
);
break
;
}
case
OOX
:
:
et_w_moveToRangeStart
:
{
OOX
::
Logic
::
CMoveToRangeStart
*
pMoveToRangeStart
=
static_cast
<
OOX
::
Logic
::
CMoveToRangeStart
*>
(
item
);
nCurPos
=
m_oBcw
.
WriteItemStart
(
c_oSerParType
::
MoveToRangeStart
);
WriteMoveRangeStart
(
*
pMoveToRangeStart
);
m_oBcw
.
WriteItemEnd
(
nCurPos
);
break
;
}
case
OOX
:
:
et_w_moveToRangeEnd
:
{
OOX
::
Logic
::
CMoveToRangeEnd
*
pMoveToRangeEnd
=
static_cast
<
OOX
::
Logic
::
CMoveToRangeEnd
*>
(
item
);
nCurPos
=
m_oBcw
.
WriteItemStart
(
c_oSerParType
::
MoveToRangeEnd
);
WriteMoveRangeEnd
(
*
pMoveToRangeEnd
);
m_oBcw
.
WriteItemEnd
(
nCurPos
);
break
;
}
//todo moveRange on all levels(body, p ...)
// case OOX::et_w_moveFromRangeStart:
// {
// OOX::Logic::CMoveFromRangeStart* pMoveFromRangeStart = static_cast<OOX::Logic::CMoveFromRangeStart*>(item);
// nCurPos = m_oBcw.WriteItemStart(c_oSerParType::MoveFromRangeStart);
// WriteMoveRangeStart(*pMoveFromRangeStart);
// m_oBcw.WriteItemEnd(nCurPos);
// break;
// }
// case OOX::et_w_moveFromRangeEnd:
// {
// OOX::Logic::CMoveFromRangeEnd* pMoveFromRangeEnd = static_cast<OOX::Logic::CMoveFromRangeEnd*>(item);
// nCurPos = m_oBcw.WriteItemStart(c_oSerParType::MoveFromRangeEnd);
// WriteMoveRangeEnd(*pMoveFromRangeEnd);
// m_oBcw.WriteItemEnd(nCurPos);
// break;
// }
// case OOX::et_w_moveToRangeStart:
// {
// OOX::Logic::CMoveToRangeStart* pMoveToRangeStart = static_cast<OOX::Logic::CMoveToRangeStart*>(item);
// nCurPos = m_oBcw.WriteItemStart(c_oSerParType::MoveToRangeStart);
// WriteMoveRangeStart(*pMoveToRangeStart);
// m_oBcw.WriteItemEnd(nCurPos);
// break;
// }
// case OOX::et_w_moveToRangeEnd:
// {
// OOX::Logic::CMoveToRangeEnd* pMoveToRangeEnd = static_cast<OOX::Logic::CMoveToRangeEnd*>(item);
// nCurPos = m_oBcw.WriteItemStart(c_oSerParType::MoveToRangeEnd);
// WriteMoveRangeEnd(*pMoveToRangeEnd);
// m_oBcw.WriteItemEnd(nCurPos);
// break;
// }
case
OOX
:
:
et_m_oMathPara
:
{
OOX
::
Logic
::
COMathPara
*
pOMathPara
=
static_cast
<
OOX
::
Logic
::
COMathPara
*>
(
item
);
...
...
Common/DocxFormat/Source/DocxFormat/Logic/RunProperty.cpp
View file @
9e1a0e36
...
...
@@ -205,6 +205,10 @@ namespace OOX
m_oNoProof
=
oReader
;
else
if
(
_T
(
"m:oMath"
)
==
sName
)
m_oMath
=
oReader
;
else
if
(
_T
(
"w:moveFrom"
)
==
sName
)
m_oMoveFrom
=
oReader
;
else
if
(
_T
(
"w:moveTo"
)
==
sName
)
m_oMoveTo
=
oReader
;
else
if
(
_T
(
"w:outline"
)
==
sName
)
m_oOutline
=
oReader
;
else
if
(
_T
(
"w:position"
)
==
sName
)
...
...
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