[ooo-build-commit] Branch 'ooo/master' - 4 commits - oox/inc oox/source

Jan Holesovsky kendy at kemper.freedesktop.org
Thu May 28 17:38:16 PDT 2009


 oox/inc/oox/xls/pivottablebuffer.hxx               |    2 +-
 oox/source/drawingml/chart/chartspaceconverter.cxx |   10 ++++++++++
 oox/source/token/properties.txt                    |    1 +
 3 files changed, 12 insertions(+), 1 deletion(-)

New commits:
commit 0ed373b8652c1b72afcc4ebdf358d74a771173f9
Author: Jens-Heiner Rechtien <hr at openoffice.org>
Date:   Wed May 20 11:30:29 2009 +0000

    #i10000#: IncludeHiddenCells -> PROP_IncludeHiddenCells

diff --git a/oox/source/drawingml/chart/chartspaceconverter.cxx b/oox/source/drawingml/chart/chartspaceconverter.cxx
index 7c4bfdb..e6e62af 100644
--- a/oox/source/drawingml/chart/chartspaceconverter.cxx
+++ b/oox/source/drawingml/chart/chartspaceconverter.cxx
@@ -151,7 +151,7 @@ void ChartSpaceConverter::convertFromModel()
     if( xStandardApiChartDoc.is() )
     {
         PropertySet aStandardApiDiagramProp( xStandardApiChartDoc->getDiagram() );
-        aStandardApiDiagramProp.setProperty( CREATE_OUSTRING("IncludeHiddenCells"), !mrModel.mbPlotVisOnly );
+        aStandardApiDiagramProp.setProperty( PROP_IncludeHiddenCells, !mrModel.mbPlotVisOnly );
     }
 }
 
commit 2ef29d08272c9d45547f9fd975c27812d267df28
Author: Jens-Heiner Rechtien <hr at openoffice.org>
Date:   Wed May 20 11:24:54 2009 +0000

    #i10000#: add property IncludeHiddenCells, introduced by koheichart01 (chartspaceconverter.cxx)

diff --git a/oox/source/token/properties.txt b/oox/source/token/properties.txt
index a52cd0d..af64a8c 100644
--- a/oox/source/token/properties.txt
+++ b/oox/source/token/properties.txt
@@ -150,6 +150,7 @@ HorizontalSplitPositionTwips
 IgnoreBlankCells
 IgnoreCase
 IgnoreLeadingSpaces
+IncludeHiddenCells
 InputMessage
 InputTitle
 IsAdjustHeightEnabled
commit 78e64b875a7298a20b1ad9b3c686af62d32583ec
Author: Jens-Heiner Rechtien <hr at openoffice.org>
Date:   Tue May 19 16:18:27 2009 +0000

    #i10000#: fix CRLF. Sigh

diff --git a/oox/inc/oox/xls/pivottablebuffer.hxx b/oox/inc/oox/xls/pivottablebuffer.hxx
index 3bfb418..55a120d 100644
--- a/oox/inc/oox/xls/pivottablebuffer.hxx
+++ b/oox/inc/oox/xls/pivottablebuffer.hxx
@@ -164,7 +164,7 @@ public:
     void                importPTFItem( BiffInputStream& rStrm );
 
     /** Finalizes the field after import, creates grouping and other settings. */
