Date: Wed, 15 Jul 2009 14:57:49 +0000
Subject: [PATCH 07/28] CWS-TOOLING: integrate CWS dr68 2009-06-19 17:43:48
+0200 oc r273175 : #i102946# some lines for new dialog added 2009-06-19
14:17:45 +0200 oc r273158 : #i102946# three lines added 2009-05-19 11:56:14
+0200 dr r272065 : #i99677# wrong attribute name 2009-05-18 18:37:05 +0200
dr r272045 : #i10000# suncc warning 2009-05-05 16:46:13 +0200 dr r271536 :
#i10000# adoptions after rebase to master containing dr67 2009-05-05 16:01:19
+0200 dr r271530 : #i10000# adoptions after rebase to master containing dr67
2009-05-04 14:20:39 +0200 dr r271453 : CWS-TOOLING: rebase CWS dr68 to
trunk@271427 (milestone: DEV300:m47) 2009-04-28 17:01:14 +0200 dr r271332 :
CWS-TOOLING: rebase CWS dr68 to trunk@270723 (milestone: DEV300:m46)
2009-04-23 12:21:40 +0200 dr r271149 : #i100688# missing checkins 2009-04-23
12:18:16 +0200 dr r271147 : #i100978# relations path handling 2009-04-22
19:25:45 +0200 nn r271136 : #i49491# show navigator for double click on
document position status bar control 2009-04-22 11:28:36 +0200 nn r271085 :
#i60401# small text change 2009-04-21 16:53:23 +0200 dr r271044 : #i10000#
missing dtor 2009-04-20 13:39:25 +0200 nn r270977 : #i60401# add dialog to
extend sort range (patch from maoyg) 2009-04-08 12:11:08 +0200 dr r270630 :
#i100943# prevent assertion when loading chart with empty category ranges
2009-04-07 19:03:00 +0200 dr r270609 : #i100688# missing bits for OLE
2009-04-07 17:14:06 +0200 dr r270605 : ported fix for #i100710# 2009-04-07
17:12:50 +0200 dr r270604 : #i10000# wae 2009-04-07 15:31:55 +0200 dr
r270598 : import system colors moved to FilterBase class, more rework on fill
and color contexts 2009-04-06 15:00:03 +0200 dr r270552 : #i99677# prevent
recursive loading of the current document 2009-04-03 18:28:42 +0200 dr
r270515 : added import of brightness/contrast and mono/grayscale color
effects for image shapes 2009-04-03 17:36:03 +0200 dr r270509 : cache
already imported embedded graphics 2009-04-03 16:46:34 +0200 dr r270500 :
more rework on bitmap fill and graphic object handling 2009-03-31 12:28:10
+0200 dr r270271 : #i10000# unxlngi6 wae 2009-03-31 09:04:10 +0200 dr
r270261 : CWS-TOOLING: rebase CWS dr68 to trunk@270033 (milestone:
DEV300:m45) 2009-03-30 17:42:05 +0200 dr r270249 : #i91122# add missing doc
2009-03-30 17:37:08 +0200 dr r270248 : #i91122# add missing doc 2009-03-30
16:59:15 +0200 dr r270241 : #i99677# add import of ActiveX scrollbar
controls 2009-03-30 14:30:36 +0200 dr r270230 : #i91122# missing/wrong
documentation 2009-03-30 13:03:38 +0200 dr r270220 : #i99677# add import of
ActiveX combobox and spinbutton controls 2009-03-27 11:46:59 +0100 dr
r270144 : #i99677# import ActiveX listbox controls (Forms.ListBox.1)
2009-03-26 19:58:00 +0100 dr r270104 : #i99677# move more OLE import code
into ole submodule 2009-03-26 15:15:02 +0100 dr r270082 : #i100546# add
import of chart bitmap fills, add import of X/Y offset in tiled bitmap fills
of all shapes 2009-03-25 12:54:59 +0100 dr r270018 : #i99677# import ActiveX
edit text control (Forms.TextBox.1) 2009-03-24 10:59:29 +0100 dr r269921 :
#i99677# moved import of OLE StdHlink to 'ole' submodule, added string import
helpers to BinaryStreamBase class, removed implementation of ST_XString
import from docprop in favour of the implementation in class AttributeList
2009-03-24 10:40:18 +0100 dr r269919 : #i100502# implicit precedence of '&&'
was intended 2009-03-24 10:18:29 +0100 dr r269917 : #i100502# missing
parentheses 2009-03-23 15:17:48 +0100 dr r269876 : #i99677# more code reorg,
added graphic helper and OLE helper object per filter, added OLE/control
import to PPTX/XLSX filter, moved helpers from XmlFilterBase to FilterBase
2009-03-19 12:45:20 +0100 dr r269740 : #i99677# interface changes in oox
2009-03-18 15:51:50 +0100 dr r269683 : #i99677# improved relation handling
(internal/external), added preprocessor for VML streams to eat MS specific
instructions, added OCX ToggleButton/OptionButton import, added DIB import
for BIFF (page background picture, lots of other minor improvements
2009-03-16 15:25:30 +0100 dr r269551 : #i99677# import excel form control
client data (printable, cell link) 2009-03-13 18:37:17 +0100 dr r269494 :
#i99677# import image controls and check boxes 2009-03-12 15:08:18 +0100 dr
r269420 : #i10000# rebase problems 2009-03-12 14:43:09 +0100 dr r269418 :
#i10000# rebase problems 2009-03-12 14:42:41 +0100 dr r269417 : #i10000#
missing delivered header 2009-03-12 13:57:06 +0100 dr r269405 : #i10000#
typos 2009-03-12 12:58:52 +0100 dr r269391 : CWS-TOOLING: rebase CWS dr68 to
trunk@269297 (milestone: DEV300:m43) 2009-03-12 11:11:46 +0100 dr r269374 :
#i99677# first step to import BIFF8 page background 2009-03-12 10:21:53 +0100
dr r269364 : #i99677# rework of graphic import in entire filter, added
import of AX Label controls 2009-03-09 16:44:50 +0100 dr r269202 : #i99677#
import some formatting attributes of command buttons 2009-03-05 15:31:46
+0100 dr r268911 : #i99677# use VML shape client data to import excel VML
shape positions 2009-03-05 11:39:48 +0100 dr r268888 : #i99677# create UNO
control shapes from VML control shapes 2009-03-05 11:38:59 +0100 dr r268886
: #i99677# change attribute Shapes to DrawPage for import of embedded form
controls 2009-03-05 11:30:40 +0100 dr r268885 : #i99677# change attribute
Shapes to DrawPage for import of embedded form controls 2009-03-04 18:46:05
+0100 dr r268860 : adapt namespace ids according to oox 2009-03-04 18:43:49
+0100 dr r268859 : #i99677# more VML import rework 2009-03-03 13:38:36 +0100
dr r268721 : #i99677# more cleanup for VML filter 2009-03-03 13:13:15 +0100
dr r268719 : #i99807# do not iterate beyond end of std::list 2009-03-02
11:55:49 +0100 dr r268644 : add ST_XString support (encoded characters in
attribute values) 2009-02-26 17:07:18 +0100 dr r268542 : #i99677# first
steps of ax control import: dummy AX base classes, reimplement VML import
(hopefully without breaking anything), register embedded AX controls at VML
drawing 2009-02-23 17:43:50 +0100 dr r268365 : #i99426# remaining work on
scenario import 2009-02-19 16:56:25 +0100 dr r268295 : #i99426# base
implementations for scenarios import
---
.../com/sun/star/drawing/FillProperties.idl | 141 ++++++++++++------
.../star/xml/sax/XFastShapeContextHandler.idl | 4 +-
2 files changed, 98 insertions(+), 47 deletions(-)
diff --git a/offapi/com/sun/star/drawing/FillProperties.idl b/offapi/com/sun/star/drawing/FillProperties.idl
index 47749376a7d5..9aaedfed601f 100644
--- a/offapi/com/sun/star/drawing/FillProperties.idl
+++ b/offapi/com/sun/star/drawing/FillProperties.idl
@@ -70,21 +70,21 @@ module com { module sun { module star { module drawing {
published service FillProperties
{
//-------------------------------------------------------------------------
- /** This enumeration selects the style with which the area will be filled.
+ /** This enumeration selects the style the area will be filled with.
*/
- [property] com::sun::star::drawing::FillStyle FillStyle;
+ [property] FillStyle FillStyle;
//-------------------------------------------------------------------------
- /** If the FillStyle is set to FillStyle::SOLID,
- this is the color used.
+ /** If the property FillStyle is set to
+ FillStyle::SOLID, this is the color used.
*/
[property] com::sun::star::util::Color FillColor;
//-------------------------------------------------------------------------
/** This is the transparence of the filled area.
- This property is only valid if FillStyle is set to
- FillStyle::SOLID.
+
This property is only valid if the property FillStyle
+ is set to FillStyle::SOLID.
*/
[property] short FillTransparence;
@@ -103,117 +103,168 @@ published service FillProperties
[optional, property] com::sun::star::awt::Gradient FillTransparenceGradient;
//-------------------------------------------------------------------------
- /** If the FillStyle is set to FillStyle::GRADIENT, this
- is the name of the used fill gradient style.
+ /** If the property FillStyle is set to
+ FillStyle::GRADIENT, this is the name of the used fill
+ gradient style.
*/
[property] string FillGradientName;
//-------------------------------------------------------------------------
- /** If the FillStyle is set to FillStyle::GRADIENT, this
- describes the gradient used.
+ /** If the property FillStyle is set to
+ FillStyle::GRADIENT, this describes the gradient used.
*/
[optional, property] com::sun::star::awt::Gradient FillGradient;
//-------------------------------------------------------------------------
- /** If the FillStyle is set to FillStyle::GRADIENT, this
- is the name of the used fill hatch style.
+ /** If the property FillStyle is set to
+ FillStyle::HATCH, this is the name of the used fill hatch
+ style.
*/
[property] string FillHatchName;
//-------------------------------------------------------------------------
- /** If the FillStyle is set to FillStyle::HATCH, this
- describes the hatch used.
+ /** If the property FillStyle is set to
+ FillStyle::HATCH, this describes the hatch used.
*/
- [optional, property] com::sun::star::drawing::Hatch FillHatch;
+ [optional, property] Hatch FillHatch;
//-------------------------------------------------------------------------
- /** If the FillStyle is set to FillStyle::BITMAP, this is
- the name of the used fill bitmap style.
+ /** if this is , the transparent background of a
+ hatch filled area is drawn in the current background color.
+ */
+ [property] boolean FillBackground;
+
+ //-------------------------------------------------------------------------
+ /** If the property FillStyle is set to
+ FillStyle::BITMAP, this is the name of the used fill bitmap
+ style.
*/
[property] string FillBitmapName;
//-------------------------------------------------------------------------
- /** If the FillStyle is set to FillStyle::BITMAP, this is
- the bitmap used.
+ /** If the property FillStyle is set to
+ FillStyle::BITMAP, this is the bitmap used.
*/
[optional, property] com::sun::star::awt::XBitmap FillBitmap;
//-------------------------------------------------------------------------
- /** If the FillStyle is set to FillStyle::BITMAP, this is
- a URL to the bitmap used.
+ /** If the property FillStyle is set to
+ FillStyle::BITMAP, this is a URL to the bitmap used.
*/
[optional, property] string FillBitmapURL;
//-------------------------------------------------------------------------
/** This is the horizontal offset where the tile starts.
- It is given in percent in relation to the width of the bitmap.
+
It is given in percent in relation to the width of the bitmap.
*/
- [property] short FillBitmapOffsetX;
+ [property] short FillBitmapPositionOffsetX;
//-------------------------------------------------------------------------
/** This is the vertical offset where the tile starts.
- It is given in percent in relation to the width of the bitmap.
+ It is given in percent in relation to the height of the bitmap.
*/
- [property] short FillBitmapOffsetY;
+ [property] short FillBitmapPositionOffsetY;
//-------------------------------------------------------------------------
/** Every second line of tiles is moved the given percent of the
witdh of the bitmap.
*/
- [property] short FillBitmapPositionOffsetX;
+ [property] short FillBitmapOffsetX;
//-------------------------------------------------------------------------
/** Every second row of tiles is moved the given percent of the
- width of the bitmap.
+ height of the bitmap.
*/
- [property] short FillBitmapPositionOffsetY;
+ [property] short FillBitmapOffsetY;
//-------------------------------------------------------------------------
/** The RectanglePoint specifies the position inside of the bitmap to
use as the top left position for rendering.
*/
- [property] com::sun::star::drawing::RectanglePoint FillBitmapRectanglePoint;
+ [property] RectanglePoint FillBitmapRectanglePoint;
//-------------------------------------------------------------------------
- /** specifies if the size is given in percentage or
- as an absolute value.
+ /** specifies if the size is given in percentage or as an absolute value.
- If this is , the properties FillBitmapSizeX
- and FillBitmapSizeY contain the size of the tile in percent
- of the size of the original bitmap. If this
- is , the size of the tile is specified
- with 1/100th mm.
+
If this is , the properties FillBitmapSizeX
+ and FillBitmapSizeY contain the size of the tile in
+ percent of the size of the original bitmap. If this is , the
+ size of the tile is specified with 1/100th mm.
*/
[property] boolean FillBitmapLogicalSize;
//-------------------------------------------------------------------------
/** This is the width of the tile for filling.
-
Depending on the property FillBitmapLogicalSize, this is
- either relative or absolute.
+
Depending on the property FillBitmapLogicalSize,
+ this is either relative or absolute.
*/
[property] long FillBitmapSizeX;
//-------------------------------------------------------------------------
/** This is the height of the tile for filling.
-
Depending on the property FillBitmapLogicalSize, this
- is either relative or absolute.
+
Depending on the property FillBitmapLogicalSize,
+ this is either relative or absolute.
*/
[property] long FillBitmapSizeY;
//-------------------------------------------------------------------------
/** this enum selects how a area is filled with a single bitmap.
+
+
This property corresponds to the properties
+ FillBitmapStretch and FillBitmapTile.
+
+ If set to BitmapMode::REPEAT, the property
+ FillBitmapStretch is set to , and the property FillBitmapTile
+ is set to .
+
+ If set to BitmapMode::STRETCH, the property
+ FillBitmapStretch is set to , and the property FillBitmapTile
+ is set to .
+
+ If set to BitmapMode::NO_REPEAT, both properties
+ FillBitmapStretch and FillBitmapTile are set to .
*/
- [property] com::sun::star::drawing::BitmapMode FillBitmapMode;
+ [property] BitmapMode FillBitmapMode;
//-------------------------------------------------------------------------
- /** if this is , the transparent background of a
- hatch filled area is drawn in the current background color
- */
- [property] boolean FillBackground;
+ /** if set, the fill bitmap is stretched to fill the area of the shape.
+
+ This property should not be used anymore and is included here for
+ completeness. The FillBitmapMode property can be used
+ instead to set all supported bitmap modes.
+
+ If set to , the value of the FillBitmapMode property changes
+ to BitmapMode::STRETCH. BUT: behaviour is undefined, if
+ the property FillBitmapTile is too.
+
+ If set to , the value of the FillBitmapMode property
+ changes to BitmapMode::REPEAT or
+ BitmapMode::NO_REPEAT, depending on the current value of the
+ FillBitmapTile property.
+ */
+ [optional, property] boolean FillBitmapStretch;
+
+ //-------------------------------------------------------------------------
+ /** if set, the fill bitmap is repeated to fill the area of the shape.
+
+ This property should not be used anymore and is included here for
+ completeness. The FillBitmapMode property can be used
+ instead to set all supported bitmap modes.
+
+ If set to , the value of the FillBitmapMode property changes
+ to BitmapMode::REPEAT. BUT: behaviour is undefined, if
+ the property FillBitmapStretch is too.
+
+ If set to , the value of the FillBitmapMode property
+ changes to BitmapMode::STRETCH or
+ BitmapMode::NO_REPEAT, depending on the current value of the
+ FillBitmapStretch property.
+ */
+ [optional, property] boolean FillBitmapTile;
//-------------------------------------------------------------------------
};
diff --git a/offapi/com/sun/star/xml/sax/XFastShapeContextHandler.idl b/offapi/com/sun/star/xml/sax/XFastShapeContextHandler.idl
index 3def460ed435..c125e55ddd2e 100644
--- a/offapi/com/sun/star/xml/sax/XFastShapeContextHandler.idl
+++ b/offapi/com/sun/star/xml/sax/XFastShapeContextHandler.idl
@@ -32,7 +32,7 @@
#include
#include
-#include
+#include
#include
#include
@@ -50,7 +50,7 @@ module com { module sun { module star { module xml { module sax {
interface XFastShapeContextHandler: com::sun::star::xml::sax::XFastContextHandler
{
[attribute, readonly] com::sun::star::drawing::XShape Shape;
- [attribute] com::sun::star::drawing::XShapes Shapes;
+ [attribute] com::sun::star::drawing::XDrawPage DrawPage;
[attribute] com::sun::star::frame::XModel Model;
[attribute] com::sun::star::io::XInputStream InputStream;
[attribute] string RelationFragmentPath;
From aabc09b1e3be6ed26544b510e296d65e9b15ed0d Mon Sep 17 00:00:00 2001
From: Ivo Hinkelmann
Date: Thu, 16 Jul 2009 10:52:40 +0000
Subject: [PATCH 08/28] CWS-TOOLING: integrate CWS mingwport21 2009-07-01
15:17:50 +0200 tono r273595 : i#102971: mingw port without solarbindir in
PATH 2009-07-01 15:15:44 +0200 tono r273591 : i#90212: dmake not releasing
file descriptor
---
pyuno/source/loader/makefile.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyuno/source/loader/makefile.mk b/pyuno/source/loader/makefile.mk
index 67fbe81e482e..11ece4796301 100644
--- a/pyuno/source/loader/makefile.mk
+++ b/pyuno/source/loader/makefile.mk
@@ -110,7 +110,7 @@ $(DLLDEST)$/%.py: %.py
$(DLLDEST)$/pyuno_services.rdb : makefile.mk $(DLLDEST)$/$(DLLPRE)$(TARGET)$(DLLPOST)
-rm -f $@ $(DLLDEST)$/pyuno_services.tmp $(DLLDEST)$/pyuno_services.rdb
.IF "$(GUI)$(COM)"=="WNTGCC"
- cd $(DLLDEST) && sh -c "export PATH='$(PATH):$(OUT)$/bin'; regcomp -register -r pyuno_services.tmp -wop $(foreach,i,$(COMPONENTS) -c $(i))"
+ cd $(DLLDEST) && sh -c "export PATH='$(PATH):$(OUT)$/bin'; $(REGCOMP) -register -r pyuno_services.tmp -wop $(foreach,i,$(COMPONENTS) -c $(i))"
.ELSE
cd $(DLLDEST) && $(REGCOMP) -register -r pyuno_services.tmp -wop $(foreach,i,$(COMPONENTS) -c $(i))
.ENDIF # "$(GUI)$(COM)"=="WNTGCC"
From dc1f15a538a5e42ae7d33082cf2d99ac70255271 Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Mon, 27 Jul 2009 15:26:29 +0000
Subject: [PATCH 09/28] CWS-TOOLING: integrate CWS kso32fixes 2009-07-10
15:25:24 +0200 kso r273899 : #i53184# - fix probs with UNC server names
containing underscores. 2009-07-10 14:31:59 +0200 kso r273893 : CWS-TOOLING:
rebase CWS kso32fixes to trunk@273858 (milestone: DEV300:m52) 2009-07-09
13:46:16 +0200 kso r273861 : #i53184# - withdrew patch. 2009-07-08 13:39:00
+0200 kso r273829 : #i63159# - added license header 2009-07-08 11:44:08
+0200 kso r273824 : i53184 - cannot open files from shell if UNC server has
a _ (underscore) 2009-07-08 11:21:12 +0200 kso r273822 : #i93271# - mingw
build error 2009-07-08 11:13:48 +0200 kso r273821 : #i91247 - Adhere to one
more xdg spec 2009-07-08 11:02:53 +0200 kso r273820 : #i89017# - osl_trace
now emits trailing line feed to the debugger 2009-07-08 10:55:04 +0200 kso
r273819 : #i88663# - not waiting on successful forks but subsequent process
failure 2009-07-07 17:05:27 +0200 kso r273810 : #i88382# - It's nice to
leave the modal mode in gtk+ too ;-) 2009-07-07 16:53:34 +0200 kso r273808 :
i88331# - Typo in include guard 2009-07-07 16:48:17 +0200 kso r273807 :
i82831# - crashrep: warnings when size_t != int 2009-07-07 16:39:49 +0200 kso
r273806 : i63159# - Patch to use d_type field in dirent structure if
possible 2009-06-24 12:52:27 +0200 kso r273333 : #i100274# - solved win2k
missing symbol problem (again). 2009-05-20 13:58:48 +0200 kso r272124 :
CWS-TOOLING: rebase CWS kso32fixes to trunk@271830 (milestone: DEV300:m48)
2009-04-17 14:50:54 +0200 kso r270950 : CWS-TOOLING: rebase CWS kso32fixes
to trunk@270723 (milestone: DEV300:m46) 2009-03-26 09:27:28 +0100 kso
r270054 : #i100274# NTLM code cleanup. 2009-03-20 14:13:38 +0100 kso r269807
: #i100274# - Fixed potential buffer overflow in NTLM code. 2009-03-19
14:53:03 +0100 kso r269748 : #i100274. Added NTLM support for Non-Windows
platforms. 2009-03-17 15:52:44 +0100 kso r269613 : CWS-TOOLING: rebase CWS
kso32fixes to trunk@269297 (milestone: DEV300:m43)
---
sal/inc/systools/win32/snprintf.h | 4 +-
sal/osl/unx/file.cxx | 69 +++++++++++++++++++++++++++++-
sal/osl/unx/file_impl.hxx | 48 +++++++++++++++++++++
sal/osl/unx/file_stat.cxx | 70 +++++++++++++++++++++++++++++--
sal/osl/unx/process.c | 12 ++++++
sal/osl/unx/security.c | 9 +++-
sal/osl/w32/conditn.c | 3 +-
sal/osl/w32/diagnose.c | 4 +-
8 files changed, 208 insertions(+), 11 deletions(-)
create mode 100644 sal/osl/unx/file_impl.hxx
diff --git a/sal/inc/systools/win32/snprintf.h b/sal/inc/systools/win32/snprintf.h
index 254726e2f37b..79441f032fee 100644
--- a/sal/inc/systools/win32/snprintf.h
+++ b/sal/inc/systools/win32/snprintf.h
@@ -1,4 +1,4 @@
-#ifndef _SMPRINTF_H
+#ifndef _SNPRINTF_H
#define _SNPRINTF_H
#if !defined(_WIN32)
@@ -77,4 +77,4 @@ _SNPRINTF_DLLIMPORT int __cdecl vsnprintf( char *buffer, size_t count, const cha
}
#endif
-#endif /* _SMPRINTF_H */
+#endif /* _SNPRINTF_H */
diff --git a/sal/osl/unx/file.cxx b/sal/osl/unx/file.cxx
index e28328368a96..bd5b54a6d8c3 100644
--- a/sal/osl/unx/file.cxx
+++ b/sal/osl/unx/file.cxx
@@ -131,6 +131,42 @@ static const sal_Char* MOUNTTAB="/etc/mtab";
#endif
+#ifdef _DIRENT_HAVE_D_TYPE
+#include "file_impl.hxx"
+ oslDirectoryItemImpl* oslDirectoryItemImpl_CreateNew( rtl_uString* _ustrFilePath, bool _bHasDType, unsigned char _DType )
+ {
+ oslDirectoryItemImpl *pItemObject = (oslDirectoryItemImpl*) malloc( sizeof( oslDirectoryItemImpl ) );
+ pItemObject->RefCount = 1;
+ pItemObject->bHasType = _bHasDType;
+ pItemObject->DType = _DType;
+ pItemObject->ustrFilePath = _ustrFilePath;
+
+ return pItemObject;
+ }
+
+ void oslDirectoryItemImpl_Destroy( oslDirectoryItemImpl* pItem )
+ {
+ if( pItem->ustrFilePath ) {
+ rtl_uString_release( pItem->ustrFilePath );
+ pItem->ustrFilePath = NULL;
+ }
+ free( pItem );
+ }
+
+ void oslDirectoryItemImpl_acquire( oslDirectoryItemImpl* pItem )
+ {
+ pItem->RefCount ++;
+ }
+
+ void oslDirectoryItemImpl_release( oslDirectoryItemImpl* pItem )
+ {
+ pItem->RefCount --;
+
+ if( pItem->RefCount <= 0 )
+ oslDirectoryItemImpl_Destroy( pItem );
+ }
+#endif
+
#if OSL_DEBUG_LEVEL > 1
extern void debug_ustring(rtl_uString*);
@@ -467,8 +503,15 @@ oslFileError SAL_CALL osl_getNextDirectoryItem(oslDirectory Directory, oslDirect
osl_systemPathMakeAbsolutePath(pDirImpl->ustrPath, ustrFileName, &ustrFilePath);
rtl_uString_release( ustrFileName );
- /* use path as directory item */
- *pItem = (oslDirectoryItem) ustrFilePath;
+#ifdef _DIRENT_HAVE_D_TYPE
+ if(*pItem)
+ oslDirectoryItemImpl_release( ( oslDirectoryItemImpl* )( *pItem ) );
+
+ *pItem = (oslDirectoryItem) oslDirectoryItemImpl_CreateNew( ustrFilePath, true, pEntry->d_type );
+#else
+ /* use path as directory item */
+ *pItem = (oslDirectoryItem) ustrFilePath;
+#endif
return osl_File_E_None;
}
@@ -497,7 +540,11 @@ oslFileError SAL_CALL osl_getDirectoryItem( rtl_uString* ustrFileURL, oslDirecto
if (0 == access_u(ustrSystemPath, F_OK))
{
+#ifdef _DIRENT_HAVE_D_TYPE
+ *pItem = (oslDirectoryItem) oslDirectoryItemImpl_CreateNew( ustrSystemPath, false );
+#else
*pItem = (oslDirectoryItem)ustrSystemPath;
+#endif
osl_error = osl_File_E_None;
}
else
@@ -515,12 +562,21 @@ oslFileError SAL_CALL osl_getDirectoryItem( rtl_uString* ustrFileURL, oslDirecto
oslFileError osl_acquireDirectoryItem( oslDirectoryItem Item )
{
+#ifdef _DIRENT_HAVE_D_TYPE
+ oslDirectoryItemImpl* pImpl = (oslDirectoryItemImpl*) Item;
+#else
rtl_uString* ustrFilePath = (rtl_uString *) Item;
+#endif
OSL_ASSERT( Item );
+#ifdef _DIRENT_HAVE_D_TYPE
+ if( pImpl )
+ oslDirectoryItemImpl_acquire( pImpl );
+#else
if( ustrFilePath )
rtl_uString_acquire( ustrFilePath );
+#endif
return osl_File_E_None;
}
@@ -531,12 +587,21 @@ oslFileError osl_acquireDirectoryItem( oslDirectoryItem Item )
oslFileError osl_releaseDirectoryItem( oslDirectoryItem Item )
{
+#ifdef _DIRENT_HAVE_D_TYPE
+ oslDirectoryItemImpl* pImpl = (oslDirectoryItemImpl*) Item;
+#else
rtl_uString* ustrFilePath = (rtl_uString *) Item;
+#endif
OSL_ASSERT( Item );
+#ifdef _DIRENT_HAVE_D_TYPE
+ if( pImpl )
+ oslDirectoryItemImpl_release( pImpl );
+#else
if( ustrFilePath )
rtl_uString_release( ustrFilePath );
+#endif
return osl_File_E_None;
}
diff --git a/sal/osl/unx/file_impl.hxx b/sal/osl/unx/file_impl.hxx
new file mode 100644
index 000000000000..ae9d56ca85f3
--- /dev/null
+++ b/sal/osl/unx/file_impl.hxx
@@ -0,0 +1,48 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2008 by Sun Microsystems, Inc.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: $
+ * $Revision: $
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ *
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+typedef struct
+{
+ rtl_uString* ustrFilePath; /* holds native file name */
+ unsigned char DType;
+ bool bHasType;
+ sal_uInt32 RefCount;
+} oslDirectoryItemImpl;
+
+ oslDirectoryItemImpl* oslDirectoryItemImpl_CreateNew( rtl_uString* _ustrFilePath, bool _bHasDType, unsigned char _DType=0 );
+ void oslDirectoryItemImpl_Destroy( oslDirectoryItemImpl* pItem );
+ void oslDirectoryItemImpl_acquire( oslDirectoryItemImpl* pItem );
+ void oslDirectoryItemImpl_release( oslDirectoryItemImpl* pItem );
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
diff --git a/sal/osl/unx/file_stat.cxx b/sal/osl/unx/file_stat.cxx
index ec8cead84620..3a710743a1b2 100644
--- a/sal/osl/unx/file_stat.cxx
+++ b/sal/osl/unx/file_stat.cxx
@@ -42,6 +42,11 @@
#ifndef _UNISTD_H
#include
#endif
+
+#ifndef _DIRENT_H
+#include
+#endif
+
#include
#ifndef _ERRNO_H
@@ -56,6 +61,9 @@
#include "file_path_helper.hxx"
#include "file_error_transl.h"
+#ifdef _DIRENT_HAVE_D_TYPE
+#include "file_impl.hxx"
+#endif
namespace /* private */
{
@@ -223,9 +231,19 @@ namespace /* private */
/* we only need to call stat or lstat if one of the
following flags is set */
+#ifdef _DIRENT_HAVE_D_TYPE
+ inline bool is_stat_call_necessary(sal_uInt32 field_mask, oslDirectoryItemImpl *pImpl)
+#else
inline bool is_stat_call_necessary(sal_uInt32 field_mask)
+#endif
{
- return ((field_mask & osl_FileStatus_Mask_Type) ||
+ return (
+/* on linux the dirent might have d_type */
+#ifdef _DIRENT_HAVE_D_TYPE
+ ((field_mask & osl_FileStatus_Mask_Type) && (!pImpl->bHasType || pImpl->DType == DT_UNKNOWN)) ||
+#else
+ (field_mask & osl_FileStatus_Mask_Type) ||
+#endif
(field_mask & osl_FileStatus_Mask_Attributes) ||
(field_mask & osl_FileStatus_Mask_CreationTime) ||
(field_mask & osl_FileStatus_Mask_AccessTime) ||
@@ -254,7 +272,11 @@ namespace /* private */
if ((NULL == Item) || (NULL == pStat))
return osl_File_E_INVAL;
+#ifdef _DIRENT_HAVE_D_TYPE
+ file_path = rtl::OUString(reinterpret_cast(((oslDirectoryItemImpl* ) Item)->ustrFilePath));
+#else
file_path = rtl::OUString(reinterpret_cast(Item));
+#endif
OSL_ASSERT(file_path.getLength() > 0);
@@ -285,10 +307,18 @@ oslFileError SAL_CALL osl_getFileStatus(oslDirectoryItem Item, oslFileStatus* pS
#else
struct stat file_stat;
#endif
- if (is_stat_call_necessary(uFieldMask) && (0 != osl::lstat(file_path, file_stat)))
+
+#ifdef _DIRENT_HAVE_D_TYPE
+ oslDirectoryItemImpl* pImpl = (oslDirectoryItemImpl*) Item;
+ bool bStatNeeded = is_stat_call_necessary(uFieldMask, pImpl);
+#else
+ bool bStatNeeded = is_stat_call_necessary(uFieldMask);
+#endif
+
+ if (bStatNeeded && (0 != osl::lstat(file_path, file_stat)))
return oslTranslateFileError(OSL_FET_ERROR, errno);
- if (is_stat_call_necessary(uFieldMask))
+ if (bStatNeeded)
{
// we set all these attributes because it's cheap
set_file_type(file_stat, pStat);
@@ -305,6 +335,40 @@ oslFileError SAL_CALL osl_getFileStatus(oslDirectoryItem Item, oslFileStatus* pS
return osl_error;
}
}
+#ifdef _DIRENT_HAVE_D_TYPE
+ else if (uFieldMask & osl_FileStatus_Mask_Type)
+ {
+ OSL_ASSERT(pImpl->bHasType);
+
+ switch(pImpl->DType)
+ {
+ case DT_LNK:
+ pStat->eType = osl_File_Type_Link;
+ break;
+ case DT_DIR:
+ pStat->eType = osl_File_Type_Directory;
+ break;
+ case DT_REG:
+ pStat->eType = osl_File_Type_Regular;
+ break;
+ case DT_FIFO:
+ pStat->eType = osl_File_Type_Fifo;
+ break;
+ case DT_SOCK:
+ pStat->eType = osl_File_Type_Socket;
+ break;
+ case DT_CHR:
+ case DT_BLK:
+ pStat->eType = osl_File_Type_Special;
+ break;
+ default:
+ OSL_ASSERT(0);
+ pStat->eType = osl_File_Type_Unknown;
+ }
+
+ pStat->uValidFields |= osl_FileStatus_Mask_Type;
+ }
+#endif
if (uFieldMask & osl_FileStatus_Mask_FileURL)
{
diff --git a/sal/osl/unx/process.c b/sal/osl/unx/process.c
index a163436031d2..e5faf46548a6 100644
--- a/sal/osl/unx/process.c
+++ b/sal/osl/unx/process.c
@@ -650,6 +650,18 @@ static void ChildStatusProc(void *pData)
close( stdOutput[0] );
close( stdError[0] );
+ //if pid > 0 then a process was created, even if it later failed
+ //e.g. bash searching for a command to execute, and we still
+ //need to clean it up to avoid "defunct" processes
+ if (pid > 0)
+ {
+ pid_t child_pid;
+ do
+ {
+ child_pid = waitpid(pid, &status, 0);
+ } while ( 0 > child_pid && EINTR == errno );
+ }
+
/* notify (and unblock) parent thread */
osl_setCondition(pdata->m_started);
}
diff --git a/sal/osl/unx/security.c b/sal/osl/unx/security.c
index 53dd452e220b..5b601ee138a9 100644
--- a/sal/osl/unx/security.c
+++ b/sal/osl/unx/security.c
@@ -801,7 +801,14 @@ sal_Bool SAL_CALL osl_getConfigDir(oslSecurity Security, rtl_uString **pustrDire
static sal_Bool SAL_CALL osl_psz_getConfigDir(oslSecurity Security, sal_Char* pszDirectory, sal_uInt32 nMax)
{
- return (osl_psz_getHomeDir(Security, pszDirectory, nMax));
+ sal_Char *pStr = getenv("XDG_CONFIG_HOME");
+
+ if ((pStr == NULL) || (strlen(pStr) == 0) ||
+ (access(pStr, 0) != 0))
+ return (osl_psz_getHomeDir(Security, pszDirectory, nMax));
+
+ strncpy(pszDirectory, pStr, nMax);
+ return sal_True;
}
#else
diff --git a/sal/osl/w32/conditn.c b/sal/osl/w32/conditn.c
index c87d161137b4..7af4398284be 100644
--- a/sal/osl/w32/conditn.c
+++ b/sal/osl/w32/conditn.c
@@ -107,8 +107,7 @@ oslConditionResult SAL_CALL osl_waitCondition(oslCondition Condition,
while ( 1 )
{
/* Only wake up if a SendMessage call to the threads message loop is detected */
-
- switch( MsgWaitForMultipleObjects( 1, &(HANDLE)Condition, FALSE, timeout, QS_SENDMESSAGE ) )
+ switch( MsgWaitForMultipleObjects( 1, (HANDLE *)(&Condition), FALSE, timeout, QS_SENDMESSAGE ) )
{
case WAIT_OBJECT_0 + 1:
{
diff --git a/sal/osl/w32/diagnose.c b/sal/osl/w32/diagnose.c
index af1b67eff5ac..6a67c1aa5b0f 100644
--- a/sal/osl/w32/diagnose.c
+++ b/sal/osl/w32/diagnose.c
@@ -73,6 +73,7 @@ void SAL_CALL osl_breakDebug(void)
void SAL_CALL osl_trace(const sal_Char* lpszFormat, ...)
{
va_list args;
+ int written = 0;
va_start(args, lpszFormat);
@@ -90,7 +91,8 @@ void SAL_CALL osl_trace(const sal_Char* lpszFormat, ...)
{
sal_Char szMessage[512];
szMessage[sizeof(szMessage)-1] = 0;
- _vsnprintf( szMessage, sizeof(szMessage) -1, lpszFormat, args );
+ written = _vsnprintf( szMessage, sizeof(szMessage) - 2, lpszFormat, args );
+ szMessage[ written == -1 ? sizeof(szMessage) - 2 : written ] = '\n';
OutputDebugString( szMessage );
}
From 493cf3321476ff9478bc394ad279d64af71ede66 Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Tue, 28 Jul 2009 10:04:47 +0000
Subject: [PATCH 10/28] CWS-TOOLING: integrate CWS calc51 2009-07-17 15:47:46
+0200 er r274098 : #i101544# more thorough reference checking in chart data
ranges; also prevent some possible crash if invalid ranges were to be passed
to document/cell access. 2009-07-16 14:20:11 +0200 er r274051 : #i101544#
let ScRefTokenHelper::compileRangeRepresentation() fail on all possible
non-reference occasions 2009-07-07 10:11:40 +0200 nn r273776 : #i35579#
don't use long instead of sal_Int32 2009-07-03 16:41:39 +0200 nn r273711 :
msvc warnings 2009-07-03 14:18:45 +0200 nn r273698 : msvc warning 2009-07-03
11:30:41 +0200 nn r273685 : #i35579# move new tokens to the end 2009-07-03
10:12:55 +0200 nn r273681 : CWS-TOOLING: rebase CWS calc51 to trunk@273468
(milestone: DEV300:m51) 2009-06-30 17:57:30 +0200 nn r273529 : #i103027#
EnterData: if it's a formula, don't pass EditTextObject to undo 2009-06-29
14:31:18 +0200 er r273474 : #i101544# #i101645# #i102388# applied diff from
CWS dr68ooo311 2009-06-29 10:30:20 +0200 nn r273457 : #i103161# DeleteCells:
always leave list action 2009-06-24 16:16:34 +0200 nn r273353 : gcc warnings
2009-06-17 11:50:28 +0200 tbe r273055 : #i35579# Standard filter requires
more options 2009-06-17 11:44:22 +0200 tbe r273054 : #i35579# Standard
filter requires more options 2009-06-17 11:22:23 +0200 tbe r273052 :
#i35579# Standard filter requires more options 2009-06-15 18:29:32 +0200 nn
r273006 : #160063# UseFormulaData: check parenthesis position 2009-06-12
15:41:16 +0200 nn r272923 : #i99250# handle range lists in DoAutoOutline
(patch from dtardon) 2009-06-11 15:07:05 +0200 nn r272874 : #i86943#
GetNextPos: skip overlapped cells 2009-06-11 11:17:37 +0200 nn r272856 :
#i97726# EnterData: get text from EditTextObject for repeat string of undo
action 2009-06-10 20:45:07 +0200 nn r272839 : #i102566# minimum amount of
code between updates of calculation progress (patch by cmc) 2009-06-10
20:22:02 +0200 nn r272838 : #i69524# PasteFile: specify target for
SID_OPENDOC 2009-06-09 17:33:08 +0200 nn r272789 : #i16615#
absolute/relative reference conversion for cell ranges (patch by gaojingmei)
---
offapi/com/sun/star/sheet/FilterOperator2.idl | 164 ++++++++++++++++++
.../com/sun/star/sheet/TableFilterField2.idl | 106 +++++++++++
.../star/sheet/XSheetFilterDescriptor2.idl | 79 +++++++++
offapi/com/sun/star/sheet/makefile.mk | 3 +
4 files changed, 352 insertions(+)
create mode 100644 offapi/com/sun/star/sheet/FilterOperator2.idl
create mode 100644 offapi/com/sun/star/sheet/TableFilterField2.idl
create mode 100644 offapi/com/sun/star/sheet/XSheetFilterDescriptor2.idl
diff --git a/offapi/com/sun/star/sheet/FilterOperator2.idl b/offapi/com/sun/star/sheet/FilterOperator2.idl
new file mode 100644
index 000000000000..94935979c8f5
--- /dev/null
+++ b/offapi/com/sun/star/sheet/FilterOperator2.idl
@@ -0,0 +1,164 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2008 by Sun Microsystems, Inc.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: FilterOperator2.idl,v $
+ * $Revision: 1.7 $
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ *
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+#ifndef __com_sun_star_sheet_FilterOperator2_idl__
+#define __com_sun_star_sheet_FilterOperator2_idl__
+
+//=============================================================================
+
+module com { module sun { module star { module sheet {
+
+//=============================================================================
+
+/** specifies the type of a single condition in a filter descriptor.
+
+ This constants group extends the FilterOperator enum by
+ additional filter operators.
+
+ @since OOo 3.2
+ */
+published constants FilterOperator2
+{
+
+ //-------------------------------------------------------------------------
+
+ /** selects empty entries.
+ */
+ const long EMPTY = 0;
+
+ //-------------------------------------------------------------------------
+
+ /** selects non-empty entries.
+ */
+ const long NOT_EMPTY = 1;
+
+ //-------------------------------------------------------------------------
+
+ /** value has to be equal to the specified value.
+ */
+ const long EQUAL = 2;
+
+ //-------------------------------------------------------------------------
+
+ /** value must not be equal to the specified value.
+ */
+ const long NOT_EQUAL = 3;
+
+ //-------------------------------------------------------------------------
+
+ /** value has to be greater than the specified value.
+ */
+ const long GREATER = 4;
+
+ //-------------------------------------------------------------------------
+
+ /** value has to be greater than or equal to the specified value.
+ */
+ const long GREATER_EQUAL = 5;
+
+ //-------------------------------------------------------------------------
+
+ /** value has to be less than the specified value.
+ */
+ const long LESS = 6;
+
+ //-------------------------------------------------------------------------
+
+ /** value has to be less than or equal to the specified value.
+ */
+ const long LESS_EQUAL = 7;
+
+ //-------------------------------------------------------------------------
+
+ /** selects a specified number of entries with the greatest values.
+ */
+ const long TOP_VALUES = 8;
+
+ //-------------------------------------------------------------------------
+
+ /** selects a specified percentage of entries with the greatest values.
+ */
+ const long TOP_PERCENT = 9;
+
+ //-------------------------------------------------------------------------
+
+ /** selects a specified number of entries with the lowest values.
+ */
+ const long BOTTOM_VALUES = 10;
+
+ //-------------------------------------------------------------------------
+
+ /** selects a specified percentage of entries with the lowest values.
+ */
+ const long BOTTOM_PERCENT = 11;
+
+ //-------------------------------------------------------------------------
+
+ /** selects contains entries.
+ */
+ const long CONTAINS = 12;
+
+ //-------------------------------------------------------------------------
+
+ /** selects does-not-contain entries.
+ */
+ const long DOES_NOT_CONTAIN = 13;
+
+ //-------------------------------------------------------------------------
+
+ /** selects begins-with entries.
+ */
+ const long BEGINS_WITH = 14;
+
+ //-------------------------------------------------------------------------
+
+ /** selects does-not-begin-with entries.
+ */
+ const long DOES_NOT_BEGIN_WITH = 15;
+ //-------------------------------------------------------------------------
+
+ /** selects ends-with entries.
+ */
+ const long ENDS_WITH = 16;
+
+ //-------------------------------------------------------------------------
+
+ /** selects does-not-end-with entries.
+ */
+ const long DOES_NOT_END_WITH = 17;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
+
diff --git a/offapi/com/sun/star/sheet/TableFilterField2.idl b/offapi/com/sun/star/sheet/TableFilterField2.idl
new file mode 100644
index 000000000000..1cf50ddd547b
--- /dev/null
+++ b/offapi/com/sun/star/sheet/TableFilterField2.idl
@@ -0,0 +1,106 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2008 by Sun Microsystems, Inc.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: TableFilterField2.idl,v $
+ * $Revision: 1.7 $
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ *
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+#ifndef __com_sun_star_sheet_TableFilterField2_idl__
+#define __com_sun_star_sheet_TableFilterField2_idl__
+
+
+#ifndef __com_sun_star_sheet_FilterConnection_idl__
+#include
+#endif
+
+#ifndef __com_sun_star_sheet_FilterOperator2_idl__
+#include
+#endif
+
+//=============================================================================
+
+module com { module sun { module star { module sheet {
+
+//=============================================================================
+
+/** describes a single condition in a filter descriptor.
+
+ This struct has the FilterOperator2 constants group as
+ member, whereas the TableFilterField struct uses the
+ FilterOperator enum.
+
+ @see com::sun::star::sheet::SheetFilterDescriptor
+ @since OOo 3.2
+ */
+published struct TableFilterField2
+{
+ //-------------------------------------------------------------------------
+
+ /** specifies how the condition is connected to the previous condition.
+ */
+ com::sun::star::sheet::FilterConnection Connection;
+
+ //-------------------------------------------------------------------------
+
+ /** specifies which field (column) is used for the condition.
+ */
+ long Field;
+
+ //-------------------------------------------------------------------------
+
+ /** specifies the type of the condition as defined in
+ FilterOperator2.
+ */
+ long Operator;
+
+ //-------------------------------------------------------------------------
+
+ /** selects whether the TableFilterField2::NumericValue
+ or the TableFilterField2::StringValue is used.
+ */
+ boolean IsNumeric;
+
+ //-------------------------------------------------------------------------
+
+ /** specifies a numeric value for the condition.
+ */
+ double NumericValue;
+
+ //-------------------------------------------------------------------------
+
+ /** specifies a string value for the condition.
+ */
+ string StringValue;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+
+#endif
+
diff --git a/offapi/com/sun/star/sheet/XSheetFilterDescriptor2.idl b/offapi/com/sun/star/sheet/XSheetFilterDescriptor2.idl
new file mode 100644
index 000000000000..cc26a73c1674
--- /dev/null
+++ b/offapi/com/sun/star/sheet/XSheetFilterDescriptor2.idl
@@ -0,0 +1,79 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2008 by Sun Microsystems, Inc.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: XSheetFilterDescriptor2.idl,v $
+ * $Revision: 1.9 $
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ *
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+#ifndef __com_sun_star_sheet_XSheetFilterDescriptor2_idl__
+#define __com_sun_star_sheet_XSheetFilterDescriptor2_idl__
+
+#ifndef __com_sun_star_sheet_TableFilterField2_idl__
+#include
+#endif
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include
+#endif
+
+//=============================================================================
+
+module com { module sun { module star { module sheet {
+
+//=============================================================================
+
+/** provides access to a collection of filter conditions (filter fields).
+
+ This interface uses the TableFilterField2 struct,
+ whereas the XSheetFilterDescriptor interface uses the
+ TableFilterField struct.
+
+ @see com::sun::star::sheet::SheetFilterDescriptor
+ @since OOo 3.2
+ */
+published interface XSheetFilterDescriptor2: com::sun::star::uno::XInterface
+{
+ //-------------------------------------------------------------------------
+
+ /** returns the collection of filter fields.
+ */
+ sequence< com::sun::star::sheet::TableFilterField2 > getFilterFields2();
+
+ //-------------------------------------------------------------------------
+
+ /** sets a new collection of filter fields.
+ */
+ void setFilterFields2(
+ [in] sequence< com::sun::star::sheet::TableFilterField2 > aFilterFields );
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
+
diff --git a/offapi/com/sun/star/sheet/makefile.mk b/offapi/com/sun/star/sheet/makefile.mk
index f6ca0810604e..2ab831840d88 100644
--- a/offapi/com/sun/star/sheet/makefile.mk
+++ b/offapi/com/sun/star/sheet/makefile.mk
@@ -138,6 +138,7 @@ IDLFILES=\
FillMode.idl\
FilterConnection.idl\
FilterOperator.idl\
+ FilterOperator2.idl\
FormulaLanguage.idl\
FormulaMapGroup.idl\
FormulaMapGroupSpecialOffset.idl\
@@ -219,6 +220,7 @@ IDLFILES=\
TableConditionalEntryEnumeration.idl\
TableConditionalFormat.idl\
TableFilterField.idl\
+ TableFilterField2.idl\
TableOperationMode.idl\
TablePageBreakData.idl\
TablePageStyle.idl\
@@ -315,6 +317,7 @@ IDLFILES=\
XSheetConditionalEntries.idl\
XSheetConditionalEntry.idl\
XSheetFilterDescriptor.idl\
+ XSheetFilterDescriptor2.idl\
XSheetFilterable.idl\
XSheetFilterableEx.idl\
XSheetLinkable.idl\
From edd0538428b1a2d2b785f0d3ca343aac1fc2d971 Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Wed, 29 Jul 2009 14:46:52 +0000
Subject: [PATCH 11/28] CWS-TOOLING: integrate CWS dr71 2009-07-07 16:26:00
+0200 dr r273805 : #i10000# unused variables 2009-07-07 10:27:14 +0200 dr
r273780 : CWS-TOOLING: rebase CWS dr71 to trunk@273468 (milestone:
DEV300:m51) 2009-07-01 11:28:24 +0200 dr r273559 : #101471# special handling
for XL library functions in ODF formulas (EUROCONVERT) 2009-06-29 17:48:46
+0200 dr r273478 : #i101471# typo 2009-06-29 17:35:16 +0200 dr r273477 :
#i101471# import msoxl: formulas from conditional formatting and data
validation 2009-06-18 13:45:17 +0200 dr r273115 : #101471# changed interface
css.sheet.XFormulaParser 2009-06-18 13:44:43 +0200 dr r273114 : #101471#
changed interface css.sheet.XFormulaParser 2009-06-17 17:29:23 +0200 dr
r273089 : #i101471# extend the XFormulaParser interface with a
ReferencePosition parameter, make rel-refs from msoxl: namespace working
2009-06-17 17:28:39 +0200 dr r273088 : #i101471# extend the XFormulaParser
interface with a ReferencePosition parameter 2009-06-17 17:28:19 +0200 dr
r273087 : #i101471# extend the XFormulaParser interface with a
ReferencePosition parameter 2009-06-17 17:27:19 +0200 dr r273086 : #i101471#
extend the XFormulaParser interface with a ReferencePosition parameter,
remove that property from FormulaParser service 2009-06-17 12:52:20 +0200 dr
r273059 : #i101471# import cell formulas from msoxl: namespace 2009-06-16
11:40:50 +0200 dr r273013 : #i101471# import formula namespace from xml
elements 2009-06-12 18:34:13 +0200 dr r272935 : #i101471# external formula
parser for oox in odf 2009-06-12 18:33:13 +0200 dr r272934 : #i101471#
external formula parsers 2009-06-12 18:29:46 +0200 dr r272933 : #i101471#
external formula parsers 2009-06-05 15:53:47 +0200 dr r272705 : #i101471#
provide OOX formula parser as UNO service
---
.../sun/star/sheet/FilterFormulaParser.idl | 55 ++++++++++++++++
offapi/com/sun/star/sheet/FormulaParser.idl | 7 ---
.../sun/star/sheet/XFilterFormulaParser.idl | 62 +++++++++++++++++++
offapi/com/sun/star/sheet/XFormulaParser.idl | 14 ++---
offapi/com/sun/star/sheet/makefile.mk | 2 +
5 files changed, 126 insertions(+), 14 deletions(-)
create mode 100644 offapi/com/sun/star/sheet/FilterFormulaParser.idl
create mode 100644 offapi/com/sun/star/sheet/XFilterFormulaParser.idl
diff --git a/offapi/com/sun/star/sheet/FilterFormulaParser.idl b/offapi/com/sun/star/sheet/FilterFormulaParser.idl
new file mode 100644
index 000000000000..ed1a1d073e29
--- /dev/null
+++ b/offapi/com/sun/star/sheet/FilterFormulaParser.idl
@@ -0,0 +1,55 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2008 by Sun Microsystems, Inc.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: FilterFormulaParser.idl,v $
+ * $Revision: 1.1 $
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ *
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+#ifndef __com_sun_star_sheet_FilterFormulaParser_idl__
+#define __com_sun_star_sheet_FilterFormulaParser_idl__
+
+#include
+#include
+
+//=============================================================================
+
+module com { module sun { module star { module sheet {
+
+//=============================================================================
+
+/** A service used to implement parsing and printing formula strings in a
+ specific formula language.
+ */
+service FilterFormulaParser : XFilterFormulaParser
+{
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
+
diff --git a/offapi/com/sun/star/sheet/FormulaParser.idl b/offapi/com/sun/star/sheet/FormulaParser.idl
index ba38acf791b0..2f8be7e8ee9b 100644
--- a/offapi/com/sun/star/sheet/FormulaParser.idl
+++ b/offapi/com/sun/star/sheet/FormulaParser.idl
@@ -37,9 +37,6 @@
#ifndef __com_sun_star_sheet_XFormulaParser_idl__
#include
#endif
-#ifndef __com_sun_star_table_CellAddress_idl__
-#include
-#endif
#ifndef __com_sun_star_sheet_FormulaOpCodeMapEntry_idl__
#include
#endif
@@ -65,10 +62,6 @@ service FormulaParser
// ------------------------------------------------------------------------
- [property] com::sun::star::table::CellAddress ReferencePosition;
-
- // ------------------------------------------------------------------------
-
/** specifies whether to use English parser and formatter.
Note: When changing this, an already existing OpCodeMap
diff --git a/offapi/com/sun/star/sheet/XFilterFormulaParser.idl b/offapi/com/sun/star/sheet/XFilterFormulaParser.idl
new file mode 100644
index 000000000000..300a0981d09d
--- /dev/null
+++ b/offapi/com/sun/star/sheet/XFilterFormulaParser.idl
@@ -0,0 +1,62 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2008 by Sun Microsystems, Inc.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: XFilterFormulaParser.idl,v $
+ * $Revision: 1.1 $
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ *
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+#ifndef __com_sun_star_sheet_XFilterFormulaParser_idl__
+#define __com_sun_star_sheet_XFilterFormulaParser_idl__
+
+#include
+
+//=============================================================================
+
+module com { module sun { module star { module sheet {
+
+//=============================================================================
+
+/** Extends the interface XFormulaParser by an attribute that
+ specifies the namespace URL of the supported formula language.
+ */
+interface XFilterFormulaParser : XFormulaParser
+{
+ //-------------------------------------------------------------------------
+
+ /** Specifies the namespace URL of the formula language supported by this
+ implementation.
+ */
+ [attribute, readonly] string SupportedNamespace;
+
+ //-------------------------------------------------------------------------
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
+
diff --git a/offapi/com/sun/star/sheet/XFormulaParser.idl b/offapi/com/sun/star/sheet/XFormulaParser.idl
index b4c02cea3bd1..de78f00f02dd 100644
--- a/offapi/com/sun/star/sheet/XFormulaParser.idl
+++ b/offapi/com/sun/star/sheet/XFormulaParser.idl
@@ -31,13 +31,9 @@
#ifndef __com_sun_star_sheet_XFormulaParser_idl__
#define __com_sun_star_sheet_XFormulaParser_idl__
-#ifndef __com_sun_star_uno_XInterface_idl__
#include
-#endif
-
-#ifndef __com_sun_star_sheet_FormulaToken_idl__
#include
-#endif
+#include
//=============================================================================
@@ -53,13 +49,17 @@ interface XFormulaParser
/** parses a formula into a sequence of tokens.
*/
- sequence< FormulaToken > parseFormula( [in] string aFormula );
+ sequence< FormulaToken > parseFormula(
+ [in] string aFormula,
+ [in] ::com::sun::star::table::CellAddress aReferencePos );
//-------------------------------------------------------------------------
/** converts a formula into a string.
*/
- string printFormula( [in] sequence< FormulaToken > aTokens );
+ string printFormula(
+ [in] sequence< FormulaToken > aTokens,
+ [in] ::com::sun::star::table::CellAddress aReferencePos );
};
diff --git a/offapi/com/sun/star/sheet/makefile.mk b/offapi/com/sun/star/sheet/makefile.mk
index 2ab831840d88..468e96b9860b 100644
--- a/offapi/com/sun/star/sheet/makefile.mk
+++ b/offapi/com/sun/star/sheet/makefile.mk
@@ -137,6 +137,7 @@ IDLFILES=\
FillDirection.idl\
FillMode.idl\
FilterConnection.idl\
+ FilterFormulaParser.idl\
FilterOperator.idl\
FilterOperator2.idl\
FormulaLanguage.idl\
@@ -276,6 +277,7 @@ IDLFILES=\
XExternalSheetCache.idl\
XExternalSheetName.idl\
XFillAcrossSheet.idl\
+ XFilterFormulaParser.idl\
XFormulaOpCodeMapper.idl\
XFormulaParser.idl\
XFormulaQuery.idl\
From 24362c8045b7b8b28dba0509b8602c917f9ff84f Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Wed, 29 Jul 2009 15:33:56 +0000
Subject: [PATCH 12/28] CWS-TOOLING: integrate CWS cmcfixes61 2009-07-22
10:53:14 +0200 cmc r274224 : #i103714# duplicate patch 2009-07-22 10:45:26
+0200 cmc r274223 : #i103715# fix up m68k makefile.mk 2009-07-22 10:32:16
+0200 cmc r274222 : #i103714# || && new gcc warnings 2009-07-21 13:29:17
+0200 cmc r274190 : #i103651# fix for subpixel gray line in cairo canvas
animations 2009-07-20 17:35:58 +0200 cmc r274151 : #i103668# WaE over use of
const 2009-07-20 15:53:51 +0200 cmc r274146 : #i103664# use boost::addressof
instead 2009-07-20 15:38:40 +0200 cmc r274145 : #i103451# long -> INT32 for
these streamable values 2009-07-20 15:33:15 +0200 cmc r274144 : #i103663
clear low-hanging aliasing warnings 2009-07-20 15:28:23 +0200 cmc r274143 :
#i103662 clear low-hanging aliasing warnings 2009-07-20 15:21:46 +0200 cmc
r274142 : #i103661 clear low-hanging aliasing warnings 2009-07-20 15:16:05
+0200 cmc r274141 : #i103660 clear low-hanging aliasing warnings
---
bridges/source/cpp_uno/gcc3_linux_m68k/makefile.mk | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/bridges/source/cpp_uno/gcc3_linux_m68k/makefile.mk b/bridges/source/cpp_uno/gcc3_linux_m68k/makefile.mk
index 32d4b0d27dc9..8371d653a25b 100644
--- a/bridges/source/cpp_uno/gcc3_linux_m68k/makefile.mk
+++ b/bridges/source/cpp_uno/gcc3_linux_m68k/makefile.mk
@@ -61,8 +61,7 @@ CFLAGSNOOPT=-O0
SLOFILES= \
$(SLO)$/cpp2uno.obj \
$(SLO)$/except.obj \
- $(SLO)$/uno2cpp.obj \
- $(SLO)$/m68khelper.obj
+ $(SLO)$/uno2cpp.obj
SHL1TARGET= $(TARGET)
@@ -83,6 +82,3 @@ SHL1STDLIBS= \
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
-
-$(SLO)$/%.obj: %.s
- $(CXX) -c -o $(SLO)$/$(@:b).o $< -fPIC ; touch $@
From 35ab9bfcde933043b98197bb10e07992e2b8b9cd Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Thu, 30 Jul 2009 10:24:24 +0000
Subject: [PATCH 13/28] CWS-TOOLING: integrate CWS wordencryption 2009-07-10
09:42:25 +0200 mav r273872 : resolve merge problem 2009-07-08 07:46:13 +0200
mav r273815 : CWS-TOOLING: rebase CWS wordencryption to trunk@273468
(milestone: DEV300:m51) 2009-07-03 10:38:03 +0200 mav r273682 : #i10000#
resolve conflict 2009-07-02 08:47:35 +0200 steve_yin r273618 : Removed
IBM(C) from modified files. 2009-06-22 04:34:44 +0200 steve_yin r273191 :
Based on Mikhail suggestions, I changed some code. 2009-06-18 09:37:14 +0200
mav r273100 : #i10000# get rid of windows warnings 2009-06-17 08:18:33 +0200
mav r273047 : #i10000# adopt for linux build
---
.../star/task/DocumentMSPasswordRequest.idl | 67 +++++++++++++++++++
offapi/com/sun/star/task/makefile.mk | 2 +
2 files changed, 69 insertions(+)
create mode 100644 offapi/com/sun/star/task/DocumentMSPasswordRequest.idl
diff --git a/offapi/com/sun/star/task/DocumentMSPasswordRequest.idl b/offapi/com/sun/star/task/DocumentMSPasswordRequest.idl
new file mode 100644
index 000000000000..6e4adec10720
--- /dev/null
+++ b/offapi/com/sun/star/task/DocumentMSPasswordRequest.idl
@@ -0,0 +1,67 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright IBM Corporation 2009.
+ * Copyright 2009 by Sun Microsystems, Inc.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: DocumentMSPasswordRequest.idl,v $
+ * $Revision: 1.0 $
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ *
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_task_DocumentMSPasswordRequest_idl__
+#define __com_sun_star_task_DocumentMSPasswordRequest_idl__
+
+#ifndef __com_sun_star_task_PasswordRequest_idl__
+#include
+#endif
+
+
+//=============================================================================
+
+module com { module sun { module star { module task {
+
+//=============================================================================
+/** this request specifies the mode in which the password for Microsoft Office file format encryption should be asked
+
+
+ It is supported by InteractionHandler service, and can
+ be used to interact for a document password. Continuations for using with
+ the mentioned service are Abort and Approve.
+
+
+ @since OOo 3.x.x
+*/
+published exception DocumentMSPasswordRequest: PasswordRequest
+{
+ //-------------------------------------------------------------------------
+ /** the name of the document
+ */
+ string Name;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/task/makefile.mk b/offapi/com/sun/star/task/makefile.mk
index 366d531fc847..1559901f740c 100644
--- a/offapi/com/sun/star/task/makefile.mk
+++ b/offapi/com/sun/star/task/makefile.mk
@@ -3,6 +3,7 @@
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2008 by Sun Microsystems, Inc.
+# Copyright IBM Corporation 2009.
#
# OpenOffice.org - a multi-platform office productivity suite
#
@@ -45,6 +46,7 @@ IDLFILES=\
ClassifiedInteractionRequest.idl\
DocumentMacroConfirmationRequest.idl\
DocumentPasswordRequest.idl\
+ DocumentMSPasswordRequest.idl\
ErrorCodeRequest.idl\
ErrorCodeIOException.idl\
FutureDocumentVersionProductUpdateRequest.idl\
From 80ce7e5e97f52b5a900b8a09d232656fa75f3cb0 Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Thu, 30 Jul 2009 10:30:12 +0000
Subject: [PATCH 14/28] CWS-TOOLING: integrate CWS filepicker02 2009-07-24
16:20:33 +0200 cd r274312 : #i95152# Use trimTrailingBlanks() correctly
2009-07-21 14:41:50 +0200 cd r274197 : #i103566# Makes fixes for MinGW port
2009-07-20 10:45:57 +0200 cd r274112 : #i95152# Return empty string when
there are only blanks 2009-07-17 14:53:51 +0200 cd r274093 : #i95152# Old
Windows file picker implementation now trims trailing blanks like the new
Vista file picker 2009-07-17 09:45:38 +0200 cd r274080 : #i99759# Apply
stability fixes from CWS filepicker01 to help QA 2009-07-17 09:00:26 +0200 cd
r274078 : #i95336# Extend SfxApplication to reset last used directory
2009-07-17 08:59:10 +0200 cd r274077 : #i99759# Apply fix from filepicker01
to filepicker02 to help QA 2009-07-17 08:58:45 +0200 cd r274076 : #i99759#
Apply fix from filepicker01 to filepicker02 to help QA 2009-07-16 16:08:17
+0200 cd r274059 : #103566# Use AddPlace as a fallback for directories which
are not change the current folder 2009-07-16 11:54:26 +0200 cd r274038 :
#i103566# Use provided folder and filename to decide to set the folder in the
file dialog 2009-07-15 17:19:47 +0200 cd r274016 : #i95336# Set flag to true
to force the file picker to use the default working path. 2009-07-14 14:49:48
+0200 cd r273977 : #i103346# Set work path flag to indicate file picker to
use work path once 2009-07-14 14:47:49 +0200 cd r273976 : #i95336# New
configuration entry for work path changes via Tools-Options 2009-07-14
14:46:19 +0200 cd r273975 : #i95336# Force file picker to use a changed work
path once 2009-07-14 10:19:54 +0200 cd r273961 : #i103346# Add new advice
for file picker usage. Especially for Windows Vista and higher. 2009-07-09
10:32:08 +0200 cd r273852 : #i97053# Use SetFolder()/AddPlace() for Open
dialog, too. 2009-07-06 14:59:06 +0200 cd r273746 : #i103346# Destroy dialog
instance within close handler to prevent problems with custom controls under
Windows 2009-07-03 15:25:48 +0200 cd r273707 : #i94054# Add resource access
to read localized labels for custom controls. Use SetControlLabel to set the
localized label
---
offapi/com/sun/star/ui/dialogs/FilePicker.idl | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/offapi/com/sun/star/ui/dialogs/FilePicker.idl b/offapi/com/sun/star/ui/dialogs/FilePicker.idl
index b2f4d8ed258c..c15ab0287631 100644
--- a/offapi/com/sun/star/ui/dialogs/FilePicker.idl
+++ b/offapi/com/sun/star/ui/dialogs/FilePicker.idl
@@ -60,6 +60,11 @@ module com { module sun { module star { module ui { module dialogs {
//=============================================================================
/** A FilePicker.
+ It is NOT recommended to cache a reference to a file
+ picker instance. Due to restrictions by the underlying system there can
+ be specific limitations possible. To overcome these problems it'
+ s recommended to create a new instance on demand.
+
@see XFilePicker
*/
From 854b9eeffec7681a78b7c6467c02ab5a44a14435 Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Thu, 30 Jul 2009 10:52:48 +0000
Subject: [PATCH 15/28] CWS-TOOLING: integrate CWS fwk114 2009-07-08 Mikhail
Voytenko #i102448# fix typo 2009-07-08 Mikhail Voytenko #i102448# detect the
document of new format correctly 2009-07-03 Mikhail Voytenko #i101418# adjust
header 2009-07-02 Mikhail Voytenko #i103001# Integrate the patch 2009-07-01
Mikhail Voytenko rebase to DEV300_m51 2009-06-25 Mikhail Voytenko #i71512#
integrate the patch 2009-06-19 Mikhail Voytenko #i102931# check whether the
file was changed even in case of system file locking 2009-06-10 Mikhail
Voytenko #i102448# allow to turn the office update dialog off 2009-06-10
Mikhail Voytenko #i102448# allow to turn the office update dialog off
2009-06-09 Mikhail Voytenko #i96091# the disposed frame should throw
DisposedException 2009-06-09 Mikhail Voytenko #i100835# commit the patch
2009-05-26 Mikhail Voytenko #i89514# integrate the patch 2009-05-26 Mikhail
Voytenko #i30373# integrate the patch 2009-05-26 Mikhail Voytenko #i101418#
fix the error handling
---
sal/osl/os2/util.c | 5 ---
sal/osl/unx/file_path_helper.cxx | 10 -----
sal/osl/unx/file_path_helper.h | 17 -------
sal/osl/unx/file_path_helper.hxx | 19 --------
sal/osl/unx/file_url.cxx | 56 -----------------------
sal/osl/unx/util.c | 77 +-------------------------------
sal/osl/w32/util.c | 9 ----
7 files changed, 1 insertion(+), 192 deletions(-)
diff --git a/sal/osl/os2/util.c b/sal/osl/os2/util.c
index 4dd08c00aed3..217c71878838 100644
--- a/sal/osl/os2/util.c
+++ b/sal/osl/os2/util.c
@@ -32,11 +32,6 @@
-extern sal_Bool osl_getEtherAddr(sal_Char* pszAddr, sal_uInt16 BufferSize)
-{
- return sal_False;
-}
-
extern sal_Bool osl_getEthernetAddress( sal_uInt8 * pTargetAddress )
{
return sal_False;
diff --git a/sal/osl/unx/file_path_helper.cxx b/sal/osl/unx/file_path_helper.cxx
index 0f6ad9e216ad..434a5a516e5c 100644
--- a/sal/osl/unx/file_path_helper.cxx
+++ b/sal/osl/unx/file_path_helper.cxx
@@ -124,16 +124,6 @@
return ((0 == pustrPath->length) || (pustrPath->buffer[0] != FPH_CHAR_PATH_SEPARATOR));
}
- /******************************************
- * osl_systemPathIsAbsolutePath
- *****************************************/
-
- sal_Bool SAL_CALL osl_systemPathIsAbsolutePath(const rtl_uString* pustrPath)
- {
- OSL_PRECOND(pustrPath, "osl_systemPathIsAbsolutePath: Invalid parameter");
- return (!osl_systemPathIsRelativePath(pustrPath));
- }
-
/******************************************
osl_systemPathMakeAbsolutePath
*****************************************/
diff --git a/sal/osl/unx/file_path_helper.h b/sal/osl/unx/file_path_helper.h
index 17c6f0b71fba..3a89077e5633 100644
--- a/sal/osl/unx/file_path_helper.h
+++ b/sal/osl/unx/file_path_helper.h
@@ -104,23 +104,6 @@
sal_Bool SAL_CALL osl_systemPathIsRelativePath(
const rtl_uString* pustrPath);
- /******************************************
- osl_systemPathIsAbsolutePath
- Returns true if the given path is an
- absolute path and so starts with a '/'
-
- @param pustrPath [in] a system path
- pustrPath must not be NULL
-
- @returns sal_True if the given path
- start's with a separator else
- sal_False will be returned
-
- *****************************************/
-
- sal_Bool SAL_CALL osl_systemPathIsAbsolutePath(
- const rtl_uString* pustrPath);
-
/******************************************
osl_systemPathMakeAbsolutePath
Append a relative path to a base path
diff --git a/sal/osl/unx/file_path_helper.hxx b/sal/osl/unx/file_path_helper.hxx
index ee38c14648c2..2a1d74687493 100644
--- a/sal/osl/unx/file_path_helper.hxx
+++ b/sal/osl/unx/file_path_helper.hxx
@@ -105,25 +105,6 @@ namespace osl
return osl_systemPathIsRelativePath(Path.pData);
}
- /******************************************
- systemPathIsAbsolutePath
- Returns true if the given path is an
- absolute path and so starts with a '/'
-
- @param pustrPath [in] a system path
- pustrPath must not be NULL
-
- @returns sal_True if the given path
- start's with a separator else
- sal_False will be returned
-
- *****************************************/
-
- inline bool systemPathIsAbsolutePath(const rtl::OUString& Path)
- {
- return osl_systemPathIsAbsolutePath(Path.pData);
- }
-
/******************************************
systemPathMakeAbsolutePath
Append a relative path to a base path
diff --git a/sal/osl/unx/file_url.cxx b/sal/osl/unx/file_url.cxx
index 602e8a98beac..1d6b9172bc6d 100644
--- a/sal/osl/unx/file_url.cxx
+++ b/sal/osl/unx/file_url.cxx
@@ -459,39 +459,6 @@ namespace /* private */
return (pStr + rtl_ustr_getLength(pStr));
}
- /*********************************************
-
- ********************************************/
- sal_Unicode* ustrcpy(const sal_Unicode* s, sal_Unicode* d)
- {
- const sal_Unicode* sc = s;
- sal_Unicode* dc = d;
-
- while ((*dc++ = *sc++))
- /**/;
-
- return d;
- }
-
- /*********************************************
-
- ********************************************/
-
- sal_Unicode* ustrncpy(const sal_Unicode* s, sal_Unicode* d, unsigned int n)
- {
- const sal_Unicode* sc = s;
- sal_Unicode* dc = d;
- unsigned int i = n;
-
- while (i--)
- *dc++ = *sc++;
-
- if (n)
- *dc = 0;
-
- return d;
- }
-
/*********************************************
********************************************/
@@ -504,17 +471,6 @@ namespace /* private */
return d;
}
- /*********************************************
-
- ********************************************/
-
- sal_Unicode* ustrcat(const sal_Unicode* s, sal_Unicode* d)
- {
- sal_Unicode* dc = ustrtoend(d);
- ustrcpy(s, dc);
- return d;
- }
-
/******************************************************
*
******************************************************/
@@ -527,18 +483,6 @@ namespace /* private */
return (*p == Chr);
}
- /******************************************************
- * Ensure that the given string has the specified last
- * character if necessary append it
- ******************************************************/
-
- sal_Unicode* _strensurelast(sal_Unicode* pStr, sal_Unicode Chr)
- {
- if (!_islastchr(pStr, Chr))
- ustrchrcat(Chr, pStr);
- return pStr;
- }
-
/******************************************************
* Remove the last part of a path, a path that has
* only a '/' or no '/' at all will be returned
diff --git a/sal/osl/unx/util.c b/sal/osl/unx/util.c
index c0b9e3c5aa09..66746fd3ff44 100644
--- a/sal/osl/unx/util.c
+++ b/sal/osl/unx/util.c
@@ -51,11 +51,10 @@
static int osl_getHWAddr(const char *ifname, char* hard_addr);
static int osl_checkAddr(const char* addr);
-static char* osl_decodeEtherAddr(const char *ptr, char* buff);
/*****************************************************************************/
-/* osl_getEtherAddr */
+/* osl_getEthernetAddress */
/*****************************************************************************/
sal_Bool SAL_CALL osl_getEthernetAddress( sal_uInt8 * pAddr )
@@ -124,68 +123,6 @@ sal_Bool SAL_CALL osl_getEthernetAddress( sal_uInt8 * pAddr )
}
-extern sal_Bool osl_getEtherAddr(sal_Char* pszAddr, sal_uInt16 BufferSize)
-{
- char buff[1024];
- char hard_addr[64];
- struct ifconf ifc;
- struct ifreq *ifr;
- int i;
- int so;
-
- (void) BufferSize; /* unused */
-
- if ( pszAddr == 0 )
- {
- return sal_False;
- }
-
-
- /*
- * All we need is ... a network file descriptor.
- * Normally, this is a very socket.
- */
-
- so = socket(AF_INET, SOCK_DGRAM, 0);
-
-
- /*
- * The first thing we have to do, get the interface configuration.
- * It is a list of attached/configured interfaces
- */
-
- ifc.ifc_len = sizeof(buff);
- ifc.ifc_buf = buff;
- if ( ioctl(so, SIOCGIFCONF, &ifc) < 0 )
- {
-/* fprintf(stderr, "SIOCGIFCONF: %s\n", strerror(errno));*/
- close(so);
- return sal_False;
- }
-
- close(so);
-
- /*
- * For each of the interfaces in the interface list,
- * try to get the hardware address
- */
-
- ifr = ifc.ifc_req;
- for ( i = ifc.ifc_len / sizeof(struct ifreq) ; --i >= 0 ; ifr++ )
- {
- int nRet=0;
- nRet = osl_getHWAddr(ifr->ifr_name,hard_addr);
- if ( nRet > 0 )
- {
- osl_decodeEtherAddr(hard_addr,pszAddr);
- return sal_True;
- }
- }
-
- return sal_False;
-}
-
-
/*****************************************************************************/
/* osl_getHWAddr */
/*****************************************************************************/
@@ -285,18 +222,6 @@ static int osl_checkAddr(const char* addr)
}
-/*****************************************************************************/
-/* osl_decodeEtherAddr */
-/*****************************************************************************/
-
-static char* osl_decodeEtherAddr(const char *ptr, char* buff)
-{
- sprintf(buff, "%02X:%02X:%02X:%02X:%02X:%02X",
- (ptr[0] & 0377), (ptr[1] & 0377), (ptr[2] & 0377),
- (ptr[3] & 0377), (ptr[4] & 0377), (ptr[5] & 0377));
- return(buff);
-}
-
#if defined (SPARC)
#if defined (SOLARIS) && !defined(__sparcv8plus) && !defined(__sparcv9)
diff --git a/sal/osl/w32/util.c b/sal/osl/w32/util.c
index a952de1dba8c..34c7b7ada53d 100644
--- a/sal/osl/w32/util.c
+++ b/sal/osl/w32/util.c
@@ -32,15 +32,6 @@
-extern sal_Bool osl_getEtherAddr(sal_Char* pszAddr, sal_uInt16 BufferSize)
-{
- /* avoid warnings */
- pszAddr = pszAddr;
- BufferSize = BufferSize;
-
- return sal_False;
-}
-
extern sal_Bool SAL_CALL osl_getEthernetAddress( sal_uInt8 *pAddr )
{
pAddr = pAddr; /* avoid warnings */
From e64d8c0b669c52442cedc34a526ce4391827b7df Mon Sep 17 00:00:00 2001
From: Release Engineers
Date: Thu, 6 Aug 2009 07:01:05 +0000
Subject: [PATCH 16/28] CWS-TOOLING: integrate CWS jsc320 2009-07-31 11:40:04
+0200 jsc r274518 : #103926# apply patch 2009-07-16 17:17:01 +0200 jsc
r274063 : #i103311# check new Solaris compiler version ox5100 2009-07-07
17:20:41 +0200 jsc r273811 : cleanup 2009-07-07 15:21:26 +0200 jsc r273799
: #98322# correct LD_LIBRARY_PATH, sdk/lib dir instead of
sdkout/platfrom/lib, all unix excepting mac 2009-07-07 15:07:05 +0200 jsc
r273798 : #i98322# correct link 2009-07-07 09:43:57 +0200 jsc r273773 :
#i98322# correct link path 2009-07-06 15:49:07 +0200 jsc r273749 : #i98322#
correct typo 2009-07-06 14:17:27 +0200 jsc r273743 : #i103311# support
sunstudio compiler 12u1, version 5.10 (which results in 0x5100) 2009-07-03
13:54:58 +0200 jsc r273693 : #i96576# support opensolaris and enhance docu
to relfect usage of gmake 2009-07-02 13:12:02 +0200 jsc r273643 : #i103260#
improve fix by using EXECPOST variable 2009-07-02 13:11:30 +0200 jsc r273642
: #i103260# improve fix by using EXECPOST variable 2009-07-02 13:05:35 +0200
jsc r273640 : #i103260# correct typo for windows 2009-07-02 13:01:34 +0200
jsc r273639 : #i103260# provide regview with path as argument 2009-07-01
07:18:01 +0200 jsc r273541 : CWS-TOOLING: rebase CWS jsc320 to trunk@273468
(milestone: DEV300:m51) 2009-06-30 08:01:13 +0200 jsc r273485 : #98322#
include import purpenvhelper lib under windows 2009-06-10 15:07:29 +0200 jsc
r272815 : CWS-TOOLING: rebase CWS jsc320 to trunk@272291 (milestone:
DEV300:m49) 2009-05-27 09:36:23 +0200 jsc r272329 : #i98322# create link for
purpenvhelper library in SDK 2009-05-27 09:35:41 +0200 jsc r272328 :
#i98322# create link for purpenvhelpr library in SDK 2009-05-14 16:19:41
+0200 jsc r271900 : increase version number in SDK header image 2009-05-14
16:11:05 +0200 jsc r271899 : #i101408# new version 3.2 2009-05-14 15:33:47
+0200 jsc r271894 : #i99163# apply patch to correct wrong tags for autodoc
2009-05-14 14:49:58 +0200 jsc r271889 : #i99707# apply patch to remove
unused code
---
cppu/inc/uno/lbnames.h | 7 ++---
.../star/awt/tree/XTreeDataModelListener.idl | 2 +-
offapi/util/checknewapi.pl | 10 ++++---
offapi/util/makefile.mk | 3 +-
rdbmaker/inc/codemaker/dependency.hxx | 1 -
rdbmaker/inc/codemaker/global.hxx | 4 ---
rdbmaker/source/codemaker/dependency.cxx | 29 -------------------
7 files changed, 11 insertions(+), 45 deletions(-)
diff --git a/cppu/inc/uno/lbnames.h b/cppu/inc/uno/lbnames.h
index 27a6f1094a0a..481180fda953 100644
--- a/cppu/inc/uno/lbnames.h
+++ b/cppu/inc/uno/lbnames.h
@@ -46,12 +46,9 @@
#endif /* (_MSC_VER < 1000) */
/* sunpro cc */
#elif defined (__SUNPRO_CC)
-#if (__SUNPRO_CC < 0x500)
-#error "sunpro cc must be at least 5.x"
-provoking error here, because PP ignores #error
-#elif (__SUNPRO_CC < 0x600)
+#if ((__SUNPRO_CC >= 0x5000 && __SUNPRO_CC < 0x6000) || (__SUNPRO_CC >= 0x500 && __SUNPRO_CC < 0x600))
#define TMP_CPPU_ENV sunpro5
-#else
+#elif
#error "sunpro cc version must be 5.x"
provoking error here, because PP ignores #error
#endif /* defined (__SUNPRO_CC) */
diff --git a/offapi/com/sun/star/awt/tree/XTreeDataModelListener.idl b/offapi/com/sun/star/awt/tree/XTreeDataModelListener.idl
index 81e98b301954..8ea308f69a6f 100644
--- a/offapi/com/sun/star/awt/tree/XTreeDataModelListener.idl
+++ b/offapi/com/sun/star/awt/tree/XTreeDataModelListener.idl
@@ -62,7 +62,7 @@ interface XTreeDataModelListener: com::sun::star::lang::XEventListener
Example: the name of a file has changed, but it is in the same location in the file system.
To indicate the root has changed, TreeDataModelEvent::Nodes will contain
- the root node and and TreeDataModelEvent::ParentNodeTreeDataModelEvent::ParentNode will be empty.
*/
void treeNodesChanged( [in] TreeDataModelEvent Event );
diff --git a/offapi/util/checknewapi.pl b/offapi/util/checknewapi.pl
index 9c810d695461..e3141cda0737 100755
--- a/offapi/util/checknewapi.pl
+++ b/offapi/util/checknewapi.pl
@@ -6,23 +6,25 @@
# Copyright (c) 2005 Sun Microsystems, Inc.
#
-if($#ARGV != 2)
+if($#ARGV != 3)
{
- die "usage: checknewapi \n";
+ die "usage: checknewapi \n";
}
-e "$ARGV[0]" || die "ERROR: type library \"$ARGV[0]\" does not exist\n";
-e "$ARGV[1]" || die "ERROR: reference type library \"$ARGV[1]\" does not exist\n";
+-e "$ARGV[3]" || die "ERROR: invalid path to the regview tool \"$ARGV[3]\", please specify the full qualified path\n";
# debug flag
$DEBUG = 0;
$main::buildinfo = "$ARGV[2]";
+$main::regview = "$ARGV[3]";
%{$main::reftypes} = ();
%{$main::currenttypes} = ();
%{$main::removedtypes} = ();
-open ( FILEIN, "regview \"$ARGV[0]\" |" ) || die "could not use content of current typelibrary \"$ARGV[0]\", regview doesn't work\n";
+open ( FILEIN, "$main::regview \"$ARGV[0]\" |" ) || die "could not use content of current typelibrary \"$ARGV[0]\", regview doesn't work\n";
if ($DEBUG == 1)
{
@@ -74,7 +76,7 @@ while ()
close( FILEIN );
close( CURRENT );
-open ( FILEIN, "regview \"$ARGV[1]\" |" ) || die "could not use content of reference type library \"$ARGV[1]\", regview doesn't work\n";
+open ( FILEIN, "$main::regview \"$ARGV[1]\" |" ) || die "could not use content of reference type library \"$ARGV[1]\", regview doesn't work\n";
if ($DEBUG == 1)
{
diff --git a/offapi/util/makefile.mk b/offapi/util/makefile.mk
index 6e4a41503a56..52b63249839a 100644
--- a/offapi/util/makefile.mk
+++ b/offapi/util/makefile.mk
@@ -152,6 +152,7 @@ REGISTRYCHECKFLAG=$(MISC)$/registrycheck.flag
UNOTYPE_STATISTICS=$(MISC)$/unotype_statistics.txt
+REGVIEWTOOL=$(SOLARBINDIR)$/regview$(EXECPOST)
# --- Targets ------------------------------------------------------
@@ -183,6 +184,6 @@ $(REGISTRYCHECKFLAG) : $(UCR)$/types.db $(OUT)$/ucrdoc$/types_doc.db
#JSC: new target to prepare some UNO type statistics, the ouput will be later used
# for versioning of UNO cli type libraries
$(UNOTYPE_STATISTICS) : $(REGISTRYCHECKFLAG)
- $(AUGMENT_LIBRARY_PATH) $(PERL) checknewapi.pl $(UCR)$/types.db $(REFERENCE_RDB) "$(RSCREVISION)" > $@
+ $(AUGMENT_LIBRARY_PATH) $(PERL) checknewapi.pl $(UCR)$/types.db $(REFERENCE_RDB) "$(RSCREVISION)" "$(REGVIEWTOOL)" > $@
.INCLUDE : target.mk
diff --git a/rdbmaker/inc/codemaker/dependency.hxx b/rdbmaker/inc/codemaker/dependency.hxx
index c0fff9da7c7d..648564d8f50b 100644
--- a/rdbmaker/inc/codemaker/dependency.hxx
+++ b/rdbmaker/inc/codemaker/dependency.hxx
@@ -154,7 +154,6 @@ public:
sal_Bool insert(const ::rtl::OString& type, const ::rtl::OString& depend, sal_uInt16);
TypeUsingSet getDependencies(const ::rtl::OString& type);
- sal_Bool lookupDependency(const ::rtl::OString& type, const ::rtl::OString& depend, sal_uInt16);
sal_Bool hasDependencies(const ::rtl::OString& type);
void setGenerated(const ::rtl::OString& type, sal_uInt16 genFlag=CODEGEN_DEFAULT);
diff --git a/rdbmaker/inc/codemaker/global.hxx b/rdbmaker/inc/codemaker/global.hxx
index df1f588f5ffc..26133477dfa0 100644
--- a/rdbmaker/inc/codemaker/global.hxx
+++ b/rdbmaker/inc/codemaker/global.hxx
@@ -75,10 +75,6 @@ typedef ::std::set< ::rtl::OString, LessString > StringSet;
::rtl::OString makeTempName();
const ::rtl::OString inGlobalSet(const ::rtl::OUString & r);
-inline const ::rtl::OString inGlobalSet(sal_Char* p)
-{
- return inGlobalSet( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(p) ) );
-}
::rtl::OUString convertToFileUrl(const ::rtl::OString& fileName);
diff --git a/rdbmaker/source/codemaker/dependency.cxx b/rdbmaker/source/codemaker/dependency.cxx
index 091b379aa298..692184a8be3f 100644
--- a/rdbmaker/source/codemaker/dependency.cxx
+++ b/rdbmaker/source/codemaker/dependency.cxx
@@ -100,35 +100,6 @@ TypeUsingSet TypeDependency::getDependencies(const OString& type)
return TypeUsingSet();
}
-sal_Bool TypeDependency::lookupDependency(const OString& type, const OString& depend, sal_uInt16 use)
-{
- sal_Bool ret = sal_False;
-
- if (type.getLength() > 0 && depend.getLength() > 0)
- {
- if (m_pImpl->m_dependencies.count(type) > 0)
- {
- TypeUsingSet::const_iterator iter = m_pImpl->m_dependencies[type].begin();
-
- while (iter != m_pImpl->m_dependencies[type].end())
- {
- if (depend == (*iter).m_type &&
- (use & (*iter).m_use))
- {
- ret = sal_True;
- break;
- }
- iter++;
- }
- } else
- {
- ret = sal_False;
- }
- }
-
- return ret;
-}
-
sal_Bool TypeDependency::hasDependencies(const OString& type)
{
if (type.getLength() > 0)
From 215c00378fc1ff4f62ccd2f82e012e3c1c1a0b35 Mon Sep 17 00:00:00 2001
From: Release Engineers
Date: Thu, 6 Aug 2009 09:32:55 +0000
Subject: [PATCH 17/28] CWS-TOOLING: integrate CWS extmgr01 2009-07-28 15:37:52
+0200 dv r274410 : #i103856# Create dialog before using it 2009-07-27
15:24:42 +0200 dv r274368 : #i103831# Made selectEntry virtual so the
correct function will be used from the listbox with buttons 2009-07-27
14:17:08 +0200 dv r274366 : #i103831# Made selectEntry virtual so the
correct function will be used from the listbox with buttons 2009-07-07
08:23:17 +0200 dv r273765 : #i102666# Extension check on startup after
office update -> fixed repaint problem 2009-07-06 11:28:28 +0200 dv r273729
: #i102666# Extension check on startup after office update -> fixed Mac OS X
issues 2009-07-02 15:01:35 +0200 dv r273654 : #i102666# Extension check on
startup after office update -> set last checked to never when aborting
2009-07-01 12:18:52 +0200 dv r273564 : Removed unused variable 2009-07-01
07:25:01 +0200 dv r273542 : #i102666# Extension check on startup after
office update -> better layout 2009-06-30 14:56:16 +0200 dv r273506 :
#i102666# Extension check on startup after office update -> mark incompatible
extensions in extension manager 2009-06-30 12:43:55 +0200 dv r273502 :
CWS-TOOLING: rebase CWS extmgr01 to trunk@273468 (milestone: DEV300:m51)
2009-06-29 13:26:54 +0200 dv r273469 : Now with newline at the end
2009-06-29 11:54:07 +0200 dv r273462 : #i102666# Extension check on startup
after office update -> exit button of dialog disables extensions, too
2009-06-26 16:26:02 +0200 dv r273428 : #i102666# Extension check on startup
after office update -> better progress handling 2009-06-26 14:50:34 +0200 dv
r273417 : fixed crash when shutting down while initial waiting 2009-06-26
14:46:40 +0200 dv r273416 : #i102666# Extension check on startup after
office update 2009-06-24 07:30:57 +0200 dv r273306 : #i102666# Extension
check on startup after update 2009-06-11 12:03:10 +0200 dv r272863 :
#i102666# Extension check on startup after update 2009-06-11 11:59:29 +0200
dv r272862 : #i102666# Extension check on startup after update 2009-06-09
15:50:05 +0200 dv r272773 : CWS-TOOLING: rebase CWS extmgr01 to trunk@272291
(milestone: DEV300:m49)
---
offapi/com/sun/star/deployment/XPackage.idl | 22 ++++++--
.../deployment/ui/UpdateRequiredDialog.idl | 54 +++++++++++++++++++
offapi/com/sun/star/deployment/ui/makefile.mk | 5 +-
3 files changed, 76 insertions(+), 5 deletions(-)
create mode 100644 offapi/com/sun/star/deployment/ui/UpdateRequiredDialog.idl
diff --git a/offapi/com/sun/star/deployment/XPackage.idl b/offapi/com/sun/star/deployment/XPackage.idl
index 4847f09090a2..36799875eee1 100644
--- a/offapi/com/sun/star/deployment/XPackage.idl
+++ b/offapi/com/sun/star/deployment/XPackage.idl
@@ -6,9 +6,6 @@
*
* OpenOffice.org - a multi-platform office productivity suite
*
- * $RCSfile: XPackage.idl,v $
- * $Revision: 1.14 $
- *
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
@@ -102,6 +99,25 @@ interface XPackage
com::sun::star::ucb::CommandFailedException,
com::sun::star::ucb::CommandAbortedException);
+ /** checks if the dependencies for this package are still satisfied
+
+ After updateing the OpenOffice.org, some dependencies for packages might
+ no longer be satisfied.
+
+ @since OOo 3.2.0
+
+ @param xCmdEnv
+ command environment for error handling and other interaction.
+
+ @return
+ true - all dependencies are satisfied
+ false - at least one dependency failed.
+ */
+ boolean checkDependencies(
+ [in] com::sun::star::ucb::XCommandEnvironment xCmdEnv )
+ raises (DeploymentException,
+ com::sun::star::ucb::CommandFailedException);
+
/** determines whether the package is currently is registered, i.e.
whether it is active.
diff --git a/offapi/com/sun/star/deployment/ui/UpdateRequiredDialog.idl b/offapi/com/sun/star/deployment/ui/UpdateRequiredDialog.idl
new file mode 100644
index 000000000000..761070eb7443
--- /dev/null
+++ b/offapi/com/sun/star/deployment/ui/UpdateRequiredDialog.idl
@@ -0,0 +1,54 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2009 by Sun Microsystems, Inc.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ *
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+#if ! defined INCLUDED_com_sun_star_deployment_ui_UpdateRequiredDialog_idl
+#define INCLUDED_com_sun_star_deployment_ui_UpdateRequiredDialog_idl
+
+#include
+#include
+
+
+module com { module sun { module star { module deployment { module ui {
+
+/** The UpdateRequiredDialog is used to show a list of extensions not compatible with this office version.
+
+ @since OOo 3.2.0
+*/
+service UpdateRequiredDialog : com::sun::star::ui::dialogs::XExecutableDialog
+{
+ /** Create a GUI using the specific parent window and focus on the
+ given context.
+
+ @param xParent
+ parent window
+ */
+ create();
+};
+
+}; }; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/deployment/ui/makefile.mk b/offapi/com/sun/star/deployment/ui/makefile.mk
index d91d20001bb5..f733c762a80c 100644
--- a/offapi/com/sun/star/deployment/ui/makefile.mk
+++ b/offapi/com/sun/star/deployment/ui/makefile.mk
@@ -39,8 +39,9 @@ PACKAGE = com$/sun$/star$/deployment$/ui
.INCLUDE : $(PRJ)$/util$/makefile.pmk
IDLFILES = \
- PackageManagerDialog.idl \
- LicenseDialog.idl
+ PackageManagerDialog.idl \
+ LicenseDialog.idl \
+ UpdateRequiredDialog.idl
.INCLUDE : target.mk
.INCLUDE : $(PRJ)$/util$/target.pmk
From 06736de2665bb3a7032efba6a7c3c03ac205c11e Mon Sep 17 00:00:00 2001
From: Release Engineers
Date: Tue, 25 Aug 2009 11:00:47 +0000
Subject: [PATCH 18/28] CWS-TOOLING: integrate CWS ooxml03 2009-08-11 12:16:50
+0200 kendy r274852 : CWS-TOOLING: rebase CWS ooxml03 to trunk@274622
(milestone: DEV300:m54) 2009-07-17 17:55:14 +0200 hbrinkm r274100 : resolved
warning on unxlngi6.pro 2009-07-15 17:11:09 +0200 kendy r274015 : #i96319#
With the disabled docx pieces, libmsword is not a UNO library. 2009-07-15
13:38:36 +0200 hbrinkm r274010 : removed unresolved symbols 2009-07-13
16:06:11 +0200 hbrinkm r273943 : resolved warnings 2009-07-10 14:01:03 +0200
hbrinkm r273889 : changes to make compile on Windows 2009-06-22 19:46:17
+0200 kendy r273252 : #i96319# Disable the DOCX export, it's not perfect
yet... 2009-06-22 13:04:32 +0200 kendy r273219 : CWS-TOOLING: rebase CWS
ooxml03 to trunk@272827 (milestone: DEV300:m50) 2009-06-11 17:11:39 +0200
kendy r272890 : #i96319# Fix regression in the Word 95 output of hyperlinks.
2009-06-05 17:53:08 +0200 kendy r272710 : #i96319# Fix regression in Word 95
output (wrong style number when nodes recurse). 2009-06-03 00:19:27 +0200
kendy r272529 : #i96319# Fix regression in output of the section breaks.
2009-05-29 18:30:19 +0200 kendy r272475 : CWS-TOOLING: rebase CWS ooxml03 to
trunk@272291 (milestone: DEV300:m49) 2009-05-29 09:58:02 +0200 kendy r272435
: #i102354# Don't write the debug info directly to the document. 2009-05-28
15:57:01 +0200 kendy r272411 : #i102260# Revert another trivial fix.
2009-05-26 16:43:07 +0200 kendy r272310 : #i102260# Disable fix of FILLIN
fields. 2009-05-26 14:14:09 +0200 kendy r272302 : #i96319# Fix regression in
the calculation of size of cells. 2009-05-26 01:42:29 +0200 kendy r272274 :
#i96319# Fix a regression - don't export RES_PARATR_LINESPACING and
RES_UL_SPACE with every style. [And additionally some beautification.]
2009-05-23 00:37:44 +0200 thb r272212 : #i102156# added XFastSAXSerializable
plus implementation 2009-05-22 16:43:09 +0200 kendy r272201 : CWS-TOOLING:
rebase CWS ooxml03 to trunk@271830 (milestone: DEV300:m48) 2009-05-14
23:37:02 +0200 thb r271924 : #i10000# post-filter split fixes - make non-pro
compile again 2009-05-14 22:35:54 +0200 thb r271923 : #i10000# post-svx
split fixes - both librpt and librptui need libsvx 2009-05-14 21:39:08 +0200
thb r271922 : #i10000# post-svx split work - getting nonpro build working
again 2009-05-11 09:11:23 +0200 kendy r271740 : #i99638# svxcore library is
not a UNO library. 2009-04-29 17:31:45 +0200 kendy r271389 : #i96319# Fixed
a corner case in docx export of nested tables. Actually, this even simplifies
the code a bit :-) 2009-04-29 12:10:08 +0200 kendy r271364 : #i96319# Fix
output of spacing in docx. 2009-04-29 10:56:43 +0200 kendy r271357 :
#i96319# Fix an endless loop in the docx export of bookmarks. 2009-04-29
01:06:21 +0200 kendy r271348 : #i96319# Fix output of cell width and height.
2009-04-27 13:29:02 +0200 kendy r271264 : #i96319# Fix output of section
columns (their number + widths) for docx. 2009-04-24 15:51:23 +0200 kendy
r271219 : #i96319# Fix output of dates - xsi:type=... should be there only
for dcterms. 2009-04-23 18:27:28 +0200 kendy r271190 : #i96319# Fix output
of gridCol's. 2009-04-23 17:13:44 +0200 kendy r271184 : #i96319# Avoid
incorrect double output of tcPr. 2009-04-22 15:58:10 +0200 kendy r271125 :
#i96319# Fix the output of the nested tables after all the rebases.
2009-04-20 15:16:48 +0200 kendy r270989 : #i96319# More correct output of
the nodes. 2009-04-20 13:27:06 +0200 kendy r270976 : #i96319# Make it build
after the rebase to m46 again; maybe does not run yet. 2009-04-10 23:00:46
+0200 kendy r270725 : CWS-TOOLING: rebase CWS ooxml03 to trunk@270723
(milestone: DEV300:m46) 2009-04-09 17:31:44 +0200 kendy r270716 : #i96319#
Fix output of headers/footers. 2009-04-09 16:42:13 +0200 kendy r270715 :
#i99638# Fix visibility for the debug build of svx. 2009-04-03 10:27:50 +0200
kendy r270466 : #i99683# One forgotten gid_File_Filter_Emp ->
gid_File_Filter_Sdfilt. 2009-03-06 16:19:03 +0100 kendy r269013 : #i99638#
Remove SpecialProgress-related methods and members, not used any more, and
breaks linking on Win32. 2009-03-06 09:43:55 +0100 kendy r268974 : #i99638#
Resolve some more unresolved symbols on Win32. 2009-03-05 23:01:39 +0100
kendy r268946 : #i99638# Export less SdStyleSheetPool symbols. 2009-03-05
15:31:23 +0100 kendy r268910 : #i99638# MSVC needs struct WW8_PdAttrDesc
declared, otherwise fails to link. 2009-03-04 14:15:23 +0100 kendy r268826 :
#i99638# More Win32-related build fixes. 2009-03-04 13:47:48 +0100 kendy
r268823 : #i99638# Disable pptx export again, brougth in by mistake.
2009-03-04 09:54:00 +0100 kendy r268786 : #i99638# Deliver also isvxcore.lib
and isvxmsfilter.lib. 2009-03-03 17:42:25 +0100 kendy r268773 : #i99638#
SdrModel::setUnoModel() should not be inline. 2009-03-03 17:25:59 +0100 kendy
r268770 : #i99638# Ugh, revert. 2009-03-03 17:05:16 +0100 kendy r268765 :
#i99638# Make ObjectContact dll private. 2009-03-03 15:35:41 +0100 kendy
r268733 : #i99638# More destructors visible for Win32 linking. 2009-03-03
14:26:23 +0100 kendy r268726 : #i99638# Make some destructors visible, and
change one static inline to static to Win32 linking happy. 2009-03-03
10:42:12 +0100 kendy r268712 : #i99638# More moving stuff around to make
Win32 linking happy. 2009-03-03 09:48:17 +0100 kendy r268708 : #i99638#
Reduce the includes, needed for Win32 linking. 2009-03-03 08:48:00 +0100
kendy r268705 : #i99638# ImpGetResStr() visibility markup moved to the
header. 2009-03-02 16:30:17 +0100 kendy r268664 : #i99638# Fix visibility
problems that appeared on x86. 2009-02-27 22:25:57 +0100 kendy r268618 :
#i96319# Better definition of DBG in utils.hxx. 2009-02-27 21:53:17 +0100
kendy r268616 : #i96319# License for utils.hxx, define DBG only for the
debug builds. 2009-02-27 21:44:25 +0100 kendy r268615 : #i96319# Fixed types
for printf etc. parameters. 2009-02-27 17:23:17 +0100 kendy r268607 :
#i96319# Fix build after the rebase. 2009-02-27 15:12:49 +0100 kendy r268597
: CWS-TOOLING: rebase CWS ooxml03 to trunk@268395 (milestone: DEV300:m42)
2009-02-27 12:37:57 +0100 kendy r268580 : #i96319# Fix build dependency in
oox. 2009-02-26 22:02:06 +0100 kendy r268547 : #i99683# Move ppt import to a
separate library. The ppt export is already separate, so it makes sense to
give there the import as well. The current library 'emp' was renamed to
'scfilt', it links against svxmsfilter, and few symbols had to be made
visible (28 of them). 2009-02-26 14:36:25 +0100 kendy r268520 : #i99638#
Whitespace fixes. 2009-02-26 14:31:35 +0100 kendy r268518 : #i99638# Split
svx into svxcore, svxmsfilter and the rest. SvxImportMSVBasic's
SaveOrDelMSVBAStorage(), GetSaveWarningOfMSVBAStorage(), and
GetMSBasicStorageName() must go to svxcore (because of Writer). 2009-02-26
00:16:32 +0100 kendy r268471 : #i99638# Split libsvx into 3 pieces -
svxcore, svxmsfilter, and svx (the rest). This contains: - the split (based
on inter-object dependencies) - svxcore is actually a closure on a graph
where the objects are vertexes, and where there's an edge between 2
vertexes when one needs symbol from the second ;-) - maybe still could be
split, but that will be most probably harder to achieve - svxmsfilter
is a subset that is needed just by the filters of the MS Office formats
- the new svx contains the rest that did not fit the above 2 - visibility for
svxcore - some svxcore symbols had to be exposed for svxmsfilter or svx -
adaption of modules linking against svx - in some cases, linking just
against svxcore is enough 2009-02-25 23:35:03 +0100 kendy r268470 : #i99545#
Get rid of struct ConstAsciiString, and use simple #define's instead - it's a
pre-requisite for a svx split, and also saves memory on x86-64, and some
symbol names. 2009-02-25 22:39:02 +0100 kendy r268468 : #i96319# Get rid of
the now unneecessary debug class DOCX. 2009-02-17 20:35:29 +0100 kendy
r268190 : #i96319# WW8 filter rework + docx export License header +
whitespace fixes. 2009-02-17 20:02:39 +0100 kendy r268189 : #i96319# WW8
filter rework + docx export Add license header to
preset-definitions-to-shape-types.pl. 2009-02-17 19:58:11 +0100 kendy
r268188 : #i96319# WW8 filter rework + docx export oox does not have to
depend on FASTSAXLIB. 2009-02-17 17:05:34 +0100 kendy r268182 : #i96319# WW8
filter rework + docx export Fix the sax compilation, apparently some of the
changes were missing. 2009-02-17 13:04:14 +0100 kendy r268163 : #i96319# WW8
filter rework + docx export From: Jan Holesovsky VML: Fix
output of shape paths (point components can be either 16 or 32 bit). [And
also implement a fallback for the missing shapes - treated as rectangle.]
2009-02-17 13:03:56 +0100 kendy r268162 : #i96319# WW8 filter rework + docx
export From: Jan Holesovsky VML: Correction of some values.
Now the shapes seem to be good enough; time to abandon them ;-) 2009-02-17
13:03:37 +0100 kendy r268161 : #i96319# WW8 filter rework + docx export
From: Jan Holesovsky VML: Better detection of consts.
2009-02-17 13:03:19 +0100 kendy r268160 : #i96319# WW8 filter rework + docx
export From: Jan Holesovsky VML: Fixed the 'sun' shape.
2009-02-17 13:03:00 +0100 kendy r268159 : #i96319# WW8 filter rework + docx
export From: Jan Holesovsky VML: Better check for unneeded
'prod's. 2009-02-17 13:02:42 +0100 kendy r268158 : #i96319# WW8 filter
rework + docx export From: Jan Holesovsky VML: Fix the adj
values. 2009-02-17 13:02:23 +0100 kendy r268157 : #i96319# WW8 filter rework
+ docx export From: Jan Holesovsky VML: Fix pentagon and
star5 shapes. 2009-02-17 13:02:04 +0100 kendy r268156 : #i96319# WW8 filter
rework + docx export From: Jan Holesovsky VML: Fix most of
the 'star' shapes by preventing an overflow. 2009-02-17 13:01:41 +0100 kendy
r268155 : #i96319# WW8 filter rework + docx export From: Radek Doulik
* fixed build after resolving conflicts 2009-02-17 13:01:19
+0100 kendy r268154 : #i96319# WW8 filter rework + docx export From: Radek
Doulik * added TODO comment 2009-02-17 13:00:59 +0100 kendy
r268153 : #i96319# WW8 filter rework + docx export From: Radek Doulik
* implemented adjustments export in custom shapes
2009-02-17 13:00:40 +0100 kendy r268152 : #i96319# WW8 filter rework + docx
export From: Radek Doulik * partially refactored
EscherPropertyContainer::CreateCustomShapeProperties extracted 3 helper
functions, which are now used in ooxml export 2009-02-17 13:00:17 +0100 kendy
r268151 : #i96319# WW8 filter rework + docx export From: Radek Doulik
* make mAny member of DrawingML protected, so that
ShapeExport can access it * export connector shape * added
DrawingML::WriteConnectorConnections * fixed bezier shape outline export
(regression fix) 2009-02-17 12:59:54 +0100 kendy r268150 : #i96319# WW8
filter rework + docx export From: Radek Doulik * make
EscherConnectorListEntry structure public, so that it can be used by ooxml
export 2009-02-17 12:59:34 +0100 kendy r268149 : #i96319# WW8 filter rework
+ docx export From: Radek Doulik * added mapping of shapes
to shape IDs * cleaned a bit shape name generation 2009-02-17 12:59:13 +0100
kendy r268148 : #i96319# WW8 filter rework + docx export From: Jan
Holesovsky VML: Fixed some of the text shapes, 166/202. In
the 202, I counted even shapes that are marked 'should not be used' (and
their definition is missing) even in the documentation. The only really
missing shapes are those that use general arcTo... 2009-02-17 12:58:53 +0100
kendy r268147 : #i96319# WW8 filter rework + docx export From: Jan
Holesovsky VML: Found missing shapes, now 159/202. 2009-02-17
12:58:36 +0100 kendy r268146 : #i96319# WW8 filter rework + docx export
From: Jan Holesovsky VML: Optimize the amount of formulas a
bit. Adds one more shape that previously reached the top amount of formulas
;-) 2009-02-17 12:58:15 +0100 kendy r268145 : #i96319# WW8 filter rework +
docx export From: Jan Holesovsky VML: Implemented quadratic
beziers, 144/202 now. I was unable to use 'qb', it did not produce good
results, no idea why :-( Instead used 'c' - cubic bezier - and recounted the
control points (mathematically equivalent representation). The downside is
that for some shapes I run out of formulas :-( - TODO later. 2009-02-17
12:57:56 +0100 kendy r268144 : #i96319# WW8 filter rework + docx export
From: Jan Holesovsky VML: Fix presetShapeDefinitions.xml,
there's an error there. 2009-02-17 12:57:31 +0100 kendy r268143 : #i96319#
WW8 filter rework + docx export From: Jan Holesovsky VML:
Implemented cubicBezTo + few formulas, now 136/202. 2009-02-17 12:57:11 +0100
kendy r268142 : #i96319# WW8 filter rework + docx export From: Jan
Holesovsky VML: Fixed units of sin/cos, which makes it now
118/202. Realized that some of the shapes are 'too small' - like <10 units,
insetad of ~21600; have to look at that. 2009-02-17 12:56:43 +0100 kendy
r268141 : #i96319# WW8 filter rework + docx export From: Jan Holesovsky
VML: More arcTo shapes, 116/202 now. 2009-02-17 12:56:21
+0100 kendy r268140 : #i96319# WW8 filter rework + docx export From: Jan
Holesovsky VML: Better conversion of */ (fixes some shapes).
Implemented nostroke/nofill. 2009-02-17 12:56:01 +0100 kendy r268139 :
#i96319# WW8 filter rework + docx export From: Jan Holesovsky
VML: More formulas, and partially implemented 'arcTo' - 93/202 shapes now.
2009-02-17 12:55:39 +0100 kendy r268138 : #i96319# WW8 filter rework + docx
export From: Jan Holesovsky VML: Radically changed the
conversion of formulas to be able to implement +/. [...and actually
implemented it ;-), 60/202 shapes now.] 2009-02-17 12:55:19 +0100 kendy
r268137 : #i96319# WW8 filter rework + docx export From: Jan Holesovsky
VML: Shape types generation plugged to the build, 53/202
shapes now. 2009-02-17 12:54:57 +0100 kendy r268136 : #i96319# WW8 filter
rework + docx export From: Jan Holesovsky VML: More
predefined shapes generated (thanks to 'pin' translation). 2009-02-17
12:54:36 +0100 kendy r268135 : #i96319# WW8 filter rework + docx export
From: Jan Holesovsky VML: Script that creates the predefined
shape types + the definitions. The shape types themselves come from the OOXML
documentation; the script just converts them from DrawingML to a VML
representation in a C++ file. The converter is not feature-complete yet,
resulting in some missing shapes. Also it is not yet part of the build
(makefile.mk not modified yet). 2009-02-17 12:54:10 +0100 kendy r268134 :
#i96319# WW8 filter rework + docx export From: Cedric Bosdonnat
docx export: + Fixed a regression on sections
output + Columns break has to be postponed to the next paragraph +
Implemented sections properly + Columns formatting properties exported
2009-02-17 12:53:49 +0100 kendy r268133 : #i96319# WW8 filter rework + docx
export From: Cedric Bosdonnat haven't I fixed those
problems? 2009-02-17 12:53:29 +0100 kendy r268132 : #i96319# WW8 filter
rework + docx export From: Cedric Bosdonnat docx
export: + table alignment is now exported 2009-02-17 12:53:07 +0100
kendy r268131 : #i96319# WW8 filter rework + docx export From: Jonathan
Pryor Integrate VMLExport with Calc for Comment export.
Few minor changes needed to VMLExport so that Calc could customize the
behavior. Specifically, Calc needed to be able to: - Explicitly specify
the //v:shape/@type attribute value so that Excel wouldn't show a
diagonal "arrow" underneath the note text instead of showing an actual
box. - Add custom Escher properties such as "hidden", etc. - Insert the
//v:shape/x:ClientData element before //v:shape is closed. *
oox/inc/oox/export/vmlexport.hxx, oox/source/export/vmlexport.cxx: -
Make Commit(), StartShape(), and EndShape() protected so that Calc
can override those methods - StartShape() is needed to add
//v:shape/@type - Commit() is needed to add new Escher properties
- EndShape() is needed to generate //v:shape/x:ClientData. -
Add AddShapeAttribute() method, so Calc can set the //v:shape/@type
value. - Output "visibility:hidden" for the ESCHER_Prop_fHidden
property. 2009-02-17 12:52:46 +0100 kendy r268130 : #i96319# WW8 filter
rework + docx export From: Jan Holesovsky VML: Finish the
transition of VMLExport from 'sw' to 'oox' + few trivial fixes. The VML
export code is now accessible as oox::vml::VMLExport. The (not that related)
fixes include SAL_DLLPUBLIC_EXPORT -> OOX_DLLPUBLIC change and few warning
fixes. 2009-02-17 12:52:24 +0100 kendy r268129 : #i96319# WW8 filter rework
+ docx export From: Jan Holesovsky VML: Moved
vmlexport.[hc]xx to oox. 2009-02-17 12:52:04 +0100 kendy r268128 : #i96319#
WW8 filter rework + docx export From: Jan Holesovsky VML:
Cleanup before we move to oox. 2009-02-17 12:51:41 +0100 kendy r268127 :
#i96319# WW8 filter rework + docx export From: Cedric Bosdonnat
docx export: Some more features for tables export
2009-02-17 12:51:21 +0100 kendy r268126 : #i96319# WW8 filter rework + docx
export From: Cedric Bosdonnat docx export: +
nested tables export refinement + export row height and table headers
2009-02-17 12:50:58 +0100 kendy r268125 : #i96319# WW8 filter rework + docx
export From: Jan Holesovsky VML: Initialize a local variable.
2009-02-17 12:50:34 +0100 kendy r268124 : #i96319# WW8 filter rework + docx
export From: Cedric Bosdonnat docx export: fixed
table layout for nested tables. Fixed nested tables output 2009-02-17
12:50:13 +0100 kendy r268123 : #i96319# WW8 filter rework + docx export
From: Cedric Bosdonnat docx export: added
support of nested tables. Still needs to be heavily tested. Some
problems are occuring with the grid layout. 2009-02-17 12:49:49 +0100 kendy
r268122 : #i96319# WW8 filter rework + docx export From: Jan Holesovsky
Change SAL_DLLPUBLIC_EXPORT to SW_DLLPUBLIC which is more
appropriate here. 2009-02-17 12:49:28 +0100 kendy r268121 : #i96319# WW8
filter rework + docx export From: Jonathan Pryor Fix
line-callout-3 translation. The `line-callout-3' callout was being mapped to
the `accentBorderCallout90' OOXML callout, which Excel didn't like at all.
Changing this to `borderCallout3' produces OOXML that Excel will load. Not
sure what mso-spt49 is supposed to be, but given the other mso-spt* values I
think accentBorderCallout90 makes more sense (but cannot find such a value in
the OOXML XSD files). 2009-02-17 12:49:05 +0100 kendy r268120 : #i96319# WW8
filter rework + docx export From: Jonathan Pryor Fix
refactoring of DrawingML::WritePolyPolygon(). The original version only
checked rPoly.GetFlags() for every item *after* the first item -- i.e. the
first item was skipped. Change the `for' loop start index to follow this
behavior. 2009-02-17 12:48:42 +0100 kendy r268119 : #i96319# WW8 filter
rework + docx export From: Jonathan Pryor Fix Bezier
output. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit The //a:cubicBezTo element (?5.1.11.7)
requires that there be *three* //a:pt child elements. Ensure that this is
the case (otherwise Excel yells at me about invalid DrawingML if I export a
free-form shape). This also cleans up the code slightly, by moving out a
`if(j==0)` block to before the for loop, and re-indenting the code to
simplify understanding. 2009-02-17 12:48:22 +0100 kendy r268118 : #i96319#
WW8 filter rework + docx export From: Jonathan Pryor
Flush documentation. 2009-02-17 12:48:00 +0100 kendy r268117 : #i96319# WW8
filter rework + docx export From: Cedric Bosdonnat
docx export: + implemented table cell margins and fixed grid layout
+ reapplied missing patch from m34 about default spacing of paragraphs
2009-02-17 12:47:40 +0100 kendy r268116 : #i96319# WW8 filter rework + docx
export From: Jonathan Pryor Migrate Calc to use
ShapeExport. Minor snafu here: XML_nvPr is valid only within Impress, so if
Calc exports it Excel doesn't like the resulting documents. Remove XML_nvPr
output from ShapeExport and replace with calls to
ShapeExport::WriteNonVisualProperties(). PowerPointShapeExport can thus
override ShapeExport::WriteNonVisualProperties() to generate the required
//p:nvPr elements. * oox/inc/oox/export/shapes.hxx: Declare
ShapeExport::WriteNonVisualProperties(). *
oox/source/export/shapes.cxx: * - Replace XML_nvPr generation with calls to
WriteNonVisualProperties(). - Get the GraphicObject name
property from the shape instead of generating "Picture N" values (if
the shape has a Name property). - Generate a GraphicObject
Description attribute, if present. - Remove unused method parameter
names (to remove warnings). 2009-02-17 12:47:15 +0100 kendy r268114 :
#i96319# WW8 filter rework + docx export From: Radek Doulik
* fixed few shape names, which were missing Shape at the end * fixed
mso-spt202 custom shape translation, which was causing problems with word
wrapping * enabled wrap attribure for bodyPr tag * fixed 2 compiler
warnings 2009-02-17 12:46:55 +0100 kendy r268113 : #i96319# WW8 filter
rework + docx export From: Cedric Bosdonnat docx
export: column spans in tables are now exported 2009-02-17 12:46:33 +0100
kendy r268112 : #i96319# WW8 filter rework + docx export From: Cedric
Bosdonnat docx: + Fixed table structure output
+ Output table borders + Fixed borders output 2009-02-17 12:46:11 +0100
kendy r268111 : #i96319# WW8 filter rework + docx export From: Jonathan
Pryor Excercise ShapeExport::WriteShape(). Refactor
PowerPointExport::WriteShapeTree() to use ShapeExport::WriteShape(),
overloading ShapeExport virtual Write* methods as appropriate to insert
support for additional shapes. * oox/source/export/shapes.cxx:
Correct the shape names (often by appending "Shape") so that the table
lookup works as expected. 2009-02-17 12:45:49 +0100 kendy r268110 : #i96319#
WW8 filter rework + docx export From: Jonathan Pryor
Implement multiplexing ShapeExport::WriteShape(). What got me started on this
whole "migrate large fractions of sd into oox" binge was
PowerPointExport::WriteShapeTree(), which included a "multiplexer" -- a
method that took the XShape's shape type and translated it into a (set of)
member function(s) to call to convert the shape. I needed just such a
multiplexer for Calc, and was loathe to copy/paste it. However,
PowerPointExport::WriteShapeTree() is far more complicated for something to
go into oox, dealing as it does with grouping and myriad other sd-specific
details. Thus, an overhaul: All the ShapeExport::Write* methods are now
virtual. The multiplexing ShapeExport::WriteShape() method will consult a
string type -> member function lookup table, and if a matching member
function is found it will be invoked. This allows subclasses to customize
behavior. If no matching conversion member function is found, then
ShapeExport::WriteUnknownShape() is invoked, allowing subclasses to
transparently handle additional shapes w/o special-casing the WriteShape()
call. * oox/inc/oox/export/shapes.hxx, oox/source/export/shapes.cxx: Make
Write* methods virtual; Add WriteUnknownShape(); Replace the
(non-functional) WriteShapeTree() with the multiplexing
WriteShape(), and provide a hashtable mapping shape type to conversion
method. 2009-02-17 12:45:28 +0100 kendy r268109 : #i96319# WW8 filter rework
+ docx export From: Jonathan Pryor Move Impress DrawingML
Export code into oox::drawingml::ShapeExport. Begin moving sharable
sd/source/filter/eppt/epptooxml.cxx DrawingML code into
oox::drawingml::ShapeExport, so that DrawingML elements (w/ different
namespaces) can use the same export code. WARNING: the migration makes the
assumption that mXPropSet comes from mXShape, that is: Reference<
XPropertySet > mXPropSet( mXShape, UNO_QUERY ); If this is wrong, things will
obviously break. This *should* be correct, as the altered code path rooted in
PowerPointExport::WriteShapeTree() calls PPTWriterBase::GetShapeByIndex(),
which ensures that mXPropSet is the XPropertySet for the mXShape instance:
Any aAny( mXShape->queryInterface( ::getCppuType( (const Reference<
XPropertySet >*) 0 ) )); aAny >>= mXPropSet; *
oox/inc/oox/export/shapes.hxx, oox/source/export/shapes.cxx: Sync with
the above removed PowerPointExport methods. 2009-02-17 12:45:11 +0100 kendy
r268108 : #i96319# WW8 filter rework + docx export From: Jonathan Pryor
Deliver inc/oox/export/shapes.hxx. 2009-02-17 12:44:51
+0100 kendy r268107 : #i96319# WW8 filter rework + docx export From:
Jonathan Pryor Abstract out sd's shape export code.
MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit DrawingML is an evil, evil thing -- it's
highly duplicative. For example, the element has been duplicated no
less than four times into different XML namespaces: ?4.4.1.12, ?5.1.2.1.8,
?5.2.2.3, ?5.6.2.8, i.e. in the following XML namespaces (from the XSD
files): http://schemas.openxmlformats.org/drawingml/2006/chartDrawing
http://schemas.openxmlformats.org/drawingml/2006/main
http://schemas.openxmlformats.org/drawingml/2006/picture
http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing
http://schemas.openxmlformats.org/presentationml/2006/main In all these
cases, they all have the same attributes, the same parent elements, and the
same child elements. They are, for all intents and purposes, identica EXCEPT
for the XML namespace. Instead of rampantly duplicating sd's shape export
code and doing s/XML_p/XML_???/g (i.e. replace the namespace), I'm
refactoring sd's export code into oox::drawingml::ShapeExport. The
ShapeExport constructor takes the target XML namespace as a parameter, and
generates all XML relative to this namespace. *
inc/oox/export/drawingml.hxx: Add DrawingML::GetFB() and
DrawingML::GetFS() accessor methods, which are needed by ShapeExport.
* source/export/makefile.mk: Add shapes.cxx to the build. *
inc/oox/export/shapes.hxx, source/export/shapes.cxx: Declare and
implement oox::drawingml::ShapeExport. 2009-02-17 12:44:32 +0100 kendy
r268106 : #i96319# WW8 filter rework + docx export From: Radek Doulik
* extracted paragraph adjustment translation * added text
wrap (commented out as it doesn't work flawlessly yet) 2009-02-17 12:44:12
+0100 kendy r268105 : #i96319# WW8 filter rework + docx export From: Cedric
Bosdonnat docx export: now able to export the tables
structures 2009-02-17 12:43:53 +0100 kendy r268104 : #i96319# WW8 filter
rework + docx export From: Cedric Bosdonnat Fixed a
bug in doc table export. 2009-02-17 12:43:34 +0100 kendy r268103 : #i96319#
WW8 filter rework + docx export From: Cedric Bosdonnat
Fixed several build bugs: + strange integer
conversion + unexported symbol dbg_out + Reintegrated missing
patches from m34 + Reupdated scp2 module to flag libmsword as a uno
component 2009-02-17 12:43:15 +0100 kendy r268102 : #i96319# WW8 filter
rework + docx export From: Jan Holesovsky Change hardcoded
numbers into sprm constants. 2009-02-17 12:42:58 +0100 kendy r268101 :
#i96319# WW8 filter rework + docx export From: Jan Holesovsky
Make the tables build even with the docx-related changes. 2009-02-17 12:42:38
+0100 kendy r268100 : #i96319# WW8 filter rework + docx export From: Jan
Holesovsky VML: Write shapes defined by paths. 2009-02-17
12:42:14 +0100 kendy r268099 : #i96319# WW8 filter rework + docx export
From: Cedric Bosdonnat docx export: implemented
paraSnapToGrid & suppressAutoHyphens 2009-02-17 12:41:54 +0100 kendy r268098
: #i96319# WW8 filter rework + docx export From: Cedric Bosdonnat
docx export: Implemented ParaScriptSpace and its
friends 2009-02-17 12:41:32 +0100 kendy r268097 : #i96319# WW8 filter rework
+ docx export From: Cedric Bosdonnat docx export:
Keep with next paragraph 2009-02-17 12:41:11 +0100 kendy r268096 : #i96319#
WW8 filter rework + docx export From: Cedric Bosdonnat
docx: Fixed tab position export, left margin was
missing 2009-02-17 12:40:48 +0100 kendy r268095 : #i96319# WW8 filter rework
+ docx export From: Cedric Bosdonnat TOX export: +
fixed export fields expression containing tabs + fixed the begin element
of fields like TOX, Hyperlinks and index marks + implemented export of
index marks (same missing things than binary filter) 2009-02-17 12:40:28
+0100 kendy r268094 : #i96319# WW8 filter rework + docx export From:
Jonathan Pryor Export the core revision document
property. The mapping between revision and getEditingCycles() was found by
perusing the existing OLE Structured Storage output source. 2009-02-17
12:40:10 +0100 kendy r268093 : #i96319# WW8 filter rework + docx export
From: Jan Holesovsky VML: Preparations for the predefined
shape types. 2009-02-17 12:39:50 +0100 kendy r268092 : #i96319# WW8 filter
rework + docx export From: Jan Holesovsky VML: Implemented
the most interesting stroke properties. 2009-02-17 12:39:31 +0100 kendy
r268091 : #i96319# WW8 filter rework + docx export From: Cedric Bosdonnat
Minimal working TOX export, not fully tested yet.
Implemented DocxExport::AppendBookmark method 2009-02-17 12:39:11 +0100 kendy
r268090 : #i96319# WW8 filter rework + docx export From: Jan Holesovsky
VML: Implemented the most interesting fill properties.
2009-02-17 12:38:53 +0100 kendy r268089 : #i96319# WW8 filter rework + docx
export From: Jan Holesovsky VML: Output of lines. 2009-02-17
12:38:35 +0100 kendy r268088 : #i96319# WW8 filter rework + docx export
From: Cedric Bosdonnat Thanks to kendy, dateToW3CDTF
is now useless 2009-02-17 12:38:16 +0100 kendy r268087 : #i96319# WW8 filter
rework + docx export From: Cedric Bosdonnat
Uncomplete merge + change the timestamp generation with the use of strftime
2009-02-17 12:37:58 +0100 kendy r268086 : #i96319# WW8 filter rework + docx
export From: Cedric Bosdonnat + Fixes in core
properties export: - the first keyword was duplicated, - the
CreationTime in apps.xml was written several times + Refactored the fields
output to prepare the place for TOX: now using a stack of fields to output
+ Refactored the Hyperlink export implementation to handle links with
anchors in documents 2009-02-17 12:37:36 +0100 kendy r268085 : #i96319# WW8
filter rework + docx export From: Jan Holesovsky MS Word
begins to like the VML generated by the docx export :-) We can export basic
groups, rects and ellipses now; TODO other shapes and lots of properties.
2009-02-17 12:37:18 +0100 kendy r268084 : #i96319# WW8 filter rework + docx
export From: Jan Holesovsky Propagate bounding rectangle in
EscherEx::Commit(). Ignored in EscherEx itself, but mandatory for the VML
export. 2009-02-17 12:36:59 +0100 kendy r268083 : #i96319# WW8 filter rework
+ docx export From: Jan Holesovsky Comment out output of
XML_TotalTime (xProperties->getEditingDuration()), breaks here. #i96319# WW8
filter rework + docx export confuses MS Office terribly. 2009-02-17 12:36:42
+0100 kendy r268082 : #i96319# WW8 filter rework + docx export From: Jan
Holesovsky The boost datetime conversion broke from time to
time, no idea why :-( Now using the most trivial approach... 2009-02-17
12:36:24 +0100 kendy r268081 : #i96319# WW8 filter rework + docx export
From: Jan Holesovsky Implementation of few basic VML shapes
and properties. 2009-02-17 12:36:06 +0100 kendy r268080 : #i96319# WW8
filter rework + docx export From: Jan Holesovsky Add
EscherPropertyContainer::GetOpts() to be able to get all the options at once.
2009-02-17 12:35:48 +0100 kendy r268079 : #i96319# WW8 filter rework + docx
export From: Jan Holesovsky Include "tokens.hxx" instead of
. The latter attempts to take the version from solver
which is not there yet when building from scratch ;-) 2009-02-17 12:35:28
+0100 kendy r268078 : #i96319# WW8 filter rework + docx export From: Cedric
Bosdonnat Forgot to remove an include. Compiler
didn't crash on it... strange 2009-02-17 12:35:10 +0100 kendy r268077 :
#i96319# WW8 filter rework + docx export From: Cedric Bosdonnat
Merged the properties export code with the one of
jonp. In fact, only the date formatting code of mine has been kept to
replace jon's one. 2009-02-17 12:34:49 +0100 kendy r268076 : #i96319# WW8
filter rework + docx export From: Cedric Bosdonnat
Export of core properties migrated to oox module 2009-02-17 12:34:23 +0100
kendy r268075 : #i96319# WW8 filter rework + docx export From: Jonathan
Pryor Add some trace/debugging information. Some of the
app/core properties are #ifdef'd, as I don't know what XDocumentProperties
attribute is the appropriate mapping. My suspicion is that many of the
remaining app/core properties may be found within the DocumentStatistics
attribute, and thus I print out the document statistics found. (So far, I'm
not seeing any from Calc, but this may bear some fruit with .docx or .pptx
export...) 2009-02-17 12:34:01 +0100 kendy r268074 : #i96319# WW8 filter
rework + docx export From: Jonathan Pryor Document
Properties: skip empty elements. * xmlfilterbase.cxx (writeElement):
Don't generate an element if the element has no value. 2009-02-17
12:33:35 +0100 kendy r268073 : #i96319# WW8 filter rework + docx export
From: Jonathan Pryor Initial stab at exporting document
properties. Short, short version: to export document properties call
XmlFilterBase::exportDocumentProperties(Reference).
* oox/inc/oox/core/xmlfilterbase.hxx, oox/source/core/xmlfilterbase.cxx:
Add and implement XmlFilterBase::exportDocumentProperties(), which
generates docProps/core.xml and docProps/app.xml. *
oox/source/token/tokens.txt: Add XML_vt element. *
sc/source/filter/excel/excdoc.cxx: call
XmlFilterBase::exportDocumentProperties(). *
sc/source/filter/excel/expop2.cxx: Remove sfx2::SaveOlePropertySet()
call, as it isn't useful for OOXML output. 2009-02-17 12:33:17 +0100 kendy
r268072 : #i96319# WW8 filter rework + docx export From: Jan Holesovsky
Beginnings of the VML export. The shapes are exported, but
with no attributes - so their position is not written yet, etc. 2009-02-17
12:32:54 +0100 kendy r268070 : #i96319# WW8 filter rework + docx export
From: Jan Holesovsky Do more EscherEx methods virtual. We
want to re-use EscherEx for the export of VML. For this, some of the methods
have to be made virtual so that we can change them to do what we need ;-)
2009-02-17 12:32:26 +0100 kendy r268069 : #i96319# WW8 filter rework + docx
export From: Cedric Bosdonnat Removed debug fprintf's
2009-02-17 12:32:09 +0100 kendy r268068 : #i96319# WW8 filter rework + docx
export From: Cedric Bosdonnat docx: bookmarks now
exported 2009-02-17 12:31:52 +0100 kendy r268067 : #i96319# WW8 filter
rework + docx export From: Radek Doulik * export
polypolygons * export transformation defined by rectangle 2009-02-17
12:31:35 +0100 kendy r268066 : #i96319# WW8 filter rework + docx export
From: Cedric Bosdonnat Split text runs to be able to
insert bookmark tags 2009-02-17 12:31:18 +0100 kendy r268065 : #i96319# WW8
filter rework + docx export From: Jan Holesovsky Enum for
specifying the document type to DrawingML. Various document types need it
differently... 2009-02-17 12:30:57 +0100 kendy r268064 : #i96319# WW8 filter
rework + docx export From: Jonathan Pryor Provide an
appropriate //Relationship/@Target value. *
oox/source/export/drawingml.cxx: The //Relationship/@Target value
needs to be a path relative to the DrawingML document. For Excel, the
DrawingML is in xl/drawings/drawing*.xml, while the embedded media is in
xl/media/image*. Thus, to get from xl/drawings/drawing*.xml to
xl/media/image*, we need "../media/image", not "media/image".
Without this change, Excel throws an error when loading the Spreadsheet,
as it can't find the resource. 2009-02-17 12:30:35 +0100 kendy r268063 :
#i96319# WW8 filter rework + docx export From: Jan Holesovsky
Fixed output of the properties that are written at or time.
Fixes the most annoying "the first run has strange properties" bug, and
generally improves the quality of output of styles a lot. 2009-02-17 12:30:16
+0100 kendy r268062 : #i96319# WW8 filter rework + docx export From:
Jonathan Pryor Generate valid DrawingML. The DrawingML is
a hack, with hard-coded values in various places that have no business being
hardcoded, but it is valid, and Excel does load the DrawingML without error.
(It instead errors out because xl/drawings/_rels/drawing1.xml.rels contains
an invalid file path. :-( * oox/inc/oox/export/drawingml.hxx,
oox/source/export/drawingml.cxx: Add a WriteBlipFill() overload which
takes the XML namespace as an argument. This is necessary because Excel
wants a element, not , and I don't want
to have to duplicate the rest of the WriteBlipFill() logic within sc.
2009-02-17 12:29:59 +0100 kendy r268061 : #i96319# WW8 filter rework + docx
export From: Jan Holesovsky Remove one of the 2 fixes of the
same problem ;-) 2009-02-17 12:29:32 +0100 kendy r268060 : #i96319# WW8
filter rework + docx export From: Jan Holesovsky Few
whitespace fixes. 2009-02-17 12:29:12 +0100 kendy r268059 : #i96319# WW8
filter rework + docx export From: Jan Holesovsky Basic output
of images works, both embedded as well as linked. Still some TODOs in
FlyFrameGraphic(), to be solved later... 2009-02-17 12:28:51 +0100 kendy
r268058 : #i96319# WW8 filter rework + docx export From: Jan Holesovsky
Add TwipsToEMU() to oox/export/utils.hxx. 2009-02-17 12:28:30
+0100 kendy r268057 : #i96319# WW8 filter rework + docx export From:
Jonathan Pryor Fix the build. DrawingML::WriteImage(const
Graphic&) needs to have a Graphic type in scope. 2009-02-17 12:28:10 +0100
kendy r268056 : #i96319# WW8 filter rework + docx export From: Jan
Holesovsky Change define FSEND -1 to const sal_Int32 FSEND =
-1. The former can hide errors, like startElementNS( ..., "xyz" FSEND ),
because it compiles without warning, but then gets part of the string, and we
end up without a sentinel. 2009-02-17 12:27:50 +0100 kendy r268055 :
#i96319# WW8 filter rework + docx export From: Cedric Bosdonnat
Docx export: Dropdown field now exported 2009-02-17
12:27:28 +0100 kendy r268054 : #i96319# WW8 filter rework + docx export
From: Jonathan Pryor Add the xdr token. The `xdr' token
is used as the XML namespace in Spreadsheet DrawingML documents. 2009-02-17
12:27:08 +0100 kendy r268053 : #i96319# WW8 filter rework + docx export
From: Jan Holesovsky With a bit of cheating, images can be
written... Everything (but the image itself) is hardcoded so far. 2009-02-17
12:26:47 +0100 kendy r268052 : #i96319# WW8 filter rework + docx export
From: Jan Holesovsky Write the location of the image as
media/image, not ../media/image. Hopefully it does not break pptx - but for
docx it's necessary. 2009-02-17 12:26:24 +0100 kendy r268051 : #i96319# WW8
filter rework + docx export From: Jan Holesovsky Improved
mergeTopMarks(). - instead of bool, it accepts MergeMarksEnum with values
MERGE_MARKS_APPEND, MERGE_MARKS_PREPEND, and MERGE_MARKS_POSTPONE, which
should be more readable - MERGE_MARKS_POSTPONE is a new thing, it allows to
write output that is written with the next mergeTopMarks() - useful when
you get some data too early and need to write them after the end of data
that you are just writing. 2009-02-17 12:26:05 +0100 kendy r268050 :
#i96319# WW8 filter rework + docx export From: Jan Holesovsky
Output of images; framework is mostly done, but disabled due to problems with
order. [So far it would be output inside rPr which is not what we want ;-)]
2009-02-17 12:25:41 +0100 kendy r268049 : #i96319# WW8 filter rework + docx
export From: Jan Holesovsky Intoduced OUString
DrawingML::WriteImage( const Graphic& rGraphic ). Additionally - added the
possibility to write images to word/ subdir in the zip container, not just
ppt/ - added 'wp' to the known tokens - fixed Graphic::GetLink() in vcl to be
'const' - added svx and vcl to the dependencies of oox 2009-02-17 12:25:18
+0100 kendy r268048 : #i96319# WW8 filter rework + docx export From: Cedric
Bosdonnat merged binary and ooxml filters export.
2009-02-17 12:24:55 +0100 kendy r268047 : #i96319# WW8 filter rework + docx
export From: Cedric Bosdonnat Core properties created
(still have to write the dates) 2009-02-17 12:24:32 +0100 kendy r268046 :
#i96319# WW8 filter rework + docx export From: Cedric Bosdonnat
Added support for GetExpression and SetExpression
fields (only in text format). 2009-02-17 12:24:09 +0100 kendy r268045 :
#i96319# WW8 filter rework + docx export From: Cedric Bosdonnat
Some more fields supported 2009-02-17 12:23:49 +0100
kendy r268044 : #i96319# WW8 filter rework + docx export From: Cedric
Bosdonnat Some more fields 2009-02-17 12:23:27 +0100
kendy r268043 : #i96319# WW8 filter rework + docx export From: Jan
Holesovsky Write also numbering type "none". 2009-02-17
12:23:07 +0100 kendy r268041 : #i96319# WW8 filter rework + docx export
From: Jan Holesovsky Numbering finished, implemented the rest
of the level information. 2009-02-17 12:22:45 +0100 kendy r268040 : #i96319#
WW8 filter rework + docx export From: Cedric Bosdonnat
docx fields exports: the start of the way 2009-02-17
12:22:23 +0100 kendy r268039 : #i96319# WW8 filter rework + docx export
From: Jan Holesovsky Write abstract numbering definitions
including the levels. Not all of the information is written yet, but will be
soon ;-) 2009-02-17 12:22:00 +0100 kendy r268038 : #i96319# WW8 filter
rework + docx export From: Jan Holesovsky Implementation of
the abstract numbering definitions, not yet finished. 2009-02-17 12:21:39
+0100 kendy r268037 : #i96319# WW8 filter rework + docx export From: Jan
Holesovsky Output numbering definition instances. Abstract
numbering definitions are still TODO. 2009-02-17 12:21:21 +0100 kendy
r268036 : #i96319# WW8 filter rework + docx export From: Jan Holesovsky
Rename OutListTab() -> NumberingDefinitions(), and
OutListTabLevels() -> AbstractNumberingDefinitions(). This is better aligned
with what is used in the docx documentation. 2009-02-17 12:21:00 +0100 kendy
r268035 : #i96319# WW8 filter rework + docx export From: Cedric Bosdonnat
Changed the ColorToHex to support the "auto" value
Code cleaning according to kendy's remarks 2009-02-17 12:20:37 +0100 kendy
r268034 : #i96319# WW8 filter rework + docx export From: Cedric Bosdonnat
table horizontal merge 2009-02-17 12:20:15 +0100
kendy r268033 : #i96319# WW8 filter rework + docx export From: Jan
Holesovsky impl_convertColor() is not necessary, we already
have impl_ColorToHex(). 2009-02-17 12:19:52 +0100 kendy r268032 : #i96319#
WW8 filter rework + docx export From: Cedric Bosdonnat
docx Line numbering 2009-02-17 12:19:31 +0100 kendy
r268031 : #i96319# WW8 filter rework + docx export From: Cedric Bosdonnat
docx: Implemented Section Types 2009-02-17 12:19:09
+0100 kendy r268030 : #i96319# WW8 filter rework + docx export From: Cedric
Bosdonnat FIX for borders: documents with no section
border didn't wrote completely 2009-02-17 12:18:50 +0100 kendy r268029 :
#i96319# WW8 filter rework + docx export From: Cedric Bosdonnat
Fixed some output errors for paragraphs borders
2009-02-17 12:18:31 +0100 kendy r268028 : #i96319# WW8 filter rework + docx
export From: Cedric Bosdonnat Fixed docx page border
export problems and added color support 2009-02-17 12:18:13 +0100 kendy
r268027 : #i96319# WW8 filter rework + docx export From: Cedric Bosdonnat
Beginning of page borders implementation 2009-02-17
12:17:54 +0100 kendy r268026 : #i96319# WW8 filter rework + docx export
From: Radek Doulik * export line arrow ends 2009-02-17
12:17:34 +0100 kendy r268025 : #i96319# WW8 filter rework + docx export
From: Radek Doulik * make helper function GetLineArrow
public so that it can be used in ooxml export put it in
EscherPropertyContainer class (static method) 2009-02-17 12:17:16 +0100 kendy
r268024 : #i96319# WW8 filter rework + docx export From: Cedric Bosdonnat
renamed AppendRelation to AddRelation. 2009-02-17
12:16:58 +0100 kendy r268023 : #i96319# WW8 filter rework + docx export
From: Cedric Bosdonnat Fixed hyperlinks style. Fixed
having a run of text before the hyperlink 2009-02-17 12:16:39 +0100 kendy
r268022 : #i96319# WW8 filter rework + docx export From: Jan Holesovsky
Initialize m_pHyperlinkAttrList to NULL. 2009-02-17 12:16:17
+0100 kendy r268021 : #i96319# WW8 filter rework + docx export From: Cedric
Bosdonnat Fixed the Hyperlink output Partly fixed
the language Id output 2009-02-17 12:15:54 +0100 kendy r268020 : #i96319#
WW8 filter rework + docx export From: Radek Doulik * fix
type mismatch in gradient code * add flip and rotation parameters to shape
transformation 2009-02-17 12:15:29 +0100 kendy r268019 : #i96319# WW8 filter
rework + docx export From: Radek Doulik * finished gradient
fill 2009-02-17 12:15:07 +0100 kendy r268018 : #i96319# WW8 filter rework +
docx export From: Cedric Bosdonnat + docx URL
export: output is still wrong 2009-02-17 12:14:44 +0100 kendy r268017 :
#i96319# WW8 filter rework + docx export From: Radek Doulik
* export linear and axial gradients 2009-02-17 12:14:27 +0100 kendy r268016
: #i96319# WW8 filter rework + docx export From: Radek Doulik
* export line joint type 2009-02-17 12:14:05 +0100 kendy
r268015 : #i96319# WW8 filter rework + docx export From: Radek Doulik
* export dashed lines 2009-02-17 12:13:48 +0100 kendy
r268014 : #i96319# WW8 filter rework + docx export From: Cedric Bosdonnat
cast problems fixed 2009-02-17 12:13:25 +0100 kendy
r268013 : #i96319# WW8 filter rework + docx export From: Radek Doulik
* added outline export * wrapped debug printfs in DBG *
fix text color and typeface placement * do not write empty runs * do not
write empty paragraph properties * added end paragraph properties - need to
be filled later 2009-02-17 12:13:02 +0100 kendy r268012 : #i96319# WW8
filter rework + docx export From: Radek Doulik export
language and fonts are now accepted by msppt 2009-02-17 12:12:44 +0100 kendy
r268011 : #i96319# WW8 filter rework + docx export From: Radek Doulik
re-enable pptx export - it was disabled by ooxml02 changes
committed to git repo 2009-02-17 12:12:22 +0100 kendy r268010 : #i96319# WW8
filter rework + docx export From: Radek Doulik fix build
2009-02-17 12:12:04 +0100 kendy r268009 : #i96319# WW8 filter rework + docx
export From: Jonathan Pryor Merge ooxml02 fixes.
2009-02-17 12:11:43 +0100 kendy r268008 : #i96319# WW8 filter rework + docx
export From: Radek Doulik move drawingml export to oox/
from sd/ 2009-02-17 12:11:20 +0100 kendy r268007 : #i96319# WW8 filter
rework + docx export From: Jan Holesovsky Revert commit
8b63649bf0a5d14703459bbf31e1599d592a5dff. It was already fixed easier way.
2009-02-17 12:11:00 +0100 kendy r268006 : #i96319# WW8 filter rework + docx
export From: Jonathan Pryor oox fixes to help sc
compile... * inc/oox/core/contexthandler2.hxx,
inc/oox/drawingml/chart/modelbase.hxx,
inc/oox/drawingml/customshapeproperties.hxx,
inc/oox/helper/attributelist.hxx, inc/oox/ppt/pptimport.hxx,
inc/oox/ppt/slidepersist.hxx: #include not
"tokens.hxx" as these files are deployed into solver, and there is no
"tokens.hxx" in other modules (such as sc). * prj/d.lst: Deliver enough
header files to let sc build some more... 2009-02-17 12:10:34 +0100 kendy
r268005 : #i96319# WW8 filter rework + docx export From: Jonathan Pryor
Deliver tablestylelist.hxx. * d.lst: Deliver
inc/oox/drawingml/table/tablestylelist.hxx, as it's needed by sc export.
2009-02-17 12:10:13 +0100 kendy r268004 : #i96319# WW8 filter rework + docx
export From: Jan Holesovsky Fix few warnings in sw, and
disable DocxExport::WriteNumbering() for now. 2009-02-17 12:09:56 +0100 kendy
r268003 : #i96319# WW8 filter rework + docx export From: Jan Holesovsky
Add empty implementations of 2 abstract import XmlFilterBase
methods. To be able to instantiate DocxExportFilter again... 2009-02-17
12:09:35 +0100 kendy r268002 : #i96319# WW8 filter rework + docx export
From: Jan Holesovsky Resolve an unresolved, forgotten chunk
[GetAttr() -> GetFmtAttr()]. 2009-02-17 12:09:08 +0100 kendy r268001 :
#i96319# WW8 filter rework + docx export From: Jan Holesovsky
Field work seems to compile now. Contains also a rename of OutField() to
OutputField() to match better the other changes. 2009-02-17 12:08:46 +0100
kendy r268000 : #i96319# WW8 filter rework + docx export From: Jan
Holesovsky Fix build, WriteOutliner() is now in WW8Export.
2009-02-17 12:08:26 +0100 kendy r267999 : #i96319# WW8 filter rework + docx
export From: Jan Holesovsky OutListTab() split into 2 methods
[OutListTab() and OutListTabLevels()]. Also introduced a general
WW8Export::WriteNumbering() which calls the needed methods.
OutListTabLevels() is planned to be reused in docx export as well. 2009-02-17
12:08:09 +0100 kendy r267998 : #i96319# WW8 filter rework + docx export
From: Jan Holesovsky DupNumRuleWithLvlStart() renamed to
DuplicateNumRule(). 2009-02-17 12:07:40 +0100 kendy r267997 : #i96319# WW8
filter rework + docx export From: Jan Holesovsky Check for
max numbering level can be in ParaNumRule(). 2009-02-17 12:07:20 +0100 kendy
r267996 : #i96319# WW8 filter rework + docx export From: Jan Holesovsky
Few whitespace changes. 2009-02-17 12:06:49 +0100 kendy
r267995 : #i96319# WW8 filter rework + docx export From: Jan Holesovsky
GetId( const SwNumRule& rNumRule ) should not be const. If
the first thing it does is a const_cast<...>( this ), then something is wrong
;-) 2009-02-17 12:06:29 +0100 kendy r267994 : #i96319# WW8 filter rework +
docx export From: Jan Holesovsky Redlining: Save author and
date. 2009-02-17 12:06:07 +0100 kendy r267993 : #i96319# WW8 filter rework +
docx export From: Jan Holesovsky Output redlining. So far
just insertion and deletion of text, and without author and timestamp.
2009-02-17 12:05:45 +0100 kendy r267992 : #i96319# WW8 filter rework + docx
export From: Jan Holesovsky Write the font table. 2009-02-17
12:05:27 +0100 kendy r267991 : #i96319# WW8 filter rework + docx export
From: Jan Holesovsky Get ready to output the fonts.
2009-02-17 12:05:06 +0100 kendy r267990 : #i96319# WW8 filter rework + docx
export From: Jan Holesovsky Fix namespace of relation id, and
output of headers and footers works now... It's r:id, not w:id ;-) 2009-02-17
12:04:40 +0100 kendy r267988 : #i96319# WW8 filter rework + docx export
From: Jan Holesovsky