Skip to content

Commit 2bd4f7c

Browse files
committed
Update to v0.2.2
1 parent 3942eb3 commit 2bd4f7c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+1079
-272
lines changed

building.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<li>Qt 0.2</li>
1717
<li>Qt Xlsx Build</li>
1818
<li id="buildversion">
19-
Qt 0.2.1 Reference Documentation</li>
19+
Qt 0.2.2 Reference Documentation</li>
2020
</ul>
2121
</div>
2222
</div>
@@ -34,7 +34,7 @@ <h1 class="title">Qt Xlsx Build</h1>
3434
<span class="subtitle"></span>
3535
<!-- $$$building-description -->
3636
<div class="descr"> <a name="details"></a>
37-
<p><b>Note: </b><a href="../qtgui/qzipwriter.html">QZipWriter</a> and <a href="../qtgui/qzipreader.html">QZipReader</a> which live in gui-private is used in this library. For linux user, if your Qt is installed through package manager tools such &quot;apt-get&quot;, make sure that you have installed the Qt5 develop package *qtbase5-private-dev* ; if you Qt is built from source by yourself, or download from qt-project.org directly, nothing need to do.</p><a name="usage-1-use-xlsx-as-qt5-s-addon-module"></a>
37+
<p><b>Note: </b>QZipWriter and QZipReader which live in gui-private is used in this library. For linux user, if your Qt is installed through package manager tools such &quot;apt-get&quot;, make sure that you have installed the Qt5 develop package *qtbase5-private-dev* ; if you Qt is built from source by yourself, or download from qt-project.org directly, nothing need to do.</p><a name="usage-1-use-xlsx-as-qt5-s-addon-module"></a>
3838
<h2>Usage(1): Use Xlsx as Qt5's addon module</h2>
3939
<p>1. Download the source code from <a href="https://github.com/dbzhang800/QtXlsxWriter/archive/master.zip">github.com</a>.</p>
4040
<p>2. Put the source code in any directory you like. At the toplevel directory run</p>

cell-members.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<li>Qt 0.2</li>
1717
<li>Cell</li>
1818
<li id="buildversion">
19-
Qt 0.2.1 Reference Documentation</li>
19+
Qt 0.2.2 Reference Documentation</li>
2020
</ul>
2121
</div>
2222
</div>

cell.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<li>Qt 0.2</li>
1717
<li>Cell</li>
1818
<li id="buildversion">
19-
Qt 0.2.1 Reference Documentation</li>
19+
Qt 0.2.2 Reference Documentation</li>
2020
</ul>
2121
</div>
2222
</div>
@@ -91,15 +91,15 @@ <h3 class="fn"><a name="dataType"></a><span class="type"><a href="cell.html#Data
9191
<p>Return the dataType of this Cell</p>
9292
<!-- @@@dataType -->
9393
<!-- $$$dateTime[overload1]$$$dateTime -->
94-
<h3 class="fn"><a name="dateTime"></a><span class="type"><a href="../qtcore/qdatetime.html">QDateTime</a></span> Cell::<span class="name">dateTime</span>() const</h3>
94+
<h3 class="fn"><a name="dateTime"></a><span class="type">QDateTime</span> Cell::<span class="name">dateTime</span>() const</h3>
9595
<p>Return the data time value.</p>
9696
<!-- @@@dateTime -->
9797
<!-- $$$format[overload1]$$$format -->
9898
<h3 class="fn"><a name="format"></a><span class="type"><a href="format.html">Format</a></span> Cell::<span class="name">format</span>() const</h3>
9999
<p>Return the style used by this Cell. If no style used, 0 will be returned.</p>
100100
<!-- @@@format -->
101101
<!-- $$$formula[overload1]$$$formula -->
102-
<h3 class="fn"><a name="formula"></a><span class="type"><a href="../qtcore/qstring.html">QString</a></span> Cell::<span class="name">formula</span>() const</h3>
102+
<h3 class="fn"><a name="formula"></a><span class="type">QString</span> Cell::<span class="name">formula</span>() const</h3>
103103
<p>Return the formula contents if the dataType is Formula</p>
104104
<!-- @@@formula -->
105105
<!-- $$$isDateTime[overload1]$$$isDateTime -->
@@ -111,7 +111,7 @@ <h3 class="fn"><a name="isRichString"></a><span class="type">bool</span> Cell::<
111111
<p>Returns whether the cell is probably a rich string or not</p>
112112
<!-- @@@isRichString -->
113113
<!-- $$$value[overload1]$$$value -->
114-
<h3 class="fn"><a name="value"></a><span class="type"><a href="../qtcore/qvariant.html">QVariant</a></span> Cell::<span class="name">value</span>() const</h3>
114+
<h3 class="fn"><a name="value"></a><span class="type">QVariant</span> Cell::<span class="name">value</span>() const</h3>
115115
<p>Return the data content of this Cell</p>
116116
<!-- @@@value -->
117117
</div>