-    void                finalizeImport(
+    void                finalizeImport(
                             const ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XDataPilotDescriptor >& rxDPDesc );
     /** Finalizes the grouped date field after import. */
     void                finalizeDateGroupingImport(
commit 03ded1cda3f3069c2f054d8e510a5593c08fd28c
Author: Jens-Heiner Rechtien <hr at openoffice.org>
Date:   Mon May 18 16:46:40 2009 +0000

    CWS-TOOLING: integrate CWS koheichart01
    2009-05-15 06:32:38 +0200 hde  r271925 : header fixed
    2009-04-14 16:23:35 +0200 hde  r270792 : #100231#
    2009-04-14 16:13:48 +0200 hde  r270790 : #100231#
    2009-04-14 15:56:14 +0200 hde  r270787 : #100231#
    2009-04-14 14:28:40 +0200 hde  r270767 : #100231#
    2009-04-14 14:27:30 +0200 hde  r270766 : #100231#
    2009-04-14 09:43:07 +0200 hde  r270749 : #100231#
    2009-04-14 09:25:52 +0200 hde  r270748 : #100231#
    2009-03-25 16:18:26 +0100 iha  r270034 : #i91578# removed compiler warning
    2009-03-25 03:20:36 +0100 kohei  r269992 : fixed a silly typo in in-line comment.
    2009-03-24 17:03:57 +0100 kohei  r269977 : Let's use row and column's hidden flags, instead of width/height, to determine cell's
    hidden state.
    2009-03-24 16:53:10 +0100 kohei  r269973 : The chart positioner no longer needs to skip hidden cells, as hidden cells are handled
    elsewhere.
    2009-03-24 16:50:12 +0100 kohei  r269971 : the index should be 0-based (although chart2 doesn't appear to make use of this data any more).
    2009-03-24 16:47:56 +0100 kohei  r269969 : Skip hidden cells during cache (re-)build, when the include hidden cells flag is
    false.  Also avoid adding data cache when the cell is hidden.
    2009-03-24 06:05:53 +0100 kohei  r269909 : fixed the build breakage after the resync.
    2009-03-24 06:05:34 +0100 kohei  r269908 : fixed the build breakage after the resync.
    2009-03-23 23:38:36 +0100 kohei  r269900 : CWS-TOOLING: rebase CWS koheichart01 to trunk at 269781 (milestone: DEV300:m44)
    2009-03-17 13:11:40 +0100 iha  r269597 : #i91578# import IncludeHiddenCells from xlsx
    2009-03-17 12:56:09 +0100 iha  r269594 : #i91578# import IncludeHiddenCells from xls correctly
    2009-03-17 12:49:13 +0100 iha  r269592 : #i91578# import IncludeHiddenCells from xls correctly
    2009-03-16 17:03:55 +0100 iha  r269561 : #i91578# remove unused variable
    2009-03-16 10:22:30 +0100 iha  r269509 : #i91578# changed wording
    2009-03-04 17:07:16 +0100 iha  r268846 : #i91578# display of hidden cells - remove unused property 'IsHidden'
    2009-03-04 17:04:22 +0100 iha  r268845 : #i91578# display of hidden cells - remove unused property 'IsHidden'
    2009-03-04 17:03:43 +0100 iha  r268844 : #i91578# display of hidden cells - remove unused property 'IsHidden'
    2009-03-04 16:24:30 +0100 iha  r268843 : #i91578# display of hidden cells - added missing property description
    2009-03-04 15:13:04 +0100 iha  r268835 : #i91578# display of hidden cells - remove unused code
    2009-03-04 14:38:44 +0100 iha  r268832 : #i91578# display of hidden cells - reset state corretly when doing undo/redo
    2009-03-04 13:42:10 +0100 iha  r268822 : #i81209# #i91578# display of hidden cells - don't show hidden cells per default but keep the hidden ranges
    2009-03-04 13:40:10 +0100 iha  r268821 : #i81209# #i91578# display of hidden cells - don't show hidden cells per default but keep the hidden ranges
    2009-03-04 13:37:05 +0100 iha  r268820 : #i81209# #i91578# display of hidden cells - don't show hidden cells per default but keep the hidden ranges
    2009-03-03 11:18:39 +0100 iha  r268713 : #i91578# display of hidden cells - hide control if the functionality is not offered by the data provider
    2009-03-02 17:41:37 +0100 kohei  r268684 : removed unintended change from DEV300_m38, which was probably introduced due to some sort of
    problem during rebase.
    2009-02-27 18:51:34 +0100 iha  r268613 : #i91578# display of hidden cells - interface redesign: data provider+sequences are now controlled by the chart via a new parameter 'IncludeHiddenCells' thus unwanted values can be removed early in the communication
    2009-02-27 18:45:48 +0100 iha  r268612 : #i91578# display of hidden cells - interface redesign: data provider+sequences are now controlled by the chart via a new parameter 'IncludeHiddenCells' thus unwanted values can be removed early in the communication
    2009-02-27 18:44:17 +0100 iha  r268611 : #i91578# display of hidden cells - interface redesign: data provider+sequences are now controlled by the chart via a new parameter 'IncludeHiddenCells' thus unwanted values can be removed early in the communication
    2009-02-27 18:35:09 +0100 iha  r268610 : #i91578# display of hidden cells - copy-paste-scenario: export hidden flag per column on copy for migration to locale table during import upon paste
    2009-02-19 06:47:56 +0100 kohei  r268257 : also, set the default value of a cached cell to NaN just in case.
    2009-02-19 06:42:08 +0100 kohei  r268256 : Set the IsValue flag to false by default so that an empty cell is properly flaged as non-value.
    This fixes the broken missing value treatment.
    2009-02-18 20:16:30 +0100 iha  r268255 : #i91578# display of hidden cells - radio button 'leave gap' was not clickable anymore
    2009-02-17 17:57:24 +0100 iha  r268185 : #i91578# display of hidden cells - corrected range highlighting
    2009-02-17 15:39:52 +0100 iha  r268174 : #i91578# display of hidden cells - still display data point value in tip help of data points in writer
    2009-02-17 11:21:00 +0100 iha  r267861 : #i91578# display of hidden cells - do not show a space nor a legend entry for hidden series
    2009-02-17 11:15:14 +0100 iha  r267853 : #i91578# display of hidden cells - do not show a space nor a legend entry for hidden series
    2009-02-16 16:48:10 +0100 iha  r267826 : #i91578# display of hidden cells - group related ids and minimize changes
    2009-02-16 14:32:11 +0100 iha  r267813 : #i91578# display of hidden cells - don't share resource identifier as this easily produces conflicts -> move IDs for series options page into a separate file
    2009-02-16 13:21:44 +0100 iha  r267795 : #i91578# display of hidden cells - remove unused member
    2009-02-16 13:13:40 +0100 iha  r267794 : #i91578# display of hidden cells - remove unused methods
    2009-02-16 13:00:10 +0100 iha  r267792 : #i91578# display of hidden - avoid unnecessary data copy
    2009-02-16 11:40:41 +0100 iha  r267785 : #i91578# display of hidden - corrected typo
    2009-02-16 11:28:39 +0100 iha  r267783 : #i91578# display of hidden - set correct dirty state in method setIncludeHiddenCells
    2009-02-13 17:04:50 +0100 iha  r267734 : #i91578# corrected position and visibility of the controls for display of hidden cells in case of stock charts
    2009-02-13 15:30:17 +0100 iha  r267724 : #i91578# charts without category range and charts with data from writer table were broken causes by features changes for display of hidden cells
    2009-01-14 19:47:28 +0100 kohei  r266330 : #i91578# Fixed the issue with incorrect tooltip category values.
    2009-01-05 22:27:03 +0100 kohei  r265887 : fixed a regression where the x-axis failed to display values when they were numeric or dates.
    2008-12-24 17:01:15 +0100 kohei  r265800 : CWS-TOOLING: rebase CWS koheichart01 to trunk at 265758 (milestone: DEV300:m38)
    2008-12-24 16:03:08 +0100 kohei  r265799 : a little more code cleanup, mostly on tab to whitespace conversion on
    modified lines and removal of unnecessary 'using' statements.
    2008-12-24 15:52:00 +0100 kohei  r265798 : removed unnecessary header inclusion & remove hidden data *only when* the 'include hidden cells'
    options it false!  I'm glad I caught this.
    2008-12-24 07:41:23 +0100 kohei  r265796 : replaced duplicated local functions with a single template function.
    2008-12-24 06:37:15 +0100 kohei  r265795 : reverted my last commit, because it was not the right approach.
    Instead of using the original data point index in the object name,
    leave that index alone, and remove hidden data in the tooltip text
    value lookup code.
    2008-12-23 23:10:42 +0100 kohei  r265793 : fixed the tooltips so that they would display correct values, taking into account
    the hidden data points (if any).
    2008-12-20 05:26:07 +0100 kohei  r265739 : CWS-TOOLING: rebase CWS koheichart01 to trunk at 264807 (milestone: DEV300:m37)
    2008-12-18 15:49:59 +0100 kohei  r265696 : removed markRangeDirty() for now, since that method is still a bit controvertial per Niklas's comment in i#91578.
    2008-12-05 20:27:24 +0100 kohei  r264918 : removed a compiler warning.
    2008-12-05 20:24:02 +0100 kohei  r264917 : removed a compilar warning.
    2008-12-03 17:06:22 +0100 kohei  r264800 : recovered the original keyword file before it was stripped.
    2008-12-01 22:00:24 +0100 kohei  r264640 : by default, "include hidden cells" attribute is true.
    2008-12-01 19:03:07 +0100 kohei  r264628 : added accelerator for the plot hidden values check box.
    2008-12-01 18:32:02 +0100 kohei  r264626 : changed wording per Ingrid's suggestion.
    2008-11-26 08:09:36 +0100 kohei  r264341 : the 'Starnding angle' fixed line was 6 pixel short.
    2008-11-26 08:02:47 +0100 kohei  r264340 : added include-hidden-cells check box for the pie chart type too & some code cleanup.
    2008-11-26 07:41:45 +0100 kohei  r264339 : relocate the controls correctly for line chart types.
    2008-11-26 07:14:26 +0100 kohei  r264337 : #i95714# fixed typos that caused incorrect scaling of the y-axis under some conditions.
    2008-11-26 07:11:54 +0100 kohei  r264336 : added "Include hidden cells" check box in the data series options tab page.
    2008-11-25 21:04:58 +0100 kohei  r264333 : don't check for the number of charts; when importing from xls, the count may be
    zero even when the document has charts.
    2008-11-25 19:55:50 +0100 kohei  r264332 : patch from ooo-build applied.  This implements chart listener
    that listens on cells show/hide state for the chart's data areas.
    2008-11-25 19:52:38 +0100 kohei  r264331 : patch from ooo-build applied.
    2008-11-25 19:29:54 +0100 kohei  r264329 : new xml token for include-hidden-cells attribute.

diff --git a/oox/source/drawingml/chart/chartspaceconverter.cxx b/oox/source/drawingml/chart/chartspaceconverter.cxx
index 40e82cd..7c4bfdb 100644
--- a/oox/source/drawingml/chart/chartspaceconverter.cxx
+++ b/oox/source/drawingml/chart/chartspaceconverter.cxx
@@ -30,6 +30,7 @@
  ************************************************************************/
 
 #include "oox/drawingml/chart/chartspaceconverter.hxx"
+#include <com/sun/star/chart/XChartDocument.hpp>
 #include <com/sun/star/chart2/XChartDocument.hpp>
 #include <com/sun/star/chart2/XTitled.hpp>
 #include <com/sun/star/chart2/data/XDataReceiver.hpp>
@@ -44,6 +45,7 @@
 using ::rtl::OUString;
 using ::com::sun::star::uno::Reference;
 using ::com::sun::star::uno::Exception;
+using ::com::sun::star::uno::UNO_QUERY;
 using ::com::sun::star::uno::UNO_QUERY_THROW;
 using ::com::sun::star::util::XNumberFormatsSupplier;
 using ::com::sun::star::chart2::XDiagram;
@@ -143,6 +145,14 @@ void ChartSpaceConverter::convertFromModel()
         PropertySet aDiaProp( xDiagram );
         aDiaProp.setProperty( PROP_MissingValueTreatment, nMissingValues );
     }
+
+    // set the IncludeHiddenCells property via the old API as only this ensures that the data provider and al created sequences get this flag correctly
+    Reference< com::sun::star::chart::XChartDocument > xStandardApiChartDoc( getChartDocument(), UNO_QUERY );
+    if( xStandardApiChartDoc.is() )
+    {
+        PropertySet aStandardApiDiagramProp( xStandardApiChartDoc->getDiagram() );
+        aStandardApiDiagramProp.setProperty( CREATE_OUSTRING("IncludeHiddenCells"), !mrModel.mbPlotVisOnly );
+    }
 }
 
 // ============================================================================


More information about the ooo-build-commit mailing list