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
4a5fca5c
Commit
4a5fca5c
authored
Sep 26, 2017
by
konovalovsergey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hidePivotFieldList in Editor.bin
parent
66dae039
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
1 deletion
+23
-1
XlsxSerializerCom/Reader/BinaryWriter.h
XlsxSerializerCom/Reader/BinaryWriter.h
+13
-1
XlsxSerializerCom/Writer/BinaryReader.h
XlsxSerializerCom/Writer/BinaryReader.h
+10
-0
No files found.
XlsxSerializerCom/Reader/BinaryWriter.h
View file @
4a5fca5c
...
...
@@ -1553,7 +1553,19 @@ namespace BinXlsxRW
m_oBcw
.
m_oStream
.
WriteBYTE
(
c_oSerPropLenType
::
Byte
);
m_oBcw
.
m_oStream
.
WriteBOOL
(
workbookPr
.
m_oDateCompatibility
->
ToBool
());
}
}
if
(
workbookPr
.
m_oHidePivotFieldList
.
IsInit
())
{
m_oBcw
.
m_oStream
.
WriteBYTE
(
c_oSerWorkbookPrTypes
::
HidePivotFieldList
);
m_oBcw
.
m_oStream
.
WriteBYTE
(
c_oSerPropLenType
::
Byte
);
m_oBcw
.
m_oStream
.
WriteBOOL
(
workbookPr
.
m_oHidePivotFieldList
->
ToBool
());
}
if
(
workbookPr
.
m_oShowPivotChartFilter
.
IsInit
())
{
m_oBcw
.
m_oStream
.
WriteBYTE
(
c_oSerWorkbookPrTypes
::
ShowPivotChartFilter
);
m_oBcw
.
m_oStream
.
WriteBYTE
(
c_oSerPropLenType
::
Byte
);
m_oBcw
.
m_oStream
.
WriteBOOL
(
workbookPr
.
m_oShowPivotChartFilter
->
ToBool
());
}
}
void
WriteBookViews
(
const
OOX
::
Spreadsheet
::
CBookViews
&
bookViews
)
{
int
nCurPos
;
...
...
XlsxSerializerCom/Writer/BinaryReader.h
View file @
4a5fca5c
...
...
@@ -1574,6 +1574,16 @@ namespace BinXlsxRW {
m_oWorkbook
.
m_oWorkbookPr
->
m_oDateCompatibility
.
Init
();
m_oWorkbook
.
m_oWorkbookPr
->
m_oDateCompatibility
->
SetValue
(
false
!=
m_oBufferedStream
.
GetBool
()
?
SimpleTypes
::
onoffTrue
:
SimpleTypes
::
onoffFalse
);
}
else
if
(
c_oSerWorkbookPrTypes
::
HidePivotFieldList
==
type
)
{
m_oWorkbook
.
m_oWorkbookPr
->
m_oHidePivotFieldList
.
Init
();
m_oWorkbook
.
m_oWorkbookPr
->
m_oHidePivotFieldList
->
SetValue
(
false
!=
m_oBufferedStream
.
GetBool
()
?
SimpleTypes
::
onoffTrue
:
SimpleTypes
::
onoffFalse
);
}
else
if
(
c_oSerWorkbookPrTypes
::
ShowPivotChartFilter
==
type
)
{
m_oWorkbook
.
m_oWorkbookPr
->
m_oShowPivotChartFilter
.
Init
();
m_oWorkbook
.
m_oWorkbookPr
->
m_oShowPivotChartFilter
->
SetValue
(
false
!=
m_oBufferedStream
.
GetBool
()
?
SimpleTypes
::
onoffTrue
:
SimpleTypes
::
onoffFalse
);
}
else
res
=
c_oSerConstants
::
ReadUnknown
;
return
res
;
...
...
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