Re: how to add a new font in installer package

2013-01-27 Thread Andras Timar
Hi,

On Mon, Jan 28, 2013 at 8:38 AM, huqitu du  wrote:
> I need to add a new font in installer In order to support traditional
> mongolia, and
> 1.  I copy font file to solver\wntmsci12.pro\bin and then
> 2.  modify the "scp2\source\ooo\file_font_ooo.scp" as DejaVuSans font did,
>
> //mongolian fonts
> #ifndef WITHOUT_FONTS
> STD_FONT_FILE( gid_File_Fnt_MenkQagan, MQG8F01.ttf, Menk Qagan Tig)
> #endif
>
> but when rebuild the scp2 and instsetoo_native, reinstall the libreoffice,
> but my font not copyed to windows\fonts dir, what I need to do another
> thing?
>

You need to add gid_File_Fnt_MenkQagan to scp2/source/ooo/module_hidden_ooo.scp.

Best regards,
Andras
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: GDB - Can I See Every Symbol Called?

2013-01-27 Thread Michael Meeks

On Sat, 2013-01-26 at 21:49 -0800, Joel Madero wrote:
> static void lcl_SavePrintUIOptionsToDocumentPrintData
> 
> is what is saving print options and that it's being called regardless of 
> if cancel or ok is being pushed (no good). So I'm trying to track down 
> something that is only called when Cancel is pushed so that I can move 
> the above function elsewhere. But unfortunately I can't use gdb for the 
> above function -- no clue why but it never appears to work with breaks).

IIWY I'd insert a break-point thus:

break unotxdoc.cxx:12345

