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
e1e14ae2
Commit
e1e14ae2
authored
Dec 25, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
4f6e3642
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
18 deletions
+12
-18
ASCOfficeRtfFile/RtfFormatLib/source/Reader/OOXDocumentReader.h
...iceRtfFile/RtfFormatLib/source/Reader/OOXDocumentReader.h
+12
-18
No files found.
ASCOfficeRtfFile/RtfFormatLib/source/Reader/OOXDocumentReader.h
View file @
e1e14ae2
...
@@ -103,27 +103,21 @@ public:
...
@@ -103,27 +103,21 @@ public:
}
}
}
}
//----------------------------------------------------------------------------------------------------------
//----------------------------------------------------------------------------------------------------------
_section
last_section
;
_section
section
;
m_poDocument
->
GetItem
(
last_section
);
section
.
props
=
RtfSectionPtr
(
new
RtfSection
());
if
(
last_section
.
end_para
!=
m_ooxDocument
->
m_arrItems
.
end
())
section
.
start_para
=
last_section_start
;
section
.
end_para
=
m_ooxDocument
->
m_arrItems
.
end
();
section
.
props
->
m_oProperty
.
SetDefaultOOX
();
if
(
m_ooxDocument
->
m_oSectPr
.
IsInit
())
// свойства последней секции
{
{
_section
section
;
OOXSectionPropertyReader
oSectReader
(
m_ooxDocument
->
m_oSectPr
.
GetPointer
());
section
.
props
=
RtfSectionPtr
(
new
RtfSection
());
if
(
oSectReader
.
Parse
(
oParam
,
section
.
props
->
m_oProperty
))
section
.
start_para
=
last_section
.
end_para
;
section
.
end_para
=
m_ooxDocument
->
m_arrItems
.
end
();
section
.
props
->
m_oProperty
.
SetDefaultOOX
();
if
(
m_ooxDocument
->
m_oSectPr
.
IsInit
())
// свойства последней секции
{
{
OOXSectionPropertyReader
oSectReader
(
m_ooxDocument
->
m_oSectPr
.
GetPointer
());
m_poDocument
->
AddItem
(
section
);
if
(
oSectReader
.
Parse
(
oParam
,
section
.
props
->
m_oProperty
))
{
}
}
}
}
m_poDocument
->
AddItem
(
section
);
}
m_poDocument
->
RemoveItem
(
0
);
m_poDocument
->
RemoveItem
(
0
);
...
...
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