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
5d2e5b8f
Commit
5d2e5b8f
authored
Nov 15, 2016
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
924a2757
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
ASCOfficeRtfFile/RtfFormatLib/source/Reader/OOXParagraphElementReaders.cpp
...RtfFormatLib/source/Reader/OOXParagraphElementReaders.cpp
+19
-19
No files found.
ASCOfficeRtfFile/RtfFormatLib/source/Reader/OOXParagraphElementReaders.cpp
View file @
5d2e5b8f
...
...
@@ -1453,26 +1453,26 @@ bool OOXrPrReader::Parse( ReaderParameter oParam ,RtfCharProperty& oOutputProper
//oShadingReader.Parse( oParam, oOutputProperty.m_poShading );
}
//--------------------------------------------------------------
//if (m_ooxRunProps->m_oIns.IsInit())
//{
// oOutputProperty.m_nRevised = 1;
//
// if (m_ooxRunProps->m_oIns->m_sAuthor.IsInit())
// oOutputProperty.m_nRevauth = oParam.oRtf->m_oRevisionTable.AddAuthor( m_ooxRunProps->m_oIns->m_sAuthor.get2() ) + 1;
//
// if (m_ooxRunProps->m_oIns->m_oDate.IsInit())
// oOutputProperty.m_nRevdttm = RtfUtility::convertDateTime( string2std_string(m_ooxRunProps->m_oIns->m_oDate->GetValue()) );
//}
//if (m_ooxRunProps->m_oDel.IsInit())
//{
// oOutputProperty.m_nDeleted = 1;
//
// if (m_ooxRunProps->m_oDel->m_sAuthor.IsInit())
// oOutputProperty.m_nRevauthDel = oParam.oRtf->m_oRevisionTable.AddAuthor( m_ooxRunProps->m_oDel->m_sAuthor.get2() ) + 1;
if
(
m_ooxRunProps
->
m_oIns
.
IsInit
())
{
oOutputProperty
.
m_nRevised
=
1
;
// if (m_ooxRunProps->m_oDel->m_oDate.IsInit())
// oOutputProperty.m_nRevdttmDel = RtfUtility::convertDateTime( string2std_string(m_ooxRunProps->m_oDel->m_oDate->GetValue()) );
//}
if
(
m_ooxRunProps
->
m_oIns
->
m_sAuthor
.
IsInit
())
oOutputProperty
.
m_nRevauth
=
oParam
.
oRtf
->
m_oRevisionTable
.
AddAuthor
(
m_ooxRunProps
->
m_oIns
->
m_sAuthor
.
get2
()
)
+
1
;
if
(
m_ooxRunProps
->
m_oIns
->
m_oDate
.
IsInit
())
oOutputProperty
.
m_nRevdttm
=
RtfUtility
::
convertDateTime
(
string2std_string
(
m_ooxRunProps
->
m_oIns
->
m_oDate
->
GetValue
())
);
}
if
(
m_ooxRunProps
->
m_oDel
.
IsInit
())
{
oOutputProperty
.
m_nDeleted
=
1
;
if
(
m_ooxRunProps
->
m_oDel
->
m_sAuthor
.
IsInit
())
oOutputProperty
.
m_nRevauthDel
=
oParam
.
oRtf
->
m_oRevisionTable
.
AddAuthor
(
m_ooxRunProps
->
m_oDel
->
m_sAuthor
.
get2
()
)
+
1
;
if
(
m_ooxRunProps
->
m_oDel
->
m_oDate
.
IsInit
())
oOutputProperty
.
m_nRevdttmDel
=
RtfUtility
::
convertDateTime
(
string2std_string
(
m_ooxRunProps
->
m_oDel
->
m_oDate
->
GetValue
())
);
}
if
(
m_ooxRunProps
->
m_oRPrChange
.
IsInit
())
{
...
...
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