where 12345 is the line-number of the lcl_ function that is most likely
inlined (as static 's tend to be) which usually confuses gdb nicely ;-)
[ when compiled with -g -O2 etc. ].

HTH,

Michael.

-- 
michael.me...@suse.com  <><, Pseudo Engineer, itinerant idiot

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


how to add a new font in installer package

2013-01-27 Thread huqitu du
I need to add a new font in installer In order to support traditional
mongolia, and
1.  I copy font file to solver\wntmsci12.pro\bin and then
2.  modify the "scp2\source\ooo\file_font_ooo.scp" as DejaVuSans font did,

//mongolian fonts
#ifndef WITHOUT_FONTS
STD_FONT_FILE( gid_File_Fnt_MenkQagan, MQG8F01.ttf, Menk Qagan Tig)
#endif

but when rebuild the scp2 and instsetoo_native, reinstall the libreoffice,
but my font not copyed to windows\fonts dir, what I need to do another
thing?
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: configure.ac

2013-01-27 Thread Libreoffice Gerrit user
 configure.ac |   18 +++---
 1 file changed, 11 insertions(+), 7 deletions(-)

New commits:
commit 8e01e195d20dba9f32ee0954fd7e3374ac02f16a
Author: Fridrich Å trba 
Date:   Mon Jan 28 06:36:55 2013 +0100

Check for icu CXXFLAGS too

diff --git a/configure.ac b/configure.ac
index ddd0f71..885ce3e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -68,16 +68,20 @@ AC_CHECK_HEADER(
 # 
 # Find icu
 # 
-PKG_CHECK_MODULES([ICU],[icu-i18n],[],[
+AS_IF([test "${ICU_CFLAGS+set}" = set],[
+   ICU_CFLAGS_overriden=yes],[
+   ICU_CFLAGS_overriden=no])
+PKG_CHECK_MODULES([ICU],[icu-i18n],[
+   AS_IF([test "${ICU_CFLAGS_overriden}" = no], [
+   ICU_CFLAGS="${ICU_CFLAGS} `${PKG_CONFIG} icu-i18n 
--variable=CXXFLAGS`"])
+   ], [
AC_PATH_PROG([ICU_CONFIG],[icu-config])
AC_MSG_CHECKING([ICU installation])
-   if ${ICU_CONFIG} --cflags >/dev/null 2>&1; then
-   ICU_CFLAGS=`${ICU_CONFIG} --cppflags-searchpath`
+   AS_IF([${ICU_CONFIG} --cflags >/dev/null 2>&1],[
+   ICU_CFLAGS=`${ICU_CONFIG} --cppflags-searchpath --cxxflags`
ICU_LIBS=`${ICU_CONFIG} --ldflags`
-   AC_MSG_RESULT([found])
-   else
-   AC_MSG_ERROR([libicu config program icu-config not found])
-   fi]
+   AC_MSG_RESULT([found])],[
+   AC_MSG_ERROR([libicu config program icu-config not found])])]
 )
 AC_SUBST(ICU_CFLAGS)
 AC_SUBST(ICU_LIBS)
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: configure.ac

2013-01-27 Thread Libreoffice Gerrit user
 configure.ac |   16 ++--
 1 file changed, 10 insertions(+), 6 deletions(-)

New commits:
commit 14d0efcd5387a26c8e364efbd4b7a6fd1f925194
Author: Fridrich Å trba 
Date:   Mon Jan 28 06:36:10 2013 +0100

Check for icu CXXFLAGS in pkg-config branch too

diff --git a/configure.ac b/configure.ac
index 446aa40..cf5d9bb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -65,16 +65,20 @@ AC_SUBST(ZLIB_LIBS)
 # 
 # Find icu
 # 
-PKG_CHECK_MODULES([ICU],[icu-i18n],[],[
+AS_IF([test "${ICU_CFLAGS+set}" = set],[
+   ICU_CFLAGS_overriden=yes],[
+   ICU_CFLAGS_overriden=no])
+PKG_CHECK_MODULES([ICU],[icu-i18n],[
+   AS_IF([test "${ICU_CFLAGS_overriden}" = no], [
+   ICU_CFLAGS="${ICU_CFLAGS} `${PKG_CONFIG} icu-i18n 
--variable=CXXFLAGS`"])
+   ], [
AC_PATH_PROG([ICU_CONFIG],[icu-config])
AC_MSG_CHECKING([ICU installation])
-   if ${ICU_CONFIG} --cflags >/dev/null 2>&1; then
+   AS_IF([${ICU_CONFIG} --cflags >/dev/null 2>&1],[
ICU_CFLAGS=`${ICU_CONFIG} --cppflags-searchpath --cxxflags`
ICU_LIBS=`${ICU_CONFIG} --ldflags`
-   AC_MSG_RESULT([found])
-   else
-   AC_MSG_ERROR([libicu config program icu-config not found])
-   fi]
+   AC_MSG_RESULT([found])],[
+   AC_MSG_ERROR([libicu config program icu-config not found])])]
 )
 AC_SUBST(ICU_CFLAGS)
 AC_SUBST(ICU_LIBS)
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] Changes to 'feature/bplustree'

2013-01-27 Thread Libreoffice Gerrit user
New branch 'feature/bplustree' available with the following commits:
commit bfd8ba2869dacd0d6881332e7ab2e9d2f4597af6
Author: Jan Holesovsky 
Date:   Sun Jan 27 23:51:27 2013 +0100

B+ tree: Experimenting with replacement of BigPtrArray.

The BigPtrArray implementation does not seem to be entirely optimal from the
data structure point of view.  Let's experiment with a drop-in replacement
using a B+ tree (not B-tree!) that seems to be much more fit for the 
purpose -
it nicely handles holes in the indices (ie. does not eat your entire memory 
if
you insert just one entry at 100), and allows traversing all the data in
O(n).

From reading the code, I believe these were the only requirements for
BigPtrArray.  Eg. seeing that BigPtrArray::Insert() can lead to copying of 
the
entire content of the BlockInfo array makes me feel a bit dizzy.  Other
aspects of BigPtrArray remind of a naive B+ tree (without the actual tree)
implementation, see eg. BigPtrArray::Index2Block() and its binary search.

The other advantage is that if the B+ tree implementation works (ie. 
compares
well with BigPtrArray from the performance point of view), I believe it will
allow larger update of the entire Writer core, mainly in the area of undo,
redo, and change tracking - via copy-on-write, and remembering the entire B+
trees (with most of the metadata + data shared).

This commit only copies the BigPtrArray API to a new header.  The
implementation itself will reuse no code from BigPtrArray.

Change-Id: I65f97f26439a29edbbbac3f48a94aa007a8ef1ea

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: The emails should by right, contain unsubscribe link.

2013-01-27 Thread Arno Teigseth
On 27/01/13 17:23, wroger_wroger wroger_wroger wrote:
> And one should not have to go to websites, enter pass words etc., etc.,
> etc..
> 
> "Unsubscribe + Send" = removed from list.

Hmm YOU're the one spamming the list with UCE and yet you complain?


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


The emails should by right, contain unsubscribe link.

2013-01-27 Thread wroger_wroger wroger_wroger
And one should not have to go to websites, enter pass words etc., etc.,
etc..

"Unsubscribe + Send" = removed from list.

-- 

"Oh Benson. Dear Benson. You are so mercifully free of the ravages of
intelligence."
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: 3 commits - cosv/source extensions/source filter/source rsc/source sc/source sfx2/source stoc/test sw/source uui/source vcl/source writerfilter/source

2013-01-27 Thread Libreoffice Gerrit user
 cosv/source/unittest/string_ut.cxx   |8 +++-
 extensions/source/scanner/sanedlg.cxx|4 ++--
 filter/source/config/cache/basecontainer.cxx |1 +
 rsc/source/res/rscmgr.cxx|7 ++-
 sc/source/filter/xml/XMLColumnRowGroupExport.cxx |2 +-
 sfx2/source/control/objface.cxx  |1 +
 stoc/test/testiadapter.cxx   |4 ++--
 sw/source/ui/docvw/PostItMgr.cxx |4 ++--
 sw/source/ui/frmdlg/colex.cxx|3 +--
 uui/source/fltdlg.cxx|   13 +++--
 vcl/source/gdi/print.cxx |2 --
 writerfilter/source/doctok/WW8StructBase.hxx |2 +-
 12 files changed, 23 insertions(+), 28 deletions(-)

New commits:
commit b8d4b8656f1f4e4782ba7460070e99babc8a499e
Author: Julien Nabet 
Date:   Sun Jan 27 23:07:58 2013 +0100

Some cppcheck cleaning

Change-Id: I7217ab7500de5d8220b85e56aceb6e843bd0769f

diff --git a/extensions/source/scanner/sanedlg.cxx 
b/extensions/source/scanner/sanedlg.cxx
index 144daca..a69a452 100644
--- a/extensions/source/scanner/sanedlg.cxx
+++ b/extensions/source/scanner/sanedlg.cxx
@@ -625,16 +625,16 @@ IMPL_LINK( SaneDlg, ModifyHdl, Edit*, pEdit )
 else if( pEdit == &maNumericEdit )
 {
 double fValue;
-char pBuf[256];
 rtl::OString 
aContents(rtl::OUStringToOString(maNumericEdit.GetText(),
 osl_getThreadTextEncoding()));
 fValue = atof(aContents.getStr());
 if( mfMin != mfMax && ( fValue < mfMin || fValue > mfMax ) )
 {
+char pBuf[256];
 if( fValue < mfMin )
 fValue = mfMin;
 else if( fValue > mfMax )
-fValue = mfMax;
+fValue = mfMax;
 sprintf( pBuf, "%g", fValue );
 maNumericEdit.SetText( String( pBuf, 
osl_getThreadTextEncoding() ) );
 }
diff --git a/filter/source/config/cache/basecontainer.cxx 
b/filter/source/config/cache/basecontainer.cxx
index 8e65caa..e829d57 100644
--- a/filter/source/config/cache/basecontainer.cxx
+++ b/filter/source/config/cache/basecontainer.cxx
@@ -50,6 +50,7 @@ BaseContainer::BaseContainer()
 : BaseLock (   )
 , m_rCache (   )
 , m_pFlushCache(NULL   )
+, m_eType()
 , m_lListener  (m_aLock)
 {
 m_rCache->load(FilterCache::E_CONTAINS_STANDARD);
diff --git a/rsc/source/res/rscmgr.cxx b/rsc/source/res/rscmgr.cxx
index 7d28932..be2301b 100644
--- a/rsc/source/res/rscmgr.cxx
+++ b/rsc/source/res/rscmgr.cxx
@@ -132,15 +132,12 @@ sal_Bool RscMgr::IsDefault( const RSCINST & rInst ){
 |*
 */
 sal_Bool RscMgr::IsValueDefault( const RSCINST & rInst, CLASS_DATA pDef ){
-RscMgrInst * pClassData;
-RscMgrInst * pDfltData;
-
 if( !RscClass::IsValueDefault( rInst, pDef ) )
 return sal_False;
 
 if( pDef ){
-pClassData = (RscMgrInst *)(rInst.pData + RscClass::Size());
-pDfltData  = (RscMgrInst *)(pDef + RscClass::Size());
+RscMgrInst * pClassData = (RscMgrInst *)(rInst.pData + 
RscClass::Size());
+RscMgrInst * pDfltData  = (RscMgrInst *)(pDef + RscClass::Size());
 
 if( !pClassData->aRefId.IsId() && !pDfltData->aRefId.IsId() ){
 return sal_True;
diff --git a/sc/source/filter/xml/XMLColumnRowGroupExport.cxx 
b/sc/source/filter/xml/XMLColumnRowGroupExport.cxx
index 458f941..51dcb9f 100644
--- a/sc/source/filter/xml/XMLColumnRowGroupExport.cxx
+++ b/sc/source/filter/xml/XMLColumnRowGroupExport.cxx
@@ -27,7 +27,7 @@
 
 using namespace xmloff::token;
 
-ScMyColumnRowGroup::ScMyColumnRowGroup()
+ScMyColumnRowGroup::ScMyColumnRowGroup() : bDisplay(false)
 {
 }
 
diff --git a/sfx2/source/control/objface.cxx b/sfx2/source/control/objface.cxx
index dc0417b..9e253f0 100644
--- a/sfx2/source/control/objface.cxx
+++ b/sfx2/source/control/objface.cxx
@@ -91,6 +91,7 @@ struct SfxInterface_Impl
 SfxInterface_Impl() :
 aPopupRes(0,*SfxApplication::GetOrCreate()->GetSfxResManager()),
 aStatBarRes(0,*SfxApplication::GetOrCreate()->GetSfxResManager())
+, pModule(NULL)
 , bRegistered(sal_False)
 {
 pObjectBars   = new SfxObjectUIArr_Impl;
diff --git a/sw/source/ui/docvw/PostItMgr.cxx b/sw/source/ui/docvw/PostItMgr.cxx
index 90c369c..768827d 100644
--- a/sw/source/ui/docvw/PostItMgr.cxx
+++ b/sw/source/ui/docvw/PostItMgr.cxx
@@ -925,9 +925,7 @@ bool SwPostItMgr::LayoutByPage(std::list 
&aVisiblePostItList,cons
 longlTopBorder  = rBorder.Top() + 5;
 longlBottomBorder   = rBorder.Bottom() - 5;
 const long  lVisibleHeight  = lBottomBorder - lTopBorder; 
//rBorder.GetHeight() ;
-longlSpaceUsed = 0;
 longlTranslatePos   = 0;
-int loop =

Cppcheck: "bContainsDate" not read in templateremoteview.cxx (sfx2)

2013-01-27 Thread julien2412
Hello,

Cppcheck detected this:
sfx2/source/control/templateremoteview.cxx
129 unreadVariable  style   Variable 'bContainsDate' is assigned a value 
that
is never used.

Here are the lines:
124 bool bContainsDate = !xRow->wasNull();
125 
126 if ( !bContainsDate )
127 {
128 aDT = xRow->getTimestamp( ROW_DATE_CREATE );
129 bContainsDate = !xRow->wasNull();
130 }

see
http://opengrok.libreoffice.org/xref/core/sfx2/source/control/templateremoteview.cxx#116

Should line 129 just be removed or bContainsDate should be used in some way
or bContainsDate shouldn't be a new variable for each while loop?

Julien



--
View this message in context: 
http://nabble.documentfoundation.org/Cppcheck-bContainsDate-not-read-in-templateremoteview-cxx-sfx2-tp4032416.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Are we using SimpleReferenceObject correctly?

2013-01-27 Thread Henrik /KaarPoSoft

Dear all,

As described in the mailing-list-thread
Issues building LibreOffice 4.0.0.1
http://lists.freedesktop.org/archives/libreoffice/2013-January/044838.html
I am trying to build and package LibreOffice 4.0.0.* for KaarPux
http://kaarpux.kaarposoft.dk/

I am starting a new mailing-list thread here to try to address
one issue at a time.

With LibreOffice 4.0.0.2, Stephans patch
http://cgit.freedesktop.org/libreoffice/core/commit/?id=d71e8fb17bd008751909ef2fabc6ff4f1e2db187
no other pathes and the configuration attached as "config.txt"
building is now stuck at
[build LNK] Library/libmysqllo.so
with
undefined reference to 'typeinfo for salhelper::SimpleReferenceObject'

See attached "libmysqllo_lnk_error.txt"

googel'ing the error message tends to indicate a problem with virtual
functions.

salhelper/inc/salhelper/simplereferenceobject.hxx has

class SALHELPER_DLLPUBLIC SimpleReferenceObject
{
[...]
protected:
virtual ~SimpleReferenceObject() SAL_THROW(());
[...]
};

I am no C++ expert, but as far as I can tell, this makes
SimpleReferenceObject an abstract class, and subclasses
should declare and implement ~SimpleReferenceObject.

A simple grep shows that we have ORowSetValueDecorator defined in
places like
connectivity/inc/connectivity/inc/FValue.hxx

And as far as I can see, ORowSetValueDecorator does NOT
declare ~ORowSetValueDecorator

Grepping for other uses of SimpleReferenceObject turns up many
references, and I picked one at random:
xmloff/inc/xmloff/formlayerimport.hxx

Here we have

class XMLOFF_DLLPUBLIC OFormLayerXMLImport
:public ::salhelper::SimpleReferenceObject
{
OFormLayerXMLImport_Impl*   m_pImpl;

public:
OFormLayerXMLImport(SvXMLImport& _rImporter);
~OFormLayerXMLImport();

So, the subclass here DOES implement
~SimpleReferenceObject
as
~OFormLayerXMLImport()

As I am certainly no C++ expert, please allow me to ask this
question to the list:

Are we using SimpleReferenceObject correctly?
In particular, maybe we should define
~SimpleReferenceObject
in all subclasses ?

Thanks in advance for any input on this.

/Henrik
- echo: "autogen"

- sh: >
./autogen.sh

# TRY TO KEEP THE OPTIONS IN THE SAME SEQUENCE AS ./configure --help

--prefix="${KX_PREFIX}"

# For debuging: build packages in sequential order
--with-parallelism=1

# When (re-)building sequential build can be achived with:
# make PARALLELISM=1

# Disable LibreOffice includes self-packaging code
--disable-epm

# This option disables installing the office development kit
--disable-odk

# TODO:  Consider --enable-mathmldtd  Enable bundling of (modified) 
MathML 1.01 DTD.

#  Allows the built-in evolution 2 addressbook connectivity build to be 
enabled.
--enable-evolution2

# Include debugging symbols in output.
# WARNING - a complete build needs 8 Gb of space and takes much longer 
(enables -g compiler flag).
# --enable-symbols

# Enable link-time optimization. Suitable for product builds. Building 
takes longer but libraries are optimized for speed
--enable-lto

#  the crashdump feature.
--enable-crashdump

# Determines whether to use Gtk+ 3.0 vclplug on platforms where Gtk+ 
3.0 is available.
--enable-gtk3

# Determines whether to build the OpenGL 3D slide transitions component.
--enable-opengl

# Determines whether to enable presentation mode screensaver control 
under GNOME via DBUS.
--enable-dbus

# Do not use the deprecated gnome-vfs, but use gvfs from gio instead
--disable-gnome-vfs
--enable-gio

# Determines whether to enable Telepathy for collaboration
--enable-telepathy

# TODO: --enable-gstreamer  Enable building with the new gstreamer 
1.0 avmedia backend
# TODO: –disable-gstreamer-0-10 Disable building the gstreamer avmedia 
backend

# Increase build verbosity
--enable-verbose

# TODO: --enable-extra-gallery  Add extra gallery content.
# TODO: --enable-extra-template Add extra template content.
# TODO: --enable-extra-sample   Add extra sample content.
# TODO: --enable-extra-font Add extra font content.

# Disable the build of the PostgreSQL-SDBC driver.
--disable-postgresql-sdbc

# Specify path to tarfiles manually.
--with-external-tar="${KX_BASE}/../downloads/${KX_LIBREOFFICE}"

# TODO: --without-fonts
# LibreOffice includes some third-party fonts to provide a reliable 
basis for help content, templates, samples, etc.
# When these fonts are already known to be available on the system then 
you should use this option.

# Removes Postscript Printer definition files
# Already included with CUPS
--without-ppds 

# TODO:  --without-afms
# Re

[Libreoffice-commits] .: Branch 'libreoffice-4-0-0' - translations

2013-01-27 Thread Libreoffice Gerrit user
 translations |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a5c705f6f7002379ba85ba9f86bef4020d3139b5
Author: Andras Timar 
Date:   Sun Jan 27 22:09:28 2013 +0100

Updated core
Project: translations  d8ebcbaf0cf34f2c8ffbc9337e08089e6bbd12f1

diff --git a/translations b/translations
index 176cb95..d8ebcba 16
--- a/translations
+++ b/translations
@@ -1 +1 @@
-Subproject commit 176cb9549621b2ca75614902cddad9562ce620a9
+Subproject commit d8ebcbaf0cf34f2c8ffbc9337e08089e6bbd12f1
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: Branch 'libreoffice-4-0' - translations

2013-01-27 Thread Libreoffice Gerrit user
 translations |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9822eed6bb98189c5a919ace4f8da0a1f5bc0a3e
Author: Andras Timar 
Date:   Sun Jan 27 22:09:28 2013 +0100

Updated core
Project: translations  fc67068258cdaa8f6e4c461fcb0b79262161e181

diff --git a/translations b/translations
index 1455a06..fc67068 16
--- a/translations
+++ b/translations
@@ -1 +1 @@
-Subproject commit 1455a06dbf7a9ae2d8a283ec480bbc13f76d3964
+Subproject commit fc67068258cdaa8f6e4c461fcb0b79262161e181
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Feel free to use my art for the LO branding

2013-01-27 Thread Mateus Machado Luna
All of my past & future contributions to LibreOffice may be licensed under
the MPL/LGPLv3+ dual license.

-- 
*Mateus Machado Luna
*Cursando Graduação em Ciências da Computação na UFG Goiânia
Técnico em Eletrônica pelo IFG Goiânia.
http://ubuntugk.wordpress.com/
http://www.flickr.com/photos/mateus-ml-wetah/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: sc/source xmloff/inc xmloff/source

2013-01-27 Thread Libreoffice Gerrit user
 sc/source/filter/xml/xmlcondformat.cxx |   75 +
 sc/source/filter/xml/xmlcondformat.hxx |   14 ++
 sc/source/filter/xml/xmlexprt.cxx  |   43 ++
 sc/source/filter/xml/xmlimprt.cxx  |   20 
 sc/source/filter/xml/xmlimprt.hxx  |   11 
 xmloff/inc/xmloff/xmltoken.hxx |1 
 xmloff/source/core/xmltoken.cxx|1 
 7 files changed, 164 insertions(+), 1 deletion(-)

New commits:
commit e820c249a4280fb38cf0ef7664006707382a687e
Author: Markus Mohrhard 
Date:   Fri Nov 16 15:08:40 2012 +0100

implement conditional date format import/export for ODF

Change-Id: I11d5583c994d84fe1163c6158c0794ea1d879f2e

diff --git a/sc/source/filter/xml/xmlcondformat.cxx 
b/sc/source/filter/xml/xmlcondformat.cxx
index 571426c..64e9d2a 100644
--- a/sc/source/filter/xml/xmlcondformat.cxx
+++ b/sc/source/filter/xml/xmlcondformat.cxx
@@ -131,6 +131,9 @@ SvXMLImportContext* 
ScXMLConditionalFormatContext::CreateChildContext( sal_uInt1
 case XML_TOK_CONDFORMAT_ICONSET:
 pContext = new ScXMLIconSetFormatContext( GetScImport(), nPrefix, 
rLocalName, xAttrList, mpFormat );
 break;
+case XML_TOK_CONDFORMAT_DATE:
+pContext = new ScXMLDateContext( GetScImport(), nPrefix, 
rLocalName, xAttrList, mpFormat );
+break;
 default:
 break;
 }
@@ -703,4 +706,76 @@ ScXMLFormattingEntryContext::ScXMLFormattingEntryContext( 
ScXMLImport& rImport,
 setColorEntryType(sType, pColorScaleEntry, sVal, GetScImport());
 }
 
+namespace {
+
+condformat::ScCondFormatDateType getDateFromString(const rtl::OUString& 
rString)
+{
+if(rString == "today")
+return condformat::TODAY;
+else if(rString == "yesterday")
+return condformat::YESTERDAY;
+else if(rString == "tomorrow")
+return condformat::TOMORROW;
+else if(rString == "last-7-days")
+return condformat::LAST7DAYS;
+else if(rString == "this-week")
+return condformat::THISWEEK;
+else if(rString == "last-week")
+return condformat::LASTWEEK;
+else if(rString == "next-week")
+return condformat::NEXTWEEK;
+else if(rString == "this-month")
+return condformat::THISMONTH;
+else if(rString == "last-month")
+return condformat::LASTMONTH;
+else if(rString == "next-month")
+return condformat::NEXTMONTH;
+else if(rString == "this-year")
+return condformat::THISYEAR;
+else if(rString == "last-year")
+return condformat::LASTYEAR;
+else if(rString == "next-year")
+return condformat::NEXTYEAR;
+
+SAL_WARN("sc", "unknown date type: " << rString);
+return condformat::TODAY;
+}
+
+}
+
+ScXMLDateContext::ScXMLDateContext( ScXMLImport& rImport, sal_uInt16 nPrfx,
+const ::rtl::OUString& rLName, const 
::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList>& 
xAttrList,
+ScConditionalFormat* pFormat ):
+SvXMLImportContext( rImport, nPrfx, rLName )
+{
+rtl::OUString sDateType, sStyle;
+sal_Int16 nAttrCount(xAttrList.is() ? xAttrList->getLength() : 0);
+const SvXMLTokenMap& rAttrTokenMap = GetScImport().GetCondDateAttrMap();
+for( sal_Int16 i=0; i < nAttrCount; ++i )
+{
+const rtl::OUString& sAttrName(xAttrList->getNameByIndex( i ));
+rtl::OUString aLocalName;
+sal_uInt16 nPrefix(GetScImport().GetNamespaceMap().GetKeyByAttrName(
+sAttrName, &aLocalName ));
+const rtl::OUString& sValue(xAttrList->getValueByIndex( i ));
+
+switch( rAttrTokenMap.Get( nPrefix, aLocalName ) )
+{
+case XML_TOK_COND_DATE_VALUE:
+sDateType = sValue;
+break;
+case XML_TOK_COND_DATE_STYLE:
+sStyle = sValue;
+default:
+break;
+}
+}
+
+ScCondDateFormatEntry* pFormatEntry = new 
ScCondDateFormatEntry(GetScImport().GetDocument());
+pFormatEntry->SetStyleName(sStyle);
+pFormatEntry->SetDateType(getDateFromString(sDateType));
+pFormat->AddEntry(pFormatEntry);
+
+}
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/xmlcondformat.hxx 
b/sc/source/filter/xml/xmlcondformat.hxx
index 0ace1eb..1b64cd5 100644
--- a/sc/source/filter/xml/xmlcondformat.hxx
+++ b/sc/source/filter/xml/xmlcondformat.hxx
@@ -194,4 +194,18 @@ public:
 virtual ~ScXMLCondContext() {}
 };
 
+class ScXMLDateContext : public SvXMLImportContext
+{
+const ScXMLImport& GetScImport() const { return (const 
ScXMLImport&)GetImport(); }
+ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
+public:
+ScXMLDateContext( ScXMLImport& rImport, sal_uInt16 nPrfx,
+const ::rtl::OUString& rLName,
+const ::com::sun::star::uno::Reference<
+

[Libreoffice-commits] .: dbaccess/source

2013-01-27 Thread Libreoffice Gerrit user
 dbaccess/source/core/dataaccess/databasecontext.cxx   |5 -
 dbaccess/source/core/dataaccess/databaseregistrations.cxx |   12 +-
 dbaccess/source/core/dataaccess/definitioncontainer.cxx   |   12 +-
 dbaccess/source/core/dataaccess/documentcontainer.cxx |2 
 dbaccess/source/core/dataaccess/intercept.cxx |   33 +++
 dbaccess/source/core/dataaccess/myucp_datasupplier.cxx|5 -
 dbaccess/source/core/misc/DatabaseDataProvider.cxx|   60 +-
 dbaccess/source/core/misc/dsntypes.cxx|   12 +-
 dbaccess/source/core/misc/sdbcoretools.cxx|3 
 dbaccess/source/core/recovery/dbdocrecovery.cxx   |   19 +---
 dbaccess/source/core/recovery/settingsimport.cxx  |   10 --
 dbaccess/source/core/recovery/storagetextstream.cxx   |4 
 dbaccess/source/core/recovery/subcomponentloader.cxx  |2 
 dbaccess/source/core/recovery/subcomponentrecovery.cxx|   42 -
 14 files changed, 95 insertions(+), 126 deletions(-)

New commits:
commit a1808e0d38dd36d590a5bae26a02c49252d6162a
Author: Marcos Paulo de Souza 
Date:   Sat Jan 26 13:25:40 2013 -0200

Remove more STRINGPARAM macros form dbaccess

Change-Id: I283ccd03dc811dda2f10963f400cd517f42ea7b3
Reviewed-on: https://gerrit.libreoffice.org/1878
Reviewed-by: Olivier Hallot 
Tested-by: Olivier Hallot 

diff --git a/dbaccess/source/core/dataaccess/databasecontext.cxx 
b/dbaccess/source/core/dataaccess/databasecontext.cxx
index b5372d4..8144f82 100644
--- a/dbaccess/source/core/dataaccess/databasecontext.cxx
+++ b/dbaccess/source/core/dataaccess/databasecontext.cxx
@@ -204,10 +204,9 @@ ODatabaseContext::~ODatabaseContext()
 }
 
 // Helper
-rtl::OUString ODatabaseContext::getImplementationName_static() throw( 
RuntimeException )
-
+OUString ODatabaseContext::getImplementationName_static() throw( 
RuntimeException )
 {
-return 
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.dba.ODatabaseContext"));
+return OUString("com.sun.star.comp.dba.ODatabaseContext");
 }
 
 Reference< XInterface > ODatabaseContext::Create(const Reference< 
XComponentContext >& _rxContext)
diff --git a/dbaccess/source/core/dataaccess/databaseregistrations.cxx 
b/dbaccess/source/core/dataaccess/databaseregistrations.cxx
index 344c15c..5886fbd 100644
--- a/dbaccess/source/core/dataaccess/databaseregistrations.cxx
+++ b/dbaccess/source/core/dataaccess/databaseregistrations.cxx
@@ -53,21 +53,21 @@ namespace dbaccess
 using ::com::sun::star::uno::XAggregation;
 /** === end UNO using === **/
 
-static const ::rtl::OUString& getConfigurationRootPath()
+static const OUString& getConfigurationRootPath()
 {
-static ::rtl::OUString 
s_sNodeName(RTL_CONSTASCII_USTRINGPARAM("org.openoffice.Office.DataAccess/RegisteredNames"));
+static OUString 
s_sNodeName("org.openoffice.Office.DataAccess/RegisteredNames");
 return s_sNodeName;
 }
 
-const ::rtl::OUString& getLocationNodeName()
+const OUString& getLocationNodeName()
 {
-static ::rtl::OUString 
s_sNodeName(RTL_CONSTASCII_USTRINGPARAM("Location"));
+static OUString s_sNodeName("Location");
 return s_sNodeName;
 }
 
-const ::rtl::OUString& getNameNodeName()
+const OUString& getNameNodeName()
 {
-static ::rtl::OUString 
s_sNodeName(RTL_CONSTASCII_USTRINGPARAM("Name"));
+static OUString s_sNodeName("Name");
 return s_sNodeName;
 }
 
diff --git a/dbaccess/source/core/dataaccess/definitioncontainer.cxx 
b/dbaccess/source/core/dataaccess/definitioncontainer.cxx
index 928f2cf..8c8cd98 100644
--- a/dbaccess/source/core/dataaccess/definitioncontainer.cxx
+++ b/dbaccess/source/core/dataaccess/definitioncontainer.cxx
@@ -159,16 +159,16 @@ ODefinitionContainer::~ODefinitionContainer()
 IMPLEMENT_FORWARD_XINTERFACE2( 
ODefinitionContainer,OContentHelper,ODefinitionContainer_Base)
 
IMPLEMENT_TYPEPROVIDER2(ODefinitionContainer,OContentHelper,ODefinitionContainer_Base);
 // XServiceInfo
-::rtl::OUString SAL_CALL ODefinitionContainer::getImplementationName(  ) 
throw(RuntimeException)
+OUString SAL_CALL ODefinitionContainer::getImplementationName(  ) 
throw(RuntimeException)
 {
-return 
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.sdb.ODefinitionContainer"));
+return OUString("com.sun.star.sdb.ODefinitionContainer");
 }
 
-Sequence< ::rtl::OUString > SAL_CALL 
ODefinitionContainer::getSupportedServiceNames(  ) throw(RuntimeException)
+Sequence< OUString > SAL_CALL ODefinitionContainer::getSupportedServiceNames(  
) throw(RuntimeException)
 {
-Sequence< ::rtl::OUString > aReturn(2);
-aReturn.getArray()[0] = 
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.sdb.DefinitionContainer"));
-aReturn.getArray()[1] = 
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.ucb.Content"));
+Sequence< OUString > aReturn(2);
+aReturn.getArray()[0] = "com.sun

[Libreoffice-commits] .: cui/AllLangResTarget_cui.mk cui/source cui/uiconfig cui/UI_cui.mk sw/uiconfig

2013-01-27 Thread Libreoffice Gerrit user
 cui/AllLangResTarget_cui.mk|1 
 cui/UI_cui.mk  |1 
 cui/source/inc/helpid.hrc  |1 
 cui/source/options/optaccessibility.cxx|  122 -
 cui/source/options/optaccessibility.hrc|   71 ---
 cui/source/options/optaccessibility.hxx|   21 --
 cui/source/options/optaccessibility.src|  128 -
 cui/uiconfig/ui/optaccessibilitypage.ui|  269 +
 sw/uiconfig/swriter/ui/libaccessibility.ui |  237 -
 9 files changed, 317 insertions(+), 534 deletions(-)

New commits:
commit 3d033a8457180d9e4ccc2b1c1568d79087805209
Author: Caolán McNamara 
Date:   Sun Jan 27 13:04:36 2013 +

move accessibility options .ui to right place and adapt code

getting rid a pile of custom widget moving code

Change-Id: I68879f9ebaf28629c4759315b318b390a985a544

diff --git a/cui/AllLangResTarget_cui.mk b/cui/AllLangResTarget_cui.mk
index 92231f6..fb9c10a 100644
--- a/cui/AllLangResTarget_cui.mk
+++ b/cui/AllLangResTarget_cui.mk
@@ -81,7 +81,6 @@ $(eval $(call gb_SrsTarget_add_files,cui/res,\
 cui/source/options/doclinkdialog.src \
 cui/source/options/fontsubs.src \
 cui/source/options/internationaloptions.src \
-cui/source/options/optaccessibility.src \
 cui/source/options/optasian.src \
 cui/source/options/optchart.src \
 cui/source/options/optcolor.src \
diff --git a/cui/UI_cui.mk b/cui/UI_cui.mk
index d2d7d8b..9a6e896 100644
--- a/cui/UI_cui.mk
+++ b/cui/UI_cui.mk
@@ -27,6 +27,7 @@ $(eval $(call gb_UI_add_uifiles,cui,\
cui/uiconfig/ui/numberingpositionpage \
cui/uiconfig/ui/objectnamedialog \
cui/uiconfig/ui/objecttitledescdialog \
+   cui/uiconfig/ui/optaccessibilitypage \
cui/uiconfig/ui/personalization_tab \
cui/uiconfig/ui/pickbulletpage \
cui/uiconfig/ui/pickgraphicpage \
diff --git a/cui/source/inc/helpid.hrc b/cui/source/inc/helpid.hrc
index c783861..9dc68df 100644
--- a/cui/source/inc/helpid.hrc
+++ b/cui/source/inc/helpid.hrc
@@ -43,7 +43,6 @@
 #define HID_LNGDLG_NUM_PREBREAK "CUI_HID_LNGDLG_NUM_PREBREAK"
 #define HID_OPTIONS_COLORCONFIG "CUI_HID_OPTIONS_COLORCONFIG"
 #define HID_OPTIONS_COLORCONFIG_SAVE_SCHEME 
"CUI_HID_OPTIONS_COLORCONFIG_SAVE_SCHEME"
-#define HID_OPTIONS_ACCESSIBILITYCONFIG "CUI_HID_OPTIONS_ACCESSIBILITYCONFIG"
 #define HID_OPTIONS_COLORCONFIG_COLORLIST_WIN 
"CUI_HID_OPTIONS_COLORCONFIG_COLORLIST_WIN"
 #define HID_OPTIONS_COLORCONFIG_NAME_SCHEME 
"CUI_HID_OPTIONS_COLORCONFIG_NAME_SCHEME"
 #define HID_OPTIONS_PATHS_SELECTFOLDER "CUI_HID_OPTIONS_PATHS_SELECTFOLDER"
diff --git a/cui/source/options/optaccessibility.cxx 
b/cui/source/options/optaccessibility.cxx
index 47736e4..47a2f5c 100644
--- a/cui/source/options/optaccessibility.cxx
+++ b/cui/source/options/optaccessibility.cxx
@@ -18,21 +18,12 @@
  */
 
 #include 
-#include 
 #include 
 #include 
 #include 
 #include 
 #include 
 
-static void MovePosY( Window& _rWin, long _nDelta )
-{
-Point   aPoint = _rWin.GetPosPixel();
-aPoint.Y() += _nDelta;
-
-_rWin.SetPosPixel( aPoint );
-}
-
 struct SvxAccessibilityOptionsTabPage_Impl
 {
 SvtAccessibilityOptions m_aConfig;
@@ -40,66 +31,29 @@ struct SvxAccessibilityOptionsTabPage_Impl
 : m_aConfig(){}
 };
 
-SvxAccessibilityOptionsTabPage::SvxAccessibilityOptionsTabPage( Window* 
pParent, const SfxItemSet& rSet )
-:SfxTabPage(pParent, CUI_RES( RID_SVXPAGE_ACCESSIBILITYCONFIG ), rSet)
-,m_aMiscellaneousLabel  (this, CUI_RES(FL_MISCELLANEOUS ))
-,m_aAccessibilityTool   (this, CUI_RES(CB_ACCESSIBILITY_TOOL))
-,m_aTextSelectionInReadonly (this, CUI_RES(CB_TEXTSELECTION ))
-,m_aAnimatedGraphics(this, CUI_RES(CB_ANIMATED_GRAPHICS ))
-,m_aAnimatedTexts   (this, CUI_RES(CB_ANIMATED_TEXTS))
-,m_aTipHelpCB   (this, CUI_RES(CB_TIPHELP   ))
-,m_aTipHelpNF   (this, CUI_RES(NF_TIPHELP   ))
-,m_aTipHelpFT   (this, CUI_RES(FT_TIPHELP   ))
-,m_aHCOptionsLabel  (this, CUI_RES(FL_HC_OPTIONS))
-,m_aAutoDetectHC(this, CUI_RES(CB_AUTO_DETECT_HC))
-,m_aAutomaticFontColor  (this, CUI_RES(CB_AUTOMATIC_FONT_COLOR))
-,m_aPagePreviews(this, CUI_RES(CB_PAGE_PREVIEWS   ))
-,m_pImpl(new SvxAccessibilityOptionsTabPage_Impl)
+SvxAccessibilityOptionsTabPage::SvxAccessibilityOptionsTabPage(Window* pParent,
+const SfxItemSet& rSet)
+: SfxTabPage(pParent, "OptAccessibilityPage",
+"cui/ui/optaccessibilitypage.ui", rSet)
+, m_pImpl(new SvxAccessibilityOptionsTabPage_Impl)
 {
-FreeResource();
-m_aTipHelpCB.SetClickHdl(LINK(this, SvxAccessibilityOptionsTabPage, 
TipHelpHdl));
+get(m_pAccessibilityTool, "acctool");
+get(m_pTextSelectionInReadonly, "textselinreadonly");
+get(m_pAnimatedGraphics, "ani

[Libreoffice-commits] .: helpers/help_hid.lst source/text

2013-01-27 Thread Libreoffice Gerrit user
 helpers/help_hid.lst |   10 ---
 source/text/shared/optionen/01013000.xhp |   40 ++-
 2 files changed, 19 insertions(+), 31 deletions(-)

New commits:
commit 803567e90d6cc046b9253e6171feebab4a43778f
Author: Caolán McNamara 
Date:   Sun Jan 27 15:28:56 2013 +

update help ids for accessibility options page .ui conversion

diff --git a/helpers/help_hid.lst b/helpers/help_hid.lst
index 45698c0..cc12fdc 100644
--- a/helpers/help_hid.lst
+++ b/helpers/help_hid.lst
@@ -2685,7 +2685,6 @@ HID_OPTCAPTION_CLB,53801,
 HID_OPTCAPTION_PAGE,53229,
 HID_OPTCOMPATIBILITY_PAGE,53251,
 HID_OPTCREATEFAX,41150,
-HID_OPTIONS_ACCESSIBILITYCONFIG,34199,
 HID_OPTIONS_ASIAN_LAYOUT,34183,
 HID_OPTIONS_CHART_DEFCOLORS,40055,
 HID_OPTIONS_COLOR,33808,
@@ -7636,14 +7635,6 @@ 
svx_CheckBox_RID_SVXDLG_SECURITY_OPTIONS_CB_REMOVEINFO,1242498070,
 svx_CheckBox_RID_SVXDLG_SECURITY_OPTIONS_CB_SAVESENDDOCS,1242498061,
 svx_CheckBox_RID_SVXDLG_SECURITY_OPTIONS_CB_SIGNDOCS,1242498063,
 svx_CheckBox_RID_SVXDLG_SPELLCHECK_CB_CHECK_GRAMMAR,2311849014,
-svx_CheckBox_RID_SVXPAGE_ACCESSIBILITYCONFIG_CB_ACCESSIBILITY_TOOL,704807947,
-svx_CheckBox_RID_SVXPAGE_ACCESSIBILITYCONFIG_CB_ANIMATED_GRAPHICS,704807943,
-svx_CheckBox_RID_SVXPAGE_ACCESSIBILITYCONFIG_CB_ANIMATED_TEXTS,704807944,
-svx_CheckBox_RID_SVXPAGE_ACCESSIBILITYCONFIG_CB_AUTOMATIC_FONT_COLOR,704807945,
-svx_CheckBox_RID_SVXPAGE_ACCESSIBILITYCONFIG_CB_AUTO_DETECT_HC,704807949,
-svx_CheckBox_RID_SVXPAGE_ACCESSIBILITYCONFIG_CB_PAGE_PREVIEWS,704807938,
-svx_CheckBox_RID_SVXPAGE_ACCESSIBILITYCONFIG_CB_TEXTSELECTION,704807948,
-svx_CheckBox_RID_SVXPAGE_ACCESSIBILITYCONFIG_CB_TIPHELP,704807940,
 svx_CheckBox_RID_SVXPAGE_ALIGN_PARAGRAPH_CB_EXPAND,703775795,
 svx_CheckBox_RID_SVXPAGE_ALIGN_PARAGRAPH_CB_SNAP,703775782,
 svx_CheckBox_RID_SVXPAGE_AREA_CB_HATCHBCKGRD,701629461,
@@ -8294,7 +8285,6 @@ 
svx_NumericField_RID_SVXDLG_SEARCHSIMILARITY_NF_OTHER,1237964817,
 svx_NumericField_RID_SVXDLG_SEARCHSIMILARITY_NF_SHORTER,1237964819,
 svx_NumericField_RID_SVXFLOAT_3D_NUM_HORIZONTAL,3388495897,
 svx_NumericField_RID_SVXFLOAT_3D_NUM_VERTICAL,3388495899,
-svx_NumericField_RID_SVXPAGE_ACCESSIBILITYCONFIG_NF_TIPHELP,704813061,
 svx_NumericField_RID_SVXPAGE_ALIGNMENT_NF_DEGREES,702191640,
 svx_NumericField_RID_SVXPAGE_AREA_NUM_FLD_STEPCOUNT,701634561,
 svx_NumericField_RID_SVXPAGE_EXT_PARAGRAPH_ED_HYPHENAFTER,700831799,
diff --git a/source/text/shared/optionen/01013000.xhp 
b/source/text/shared/optionen/01013000.xhp
index bfeaae6..433cd39 100644
--- a/source/text/shared/optionen/01013000.xhp
+++ b/source/text/shared/optionen/01013000.xhp
@@ -38,6 +38,7 @@
 accessibility; options
 options; accessibility
 
+
 Accessibility
 Sets options that make %PRODUCTNAME programs more accessible for users with 
reduced sight, limited dexterity or other disabilities.
 
@@ -47,31 +48,28 @@
 
 Miscellaneous options
 Sets accessibility options.
-
+
 Support assistive technology tools (program 
restart required)
 
-Allows 
you to use assistive tools, such as external screen readers, Braille devices or 
speech recognition input devices. The Java Runtime Environment must be 
installed on your computer before you can enable assistive 
support.
-Use text selection cursor in 
read-only text document
-Displays 
cursor in read-only documents.
-
-issue 103084 
-
-Allow animated 
graphics
-Previews
 animated graphics, such as GIF images, in %PRODUCTNAME.
-Allow animated text
-Previews 
animated text, such as blinking and scrolling, in %PRODUCTNAME.
-Help tips disappear 
after
-Hides the Help tips after the 
number of seconds that you enter. Otherwise, Help tips are displayed 
until you press Escape or move the cursor.
-Seconds
-Enter the 
number of seconds to display the Help tips.
+Allows you to use assistive tools, 
such as external screen readers, Braille devices or speech recognition input 
devices. The Java Runtime Environment must be installed on your computer before 
you can enable assistive 
support.
+Use text selection cursor in read-only text 
document
+Displays 
cursor in read-only documents.
+Allow animated graphics
+Previews 
animated graphics, such as GIF images, in %PRODUCTNAME.
+Allow animated text
+Previews 
animated text, such as blinking and scrolling, in %PRODUCTNAME.
+Help tips disappear after
+Hides the 
Help tips after 
the number of seconds that you enter. Otherwise, Help tips are 
displayed until you press Escape or move the cursor.
+Seconds
+Enter the 
number of seconds to display the Help tips.
 Options for high contrast appearance
 High contrast is an operating system setting that changes the system 
color scheme to improve readability. You can decide how %PRODUCTNAME uses the high contrast settings of the 
operating system.
 Cell borders and shadows are always shown in text color when high 
contrast mode is active. The cell background color is ignored then.
-Automatically detect high 
contrast mode of operating system
-Switches 
%PRODUCTNAME into hi

[Libreoffice-commits] .: helpcontent2

2013-01-27 Thread Libreoffice Gerrit user
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a43f6eeae3affb4c1573e6b2b11872b38c2e54b0
Author: Caolán McNamara 
Date:   Sun Jan 27 15:28:56 2013 +

Updated core
Project: help  803567e90d6cc046b9253e6171feebab4a43778f

diff --git a/helpcontent2 b/helpcontent2
index c409b0f..803567e 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit c409b0f4447cd04b2c88253aecab3dceedc251df
+Subproject commit 803567e90d6cc046b9253e6171feebab4a43778f
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: sc/source sc/uiconfig sw/inc sw/source sw/uiconfig

2013-01-27 Thread Libreoffice Gerrit user
 sc/source/ui/dbgui/tpsort.cxx   |3 -
 sc/uiconfig/scalc/ui/sortoptionspage.ui |   36 ++
 sw/inc/helpid.h |1 
 sw/source/ui/frmdlg/column.cxx  |   14 ---
 sw/source/ui/misc/srtdlg.cxx|8 
 sw/uiconfig/swriter/ui/columnpage.ui|   61 +---
 sw/uiconfig/swriter/ui/sortdialog.ui|   38 +++
 7 files changed, 107 insertions(+), 54 deletions(-)

New commits:
commit 6b642358640fcb060d14105991f83172e06723a4
Author: Caolán McNamara 
Date:   Sun Jan 27 08:28:34 2013 +

move SetAccessibleRelationLabeledBy relations into .ui and out of code

Change-Id: Ieb43e08519b72d4baebd5d004e4c9fd60daa40d4

diff --git a/sc/source/ui/dbgui/tpsort.cxx b/sc/source/ui/dbgui/tpsort.cxx
index 78d04ac..d458597 100644
--- a/sc/source/ui/dbgui/tpsort.cxx
+++ b/sc/source/ui/dbgui/tpsort.cxx
@@ -530,11 +530,8 @@ ScTabPageSortOptions::ScTabPageSortOptions( Window*
 pParent,
 Init();
 SetExchangeSupport();
 
-m_pLbOutPos->SetAccessibleRelationLabeledBy(m_pBtnCopyResult);
 m_pLbOutPos->SetAccessibleName(m_pBtnCopyResult->GetText());
-m_pEdOutPos->SetAccessibleRelationLabeledBy(m_pBtnCopyResult);
 m_pEdOutPos->SetAccessibleName(m_pBtnCopyResult->GetText());
-m_pLbSortUser->SetAccessibleRelationLabeledBy(m_pBtnSortUser);
 m_pLbSortUser->SetAccessibleName(m_pBtnSortUser->GetText());
 }
 
diff --git a/sc/uiconfig/scalc/ui/sortoptionspage.ui 
b/sc/uiconfig/scalc/ui/sortoptionspage.ui
index ded61ac..0276e29 100644
--- a/sc/uiconfig/scalc/ui/sortoptionspage.ui
+++ b/sc/uiconfig/scalc/ui/sortoptionspage.ui
@@ -20,11 +20,9 @@
 
   
 Case 
_sensitive
-False
 True
 True
 False
-False
 True
 0
 True
@@ -39,11 +37,9 @@
 
   
 Range 
contains...
-False
 True
 True
 False
-False
 0
 True
   
@@ -57,11 +53,9 @@
 
   
 Include 
formats
-False
 True
 True
 False
-False
 0
 True
   
@@ -75,11 +69,9 @@
 
   
 Enable natural 
sort
-False
 True
 True
 False
-False
 0
 True
   
@@ -93,13 +85,14 @@
 
   
 Copy sort results 
to:
-False
 True
 True
 False
-False
 0
 True
+
+  
+
   
   
 0
@@ -113,6 +106,10 @@
 True
 False
 20
+
+  
+  
+
   
   
 0
@@ -128,6 +125,9 @@
 True
 •
 True
+
+  
+
   
   
 1
@@ -139,13 +139,14 @@
 
   
 Custom sort 
order
-False
 True
 True
 False
-False
 0
 True
+
+  
+
   
   
 0
@@ -159,6 +160,9 @@
 True
 False
 20
+
+  
+
   
   
 0
@@ -173,6 +177,8 @@
 False
 start
 Language
+True
+language
   
   
 0
@@ -187,6 +193,8 @@
 False
 start
 Options
+True
+algorithmlb
   
   
 1
@@ -264,11 +272,9 @@
 
   
 _Top to bottom 
(sort rows)
-False
 True
 True
 False
-False
 True
 0
 True
@@ -285,11 +291,9 @@
 
   
 L_eft to right 
(sort columns)
-False
 True
 True
 False
-False
 True
 0
   

[SOLVED] Re: Make dev-install fails because of crashrep

2013-01-27 Thread julien2412
Noticing the Michael's commit (see
http://cgit.freedesktop.org/libreoffice/core/commit/?id=20773c2bb04631d9bfd60167ed091752f0deecee),
I tried a "./g pull -r && make clean && make && make dev-install"
I don't know if it was the fix or not, but anyway everything is ok now.

Thank you Michael!

Julien 



--
View this message in context: 
http://nabble.documentfoundation.org/Make-dev-install-fails-because-of-crashrep-tp4031908p4032241.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: configure.ac

2013-01-27 Thread Libreoffice Gerrit user
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 715f2c8a7015676c26e009228a4197da14f929fa
Author: Fridrich Å trba 
Date:   Sun Jan 27 12:30:00 2013 +0100

When running icu-config, get cxxflags too

diff --git a/configure.ac b/configure.ac
index 6aee4f3..446aa40 100644
--- a/configure.ac
+++ b/configure.ac
@@ -69,7 +69,7 @@ PKG_CHECK_MODULES([ICU],[icu-i18n],[],[
AC_PATH_PROG([ICU_CONFIG],[icu-config])
AC_MSG_CHECKING([ICU installation])
if ${ICU_CONFIG} --cflags >/dev/null 2>&1; then
-   ICU_CFLAGS=`${ICU_CONFIG} --cppflags-searchpath`
+   ICU_CFLAGS=`${ICU_CONFIG} --cppflags-searchpath --cxxflags`
ICU_LIBS=`${ICU_CONFIG} --ldflags`
AC_MSG_RESULT([found])
else
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Bug 54157] LibreOffice 3.7/4.0 most annoying bugs

2013-01-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54157

Michel Rudelle  changed:

   What|Removed |Added

 CC||mchl.r...@gmail.com
 Depends on||58826

--- Comment #92 from Michel Rudelle  ---
Nominating bug 58826 because it prohibits the use of Calc in version 4.0.0.1
for a large number of users

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: lingucomponent/Library_MacOSXSpell.mk

2013-01-27 Thread Libreoffice Gerrit user
 lingucomponent/Library_MacOSXSpell.mk |1 +
 1 file changed, 1 insertion(+)

New commits:
commit afbd5787b5412f5ed8f862a9cae9dee5fd346f3f
Author: Tor Lillqvist 
Date:   Sun Jan 27 12:19:17 2013 +0200

MacOSXSpell needs boost_headers

Change-Id: I4af00e2925df393523ad3d00bd3b95459ff77f9c

diff --git a/lingucomponent/Library_MacOSXSpell.mk 
b/lingucomponent/Library_MacOSXSpell.mk
index 3c80418..a8529b6 100644
--- a/lingucomponent/Library_MacOSXSpell.mk
+++ b/lingucomponent/Library_MacOSXSpell.mk
@@ -53,6 +53,7 @@ $(eval $(call 
gb_Library_use_system_darwin_frameworks,MacOSXSpell,\
 ))
 
 $(eval $(call gb_Library_use_externals,MacOSXSpell,\
+   boost_headers \
hunspell \
 ))
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: GDB - Can I See Every Symbol Called?

2013-01-27 Thread Riccardo Magliocchetti

Il 27/01/2013 06:49, Joel Madero ha scritto:

static void lcl_SavePrintUIOptionsToDocumentPrintData


Add a backtrace here


is what is saving print options and that it's being called regardless of
if cancel or ok is being pushed (no good). So I'm trying to track down
something that is only called when Cancel is pushed so that I can move
the above function elsewhere. But unfortunately I can't use gdb for the
above function -- no clue why but it never appears to work with breaks).


Then print "bt full" in gdb to see previous frames, if the break is not 
called you may want to reconsider your hypothesis :)


hth,
riccardo
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Libre Office needs to get rather professional about it's marketing.

2013-01-27 Thread Tor Lillqvist
> "MrExcel uses Excel 97, 2000, 2002, 2003, & 2007 in Windows XP & ME"

Sounds like he (does he have a real name?) is quite up-to-date then,
very professional indeed.

--tml
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Libre Office needs to get rather professional about it's marketing.

2013-01-27 Thread Rob Snelders
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Wronger_wronger,

Thank you for your idea.

This list is for patches and development work on LibreOffice. If you
have ideas or want to be involved with marketing for LibreOffice.
There is a separate list for that. Its market...@global.libreoffice.org.

Please contact them.

- --
Greetings,
Rob Snelders

Op 27-01-13 01:30, wroger_wroger wroger_wroger schreef:
> I think it's time to ditch the "doling out bred crumbs" mentality
> of being an "alternative to Microsoft" and simply do better than
> them in terms of quality and availability.
> 
> I think that one ought to start with the marketing and either hire
> this guy or start to copy him.
> 
> He does tons of stuff to market his talent using the Microsoft
> Exel product line.
> 
> This is also a great way to IMPROVE the product - to make
> LibreOffice top notch instead of second best.
> 
> http://www.mrexcel.com/
> 
> 
> Looking for More from Microsoft Excel? If so, then you've come to
> the right place.  View our recommendations below.
> 
> 
> Excel Tutorials and Resources: Excel Forum:
> 
> The fastest way to get an answer to your Excel problem is to post
> it to the new MrExcel Forum. The Excel Forum answers over 30,000
> questions a year for free and is the most popular section of
> MrExcel.
> 
> The original message board archive has 12,000 Excel answers.
> 
> The New Board Archive is being updated with 70,000 answers.
> 
> Excel Podcasts:
> 
> Download and watch a daily 2-minute podcast about Excel right on 
> your PC.
> 
> The Learn Excel from MrExcel Podcast Blog has over 1000 podcast 
> videos on Excel tips and techniques.
> 
> Directory of Excel video tutorials - over 600 video tutorials 
> online, for free and indexed by topic.
> 
> The Podcast DVD-ROM - A searchable DVD-Rom with over 20 hours of
> the Learn Excel from MrExcel daily 2-minute podcasts.
> 
> OnHome&Office podcast by InformIT with 'experts' showing tips and 
> tutorials on everything you need to get more out of the
> technologies you rely on at work and for play. This link will let
> you subscribe at iTunes.
> 
> Crunching Data with Pivot Tables in Excel 2003 - Seven videos 
> covering over 1 hour of Pivot Table basics & tips.
> 
> Excel Articles:
> 
> There are over 485 articles published here where MrExcel explains,
> in plain English, powerful ways to make Excel sing. Peruse the
> Excel article archive. Excel 2007:
> 
> Visit the Excel 2007 Resource Page to learn about the updates made
> in this latest version of Excel. Excel Consulting:
> 
> For problems that are more complex, or if you need a complete 
> application, hire MrExcel Consulting to do Excel or Office
> consulting by e-mail. MrExcel and a team of consultants work full
> time developing applications that work with Excel, Access and all
> of the Office Applications. We develop applications of various
> sizes for clients around the world, from Western Australia to
> Argentina to Palo Alto, California to London, England. We offer
> expertise in VBA (Visual Basic for Applications), Lotus to Excel
> macro conversion, emergency data analysis in Excel, Access,
> PowerPoint, Outlook, and custom map design in MapPoint or MapInfo,
> and more. .
> 
> MrExcel Engineering and Graphics Division: Mala manages our
> MrExcel Engineering & Graphics Division, which specializes in
> developing solutions to engineering problems and creates some of
> the most incredible graphics automation macros. Whether you are
> looking for engineering graphs or new chart types, check out Mala's
> work at the MrExcel Graphics & Engineering Division. The
> Engineering division can automate your Excel to AutoCad needs or
> custom design a new chart type for you. Excel Training and
> Seminars:
> 
> MrExcel will perform on-site advanced Excel training at your 
> location. Choose a session that suits your organization.
> 
> Sign-up for a 1-day Power Excel Seminar at The University of Akron 
> instructed by MrExcel and offered various times throughout the
> year.
> 
> Take your Excel learning level to the next step with advanced 
> training in a 3-day Power Analyst Boot Camp.
> 
> To see when MrExcel will be presenting a seminar in your area,
> check the list of scheduled Excel seminars around the country.
> 
> E-Mail Microsoft Excel Support:
> 
> E-mail your problem to MrExcel. The best problems will be published
> on this site, in either the Daily Tips Weblog or as a Tip of the
> Week with our solutions. Due to the volume of mail received,
> MrExcel can not respond personally to all requests. Why am I giving
> away Excel answers? Your questions are helping me write a book of
> Excel tips. I'm betting the problem that is plaguing you is
> plaguing others out there. Note: MrExcel uses Excel 97, 2000, 2002,
> 2003, & 2007 in Windows XP & ME. For questions which are specific
> to a Mac or to Excel 4.0, MrExcel will not be able to help. Try the
> Excel forum. Excel Books and Products
> 
> MrExcel's Books - All of