[Libreoffice-commits] .: offapi/com

2012-04-02 Thread Markus Mohrhard
 offapi/com/sun/star/table/XTableColumns.idl |6 --
 1 file changed, 6 deletions(-)

New commits:
commit c730a9de1b40d0e731f2ca8621aa7864452a9a7a
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Mon Apr 2 21:19:36 2012 +0200

this methods don't throw, adapt documentation

diff --git a/offapi/com/sun/star/table/XTableColumns.idl 
b/offapi/com/sun/star/table/XTableColumns.idl
index 41e3ed0..ab7a327 100644
--- a/offapi/com/sun/star/table/XTableColumns.idl
+++ b/offapi/com/sun/star/table/XTableColumns.idl
@@ -48,9 +48,6 @@ published interface XTableColumns: 
com::sun::star::container::XIndexAccess
 
 /** inserts new columns.
 
-pWhen the index or combination of index and count is out
-of bounds an exception will be thrown./p
-
 @param nIndex
 is the index the first inserted column will have.
 
@@ -63,9 +60,6 @@ published interface XTableColumns: 
com::sun::star::container::XIndexAccess
 
 /** deletes columns.
 
-pWhen the index or combination of index and count is out
-of bounds an exception will be thrown./p
-
 @param nIndex
 is the index of the first column to delete.
 
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: offapi/com

2012-02-14 Thread Lionel Elie Mamane
 offapi/com/sun/star/sdbc/XDatabaseMetaData.idl |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cf3c4f63d94b39c73858d3455ede1b10dac2fe7d
Author: Lionel Elie Mamane lio...@mamane.lu
Date:   Tue Feb 14 15:43:00 2012 +0100

plural right after all

diff --git a/offapi/com/sun/star/sdbc/XDatabaseMetaData.idl 
b/offapi/com/sun/star/sdbc/XDatabaseMetaData.idl
index abee6d2..bf55630 100644
--- a/offapi/com/sun/star/sdbc/XDatabaseMetaData.idl
+++ b/offapi/com/sun/star/sdbc/XDatabaseMetaData.idl
@@ -64,7 +64,7 @@
 arguments all have names such as fooPattern. Within a pattern String, %
 means match any substring of 0 or more characters, and _ means match
 any one character. Only metadata entries matching the search pattern
-is returned. If a search pattern argument is set to VOID/,
+are returned. If a search pattern argument is set to VOID/,
 that argument's criteria will be dropped from the search.
 /p
 p
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: offapi/com

2012-02-09 Thread Eike Rathke
 offapi/com/sun/star/table/TableBorder2.idl |  160 +
 1 file changed, 160 insertions(+)

New commits:
commit 46ed67999274b0de201bfcf20e099d4ba363a78c
Author: Eike Rathke er...@redhat.com
Date:   Thu Feb 9 16:00:24 2012 +0100

forgot to git add TableBorder2.idl

needed for f02f97bcdf7b6789e42f04600fb30daf3e0bfd37

diff --git a/offapi/com/sun/star/table/TableBorder2.idl 
b/offapi/com/sun/star/table/TableBorder2.idl
new file mode 100644
index 000..4f82672
--- /dev/null
+++ b/offapi/com/sun/star/table/TableBorder2.idl
@@ -0,0 +1,160 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * Version: MPL 1.1 / GPLv3+ / LGPLv3+
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the License); you may not use this file except in compliance with
+ * the License or as specified alternatively below. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an AS IS basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * Major Contributor(s):
+ * Copyright (C) 2012 Red Hat, Inc., Eike Rathke er...@redhat.com
+ *
+ * All Rights Reserved.
+ *
+ * For minor contributions see the git repository.
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * either the GNU General Public License Version 3 or later (the GPLv3+), or
+ * the GNU Lesser General Public License Version 3 or later (the LGPLv3+),
+ * in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
+ * instead of those above.
+ */
+
+#ifndef __com_sun_star_table_TableBorder2_idl__
+#define __com_sun_star_table_TableBorder2_idl__
+
+#include com/sun/star/table/BorderLine2.idl
+
+//=
+
+module com {  module sun {  module star {  module table {
+
+//=
+
+/** contains the style settings of the border lines of all cells in a cell
+range.
+
+TableBorder2 is nearly identical to TableBorder, except that it has
+members of typeBorderLine2/type instead of
+typeBorderLine/type.
+
+pIn a queried structure, the flags in
+memberTableBorder2::Is...LineValid/member indicate that not all
+lines of the boxes have the same values./p
+
+pIn a structure which is used for setting, these flags determine
+if the corresponding line should be set or if the old value should
+be kept./p
+
+@since LibreOffice 3.6
+ */
+published struct TableBorder2
+{
+//-
+
+/** determines the line style at the top edge.
+ */
+com::sun::star::table::BorderLine2 TopLine;
+
+//-
+
+/** specifies whether the value of
+memberTableBorder2::TopLine/member is used.
+ */
+boolean IsTopLineValid;
+
+//-
+
+/** determines the line style at the bottom edge.
+ */
+com::sun::star::table::BorderLine2 BottomLine;
+
+//-
+
+/** specifies whether the value of
+memberTableBorder2::BottomLine/member is used.
+ */
+boolean IsBottomLineValid;
+
+//-
+
+/** determines the line style at the left edge.
+ */
+com::sun::star::table::BorderLine2 LeftLine;
+
+//-
+
+/** specifies whether the value of
+memberTableBorder2::LeftLine/member is used.
+ */
+boolean IsLeftLineValid;
+
+//-
+
+/** determines the line style at the right edge.
+ */
+com::sun::star::table::BorderLine2 RightLine;
+
+//-
+
+/** specifies whether the value of
+memberTableBorder2::RightLine/member is used.
+ */
+boolean IsRightLineValid;
+
+//-
+
+/** determines the line style of horizontal lines for the inner part
+of a cell range.
+ */
+com::sun::star::table::BorderLine2 HorizontalLine;
+
+//-
+
+/** specifies whether the value of
+memberTableBorder2::HorizontalLine/member is used.
+ */
+boolean IsHorizontalLineValid;
+
+//-
+
+  

[Libreoffice-commits] .: offapi/com

2012-01-27 Thread Thorsten Behrens
 offapi/com/sun/star/awt/tab/UnoControlTabPageModel.idl |2 +-
 offapi/com/sun/star/drawing/framework/ConfigurationChangeEvent.idl |1 -
 offapi/com/sun/star/rendering/StrokeAttributes.idl |8 

 offapi/com/sun/star/rendering/XBitmap.idl  |2 --
 offapi/com/sun/star/rendering/XSpriteCanvas.idl|2 +-
 offapi/com/sun/star/sdb/XSingleSelectQueryComposer.idl |2 +-
 offapi/com/sun/star/security/CertificateContainerStatus.idl|2 --
 offapi/com/sun/star/security/SecurityInfrastructureException.idl   |4 
 offapi/com/sun/star/security/XCertificate.idl  |4 
 offapi/com/sun/star/security/XCertificateExtension.idl |4 
 offapi/com/sun/star/ucb/URLAuthenticationRequest.idl   |2 +-
 offapi/com/sun/star/ucb/XInteractionSupplyAuthentication2.idl  |2 +-
 offapi/com/sun/star/ucb/XWebDAVCommandEnvironment.idl  |5 ++---
 13 files changed, 7 insertions(+), 33 deletions(-)

New commits:
commit f3c1af57010033c40bfda0711cce7b83e2afdf51
Author: Norbert Thiebaud nthieb...@gmail.com
Date:   Fri Jan 27 11:49:20 2012 +0100

Pick additional cleanups from -3-5-0 branch.

This cherry-picks the extra cleanups from the UNO type publishing
revert.

diff --git a/offapi/com/sun/star/awt/tab/UnoControlTabPageModel.idl 
b/offapi/com/sun/star/awt/tab/UnoControlTabPageModel.idl
index 3b3bb7e..c06eb95 100644
--- a/offapi/com/sun/star/awt/tab/UnoControlTabPageModel.idl
+++ b/offapi/com/sun/star/awt/tab/UnoControlTabPageModel.idl
@@ -45,7 +45,7 @@ service UnoControlTabPageModel : XTabPageModel
 */
 create([in] short tabPageID);
 
-/** Creates a new XTabPageModel with a given ID and a url which is used to 
load teh tab page model.
+/** Creates a new XTabPageModel with a given ID and a url which is used to 
load the tab page model.
 */
 load([in] short tabPageID,[in] string url);
 };
diff --git a/offapi/com/sun/star/drawing/framework/ConfigurationChangeEvent.idl 
b/offapi/com/sun/star/drawing/framework/ConfigurationChangeEvent.idl
index d78a57a..550f301 100644
--- a/offapi/com/sun/star/drawing/framework/ConfigurationChangeEvent.idl
+++ b/offapi/com/sun/star/drawing/framework/ConfigurationChangeEvent.idl
@@ -36,7 +36,6 @@ module com { module sun { module star { module uno { 
interface XInterface; }; };
 module com { module sun { module star { module drawing { module framework {
 
 interface XConfiguration;
-interface XConfigurationController;
 interface XResourceId;
 
 /** Objects of this class are used for notifying changes of the
diff --git a/offapi/com/sun/star/rendering/StrokeAttributes.idl 
b/offapi/com/sun/star/rendering/StrokeAttributes.idl
index 5393872..885bc78 100644
--- a/offapi/com/sun/star/rendering/StrokeAttributes.idl
+++ b/offapi/com/sun/star/rendering/StrokeAttributes.idl
@@ -28,14 +28,6 @@
 #ifndef __com_sun_star_rendering_StrokeAttributes_idl__
 #define __com_sun_star_rendering_StrokeAttributes_idl__
 
-#ifndef __com_sun_star_rendering_PathCapType_idl__
-#include com/sun/star/rendering/PathCapType.idl
-#endif
-#ifndef __com_sun_star_rendering_PathJoinType_idl__
-#include com/sun/star/rendering/PathJoinType.idl
-#endif
-
-
 module com { module sun { module star { module rendering {
 
 /** This structure contains all attributes required for path stroking.p
diff --git a/offapi/com/sun/star/rendering/XBitmap.idl 
b/offapi/com/sun/star/rendering/XBitmap.idl
index 704acec..68643b9 100644
--- a/offapi/com/sun/star/rendering/XBitmap.idl
+++ b/offapi/com/sun/star/rendering/XBitmap.idl
@@ -36,8 +36,6 @@
 
 module com { module sun { module star { module rendering {
 
-interface XBitmapCanvas;
-
 /** This is a generic interface to a bitmap.p
 
 This interface contains the generic functionality to be used on
diff --git a/offapi/com/sun/star/rendering/XSpriteCanvas.idl 
b/offapi/com/sun/star/rendering/XSpriteCanvas.idl
index 3faa7e5..00cd1ac 100644
--- a/offapi/com/sun/star/rendering/XSpriteCanvas.idl
+++ b/offapi/com/sun/star/rendering/XSpriteCanvas.idl
@@ -123,7 +123,7 @@ interface XSpriteCanvas : XBitmapCanvas
 raises (com::sun::star::lang::IllegalArgumentException);
 
 /** Tells the sprite canvas to now update the screen
- representation.
+representation.
 
 Required to display rendered changes to the canvas, and
 updates to stopped animations and XCustomSprites in
diff --git a/offapi/com/sun/star/sdb/XSingleSelectQueryComposer.idl 
b/offapi/com/sun/star/sdb/XSingleSelectQueryComposer.idl
index d432142..59bd3cd 100644
--- a/offapi/com/sun/star/sdb/XSingleSelectQueryComposer.idl
+++ b/offapi/com/sun/star/sdb/XSingleSelectQueryComposer.idl
@@ -204,7 +204,7 @@ interface XSingleSelectQueryComposer: 
XSingleSelectQueryAnalyzer
 if a database access error occurs.
  */
 void appendOrderByColumn([in] 

[Libreoffice-commits] .: offapi/com udkapi/com

2012-01-26 Thread Thorsten Behrens
 offapi/com/sun/star/awt/XDialogProvider2.idl |   10 --
 offapi/com/sun/star/frame/XTitle.idl |   12 +---
 offapi/com/sun/star/presentation/XSlideShowView.idl  |6 +++---
 offapi/com/sun/star/rendering/XCanvas.idl|6 +++---
 offapi/com/sun/star/rendering/XTextLayout.idl|2 +-
 offapi/com/sun/star/text/GlobalDocument.idl  |2 ++
 offapi/com/sun/star/text/WebDocument.idl |2 ++
 offapi/com/sun/star/ucb/CertificateValidationRequest.idl |3 +++
 offapi/com/sun/star/xml/crypto/SEInitializer.idl |4 
 offapi/com/sun/star/xml/crypto/XSEInitializer.idl|4 
 offapi/com/sun/star/xml/crypto/XSecurityEnvironment.idl  |4 
 offapi/com/sun/star/xml/crypto/XXMLSecurityContext.idl   |4 
 udkapi/com/sun/star/task/XInteractionHandler2.idl|2 ++
 13 files changed, 29 insertions(+), 32 deletions(-)

New commits:
commit 00de339c15a048c874bc856e321973df0ea238de
Author: Thorsten Behrens tbehr...@suse.com
Date:   Thu Jan 26 22:44:03 2012 +0100

Fixup over-ambitious previous revert.

There were actually some useful bits hidden in that mass-publishing
of uno api.

diff --git a/offapi/com/sun/star/awt/XDialogProvider2.idl 
b/offapi/com/sun/star/awt/XDialogProvider2.idl
index b6bd5cb..10ca564 100644
--- a/offapi/com/sun/star/awt/XDialogProvider2.idl
+++ b/offapi/com/sun/star/awt/XDialogProvider2.idl
@@ -120,12 +120,10 @@ interface XDialogProvider2 : 
::com::sun::star::awt::XDialogProvider {
 /p
 */
 
-XDialog createDialogWithArguments(
-[in] string URL,
-[in] sequence ::com::sun::star::beans::NamedValue  Arguments
-)
-raises  (   com::sun::star::lang::IllegalArgumentException
-);
+XDialog createDialogWithArguments
+( [in] string URL,
+  [in] sequence ::com::sun::star::beans::NamedValue  Arguments )
+raises  (   com::sun::star::lang::IllegalArgumentException );
 };
 
 //=
diff --git a/offapi/com/sun/star/frame/XTitle.idl 
b/offapi/com/sun/star/frame/XTitle.idl
index 59b82e8..51033e4 100644
--- a/offapi/com/sun/star/frame/XTitle.idl
+++ b/offapi/com/sun/star/frame/XTitle.idl
@@ -36,17 +36,23 @@
  module com {  module sun {  module star {  module frame {
 
 //=
-/** todo document me
+/** an interface representing an entity with a modifyable title.
  */
 interface XTitle : com::sun::star::uno::XInterface
 {
 //-
-/** todo document me
+/** Returns the title of the object.
+ *
+ * @returns
+ * The title.
  */
 string getTitle ();
 
 //-
-/** todo document me
+/** Sets the title of the object.
+ *
+ * @param sTitle
+ * The title.
  */
 void setTitle ( [in] string sTitle );
 };
diff --git a/offapi/com/sun/star/presentation/XSlideShowView.idl 
b/offapi/com/sun/star/presentation/XSlideShowView.idl
index 6e39d9b..15e2cc4 100644
--- a/offapi/com/sun/star/presentation/XSlideShowView.idl
+++ b/offapi/com/sun/star/presentation/XSlideShowView.idl
@@ -68,9 +68,9 @@ interface XSlideShowView : ::com::sun::star::uno::XInterface
 
 /** Query the current transformation matrix for this view.p
 
-   This method returns the transformation matrix of the
-   view. When notified via the transformation change listener,
-   the show will be displayed using the new transformation.p
+This method returns the transformation matrix of the
+view. When notified via the transformation change listener,
+the show will be displayed using the new transformation.p
 
 @return the view transformation matrix. Note that the slide
 show itself will paint all slides as one-by-one boxes, one
diff --git a/offapi/com/sun/star/rendering/XCanvas.idl 
b/offapi/com/sun/star/rendering/XCanvas.idl
index 81bd8e1..0ad3145 100644
--- a/offapi/com/sun/star/rendering/XCanvas.idl
+++ b/offapi/com/sun/star/rendering/XCanvas.idl
@@ -132,7 +132,7 @@ interface XCanvas : ::com::sun::star::uno::XInterface
 
  /** Draw a point in device resolution on the device.
 
- @param aPoint
+@param aPoint
 The point to draw.
 
 @param aViewState
@@ -153,10 +153,10 @@ interface XCanvas : ::com::sun::star::uno::XInterface
 /** Draw a line in device resolution width (i.e. one device pixel
 wide).
 
- @param aStartPoint
+@param aStartPoint
 The start point of the line to draw.
 
- @param aEndPoint
+@param aEndPoint
 The end point of the line to draw.
 
 @param aViewState
diff --git 

[Libreoffice-commits] .: offapi/com

2012-01-19 Thread Stephan Bergmann
 offapi/com/sun/star/i18n/NumberFormatIndex.idl |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit decd4c806264042e5fd8b21026c7d3c0cc760f44
Author: Stephan Bergmann sberg...@redhat.com
Date:   Thu Jan 19 23:34:54 2012 +0100

Undo comment fix that introduces start of nested comment.

diff --git a/offapi/com/sun/star/i18n/NumberFormatIndex.idl 
b/offapi/com/sun/star/i18n/NumberFormatIndex.idl
index 708b2d4..0dd4d21 100644
--- a/offapi/com/sun/star/i18n/NumberFormatIndex.idl
+++ b/offapi/com/sun/star/i18n/NumberFormatIndex.idl
@@ -50,7 +50,7 @@ module com { module sun { module star { module i18n {
 bMUST/b support some predefined format codes. These predefined
 format codes are accessed through indices as the following, and
 the locale data format code definitions in
-i18npool/source/localedata/data/*.xml bMUST/b have matching
+i18npool\source\localedata\data\*.xml bMUST/b have matching
 entries in the form br/
 
 codelt;FormatElement formatindex=0gt;/code br/
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: offapi/com udkapi/com

2012-01-05 Thread Michael Meeks
 offapi/com/sun/star/drawing/DrawingDocumentFactory.idl |2 +-
 offapi/com/sun/star/i18n/XExtendedTransliteration.idl  |2 +-
 offapi/com/sun/star/i18n/XNativeNumberSupplier.idl |2 +-
 offapi/com/sun/star/linguistic2/LanguageGuessing.idl   |2 +-
 udkapi/com/sun/star/util/logging/Logger.idl|4 ++--
 5 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 9e3235cd99f2b3210cdc8481b2b5a428119a1458
Author: Tomas Hlavaty t...@logand.com
Date:   Tue Dec 6 23:52:56 2011 +0100

minor idl fixes

diff --git a/offapi/com/sun/star/drawing/DrawingDocumentFactory.idl 
b/offapi/com/sun/star/drawing/DrawingDocumentFactory.idl
index e3464d4..db534ff 100644
--- a/offapi/com/sun/star/drawing/DrawingDocumentFactory.idl
+++ b/offapi/com/sun/star/drawing/DrawingDocumentFactory.idl
@@ -27,7 +27,7 @@
  **
 **/
 #ifndef __com_sun_star_drawing_DrawingDocumentFactory_idl__
-#define __com::sun::star::drawing_DrawingDocumentFactory_idl__
+#define __com_sun_star_drawing_DrawingDocumentFactory_idl__
 
 #include com/sun/star/lang/XMultiServiceFactory.idl
 
diff --git a/offapi/com/sun/star/i18n/XExtendedTransliteration.idl 
b/offapi/com/sun/star/i18n/XExtendedTransliteration.idl
index 88ac6a2..7e39848 100644
--- a/offapi/com/sun/star/i18n/XExtendedTransliteration.idl
+++ b/offapi/com/sun/star/i18n/XExtendedTransliteration.idl
@@ -30,7 +30,7 @@
 #define __com_sun_star_i18n_XExtendedTransliteration_idl__
 
 #include com/sun/star/i18n/XTransliteration.idl
-#include MultipleCharsOutputException.idl
+#include com/sun/star/i18n/MultipleCharsOutputException.idl
 
 //=
 
diff --git a/offapi/com/sun/star/i18n/XNativeNumberSupplier.idl 
b/offapi/com/sun/star/i18n/XNativeNumberSupplier.idl
index 2b7d2ca..9b254a5 100644
--- a/offapi/com/sun/star/i18n/XNativeNumberSupplier.idl
+++ b/offapi/com/sun/star/i18n/XNativeNumberSupplier.idl
@@ -30,7 +30,7 @@
 #define __com_sun_star_i18n_XNativeNumberSupplier_idl__
 
 #include com/sun/star/lang/Locale.idl
-#include NativeNumberXmlAttributes.idl
+#include com/sun/star/i18n/NativeNumberXmlAttributes.idl
 
 //=
 
diff --git a/offapi/com/sun/star/linguistic2/LanguageGuessing.idl 
b/offapi/com/sun/star/linguistic2/LanguageGuessing.idl
index cdb8384..ac56e6c 100644
--- a/offapi/com/sun/star/linguistic2/LanguageGuessing.idl
+++ b/offapi/com/sun/star/linguistic2/LanguageGuessing.idl
@@ -29,7 +29,7 @@
 #ifndef __com_sun_star_linguistic2_LanguageGuessing_idl__
 #define __com_sun_star_linguistic2_LanguageGuessing_idl__
 
-#include XLanguageGuessing.idl
+#include com/sun/star/linguistic2/XLanguageGuessing.idl
 
 module com { module sun { module star { module linguistic2 {
 
diff --git a/udkapi/com/sun/star/util/logging/Logger.idl 
b/udkapi/com/sun/star/util/logging/Logger.idl
index 533b648..e2f7e6c 100644
--- a/udkapi/com/sun/star/util/logging/Logger.idl
+++ b/udkapi/com/sun/star/util/logging/Logger.idl
@@ -30,8 +30,8 @@
 #define __com_sun_star_webtop_Logger_idl__
 
 #include com/sun/star/uno/XInterface.idl
-#include XLogger.idl
-#include XLoggerRemote.idl
+#include com/sun/star/util/logging/XLogger.idl
+#include com/sun/star/util/logging/XLoggerRemote.idl
 
 //=
 
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: offapi/com offapi/UnoApi_offapi.mk oox/source sc/inc sc/source

2012-01-04 Thread Kohei Yoshida
 offapi/UnoApi_offapi.mk|1 
 offapi/com/sun/star/chart2/data/XSheetDataProvider.idl |   52 ++
 oox/source/xls/excelchartconverter.cxx |   67 +---
 sc/inc/chart2uno.hxx   |   18 +-
 sc/source/ui/unoobj/chart2uno.cxx  |  131 +
 5 files changed, 239 insertions(+), 30 deletions(-)

New commits:
commit 578292d707077c18079de050c928afaae268a25d
Author: Kohei Yoshida kohei.yosh...@suse.com
Date:   Wed Jan 4 15:45:09 2012 -0500

Register chart data ranges via tokens rather than string.

Doing it this way avoids having to re-generate the data ranges in
Calc A1 before passing it to the chart backend in Calc.  We need this
in order to remove the silly restriction that forces us to always pass
data range strings in Calc A1 format, which is error-prone.

This is also necessary in order to fix the bug that prevents editing
data ranges of an existing chart when the formula syntax is something
other than Calc A1.

diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk
index e83b667..b6c4bd4 100644
--- a/offapi/UnoApi_offapi.mk
+++ b/offapi/UnoApi_offapi.mk
@@ -1983,6 +1983,7 @@ $(eval $(call 
gb_UnoApiTarget_add_idlfiles,offapi,offapi/com/sun/star/chart2/dat
XNumericalDataSequence \
XRangeHighlighter \
XRangeXMLConversion \
+   XSheetDataProvider \
XTextualDataSequence \
 ))
 $(eval $(call 
gb_UnoApiTarget_add_idlfiles,offapi,offapi/com/sun/star/configuration,\
diff --git a/offapi/com/sun/star/chart2/data/XSheetDataProvider.idl 
b/offapi/com/sun/star/chart2/data/XSheetDataProvider.idl
new file mode 100644
index 000..db443c9
--- /dev/null
+++ b/offapi/com/sun/star/chart2/data/XSheetDataProvider.idl
@@ -0,0 +1,52 @@
+/*
+ * Version: MPL 1.1 / GPLv3+ / LGPLv3+
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the License); you may not use this file except in compliance with
+ * the License or as specified alternatively below. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an AS IS basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * Major Contributor(s):
+ *   Copyright (C) 2012 Kohei Yoshida kohei.yosh...@suse.com
+ *
+ * All Rights Reserved.
+ *
+ * For minor contributions see the git repository.
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * either the GNU General Public License Version 3 or later (the GPLv3+), or
+ * the GNU Lesser General Public License Version 3 or later (the LGPLv3+),
+ * in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
+ * instead of those above.
+ */
+
+#ifndef com_sun_star_chart2_data_XSheetDataProvider_idl
+#define com_sun_star_chart2_data_XSheetDataProvider_idl
+
+#include com/sun/star/uno/XInterface.idl
+#include com/sun/star/chart2/data/XDataSequence.idl
+#include com/sun/star/sheet/FormulaToken.idl
+
+module com { module sun { module star { module chart2 { module data {
+
+/**
+ * Interface specific to spreadsheet data provider backend.
+ */
+interface XSheetDataProvider : com::sun::star::uno::XInterface
+{
+boolean createDataSequenceByFormulaTokensPossible(
+[in] sequence com::sun::star::sheet::FormulaToken  aTokens );
+
+XDataSequence createDataSequenceByFormulaTokens(
+[in] sequence com::sun::star::sheet::FormulaToken  aTokens )
+raises( com::sun::star::lang::IllegalArgumentException );
+};
+
+};};};};};
+
+#endif
diff --git a/oox/source/xls/excelchartconverter.cxx 
b/oox/source/xls/excelchartconverter.cxx
index da938ea..2fb699d 100644
--- a/oox/source/xls/excelchartconverter.cxx
+++ b/oox/source/xls/excelchartconverter.cxx
@@ -31,6 +31,8 @@
 #include com/sun/star/lang/XMultiServiceFactory.hpp
 #include com/sun/star/chart2/data/XDataProvider.hpp
 #include com/sun/star/chart2/data/XDataReceiver.hpp
+#include com/sun/star/chart2/data/XSheetDataProvider.hpp
+
 #include oox/core/filterbase.hxx
 #include oox/drawingml/chart/datasourcemodel.hxx
 #include oox/helper/containerhelper.hxx
@@ -79,42 +81,53 @@ Reference XDataSequence  
ExcelChartConverter::createDataSequence(
 const Reference XDataProvider  rxDataProvider, const 
DataSequenceModel rDataSeq )
 {
 Reference XDataSequence  xDataSeq;
-if( rxDataProvider.is() )
+if (!rxDataProvider.is())
+return xDataSeq;
+
+ReferenceXSheetDataProvider xSheetProvider(rxDataProvider, UNO_QUERY);
+if (!xSheetProvider.is())
+return xDataSeq;
+
+if (!rDataSeq.maFormula.isEmpty())
 {
-OUString aRangeRep;
-if( !rDataSeq.maFormula.isEmpty() )
-{
-// parse the formula string, create a token sequence
-

[Libreoffice-commits] .: offapi/com udkapi/com

2011-12-20 Thread Michael Meeks
 offapi/com/sun/star/drawing/DrawingDocumentFactory.idl |2 +-
 offapi/com/sun/star/i18n/XExtendedTransliteration.idl  |2 +-
 offapi/com/sun/star/i18n/XNativeNumberSupplier.idl |2 +-
 offapi/com/sun/star/linguistic2/LanguageGuessing.idl   |2 +-
 udkapi/com/sun/star/util/logging/Logger.idl|4 ++--
 5 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 9ae50a6d41c535273ebfab77b9140952d302a177
Author: Michael Meeks michael.me...@suse.com
Date:   Tue Dec 20 17:46:59 2011 +

Revert minor idl fixes - no explicit license statement yet.

This reverts commit 5260bf5ea7271cca4767f596592091dcdfd895fe.

diff --git a/offapi/com/sun/star/drawing/DrawingDocumentFactory.idl 
b/offapi/com/sun/star/drawing/DrawingDocumentFactory.idl
index 71d3231..41bbd29 100644
--- a/offapi/com/sun/star/drawing/DrawingDocumentFactory.idl
+++ b/offapi/com/sun/star/drawing/DrawingDocumentFactory.idl
@@ -26,7 +26,7 @@
  **
 **/
 #ifndef __com_sun_star_drawing_DrawingDocumentFactory_idl__
-#define __com_sun_star_drawing_DrawingDocumentFactory_idl__
+#define __com::sun::star::drawing_DrawingDocumentFactory_idl__
 
 #include com/sun/star/lang/XMultiServiceFactory.idl
 
diff --git a/offapi/com/sun/star/i18n/XExtendedTransliteration.idl 
b/offapi/com/sun/star/i18n/XExtendedTransliteration.idl
index 3afe7c8..ca2348d 100644
--- a/offapi/com/sun/star/i18n/XExtendedTransliteration.idl
+++ b/offapi/com/sun/star/i18n/XExtendedTransliteration.idl
@@ -29,7 +29,7 @@
 #define __com_sun_star_i18n_XExtendedTransliteration_idl__
 
 #include com/sun/star/i18n/XTransliteration.idl
-#include com/sun/star/i18n/MultipleCharsOutputException.idl
+#include MultipleCharsOutputException.idl
 
 //=
 
diff --git a/offapi/com/sun/star/i18n/XNativeNumberSupplier.idl 
b/offapi/com/sun/star/i18n/XNativeNumberSupplier.idl
index 2e96883..a11ad7a 100644
--- a/offapi/com/sun/star/i18n/XNativeNumberSupplier.idl
+++ b/offapi/com/sun/star/i18n/XNativeNumberSupplier.idl
@@ -29,7 +29,7 @@
 #define __com_sun_star_i18n_XNativeNumberSupplier_idl__
 
 #include com/sun/star/lang/Locale.idl
-#include com/sun/star/i18n/NativeNumberXmlAttributes.idl
+#include NativeNumberXmlAttributes.idl
 
 //=
 
diff --git a/offapi/com/sun/star/linguistic2/LanguageGuessing.idl 
b/offapi/com/sun/star/linguistic2/LanguageGuessing.idl
index 5ba3c04..1e99fbc 100644
--- a/offapi/com/sun/star/linguistic2/LanguageGuessing.idl
+++ b/offapi/com/sun/star/linguistic2/LanguageGuessing.idl
@@ -28,7 +28,7 @@
 #ifndef __com_sun_star_linguistic2_LanguageGuessing_idl__
 #define __com_sun_star_linguistic2_LanguageGuessing_idl__
 
-#include com/sun/star/linguistic2/XLanguageGuessing.idl
+#include XLanguageGuessing.idl
 
 module com { module sun { module star { module linguistic2 {
 
diff --git a/udkapi/com/sun/star/util/logging/Logger.idl 
b/udkapi/com/sun/star/util/logging/Logger.idl
index 72e377a..5f02627 100644
--- a/udkapi/com/sun/star/util/logging/Logger.idl
+++ b/udkapi/com/sun/star/util/logging/Logger.idl
@@ -29,8 +29,8 @@
 #define __com_sun_star_webtop_Logger_idl__
 
 #include com/sun/star/uno/XInterface.idl
-#include com/sun/star/util/logging/XLogger.idl
-#include com/sun/star/util/logging/XLoggerRemote.idl
+#include XLogger.idl
+#include XLoggerRemote.idl
 
 //=
 
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: offapi/com

2011-11-29 Thread Jan Holesovsky
 offapi/com/sun/star/sheet/XSelectedSheetsSupplier.idl |2 ++
 1 file changed, 2 insertions(+)

New commits:
commit ebdc3ad1ee835212be4eb5fe99d5442c8baff920
Author: Jan Holesovsky ke...@suse.cz
Date:   Tue Nov 29 09:40:48 2011 +0100

Fix build in offapi.

diff --git a/offapi/com/sun/star/sheet/XSelectedSheetsSupplier.idl 
b/offapi/com/sun/star/sheet/XSelectedSheetsSupplier.idl
index 786dba3..fe49579 100644
--- a/offapi/com/sun/star/sheet/XSelectedSheetsSupplier.idl
+++ b/offapi/com/sun/star/sheet/XSelectedSheetsSupplier.idl
@@ -28,6 +28,8 @@
 #ifndef __com_sun_star_sheet_XSelectedSheetsSupplier_idl__
 #define __com_sun_star_sheet_XSelectedSheetsSupplier_idl__
 
+#include com/sun/star/uno/XInterface.idl
+
 module com { module sun { module star { module sheet {
 
 interface XSelectedSheetsSupplier: com::sun::star::uno::XInterface
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: offapi/com qadevOOo/objdsc qadevOOo/tests sc/source svx/inc svx/source sw/inc sw/source testautomation/framework testautomation/global

2011-11-10 Thread Michael Meeks
 offapi/com/sun/star/sheet/SpreadsheetViewSettings.idl  
   |7 ---
 offapi/com/sun/star/text/ViewSettings.idl  
   |6 --
 qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTabViewObj.csv   
   |1 
 qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXViewSettings.csv
   |1 
 
qadevOOo/tests/basic/ifc/sheet/SpreadsheetViewSettings/sheet_SpreadsheetViewSettings.xba
  |2 
 qadevOOo/tests/basic/ifc/text/ViewSettings/text_ViewSettings.xba   
   |2 
 qadevOOo/tests/java/ifc/sheet/_SpreadsheetViewSettings.java
   |1 
 qadevOOo/tests/java/ifc/text/_ViewSettings.java
   |1 
 sc/source/ui/inc/optdlg.hrc
   |1 
 sc/source/ui/src/optdlg.src
   |7 ---
 svx/inc/svx/svdstr.hrc 
   |4 -
 svx/source/svdraw/svdmrkv.cxx  
   |   22 --
 sw/inc/unoprnms.hxx
   |1 
 sw/inc/viewopt.hxx 
   |1 
 sw/source/core/unocore/unoprnms.cxx
   |1 
 sw/source/ui/config/optpage.cxx
   |3 -
 sw/source/ui/config/viewopt.cxx
   |2 
 sw/source/ui/inc/optpage.hxx   
   |1 
 
testautomation/framework/optional/input/help_browser/OpenOffice.org_help_topics_en-US.txt
 |8 ---
 
testautomation/framework/optional/input/help_browser/Oracle_Open_Office_help_topics_en-US.txt
 |8 ---
 testautomation/global/win/tab_h_o.win  
   |1 
 21 files changed, 1 insertion(+), 80 deletions(-)

New commits:
commit 59445b80e7d00fc3c998352cb0f20bb2ba810583
Author: Tim Hardeck thard...@suse.com
Date:   Wed Nov 9 17:50:55 2011 +0100

removed leftovers of the Simple Handles option

Removed leftovers of the Simple Handles option which weren't
delete by the previous patch.

diff --git a/offapi/com/sun/star/sheet/SpreadsheetViewSettings.idl 
b/offapi/com/sun/star/sheet/SpreadsheetViewSettings.idl
index 208d7ac..a967568 100644
--- a/offapi/com/sun/star/sheet/SpreadsheetViewSettings.idl
+++ b/offapi/com/sun/star/sheet/SpreadsheetViewSettings.idl
@@ -137,13 +137,6 @@ published service SpreadsheetViewSettings
 
 //-
 
-/** enables solid (colored) handles when drawing
-objects are selected.
- */
-[property] boolean SolidHandles;
-
-//-
-
 /** enables display of embedded objects in the view.
 
 @see SpreadsheetViewObjectsMode
diff --git a/offapi/com/sun/star/text/ViewSettings.idl 
b/offapi/com/sun/star/text/ViewSettings.idl
index 3ffa73d..7b15794 100644
--- a/offapi/com/sun/star/text/ViewSettings.idl
+++ b/offapi/com/sun/star/text/ViewSettings.idl
@@ -215,12 +215,6 @@ published service ViewSettings
 [property] boolean SmoothScrolling;
 
 //-
-
-// DocMerge from xml: property 
com::sun::star::text::ViewSettings::SolidMarkHandles
-/** If this property is TRUE/, handles of drawing objects are visible.
- */
-[property] boolean SolidMarkHandles;
-//-
 /** If this property is TRUE/, the vertical ruler is aligned to the 
right side
  of the view and the vertical scrollbar is on the left.
  */
diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTabViewObj.csv 
b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTabViewObj.csv
index 0e1709f..7119ec7 100644
--- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTabViewObj.csv
+++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScTabViewObj.csv
@@ -29,7 +29,6 @@
 ScTabViewObj;com::sun::star::sheet::SpreadsheetViewSettings;ShowHelpLines
 ScTabViewObj;com::sun::star::sheet::SpreadsheetViewSettings;ShowAnchor
 
ScTabViewObj;com::sun::star::sheet::SpreadsheetViewSettings;ShowPageBreaks
-ScTabViewObj;com::sun::star::sheet::SpreadsheetViewSettings;SolidHandles
 ScTabViewObj;com::sun::star::sheet::SpreadsheetViewSettings;ShowObjects
 ScTabViewObj;com::sun::star::sheet::SpreadsheetViewSettings;ShowCharts
 ScTabViewObj;com::sun::star::sheet::SpreadsheetViewSettings;ShowDrawing
diff