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
d0e01095
Commit
d0e01095
authored
Dec 22, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
dc33f7f1
Changes
34
Show whitespace changes
Inline
Side-by-side
Showing
34 changed files
with
111 additions
and
27 deletions
+111
-27
ASCOfficeOdfFileW/OdfFileWTest/OdfFileWTest.vcproj
ASCOfficeOdfFileW/OdfFileWTest/OdfFileWTest.vcproj
+10
-1
ASCOfficeOdfFileW/source/OdfFormat/odf_chart_context.cpp
ASCOfficeOdfFileW/source/OdfFormat/odf_chart_context.cpp
+7
-0
ASCOfficeOdfFileW/source/OdfFormat/odf_chart_context.h
ASCOfficeOdfFileW/source/OdfFormat/odf_chart_context.h
+1
-0
ASCOfficeOdfFileW/source/OdfFormat/odf_table_context.cpp
ASCOfficeOdfFileW/source/OdfFormat/odf_table_context.cpp
+21
-4
ASCOfficeOdfFileW/source/OdfFormat/odf_table_context.h
ASCOfficeOdfFileW/source/OdfFormat/odf_table_context.h
+1
-0
ASCOfficeOdfFileW/source/OdfFormat/style_chart_properties.h
ASCOfficeOdfFileW/source/OdfFormat/style_chart_properties.h
+1
-0
ASCOfficeOdfFileW/source/Oox2OdfConverter/ConverterChart.cpp
ASCOfficeOdfFileW/source/Oox2OdfConverter/ConverterChart.cpp
+2
-0
ASCOfficeOdfFileW/source/Oox2OdfConverter/DocxConverter.cpp
ASCOfficeOdfFileW/source/Oox2OdfConverter/DocxConverter.cpp
+16
-6
ASCOfficePPTFile/PPTFormatLib/Win32/PPTFormatLib.vcproj
ASCOfficePPTFile/PPTFormatLib/Win32/PPTFormatLib.vcproj
+1
-0
ASCOfficePPTFile/PptFormatTest/PptFormatTest.vcproj
ASCOfficePPTFile/PptFormatTest/PptFormatTest.vcproj
+5
-3
ASCOfficePPTXFile/PPTXFormat/Logic/Pic.cpp
ASCOfficePPTXFile/PPTXFormat/Logic/Pic.cpp
+1
-1
ASCOfficePPTXFile/PPTXLib/PPTXFormat.vcproj
ASCOfficePPTXFile/PPTXLib/PPTXFormat.vcproj
+1
-0
ASCOfficeXlsFile2/source/win32/XlsFormat.vcproj
ASCOfficeXlsFile2/source/win32/XlsFormat.vcproj
+1
-0
Common/3dParty/cryptopp/cryptlib.vcproj
Common/3dParty/cryptopp/cryptlib.vcproj
+3
-1
Common/DocxFormat/Projects/DocxFormat2005.vcproj
Common/DocxFormat/Projects/DocxFormat2005.vcproj
+1
-0
DesktopEditor/agg-2.4/agg_vs2005.vcproj
DesktopEditor/agg-2.4/agg_vs2005.vcproj
+1
-0
DesktopEditor/cximage/CxImage/cximage_vs2005.vcproj
DesktopEditor/cximage/CxImage/cximage_vs2005.vcproj
+1
-0
DesktopEditor/cximage/jasper/jasper_vs2005.vcproj
DesktopEditor/cximage/jasper/jasper_vs2005.vcproj
+1
-0
DesktopEditor/cximage/jbig/jbig_vs2005.vcproj
DesktopEditor/cximage/jbig/jbig_vs2005.vcproj
+2
-1
DesktopEditor/cximage/jpeg/Jpeg_vs2005.vcproj
DesktopEditor/cximage/jpeg/Jpeg_vs2005.vcproj
+2
-0
DesktopEditor/cximage/libpsd/libpsd_vs2005.vcproj
DesktopEditor/cximage/libpsd/libpsd_vs2005.vcproj
+1
-0
DesktopEditor/cximage/mng/mng_vs2005.vcproj
DesktopEditor/cximage/mng/mng_vs2005.vcproj
+1
-0
DesktopEditor/cximage/png/png_vs2005.vcproj
DesktopEditor/cximage/png/png_vs2005.vcproj
+2
-0
DesktopEditor/cximage/raw/libdcr_vs2005.vcproj
DesktopEditor/cximage/raw/libdcr_vs2005.vcproj
+1
-0
DesktopEditor/cximage/tiff/Tiff_vs2005.vcproj
DesktopEditor/cximage/tiff/Tiff_vs2005.vcproj
+1
-0
DesktopEditor/fontengine/font_engine_vs2005.vcproj
DesktopEditor/fontengine/font_engine_vs2005.vcproj
+1
-0
DesktopEditor/freetype-2.5.2/builds/windows/vc2005/freetype.vcproj
...itor/freetype-2.5.2/builds/windows/vc2005/freetype.vcproj
+2
-0
DesktopEditor/graphics/graphics_vs2005.vcproj
DesktopEditor/graphics/graphics_vs2005.vcproj
+2
-1
DesktopEditor/raster/JBig2/win32/jbig2.vcproj
DesktopEditor/raster/JBig2/win32/jbig2.vcproj
+1
-0
DesktopEditor/raster/raster_vs2005.vcproj
DesktopEditor/raster/raster_vs2005.vcproj
+1
-0
OfficeCryptReader/win32/ECMACryptReader.vcproj
OfficeCryptReader/win32/ECMACryptReader.vcproj
+1
-0
OfficeUtils/win32/OfficeUtilsLib.vcproj
OfficeUtils/win32/OfficeUtilsLib.vcproj
+1
-0
XlsxSerializerCom/Reader/BinaryWriter.h
XlsxSerializerCom/Reader/BinaryWriter.h
+1
-1
XlsxSerializerCom/Reader/CommonWriter.cpp
XlsxSerializerCom/Reader/CommonWriter.cpp
+16
-8
No files found.
ASCOfficeOdfFileW/OdfFileWTest/OdfFileWTest.vcproj
View file @
d0e01095
...
...
@@ -49,6 +49,7 @@
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"1"
UsePrecompiledHeader=
"0"
ProgramDataBaseFileName=
"$(IntDir)\OdfFileWriterTest.pdb"
WarningLevel=
"3"
Detect64BitPortabilityProblems=
"true"
DebugInformationFormat=
"4"
...
...
@@ -66,7 +67,7 @@
Name=
"VCLinkerTool"
AdditionalDependencies=
"
Rpcrt4.lib"
LinkIncremental=
"2"
IgnoreDefaultLibraryNames=
"
LIBCMTD.lib
"
IgnoreDefaultLibraryNames=
""
GenerateDebugInformation=
"true"
SubSystem=
"1"
TargetMachine=
"1"
...
...
@@ -450,6 +451,14 @@
<File
RelativePath=
"..\..\ASCOfficeDocxFile2\DocWrapper\XlsxSerializer.cpp"
>
<FileConfiguration
Name=
"Debug|Win32"
>
<Tool
Name=
"VCCLCompilerTool"
AdditionalOptions=
"/bigobj"
/>
</FileConfiguration>
</File>
</Filter>
</Filter>
...
...
ASCOfficeOdfFileW/source/OdfFormat/odf_chart_context.cpp
View file @
d0e01095
...
...
@@ -1478,6 +1478,13 @@ void odf_chart_context::set_series_pie_explosion(int val)//или точка с
impl_
->
current_level_
.
back
().
chart_properties_
->
content_
.
chart_pie_offset_
=
val
;
}
void
odf_chart_context
::
set_series_pie_bubble
(
bool
val
)
{
if
(
!
impl_
->
current_level_
.
back
().
chart_properties_
)
return
;
impl_
->
current_level_
.
back
().
chart_properties_
->
content_
.
chart_pie_bubble_
=
val
;
}
//void odf_chart_context::set_cash(std::wstring format, std::vector<double> &data_double)
//{
// if (data_double.size() <1 || impl_->data_cell_ranges_.size() < 1) return;
...
...
ASCOfficeOdfFileW/source/OdfFormat/odf_chart_context.h
View file @
d0e01095
...
...
@@ -89,6 +89,7 @@ public:
long
get_count_data_points_series
();
void
set_series_pie_explosion
(
int
val
);
void
set_series_pie_bubble
(
bool
val
);
void
end_series
();
void
end_group_series
();
...
...
ASCOfficeOdfFileW/source/OdfFormat/odf_table_context.cpp
View file @
d0e01095
...
...
@@ -100,6 +100,7 @@ public:
Impl
(
odf_conversion_context
*
odf_context
)
:
odf_context_
(
odf_context
)
{
default_column_width
=
-
1
;
optimal_column_width
=
false
;
}
odf_table_state
&
current_table
()
{
return
tables_
.
back
();}
...
...
@@ -107,13 +108,21 @@ public:
void
start_table
(
odf_table_state
&
state
)
{
tables_
.
push_back
(
state
);}
void
end_table
()
{
if
(
tables_
.
size
()
>
0
)
tables_
.
pop_back
();
default_column_width
=
-
1
;
default_cell_properties
=
L""
;}
void
end_table
()
{
if
(
tables_
.
size
()
>
0
)
tables_
.
pop_back
();
default_column_width
=
-
1
;
// todo .. in level ???
default_cell_properties
=
L""
;
optimal_column_width
=
false
;
}
odf_style_context
*
styles_context
()
{
return
odf_context_
->
styles_context
();}
odf_conversion_context
*
odf_context_
;
double
default_column_width
;
bool
optimal_column_width
;
std
::
wstring
default_cell_properties
;
// для предустановки ..
private:
...
...
@@ -307,6 +316,10 @@ void odf_table_context::set_default_column_width(double width)
{
impl_
->
default_column_width
=
width
;
}
void
odf_table_context
::
set_optimal_column_width
(
bool
val
)
{
impl_
->
optimal_column_width
=
val
;
}
void
odf_table_context
::
set_column_optimal
(
bool
val
)
{
if
(
impl_
->
empty
())
return
;
...
...
@@ -362,7 +375,11 @@ void odf_table_context::set_column_width(double width)
{
properties
->
style_table_column_properties_attlist_
.
style_column_width_
=
length
(
length
(
width
,
length
::
pt
).
get_value_unit
(
length
::
cm
),
length
::
cm
);
//properties->style_table_column_properties_attlist_.style_rel_column_width_ = length(length(width,length::pt).get_value_unit(length::cm),length::cm);
//properties->style_table_column_properties_attlist_.style_use_optimal_column_width_ = false;
if
(
impl_
->
optimal_column_width
)
{
properties
->
style_table_column_properties_attlist_
.
style_use_optimal_column_width_
=
true
;
}
impl_
->
current_table
().
table_width
+=
width
;
}
...
...
@@ -370,7 +387,7 @@ void odf_table_context::set_column_width(double width)
{
properties
->
style_table_column_properties_attlist_
.
style_use_optimal_column_width_
=
true
;
if
(
impl_
->
default_column_width
>=
0
)
if
(
impl_
->
default_column_width
>=
0
)
{
properties
->
style_table_column_properties_attlist_
.
style_column_width_
=
length
(
length
(
impl_
->
default_column_width
,
length
::
pt
).
get_value_unit
(
length
::
cm
),
length
::
cm
);
//properties->style_table_column_properties_attlist_.style_rel_column_width_ = length(length(impl_->current_table().table_width,length::pt).get_value_unit(length::cm),length::cm);
...
...
ASCOfficeOdfFileW/source/OdfFormat/odf_table_context.h
View file @
d0e01095
...
...
@@ -66,6 +66,7 @@ public:
void
start_table
(
office_element_ptr
&
elm
,
bool
styled
=
false
);
void
set_default_column_width
(
double
width
);
void
set_optimal_column_width
(
bool
val
);
void
change_current_column_width
(
double
width
);
void
end_table
();
...
...
ASCOfficeOdfFileW/source/OdfFormat/style_chart_properties.h
View file @
d0e01095
...
...
@@ -95,6 +95,7 @@ public:
_CP_OPT
(
int
)
chart_spline_order_
;
_CP_OPT
(
int
)
chart_spline_resolution_
;
_CP_OPT
(
int
)
chart_pie_offset_
;
_CP_OPT
(
bool
)
chart_pie_bubble_
;
_CP_OPT
(
int
)
chart_interval_minor_divisor_
;
_CP_OPT
(
double
)
chart_maximum_
;
...
...
ASCOfficeOdfFileW/source/Oox2OdfConverter/ConverterChart.cpp
View file @
d0e01095
...
...
@@ -971,6 +971,8 @@ void OoxConverter::convert(OOX::Spreadsheet::CT_Marker* marker, std::vector<OOX:
convert
(
dPt
[
i
]
->
m_marker
);
if
(
dPt
[
i
]
->
m_explosion
&&
dPt
[
i
]
->
m_explosion
->
m_val
)
odf_context
()
->
chart_context
()
->
set_series_pie_explosion
(
*
dPt
[
i
]
->
m_explosion
->
m_val
);
if
(
dPt
[
i
]
->
m_bubble3D
&&
dPt
[
i
]
->
m_bubble3D
->
m_val
)
odf_context
()
->
chart_context
()
->
set_series_pie_bubble
(
*
dPt
[
i
]
->
m_bubble3D
->
m_val
);
odf_context
()
->
chart_context
()
->
end_element
();
current_point
=
set_point
+
1
;
...
...
ASCOfficeOdfFileW/source/Oox2OdfConverter/DocxConverter.cpp
View file @
d0e01095
...
...
@@ -214,6 +214,7 @@ void DocxConverter::convert_document()
section
.
props
=
document
->
m_oSectPr
.
GetPointer
();
section
.
start_para
=
last_section_start
;
section
.
end_para
=
document
->
m_arrItems
.
end
();
sections
.
push_back
(
section
);
//----------------------------------------------------------------------------------------------------------
...
...
@@ -3926,13 +3927,22 @@ bool DocxConverter::convert(OOX::Logic::CTableProperty *oox_table_pr, odf_writer
if
(
oox_table_pr
==
NULL
)
return
false
;
if
(
table_properties
==
NULL
)
return
false
;
if
(
oox_table_pr
->
m_oTblW
.
IsInit
())
if
(
oox_table_pr
->
m_oTblW
.
IsInit
()
&&
oox_table_pr
->
m_oTblW
->
m_oW
.
IsInit
())
{
if
(
oox_table_pr
->
m_oTblW
->
m_oType
.
IsInit
()
&&
oox_table_pr
->
m_oTblW
->
m_oW
.
IsInit
())
{
if
((
oox_table_pr
->
m_oTblW
->
m_oType
.
IsInit
()
&&
oox_table_pr
->
m_oTblW
->
m_oType
->
GetValue
()
==
SimpleTypes
::
tblwidthDxa
)
&&
(
oox_table_pr
->
m_oTblW
->
m_oW
.
IsInit
()
&&
oox_table_pr
->
m_oTblW
->
m_oW
->
GetValue
()
>
0
)
)
if
(
oox_table_pr
->
m_oTblW
->
m_oType
->
GetValue
()
==
SimpleTypes
::
tblwidthDxa
&&
oox_table_pr
->
m_oTblW
->
m_oW
->
GetValue
()
>
0
)
{
if
(
oox_table_pr
->
m_oTblW
->
m_oW
->
IsPercent
()
==
false
)
odt_context
->
table_context
()
->
set_default_column_width
(
oox_table_pr
->
m_oTblW
->
m_oW
->
GetValue
()
/
20.
);
if
(
oox_table_pr
->
m_oTblW
->
m_oW
->
IsPercent
()
==
false
)
odt_context
->
table_context
()
->
set_default_column_width
(
oox_table_pr
->
m_oTblW
->
m_oW
->
GetValue
()
/
20.
);
}
else
if
(
oox_table_pr
->
m_oTblW
->
m_oType
->
GetValue
()
==
SimpleTypes
::
tblwidthAuto
&&
oox_table_pr
->
m_oTblW
->
m_oW
->
GetValue
()
==
0
)
{
//динамическое расширение - автоподбор по содержимому.
odt_context
->
table_context
()
->
set_optimal_column_width
(
true
);
}
}
}
...
...
@@ -4033,7 +4043,7 @@ bool DocxConverter::convert(OOX::Logic::CTableProperty *oox_table_pr, bool base_
{
//напрямую задать cell_prop на саму таблицу низя - тока как default-cell-style-name на columns & row
//общие свойства ячеек
odt_context
->
styles_context
()
->
create_style
(
L""
,
odf_types
::
style_family
::
TableCell
,
true
,
false
,
-
1
);
//ради нормального задания дефолтовых свойств на cells
odt_context
->
styles_context
()
->
create_style
(
L""
,
odf_types
::
style_family
::
TableCell
,
true
,
false
,
-
1
);
//ради нормального задания дефолтовых свойств на cells
odt_context
->
styles_context
()
->
last_state
()
->
set_dont_write
(
true
);
odf_writer
::
style_table_cell_properties
*
table_cell_properties
=
odt_context
->
styles_context
()
->
last_state
()
->
get_table_cell_properties
();
...
...
ASCOfficePPTFile/PPTFormatLib/Win32/PPTFormatLib.vcproj
View file @
d0e01095
...
...
@@ -60,6 +60,7 @@
MinimalRebuild=
"true"
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"1"
EnableEnhancedInstructionSet=
"0"
UsePrecompiledHeader=
"0"
WarningLevel=
"3"
Detect64BitPortabilityProblems=
"false"
...
...
ASCOfficePPTFile/PptFormatTest/PptFormatTest.vcproj
View file @
d0e01095
...
...
@@ -46,10 +46,12 @@
Optimization=
"0"
AdditionalIncludeDirectories=
"../../DesktopEditor/xml/build/vs2005;../../DesktopEditor/xml/libxml2/include"
PreprocessorDefinitions=
"_DEBUG;_CONSOLE;_USE_MATH_DEFINES;_USE_LIBXML2_READER_;LIBXML_READER_ENABLED;USE_LITE_READER;_USE_XMLLITE_READER_;_PRESENTATION_WRITER_;_SVG_CONVERT_TO_IMAGE_;DONT_WRITE_EMBEDDED_FONTS"
MinimalRebuild=
"
fals
e"
MinimalRebuild=
"
tru
e"
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"3"
RuntimeLibrary=
"1"
EnableEnhancedInstructionSet=
"0"
UsePrecompiledHeader=
"0"
ProgramDataBaseFileName=
"$(IntDir)\PptFileFormatTest.pdb"
WarningLevel=
"3"
Detect64BitPortabilityProblems=
"true"
DebugInformationFormat=
"4"
...
...
@@ -67,7 +69,7 @@
Name=
"VCLinkerTool"
AdditionalDependencies=
"Urlmon.lib"
LinkIncremental=
"1"
IgnoreDefaultLibraryNames=
"
LIBCMTD.lib;libcmt.lib
"
IgnoreDefaultLibraryNames=
""
IgnoreEmbeddedIDL=
"true"
GenerateDebugInformation=
"true"
SubSystem=
"1"
...
...
ASCOfficePPTXFile/PPTXFormat/Logic/Pic.cpp
View file @
d0e01095
...
...
@@ -1212,7 +1212,7 @@ namespace PPTX
}
}
bool
bRect
=
bOle
;
//ole ВСЕГДА rect
bool
bRect
=
bOle
;
//ole ВСЕГДА rect
или shape c типом ctPictFrame(75)
if
(
spPr
.
Geometry
.
is
<
PPTX
::
Logic
::
PrstGeom
>
())
{
...
...
ASCOfficePPTXFile/PPTXLib/PPTXFormat.vcproj
View file @
d0e01095
...
...
@@ -49,6 +49,7 @@
MinimalRebuild=
"true"
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"1"
EnableEnhancedInstructionSet=
"0"
UsePrecompiledHeader=
"0"
WarningLevel=
"3"
Detect64BitPortabilityProblems=
"true"
...
...
ASCOfficeXlsFile2/source/win32/XlsFormat.vcproj
View file @
d0e01095
...
...
@@ -48,6 +48,7 @@
MinimalRebuild=
"true"
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"1"
EnableEnhancedInstructionSet=
"0"
UsePrecompiledHeader=
"0"
WarningLevel=
"3"
Detect64BitPortabilityProblems=
"false"
...
...
Common/3dParty/cryptopp/cryptlib.vcproj
View file @
d0e01095
...
...
@@ -335,8 +335,10 @@
Optimization=
"0"
EnableIntrinsicFunctions=
"true"
PreprocessorDefinitions=
"_DEBUG;_WINDOWS;USE_PRECOMPILED_HEADERS;WIN32"
MinimalRebuild=
"true"
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"1"
EnableEnhancedInstructionSet=
"
1
"
EnableEnhancedInstructionSet=
"
0
"
UsePrecompiledHeader=
"2"
PrecompiledHeaderThrough=
"pch.h"
ObjectFile=
"$(IntDir)\"
...
...
Common/DocxFormat/Projects/DocxFormat2005.vcproj
View file @
d0e01095
...
...
@@ -48,6 +48,7 @@
MinimalRebuild=
"true"
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"1"
EnableEnhancedInstructionSet=
"0"
ProgramDataBaseFileName=
"$(IntDir)\DocxFormat.pdb"
WarningLevel=
"3"
DebugInformationFormat=
"4"
...
...
DesktopEditor/agg-2.4/agg_vs2005.vcproj
View file @
d0e01095
...
...
@@ -53,6 +53,7 @@
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"1"
StructMemberAlignment=
"0"
EnableEnhancedInstructionSet=
"0"
PrecompiledHeaderFile=
""
AssemblerListingLocation=
"$(ConfigurationName)\agg2d.pch"
ObjectFile=
"$(ConfigurationName)\"
...
...
DesktopEditor/cximage/CxImage/cximage_vs2005.vcproj
View file @
d0e01095
...
...
@@ -502,6 +502,7 @@
MinimalRebuild=
"true"
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"1"
EnableEnhancedInstructionSet=
"0"
PrecompiledHeaderFile=
""
AssemblerListingLocation=
"$(ConfigurationName)\"
ObjectFile=
"$(IntDir)\"
...
...
DesktopEditor/cximage/jasper/jasper_vs2005.vcproj
View file @
d0e01095
...
...
@@ -50,6 +50,7 @@
MinimalRebuild=
"true"
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"1"
EnableEnhancedInstructionSet=
"0"
PrecompiledHeaderFile=
""
AssemblerListingLocation=
"$(ConfigurationName)\"
ObjectFile=
"$(IntDir)\"
...
...
DesktopEditor/cximage/jbig/jbig_vs2005.vcproj
View file @
d0e01095
...
...
@@ -343,7 +343,8 @@
PreprocessorDefinitions=
"WIN32;_DEBUG;_LIB"
MinimalRebuild=
"true"
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"3"
RuntimeLibrary=
"1"
EnableEnhancedInstructionSet=
"0"
PrecompiledHeaderFile=
""
AssemblerListingLocation=
"$(ConfigurationName)\"
ObjectFile=
"$(IntDir)\"
...
...
DesktopEditor/cximage/jpeg/Jpeg_vs2005.vcproj
View file @
d0e01095
...
...
@@ -337,8 +337,10 @@
Name=
"VCCLCompilerTool"
Optimization=
"0"
PreprocessorDefinitions=
"WIN32;_DEBUG;_WINDOWS;_CRT_SECURE_NO_DEPRECATE"
MinimalRebuild=
"true"
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"1"
EnableEnhancedInstructionSet=
"0"
PrecompiledHeaderFile=
""
AssemblerListingLocation=
"$(ConfigurationName)\"
ObjectFile=
"$(IntDir)\"
...
...
DesktopEditor/cximage/libpsd/libpsd_vs2005.vcproj
View file @
d0e01095
...
...
@@ -345,6 +345,7 @@
MinimalRebuild=
"true"
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"1"
EnableEnhancedInstructionSet=
"0"
PrecompiledHeaderFile=
""
AssemblerListingLocation=
"$(ConfigurationName)\"
ObjectFile=
"$(IntDir)\"
...
...
DesktopEditor/cximage/mng/mng_vs2005.vcproj
View file @
d0e01095
...
...
@@ -50,6 +50,7 @@
MinimalRebuild=
"true"
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"1"
EnableEnhancedInstructionSet=
"0"
PrecompiledHeaderFile=
""
AssemblerListingLocation=
"$(IntDir)\"
ObjectFile=
"$(IntDir)\"
...
...
DesktopEditor/cximage/png/png_vs2005.vcproj
View file @
d0e01095
...
...
@@ -48,8 +48,10 @@
Optimization=
"0"
AdditionalIncludeDirectories=
"..\zlib"
PreprocessorDefinitions=
"WIN32;_DEBUG;_WINDOWS;_CRT_SECURE_NO_DEPRECATE"
MinimalRebuild=
"true"
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"1"
EnableEnhancedInstructionSet=
"0"
PrecompiledHeaderFile=
""
AssemblerListingLocation=
"$(ConfigurationName)\"
ObjectFile=
"$(IntDir)\"
...
...
DesktopEditor/cximage/raw/libdcr_vs2005.vcproj
View file @
d0e01095
...
...
@@ -196,6 +196,7 @@
MinimalRebuild=
"true"
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"1"
EnableEnhancedInstructionSet=
"0"
PrecompiledHeaderFile=
""
AssemblerListingLocation=
"$(ConfigurationName)\"
ObjectFile=
"$(IntDir)\"
...
...
DesktopEditor/cximage/tiff/Tiff_vs2005.vcproj
View file @
d0e01095
...
...
@@ -51,6 +51,7 @@
MinimalRebuild=
"true"
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"1"
EnableEnhancedInstructionSet=
"0"
PrecompiledHeaderFile=
""
AssemblerListingLocation=
"$(ConfigurationName)\"
ObjectFile=
"$(IntDir)\"
...
...
DesktopEditor/fontengine/font_engine_vs2005.vcproj
View file @
d0e01095
...
...
@@ -199,6 +199,7 @@
MinimalRebuild=
"true"
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"1"
EnableEnhancedInstructionSet=
"0"
PrecompiledHeaderFile=
""
AssemblerListingLocation=
"$(ConfigurationName)\"
ObjectFile=
"$(IntDir)\"
...
...
DesktopEditor/freetype-2.5.2/builds/windows/vc2005/freetype.vcproj
View file @
d0e01095
...
...
@@ -499,8 +499,10 @@
Optimization=
"0"
AdditionalIncludeDirectories=
"..\..\..\include"
PreprocessorDefinitions=
"_DEBUG;WIN32;_LIB;_CRT_SECURE_NO_WARNINGS;FT_DEBUG_LEVEL_ERROR;FT_DEBUG_LEVEL_TRACE;FT2_BUILD_LIBRARY"
MinimalRebuild=
"true"
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"1"
EnableEnhancedInstructionSet=
"0"
DisableLanguageExtensions=
"true"
PrecompiledHeaderFile=
""
AssemblerListingLocation=
"$(ConfigurationName)/"
...
...
DesktopEditor/graphics/graphics_vs2005.vcproj
View file @
d0e01095
...
...
@@ -212,10 +212,11 @@
Optimization=
"0"
AdditionalIncludeDirectories=
""../agg-2.4/include";"../freetype-2.5.2/include""
PreprocessorDefinitions=
"WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_DEPRECATE;$(NOINHERIT)"
MinimalRebuild=
"
fals
e"
MinimalRebuild=
"
tru
e"
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"1"
StructMemberAlignment=
"0"
EnableEnhancedInstructionSet=
"0"
DisableLanguageExtensions=
"false"
PrecompiledHeaderFile=
""
AssemblerListingLocation=
"$(ConfigurationName)\"
...
...
DesktopEditor/raster/JBig2/win32/jbig2.vcproj
View file @
d0e01095
...
...
@@ -47,6 +47,7 @@
MinimalRebuild=
"true"
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"1"
EnableEnhancedInstructionSet=
"0"
UsePrecompiledHeader=
"0"
ObjectFile=
"$(IntDir)\"
ProgramDataBaseFileName=
"$(IntDir)\vc80.pdb"
...
...
DesktopEditor/raster/raster_vs2005.vcproj
View file @
d0e01095
...
...
@@ -496,6 +496,7 @@
MinimalRebuild=
"true"
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"1"
EnableEnhancedInstructionSet=
"0"
PrecompiledHeaderFile=
""
AssemblerListingLocation=
"$(ConfigurationName)\"
ObjectFile=
"$(IntDir)\"
...
...
OfficeCryptReader/win32/ECMACryptReader.vcproj
View file @
d0e01095
...
...
@@ -47,6 +47,7 @@
MinimalRebuild=
"true"
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"1"
EnableEnhancedInstructionSet=
"0"
UsePrecompiledHeader=
"0"
WarningLevel=
"3"
Detect64BitPortabilityProblems=
"true"
...
...
OfficeUtils/win32/OfficeUtilsLib.vcproj
View file @
d0e01095
...
...
@@ -48,6 +48,7 @@
MinimalRebuild=
"true"
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"1"
EnableEnhancedInstructionSet=
"0"
UsePrecompiledHeader=
"0"
WarningLevel=
"3"
Detect64BitPortabilityProblems=
"true"
...
...
XlsxSerializerCom/Reader/BinaryWriter.h
View file @
d0e01095
...
...
@@ -187,7 +187,7 @@ namespace BinXlsxRW
WriteFilterColumns
(
oAutofilter
.
m_arrItems
);
m_oBcw
.
WriteItemEnd
(
nCurPos
);
}
if
(
oAutofilter
.
m_oSortState
.
IsInit
())
if
(
!
oAutofilter
.
m_oSortState
.
IsInit
())
{
nCurPos
=
m_oBcw
.
WriteItemStart
(
c_oSer_AutoFilter
::
SortState
);
WriteSortState
(
oAutofilter
.
m_oSortState
.
get
());
...
...
XlsxSerializerCom/Reader/CommonWriter.cpp
View file @
d0e01095
...
...
@@ -74,10 +74,15 @@ namespace BinXlsxRW {
{
bool
bEmpty
=
true
;
SimpleTypes
::
Spreadsheet
::
CHexColor
oRgbColor
;
if
(
color
.
m_oIndexed
.
IsInit
())
{
int
nIndex
=
(
int
)
color
.
m_oIndexed
->
GetValue
();
bool
bDefault
=
true
;
if
(
pIndexedColors
)
{
std
::
map
<
int
,
OOX
::
Spreadsheet
::
CRgbColor
*>::
iterator
pFind
=
pIndexedColors
->
mapIndexedColors
.
find
(
nIndex
);
if
(
pFind
!=
pIndexedColors
->
mapIndexedColors
.
end
())
...
...
@@ -87,9 +92,12 @@ namespace BinXlsxRW {
{
bEmpty
=
false
;
oRgbColor
=
pRgbColor
->
m_oRgb
.
get
();
bDefault
=
false
;
}
}
else
}
if
(
bDefault
)
{
unsigned
char
ucA
;
unsigned
char
ucR
;
...
...
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