conditionalformatting-members.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<li>Qt 0.2</li>
1717
<li>ConditionalFormatting</li>
1818
<li id="buildversion">
19-
Qt 0.2.1 Reference Documentation</li>
19+
Qt 0.2.2 Reference Documentation</li>
2020
</ul>
2121
</div>
2222
</div>

conditionalformatting.html

+23-15
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<li>Qt 0.2</li>
1717
<li>ConditionalFormatting</li>
1818
<li id="buildversion">
19-
Qt 0.2.1 Reference Documentation</li>
19+
Qt 0.2.2 Reference Documentation</li>
2020
</ul>
2121
</div>
2222
</div>
@@ -118,6 +118,14 @@ <h3 class="fn"><a name="HighlightRuleType-enum"></a>enum ConditionalFormatting::
118118
<!-- @@@HighlightRuleType -->
119119
<!-- $$$ValueObjectType$$$VOT_Formula$$$VOT_Max$$$VOT_Min$$$VOT_Num$$$VOT_Percent$$$VOT_Percentile -->
120120
<h3 class="fn"><a name="ValueObjectType-enum"></a>enum ConditionalFormatting::<span class="name">ValueObjectType</span></h3>
121+
<table class="valuelist"><tr><th class="tblConst">Constant</th><th class="tblVal">Value</th></tr>
122+
<tr><td class="topAlign"><tt>ConditionalFormatting::VOT_Formula</tt></td><td class="topAlign"><tt>0</tt></td></tr>
123+
<tr><td class="topAlign"><tt>ConditionalFormatting::VOT_Max</tt></td><td class="topAlign"><tt>1</tt></td></tr>
124+
<tr><td class="topAlign"><tt>ConditionalFormatting::VOT_Min</tt></td><td class="topAlign"><tt>2</tt></td></tr>
125+
<tr><td class="topAlign"><tt>ConditionalFormatting::VOT_Num</tt></td><td class="topAlign"><tt>3</tt></td></tr>
126+
<tr><td class="topAlign"><tt>ConditionalFormatting::VOT_Percent</tt></td><td class="topAlign"><tt>4</tt></td></tr>
127+
<tr><td class="topAlign"><tt>ConditionalFormatting::VOT_Percentile</tt></td><td class="topAlign"><tt>5</tt></td></tr>
128+
</table>
121129
<!-- @@@ValueObjectType -->
122130
</div>
123131
<div class="func">
@@ -135,15 +143,15 @@ <h3 class="fn"><a name="dtor.ConditionalFormatting"></a>ConditionalFormatting::<
135143
<p>Destroy the object.</p>
136144
<!-- @@@~ConditionalFormatting -->
137145
<!-- $$$add2ColorScaleRule[overload1]$$$add2ColorScaleRuleconstQColor&constQColor&bool -->
138-
<h3 class="fn"><a name="add2ColorScaleRule"></a><span class="type">bool</span> ConditionalFormatting::<span class="name">add2ColorScaleRule</span>(const <span class="type"><a href="../qtgui/qcolor.html">QColor</a></span> &amp;<i> minColor</i>, const <span class="type"><a href="../qtgui/qcolor.html">QColor</a></span> &amp;<i> maxColor</i>, <span class="type">bool</span><i> stopIfTrue</i> = false)</h3>
139-
<p>Add a colorScale rule with the given <i>minColor</i>, <i>maxColor</i> and <i>stopIfTrue</i>.</p>
146+
<h3 class="fn"><a name="add2ColorScaleRule"></a><span class="type">bool</span> ConditionalFormatting::<span class="name">add2ColorScaleRule</span>(const <span class="type">QColor</span> &amp;<i> minColor</i>, const <span class="type">QColor</span> &amp;<i> maxColor</i>, <span class="type">bool</span><i> stopIfTrue</i> = false)</h3>
147+
<p>Add a colorScale rule with the given <i>minColor</i>, <i>maxColor</i> and <i>stopIfTrue</i>. Return false if failed.</p>
140148
<!-- @@@add2ColorScaleRule -->
141149
<!-- $$$add3ColorScaleRule[overload1]$$$add3ColorScaleRuleconstQColor&constQColor&constQColor&bool -->
142-
<h3 class="fn"><a name="add3ColorScaleRule"></a><span class="type">bool</span> ConditionalFormatting::<span class="name">add3ColorScaleRule</span>(const <span class="type"><a href="../qtgui/qcolor.html">QColor</a></span> &amp;<i> minColor</i>, const <span class="type"><a href="../qtgui/qcolor.html">QColor</a></span> &amp;<i> midColor</i>, const <span class="type"><a href="../qtgui/qcolor.html">QColor</a></span> &amp;<i> maxColor</i>, <span class="type">bool</span><i> stopIfTrue</i> = false)</h3>
143-
<p>Add a colorScale rule with the given <i>minColor</i>, <i>midColor</i>, <i>maxColor</i> and <i>stopIfTrue</i>.</p>
150+
<h3 class="fn"><a name="add3ColorScaleRule"></a><span class="type">bool</span> ConditionalFormatting::<span class="name">add3ColorScaleRule</span>(const <span class="type">QColor</span> &amp;<i> minColor</i>, const <span class="type">QColor</span> &amp;<i> midColor</i>, const <span class="type">QColor</span> &amp;<i> maxColor</i>, <span class="type">bool</span><i> stopIfTrue</i> = false)</h3>
151+
<p>Add a colorScale rule with the given <i>minColor</i>, <i>midColor</i>, <i>maxColor</i> and <i>stopIfTrue</i>. Return false if failed.</p>
144152
<!-- @@@add3ColorScaleRule -->
145153
<!-- $$$addCell[overload1]$$$addCellconstQString& -->
146-
<h3 class="fn"><a name="addCell"></a><span class="type">void</span> ConditionalFormatting::<span class="name">addCell</span>(const <span class="type"><a href="../qtcore/qstring.html">QString</a></span> &amp;<i> cell</i>)</h3>
154+
<h3 class="fn"><a name="addCell"></a><span class="type">void</span> ConditionalFormatting::<span class="name">addCell</span>(const <span class="type">QString</span> &amp;<i> cell</i>)</h3>
147155
<p>Add the <i>cell</i> on which the conditional formatting will apply to.</p>
148156
<!-- @@@addCell -->
149157
<!-- $$$addCell$$$addCellintint -->
@@ -152,30 +160,30 @@ <h3 class="fn"><a name="addCell-2"></a><span class="type">void</span> Conditiona
152160
<p>Add the cell(<i>row</i>, <i>col</i>) on which the conditional formatting will apply to.</p>
153161
<!-- @@@addCell -->
154162
<!-- $$$addDataBarRule[overload1]$$$addDataBarRuleconstQColor&ValueObjectTypeconstQString&ValueObjectTypeconstQString&boolbool -->
155-
<h3 class="fn"><a name="addDataBarRule"></a><span class="type">bool</span> ConditionalFormatting::<span class="name">addDataBarRule</span>(const <span class="type"><a href="../qtgui/qcolor.html">QColor</a></span> &amp;<i> color</i>, <span class="type"><a href="conditionalformatting.html#ValueObjectType-enum">ValueObjectType</a></span><i> type1</i>, const <span class="type"><a href="../qtcore/qstring.html">QString</a></span> &amp;<i> val1</i>, <span class="type"><a href="conditionalformatting.html#ValueObjectType-enum">ValueObjectType</a></span><i> type2</i>, const <span class="type"><a href="../qtcore/qstring.html">QString</a></span> &amp;<i> val2</i>, <span class="type">bool</span><i> showData</i> = true, <span class="type">bool</span><i> stopIfTrue</i> = false)</h3>
156-
<p>Add a dataBar rule with the given <i>color</i>, <i>type1</i>, <i>val1</i> , <i>type2</i>, <i>val2</i>, <i>showData</i> and <i>stopIfTrue</i>.</p>
163+
<h3 class="fn"><a name="addDataBarRule"></a><span class="type">bool</span> ConditionalFormatting::<span class="name">addDataBarRule</span>(const <span class="type">QColor</span> &amp;<i> color</i>, <span class="type"><a href="conditionalformatting.html#ValueObjectType-enum">ValueObjectType</a></span><i> type1</i>, const <span class="type">QString</span> &amp;<i> val1</i>, <span class="type"><a href="conditionalformatting.html#ValueObjectType-enum">ValueObjectType</a></span><i> type2</i>, const <span class="type">QString</span> &amp;<i> val2</i>, <span class="type">bool</span><i> showData</i> = true, <span class="type">bool</span><i> stopIfTrue</i> = false)</h3>
164+
<p>Add a dataBar rule with the given <i>color</i>, <i>type1</i>, <i>val1</i> , <i>type2</i>, <i>val2</i>, <i>showData</i> and <i>stopIfTrue</i>. Return false if failed.</p>
157165
<!-- @@@addDataBarRule -->
158166
<!-- $$$addDataBarRule$$$addDataBarRuleconstQColor&boolbool -->
159-
<h3 class="fn"><a name="addDataBarRule-2"></a><span class="type">bool</span> ConditionalFormatting::<span class="name">addDataBarRule</span>(const <span class="type"><a href="../qtgui/qcolor.html">QColor</a></span> &amp;<i> color</i>, <span class="type">bool</span><i> showData</i> = true, <span class="type">bool</span><i> stopIfTrue</i> = false)</h3>
167+
<h3 class="fn"><a name="addDataBarRule-2"></a><span class="type">bool</span> ConditionalFormatting::<span class="name">addDataBarRule</span>(const <span class="type">QColor</span> &amp;<i> color</i>, <span class="type">bool</span><i> showData</i> = true, <span class="type">bool</span><i> stopIfTrue</i> = false)</h3>
160168
<p>This is an overloaded function.</p>
161169
<p>Add a dataBar rule with the given <i>color</i>, <i>showData</i> and <i>stopIfTrue</i>.</p>
162170
<!-- @@@addDataBarRule -->
163171
<!-- $$$addHighlightCellsRule[overload1]$$$addHighlightCellsRuleHighlightRuleTypeconstQString&constQString&constFormat&bool -->
164-
<h3 class="fn"><a name="addHighlightCellsRule"></a><span class="type">bool</span> ConditionalFormatting::<span class="name">addHighlightCellsRule</span>(<span class="type"><a href="conditionalformatting.html#HighlightRuleType-enum">HighlightRuleType</a></span><i> type</i>, const <span class="type"><a href="../qtcore/qstring.html">QString</a></span> &amp;<i> formula1</i>, const <span class="type"><a href="../qtcore/qstring.html">QString</a></span> &amp;<i> formula2</i>, const <span class="type"><a href="format.html">Format</a></span> &amp;<i> format</i>, <span class="type">bool</span><i> stopIfTrue</i> = false)</h3>
165-
<p>Add a hightlight rule with the given <i>type</i>, <i>formula1</i>, <i>formula2</i>, <i>format</i> and <i>stopIfTrue</i>.</p>
172+
<h3 class="fn"><a name="addHighlightCellsRule"></a><span class="type">bool</span> ConditionalFormatting::<span class="name">addHighlightCellsRule</span>(<span class="type"><a href="conditionalformatting.html#HighlightRuleType-enum">HighlightRuleType</a></span><i> type</i>, const <span class="type">QString</span> &amp;<i> formula1</i>, const <span class="type">QString</span> &amp;<i> formula2</i>, const <span class="type"><a href="format.html">Format</a></span> &amp;<i> format</i>, <span class="type">bool</span><i> stopIfTrue</i> = false)</h3>
173+
<p>Add a hightlight rule with the given <i>type</i>, <i>formula1</i>, <i>formula2</i>, <i>format</i> and <i>stopIfTrue</i>. Return false if failed.</p>
166174
<!-- @@@addHighlightCellsRule -->
167175
<!-- $$$addHighlightCellsRule$$$addHighlightCellsRuleHighlightRuleTypeconstFormat&bool -->
168176
<h3 class="fn"><a name="addHighlightCellsRule-2"></a><span class="type">bool</span> ConditionalFormatting::<span class="name">addHighlightCellsRule</span>(<span class="type"><a href="conditionalformatting.html#HighlightRuleType-enum">HighlightRuleType</a></span><i> type</i>, const <span class="type"><a href="format.html">Format</a></span> &amp;<i> format</i>, <span class="type">bool</span><i> stopIfTrue</i> = false)</h3>
169177
<p>This is an overloaded function.</p>
170178
<p>Add a hightlight rule with the given <i>type</i> <i>format</i> and <i>stopIfTrue</i>.</p>
171179
<!-- @@@addHighlightCellsRule -->
172180
<!-- $$$addHighlightCellsRule$$$addHighlightCellsRuleHighlightRuleTypeconstQString&constFormat&bool -->
173-
<h3 class="fn"><a name="addHighlightCellsRule-3"></a><span class="type">bool</span> ConditionalFormatting::<span class="name">addHighlightCellsRule</span>(<span class="type"><a href="conditionalformatting.html#HighlightRuleType-enum">HighlightRuleType</a></span><i> type</i>, const <span class="type"><a href="../qtcore/qstring.html">QString</a></span> &amp;<i> formula</i>, const <span class="type"><a href="format.html">Format</a></span> &amp;<i> format</i>, <span class="type">bool</span><i> stopIfTrue</i> = false)</h3>
181+
<h3 class="fn"><a name="addHighlightCellsRule-3"></a><span class="type">bool</span> ConditionalFormatting::<span class="name">addHighlightCellsRule</span>(<span class="type"><a href="conditionalformatting.html#HighlightRuleType-enum">HighlightRuleType</a></span><i> type</i>, const <span class="type">QString</span> &amp;<i> formula</i>, const <span class="type"><a href="format.html">Format</a></span> &amp;<i> format</i>, <span class="type">bool</span><i> stopIfTrue</i> = false)</h3>
174182
<p>This is an overloaded function.</p>
175-
<p>Add a hightlight rule with the given <i>type</i>, <i>formula</i>, <i>format</i> and <i>stopIfTrue</i>.</p>
183+
<p>Add a hightlight rule with the given <i>type</i>, <i>formula</i>, <i>format</i> and <i>stopIfTrue</i>. Return false if failed.</p>
176184
<!-- @@@addHighlightCellsRule -->
177185
<!-- $$$addRange[overload1]$$$addRangeconstQString& -->
178-
<h3 class="fn"><a name="addRange"></a><span class="type">void</span> ConditionalFormatting::<span class="name">addRange</span>(const <span class="type"><a href="../qtcore/qstring.html">QString</a></span> &amp;<i> range</i>)</h3>
186+
<h3 class="fn"><a name="addRange"></a><span class="type">void</span> ConditionalFormatting::<span class="name">addRange</span>(const <span class="type">QString</span> &amp;<i> range</i>)</h3>
179187
<p>Add the <i>range</i> on which the conditional formatting will apply to.</p>
180188
<!-- @@@addRange -->
181189
<!-- $$$addRange$$$addRangeintintintint -->
@@ -189,7 +197,7 @@ <h3 class="fn"><a name="addRange-3"></a><span class="type">void</span> Condition
189197
<p>Add the <i>range</i> on which the conditional formatting will apply to.</p>
190198
<!-- @@@addRange -->
191199
<!-- $$$ranges[overload1]$$$ranges -->
192-
<h3 class="fn"><a name="ranges"></a><span class="type"><a href="../qtcore/qlist.html">QList</a></span>&lt;<span class="type">CellRange</span>&gt; ConditionalFormatting::<span class="name">ranges</span>() const</h3>
200+
<h3 class="fn"><a name="ranges"></a><span class="type">QList</span>&lt;<span class="type">CellRange</span>&gt; ConditionalFormatting::<span class="name">ranges</span>() const</h3>
193201
<p>Returns the ranges on which the validation will be applied.</p>
194202
<!-- @@@ranges -->
195203
<!-- $$$operator=[overload1]$$$operator=constConditionalFormatting& -->

datavalidation-members.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<li>Qt 0.2</li>
1717
<li>DataValidation</li>
1818
<li id="buildversion">
19-
Qt 0.2.1 Reference Documentation</li>
19+
Qt 0.2.2 Reference Documentation</li>
2020
</ul>
2121
</div>
2222
</div>

0 commit comments

Comments
 (0)