summaryrefslogtreecommitdiff
path: root/UnoControls/source/inc/progressbar.hxx
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-08-23 15:06:19 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-08-23 15:06:19 +0200
commitcdda6341027eb807f9cdeca704011fe3968fe3e3 (patch)
treefd07b7561c849218420a898a9fd853bcc6121332 /UnoControls/source/inc/progressbar.hxx
parentb52ec9a4fa9b8eb93a181fac3613f1de7d1d0825 (diff)
recreated tag libreoffice-3.3.1.1 which had these commits:
commit 0038bc6128921ad380912b18634212681578abfd (tag: refs/tags/libreoffice-3.3.1.1) Author: Petr Mladek <pmladek@suse.cz> Date: Tue Feb 8 18:07:42 2011 +0100 Version 3.3.1.1, tag libreoffice-3.3.1.1 (3.3.1-rc1) commit d7771bc638587e49ea7225312933c73cfc041439 Author: bjoern.michaelsen@canonical.com <Bjoern Michaelsen> Date: Mon Feb 7 17:18:01 2011 +0100 lp#696527: enable human icon theme in LibreOffice (cherry picked from commit cfa7e88f5959a8b3b729107d61351410be80f49b) Signed-off-by: Thorsten Behrens <tbehrens@novell.com> (cherry picked from commit c1d45fdb7f6380a0e6640a336cd790027e903b4f) Signed-off-by: Cedric Bosdonnat <cedric.bosdonnat.ooo@free.fr> Signed-off-by: Petr Mladek <pmladek@suse.cz> cui/source/options/optgdlg.src | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 474fbc4e896114f138061af9002b88cd675c8f01 Author: Jan Holesovsky <kendy@suse.cz> Date: Mon Feb 7 21:23:23 2011 +0100 Branch libreoffice-3-3-1 This is 'libreoffice-3-3-1' - the stable branch for the 3.3.1 release. Only very safe changes, reviewed by three people are allowed. If you want to commit more complicated fix for the next 3.3.x release, please use the 'libreoffice-3-3' branch. If you want to build something cool, unstable, and risky, use master. commit 94a2ea07194893531b93b78c2903d96bbc5526ce Author: Petr Mladek <pmladek@suse.cz> Date: Sun Feb 6 18:22:35 2011 +0100 add Ukrainian also into packinfo_office.txt setup_native/source/packinfo/packinfo_office.txt | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) commit e6e8d8ebbe2ef54704a467cf4930494fdf3be6ff Author: Petr Mladek <pmladek@suse.cz> Date: Sun Feb 6 18:06:37 2011 +0100 add Occitan also into packinfo_office.txt build fails witout it setup_native/source/packinfo/packinfo_office.txt | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) commit 7754d67735a8e698d2b7106cae4c6e35eaf3b75b Author: Thorsten Behrens <tbehrens@novell.com> Date: Thu Feb 3 17:28:59 2011 +0100 New mimetype icons for LibreOffice Update from design team, source svg is http://wiki.documentfoundation.org/cgi_img_auth.php/d/d4/LibreOffice_Initial_Icons-pre_final.svg setup_native/source/win32/nsis/ooosetup.ico | Bin 2238 -> 26918 bytes 1 files changed, 0 insertions(+), 0 deletions(-) commit adbc618d68569d5b63d1ec87c5d7a9d7f5ba5761 Author: Caolán McNamara <caolanm@redhat.com> Date: Sun Jan 30 20:38:00 2011 +0000 Resolves: rhbz#673819 crash on changing position of drawing object in header The header/footer objects are cunning wrappers to pretend to some parts of the drawing stuff that there are multiple objects, while in reality there is only one. So call HasText actually gets a totally different object from the cast :-( Signed-off-by: David Tardon <dtardon@redhat.com> cui/source/tabpages/swpossizetabpage.cxx | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) commit 13519789cd6c9f86067251c5566f29a96bdaac44 Author: Rene Engelhard <rene@debian.org> Date: Thu Feb 3 00:37:15 2011 +0100 another s/OpenOffice.org/LibreOffice/ in nsplugin extensions/source/nsplugin/source/nsplugin_oo.rc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c0c2964c3ad1a42a5cd3548b9fcdd1c256c077bf Author: Andras Timar <timar@fsf.hu> Date: Sat Jan 29 12:32:52 2011 +0100 Added Occitan dictionary .../source/packinfo/spellchecker_selection.txt | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit eacd19b0e2eeba91aa1b2387d93e99996c0efae2 Author: Andras Timar <timar@fsf.hu> Date: Sat Jan 29 11:14:10 2011 +0100 Added Ukrainian dictionaries .../source/packinfo/spellchecker_selection.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit ecf859006048314ef1c4a4202a642e74a443ebce Author: Tor Lillqvist <tlillqvist@novell.com> Date: Tue Feb 1 14:26:46 2011 +0200 Fix overflow problem in the custom action for UI language de-selection In the _all_ installer we have slightly over 100 LibreOffice UI languages. The code in the custom action that de-selects UI languages based on the Windows UI language(s) and the user's locale had a limit of 100. The consequence was that a few of the alphabetically last LibreOffice UI languages: Ukrainan, Urdu, Uzbek, Venda and Xhosa, were not de-selected even if none of those languages was used by the user or Windows, and thus got installed in a "quick" install and also in a "custom" install unless the person running the installer noticed. Reported by aseques_ on IRC, no bug filed yet. Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch> .../source/win32/customactions/sellang/sellang.cxx | 217 ++++++++++---------- 1 files changed, 104 insertions(+), 113 deletions(-) commit a73c1cff1b27dbef84f0d85d594f9628bb48a827 Author: Thorsten Behrens <tbehrens@novell.com> Date: Wed Jan 26 19:52:02 2011 +0100 Revert "Initial LibO mimetype icon design" This reverts commit bf7cc5f6751d566bccb45b09fb15f82e56fe3333. setup_native/source/win32/nsis/ooosetup.ico | Bin 26918 -> 2238 bytes 1 files changed, 0 insertions(+), 0 deletions(-) commit 88a6c07dc231ed3508ffe81ec624a753f4c49e75 Author: Alexander Thurgood <alex.thurgood@gmail.com> Date: Wed Jan 26 18:10:16 2011 +0100 Fix window focus for langpack installation on Mac fdo# 33056 Signed-off-by: Thorsten Behrens <tbehrens@novell.com> .../scripts/osx_install_languagepack.applescript | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit bf7cc5f6751d566bccb45b09fb15f82e56fe3333 Author: Thorsten Behrens <tbehrens@novell.com> Date: Tue Jan 18 10:26:56 2011 +0100 Initial LibO mimetype icon design As per http://luxate.blogspot.com/2011/01/libreoffice-initial-icons-milestone.html updating the LibO mimetype and app icons (and the installer icon, for coherence). setup_native/source/win32/nsis/ooosetup.ico | Bin 2238 -> 26918 bytes 1 files changed, 0 insertions(+), 0 deletions(-) commit f7d7948cbe9e38e2e219f6024c0add130a5f6480 Author: Kohei Yoshida <kyoshida@novell.com> Date: Fri Jan 14 11:53:12 2011 -0500 Remove pesky on-line registration menu entry. (fdo#33112) .../uiconfig/sbibliography/menubar/menubar.xml | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 3097feb2f56b19a1b10b167f5c5869e2c7920be9 Author: Petr Mladek <pmladek@suse.cz> Date: Tue Jan 11 23:05:56 2011 +0100 Please, ignore the previous message; it was for the libreoffice-3-3-0 branch This is 'libreoffice-3-3' - the stable branch for the 3.3.x releases. Only safe changes, reviewed by anoter person are allowed. If you want to build something cool, unstable, and risky, use master. commit 1b83f908126d09ef6e0015eb531bbd8c4cf57034 Author: Petr Mladek <pmladek@suse.cz> Date: Tue Jan 11 22:39:06 2011 +0100 Branch libreoffice-3-3-0 This is 'libreoffice-3-3-0' - the stable branch for the 3.3.0 release. Only very safe changes, reviewed by three people are allowed. If you want to commit more complicated fix for the next 3.3.x release, please use the 'libreoffice-3-3' branch. If you want to build something cool, unstable, and risky, use master.
Notes
split repo tag: components_libreoffice-3.3.1.1 split repo tag: components_libreoffice-3.3.1.2
Diffstat (limited to 'UnoControls/source/inc/progressbar.hxx')
-rw-r--r--UnoControls/source/inc/progressbar.hxx112
1 files changed, 56 insertions, 56 deletions
diff --git a/UnoControls/source/inc/progressbar.hxx b/UnoControls/source/inc/progressbar.hxx
index 97cad21816dd..53ed3b73d575 100644
--- a/UnoControls/source/inc/progressbar.hxx
+++ b/UnoControls/source/inc/progressbar.hxx
@@ -30,19 +30,19 @@
#define _UNOCONTROLS_PROGRESSBAR_CTRL_HXX
//____________________________________________________________________________________________________________
-// includes of other projects
+// includes of other projects
//____________________________________________________________________________________________________________
#include <com/sun/star/lang/XServiceName.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
//____________________________________________________________________________________________________________
-// includes of my own project
+// includes of my own project
//____________________________________________________________________________________________________________
#include "basecontrol.hxx"
//____________________________________________________________________________________________________________
-// namespaces
+// namespaces
//____________________________________________________________________________________________________________
namespace unocontrols{
@@ -52,40 +52,40 @@ namespace unocontrols{
#define CSS_AWT ::com::sun::star::awt
//____________________________________________________________________________________________________________
-// defines
+// defines
//____________________________________________________________________________________________________________
-#define SERVICENAME_PROGRESSBAR "com.sun.star.awt.XProgressBar"
-#define IMPLEMENTATIONNAME_PROGRESSBAR "stardiv.UnoControls.ProgressBar"
+#define SERVICENAME_PROGRESSBAR "com.sun.star.awt.XProgressBar"
+#define IMPLEMENTATIONNAME_PROGRESSBAR "stardiv.UnoControls.ProgressBar"
#define PROGRESSBAR_FREESPACE 4
#define PROGRESSBAR_DEFAULT_HORIZONTAL sal_True
#define PROGRESSBAR_DEFAULT_BLOCKDIMENSION Size(1,1)
-#define PROGRESSBAR_DEFAULT_BACKGROUNDCOLOR TRGB_COLORDATA( 0x00, 0xC0, 0xC0, 0xC0 ) // lightgray
-#define PROGRESSBAR_DEFAULT_FOREGROUNDCOLOR TRGB_COLORDATA( 0x00, 0x00, 0x00, 0x80 ) // blue
+#define PROGRESSBAR_DEFAULT_BACKGROUNDCOLOR TRGB_COLORDATA( 0x00, 0xC0, 0xC0, 0xC0 ) // lightgray
+#define PROGRESSBAR_DEFAULT_FOREGROUNDCOLOR TRGB_COLORDATA( 0x00, 0x00, 0x00, 0x80 ) // blue
#define PROGRESSBAR_DEFAULT_MINRANGE INT_MIN
#define PROGRESSBAR_DEFAULT_MAXRANGE INT_MAX
#define PROGRESSBAR_DEFAULT_BLOCKVALUE 1
#define PROGRESSBAR_DEFAULT_VALUE PROGRESSBAR_DEFAULT_MINRANGE
-#define PROGRESSBAR_LINECOLOR_BRIGHT TRGB_COLORDATA( 0x00, 0xFF, 0xFF, 0xFF ) // white
-#define PROGRESSBAR_LINECOLOR_SHADOW TRGB_COLORDATA( 0x00, 0x00, 0x00, 0x00 ) // black
+#define PROGRESSBAR_LINECOLOR_BRIGHT TRGB_COLORDATA( 0x00, 0xFF, 0xFF, 0xFF ) // white
+#define PROGRESSBAR_LINECOLOR_SHADOW TRGB_COLORDATA( 0x00, 0x00, 0x00, 0x00 ) // black
//____________________________________________________________________________________________________________
-// classes
+// classes
//____________________________________________________________________________________________________________
-class ProgressBar : public CSS_AWT::XControlModel
+class ProgressBar : public CSS_AWT::XControlModel
, public CSS_AWT::XProgressBar
, public BaseControl
{
//____________________________________________________________________________________________________________
-// public methods
+// public methods
//____________________________________________________________________________________________________________
public:
//________________________________________________________________________________________________________
- // construct/destruct
+ // construct/destruct
//________________________________________________________________________________________________________
/**_________________________________________________________________________________________________________
@@ -116,10 +116,10 @@ public:
@onerror
*/
- virtual ~ProgressBar();
+ virtual ~ProgressBar();
//__________________________________________________________________________________________________________
- // XInterface
+ // XInterface
//__________________________________________________________________________________________________________
/**_________________________________________________________________________________________________________
@@ -139,39 +139,39 @@ public:
throw( CSS_UNO::RuntimeException );
/**_______________________________________________________________________________________________________
- @short increment refcount
- @descr -
+ @short increment refcount
+ @descr -
- @seealso XInterface
- @seealso release()
+ @seealso XInterface
+ @seealso release()
- @param -
+ @param -
- @return -
+ @return -
- @onerror A RuntimeException is thrown.
+ @onerror A RuntimeException is thrown.
*/
virtual void SAL_CALL acquire() throw();
/**_______________________________________________________________________________________________________
- @short decrement refcount
- @descr -
+ @short decrement refcount
+ @descr -
- @seealso XInterface
- @seealso acquire()
+ @seealso XInterface
+ @seealso acquire()
- @param -
+ @param -
- @return -
+ @return -
- @onerror A RuntimeException is thrown.
+ @onerror A RuntimeException is thrown.
*/
virtual void SAL_CALL release() throw();
//__________________________________________________________________________________________________________
- // XTypeProvider
+ // XTypeProvider
//__________________________________________________________________________________________________________
/**_________________________________________________________________________________________________________
@@ -191,7 +191,7 @@ public:
throw( CSS_UNO::RuntimeException );
//__________________________________________________________________________________________________________
- // XAggregation
+ // XAggregation
//__________________________________________________________________________________________________________
/**_________________________________________________________________________________________________________
@@ -211,7 +211,7 @@ public:
throw( CSS_UNO::RuntimeException );
//________________________________________________________________________________________________________
- // XProgressBar
+ // XProgressBar
//________________________________________________________________________________________________________
/**_________________________________________________________________________________________________________
@@ -275,8 +275,8 @@ public:
*/
virtual void SAL_CALL setRange(
- sal_Int32 nMin ,
- sal_Int32 nMax
+ sal_Int32 nMin ,
+ sal_Int32 nMax
) throw( CSS_UNO::RuntimeException );
/**_________________________________________________________________________________________________________
@@ -295,7 +295,7 @@ public:
virtual sal_Int32 SAL_CALL getValue() throw( CSS_UNO::RuntimeException );
//__________________________________________________________________________________________________________
- // XWindow
+ // XWindow
//__________________________________________________________________________________________________________
/**_________________________________________________________________________________________________________
@@ -312,15 +312,15 @@ public:
*/
virtual void SAL_CALL setPosSize(
- sal_Int32 nX ,
- sal_Int32 nY ,
- sal_Int32 nWidth ,
- sal_Int32 nHeight ,
- sal_Int16 nFlags
+ sal_Int32 nX ,
+ sal_Int32 nY ,
+ sal_Int32 nWidth ,
+ sal_Int32 nHeight ,
+ sal_Int16 nFlags
) throw( CSS_UNO::RuntimeException );
//__________________________________________________________________________________________________________
- // XControl
+ // XControl
//__________________________________________________________________________________________________________
/**_________________________________________________________________________________________________________
@@ -357,7 +357,7 @@ public:
throw( CSS_UNO::RuntimeException );
//__________________________________________________________________________________________________________
- // BaseControl
+ // BaseControl
//__________________________________________________________________________________________________________
/**_________________________________________________________________________________________________________
@@ -391,7 +391,7 @@ public:
static const ::rtl::OUString impl_getStaticImplementationName();
//____________________________________________________________________________________________________________
-// protected methods
+// protected methods
//____________________________________________________________________________________________________________
protected:
@@ -412,7 +412,7 @@ protected:
virtual void impl_paint(
sal_Int32 nX ,
sal_Int32 nY ,
- const CSS_UNO::Reference< CSS_AWT::XGraphics >& xGraphics
+ const CSS_UNO::Reference< CSS_AWT::XGraphics >& xGraphics
);
/**_________________________________________________________________________________________________________
@@ -431,29 +431,29 @@ protected:
void impl_recalcRange();
//____________________________________________________________________________________________________________
-// private variables
+// private variables
//____________________________________________________________________________________________________________
private:
- sal_Bool m_bHorizontal ; // orientation for steps [true=horizontal/false=vertikal]
- CSS_AWT::Size m_aBlockSize ; // width and height of a block [>=0,0]
- sal_Int32 m_nForegroundColor ; // (alpha,r,g,b)
- sal_Int32 m_nBackgroundColor ; // (alpha,r,g,b)
- sal_Int32 m_nMinRange ; // lowest value = 0% [long, <_nMaxRange]
- sal_Int32 m_nMaxRange ; // highest value = 100% [long, >_nMinRange]
+ sal_Bool m_bHorizontal ; // orientation for steps [true=horizontal/false=vertikal]
+ CSS_AWT::Size m_aBlockSize ; // width and height of a block [>=0,0]
+ sal_Int32 m_nForegroundColor ; // (alpha,r,g,b)
+ sal_Int32 m_nBackgroundColor ; // (alpha,r,g,b)
+ sal_Int32 m_nMinRange ; // lowest value = 0% [long, <_nMaxRange]
+ sal_Int32 m_nMaxRange ; // highest value = 100% [long, >_nMinRange]
double m_nBlockValue ; // value for one block [long, >0]
- sal_Int32 m_nValue ; // value for progress [long]
+ sal_Int32 m_nValue ; // value for progress [long]
-}; // class ProgressBar
+}; // class ProgressBar
// The namespace aliases are only used in the header
#undef CSS_UNO
#undef CSS_LANG
#undef CSS_AWT
-} // namespace unocontrols
+} // namespace unocontrols
-#endif // #ifndef _UNOCONTROLS_PROGRESSBAR_CTRL_HXX
+#endif // #ifndef _UNOCONTROLS_PROGRESSBAR_CTRL_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */