Commits

releng  committed 8459d53

CWS-TOOLING: integrate CWS bjm02
2009-08-12 Bjoern Michaelsen #i101879# moved officeversion from envelope body to requestbody
2009-08-11 Bjoern Michaelsen #i103732# reverting changeset f3f527950572
2009-08-10 Bjoern Michaelsen cws bjm02: merging local minibranches
2009-08-10 Bjoern Michaelsen #i104128# remove additional duplication in svx headers, remove license header merge conflicts in svx headers
2009-08-10 Bjoern Michaelsen #i100484# fixed buildbreaker on win32
2009-08-10 Bjoern Michaelsen #i104128# remove duplication in svx headers
2009-08-04 Bjoern Michaelsen #i103913# fixed bookmark updating when moving numbered para
2009-08-03 Bjoern Michaelsen #i101879# include officeversion/productname in soaprequest
2009-07-31 Bjoern Michaelsen #i84926# Selecting all in blockmode automatically falls back to std mode
2009-07-31 Bjoern Michaelsen #i100484# operation on 'pCmpLine' may be undefined, thanks cmc
2009-07-29 Bjoern Michaelsen #i103059# fixing crash on empty enumeration
2009-07-29 Bjoern Michaelsen #i98659# fixing typo in usagetracking option tabpage
2009-07-29 Bjoern Michaelsen #i103732# not triggering loading of oooimprovement dll if usage tracking is disabled
2009-07-29 Bjoern Michaelsen #i103036# stlunosequence can be use simple array-pointers as iterators, fixing used type in xmloff
2009-07-29 Bjoern Michaelsen #i103036# stlunosequence can be use simple array-pointers as iterators
2009-07-29 Bjoern Michaelsen #i103182# completely removing unused functions in extensions/oooimprovement
2009-07-28 Bjoern Michaelsen cws bjm02: merged changes from master up to milestone DEV300_m53
2009-06-29 Bjoern Michaelsen #i103182# commenting out getFailedAttempts(..) for future use
2009-06-29 Bjoern Michaelsen #i103183# removed unused function sw::mark::CrossRefBookmark::IsLegalName(..)
2009-06-29 Bjoern Michaelsen #i103182# removing unused functions in extensions/oooimprovement
2009-06-24 Bjoern Michaelsen #i103059# not using enumeration for getByName/getByIndex
2009-06-24 Bjoern Michaelsen #i103059# not using enumeration for hasByName/GetCount/hasElements for performance reasons
2009-06-24 Bjoern Michaelsen #i103036# stlunosequence can be use simple array-pointers as iterators
2009-08-27 releng CWS-TOOLING: integrate CWS hr65
2009-08-26 Jens-Heiner Rechtien #i104521#: implement 'setcurrent'; document --hg option to 'create'
2009-08-26 Jens-Heiner Rechtien #i104521#: SOAP method setSCMName() doesn't return a value
2009-08-26 Jens-Heiner Rechtien #i104521#: implement [set|get]_scm()
2009-08-26 Jens-Heiner Rechtien #i104521#: implement --hg switch to 'cws create'
2009-08-27 vg CWS-TOOLING: integrate CWS hr64_DEV300
2009-07-21 13:24:57 +0200 hr r274189 : #i99576#: re-enable optimization for tabcont.cxx
2009-07-21 13:17:18 +0200 hr r274188 : #i99592: disable -xspace optimization for Solaris x86 and SunStudio 12, due to some mis-optimzation in sc and elsewhere. SunStudio 12 update 1 is OK, but needs a few unrelated changes which will be implemented in DEV300 code line
2009-08-27 releng CWS-TOOLING: integrate CWS sw32bf02
2009-08-25 15:52:04 +0200 hde r275366 : reactived testcases hit by issue 102752
2009-08-21 13:52:17 +0200 od r275245 : #i102921# delete files whose deletion has been forgotten in cws impress172
2009-08-21 11:20:47 +0200 od r275225 : CWS-TOOLING: rebase CWS sw32bf02 to trunk@275001 (milestone: DEV300:m55)
2009-08-20 16:21:30 +0200 od r275191 : #i92511# method <lcl_MoveAllLowerObjs(..)>
- invalidation of cache for object rectangle inclusive spaces is needed.
2009-08-20 15:50:40 +0200 od r275188 : #i96726# method <SwPagePreView::DocSzChgd(..)>
- trigger recalculation of page preview layout even if the count of pages is not changing
2009-08-20 12:37:32 +0200 od r275172 : #i100466# correction for showing and hiding redlines
2009-08-18 13:25:18 +0200 od r275100 : #i103817# method <XMLTextImportHelper::SetStyleAndAttrs(..)
- assure that a heading applies the outline style, if no other list style is applied.
2009-08-18 13:21:38 +0200 od r275098 : #i103817# allow the outline style - list style for outline numbering - to be set directly at the paragraph
2009-08-17 14:13:02 +0200 od r275052 : #i103684# add missing documentation for new optional OutlineLevel attribute introduced in OOo 3.1
2009-08-17 14:00:25 +0200 od r275049 : #i100481# method <XMLTextFrameContext_Impl::CreateChildContext(..)>#
- correct condition for handling embedded documents and embedded math objects
2009-08-12 14:11:34 +0200 od r274891 : #i97379# assure that columns are not applied to fly frames, which represent graphics or embedded objects
2009-08-12 12:51:43 +0200 od r274889 : #i101870# method <SwTxtNode::_MakeNewTxtNode(..)>
- perform action on different paragraph styles before applying new paragraph style
2009-08-12 12:24:44 +0200 od r274888 : #i101092# method <ViewShell::Paint(..)>
- encapsulate paint of document background and document into pre and post drawing layer paint calls
2009-08-12 11:38:48 +0200 od r274886 : #i98766# minor adjustment in order to be warning free under Mac port builds
2009-08-12 11:33:54 +0200 od r274885 : #i99267# method <SwTabFrm::MakeAll()>
- reset <bSplit> after forward move to assure that follows can be joined, if further space is available.
2009-08-12 11:11:49 +0200 od r274882 : #i98766# method <ViewShell::SmoothScroll(..)
- disable smooth scroll for Mac port builds
2009-08-10 12:17:58 +0200 od r274801 : CWS-TOOLING: rebase CWS sw32bf02 to trunk@274622 (milestone: DEV300:m54)
2009-07-21 16:56:45 +0200 od r274206 : #i103685# method <SwTxtFormatter::NewTabPortion(..)>
- adjust condition to apply automatic tab stop at left margin correctly
in case that tab stops are not relative to indent
2009-07-10 11:53:53 +0200 od r273883 : #i102752 method <SwDrawContact::Modify(..)>
- assure that a ShapePropertyChangeNotifier exists
2009-07-07 12:01:58 +0200 mst r273788 : #i103304# apply patch by dtardon to fix bogus conditional
2009-07-07 09:01:13 +0200 od r273767 : CWS-TOOLING: rebase CWS sw32bf02 to trunk@273468 (milestone: DEV300:m51)
2009-08-27 vg CWS-TOOLING: integrate CWS native264_DEV300
2009-08-13 11:58:58 +0200 is r274928 : #i104200# update to jre6u16
2009-08-27 vg CWS-TOOLING: integrate CWS automationdev300m54tables
2009-08-14 13:01:05 +0200 wg r274976 : i104224
2009-08-14 13:00:28 +0200 wg r274975 : i104224
2009-08-14 12:12:34 +0200 wg r274974 : i104222
2009-08-13 14:28:13 +0200 wg r274944 : i104205
2009-08-13 14:27:40 +0200 wg r274943 : i104205
2009-08-13 14:26:36 +0200 wg r274942 : i104205

  • Participants
  • Parent commits fe9d705

Comments (0)

Files changed (29)

 # switch to regexp syntax.
 syntax: regexp
-^[^/]+/unxsols\d/
-^[^/]+/unxsols\d\.pro/
-^[^/]+/unxsoli\d/
-^[^/]+/unxsoli\d\.pro/
+^Makefile$
+^[^/]+/common/
+^[^/]+/common\.pro/
+^[^/]+/unxfbsd/
+^[^/]+/unxfbsd\.pro/
 ^[^/]+/unxlngi\d/
 ^[^/]+/unxlngi\d\.pro/
 ^[^/]+/unxlngx\d/
 ^[^/]+/unxlngx\d\.pro/
 ^[^/]+/unxmacxi/
 ^[^/]+/unxmacxi\.pro/
-^[^/]+/unxfbsd/
-^[^/]+/unxfbsd\.pro/
+^[^/]+/unxsoli\d/
+^[^/]+/unxsoli\d\.pro/
+^[^/]+/unxsols\d/
+^[^/]+/unxsols\d\.pro/
 ^[^/]+/wntmsci\d\d/
 ^[^/]+/wntmsci\d\d\.pro/
-^[^/]+/common/
-^[^/]+/common\.pro/
+^[^/]+\.pro\.build\.html$
+^\w+Env\.Set.*
+^bootstrap$
+^config\.*
 ^configure
-^makefile\.mk
-^\w+Env\.Set.*
+^dmake/(.*/)?Makefile$
+^dmake/(.*/)?\.deps
+^dmake/.*\.o$
+^dmake/config\.*
+^dmake/dmake
+^dmake/stamp-h1$
+^dmake/startup/config\.mk$
+^dmake/unix/.dirstamp$
+^external/unowinreg/unowinreg.dll$
+^makefile\.mk$
+^set_soenv$
+^solver/
+^visibility.cxx$
+^warn$

File comphelper/inc/comphelper/stlunosequence.hxx

  *
  * OpenOffice.org - a multi-platform office productivity suite
  *
- * $RCSfile: stlunosequence.hxx,v $
+ * $RCSfile: $
  *
- * $Revision: 1.3 $
+ * $Revision: $
  *
  * This file is part of OpenOffice.org.
  *
 #define _COMPHELPER_STLUNOITERATOR_HXX
 
 #include <com/sun/star/uno/Sequence.hxx>
-#include <iterator>
 #include <sal/types.h>
 
-namespace comphelper { namespace stlunosequence {
-    template<typename S, typename V>
-    class StlSequence;
-
-    template<typename S, typename V>
-    class StlSequenceIterator : public std::iterator<std::random_access_iterator_tag, V, sal_Int32>
-    {
-        public:
-            typedef ::std::random_access_iterator_tag iterator_category;
-            typedef V& reference;
-            typedef V value_type;
-            typedef sal_Int32 difference_type;
-            typedef V* pointer;
-            typedef const V& const_reference;
-
-            StlSequenceIterator();
-            StlSequenceIterator(S * uno_sequence, typename StlSequenceIterator<S,V>::difference_type index);
-
-            reference operator*() const;
-            StlSequenceIterator<S,V>& operator++();
-            StlSequenceIterator<S,V> operator++(int);
-            StlSequenceIterator<S,V>& operator--();
-            StlSequenceIterator<S,V> operator--(int);
-            StlSequenceIterator<S,V>& operator+=(const typename StlSequenceIterator<S,V>::difference_type by);
-            StlSequenceIterator<S,V>& operator-=(const typename StlSequenceIterator<S,V>::difference_type by);
-            StlSequenceIterator<S,V> operator+(const typename StlSequenceIterator<S,V>::difference_type by) const;
-            StlSequenceIterator<S,V> operator-(const typename StlSequenceIterator<S,V>::difference_type by) const;
-            typename StlSequenceIterator<S,V>::difference_type operator-(const StlSequenceIterator<S,V>& to) const;
-
-            bool operator==(const StlSequenceIterator<S,V>& other) const;
-            bool operator!=(const StlSequenceIterator<S,V>& other) const;
-            bool operator<(const StlSequenceIterator<S,V>& other) const;
-            reference operator[](const typename StlSequenceIterator<S,V>::difference_type by) const;
-
-
-        protected:
-            friend class StlSequence<S,V>;
-            S * m_UnoSequence;
-            typename StlSequenceIterator<S,V>::difference_type m_Index;
-    };
-
-    template<typename S, typename V>
-    class StlSequenceConstIterator : public StlSequenceIterator<S,V>
-    {
-        public:
-            typedef const V& reference;
-            StlSequenceConstIterator();
-            StlSequenceConstIterator(S * uno_sequence, typename StlSequenceIterator<S,V>::difference_type by);
-            typename StlSequenceIterator<S,V>::const_reference operator*() const
-            {
-                return (*(this->m_UnoSequence))[this->m_Index];
-            }
-
-            typename StlSequenceIterator<S,V>::const_reference operator[](const typename StlSequenceIterator<S,V>::difference_type by) const
-            {
-                return (*(this->m_UnoSequence))[this->m_Index+by];
-            }
-    };
-
-    template<typename S, typename V>
-    class StlSequence
-    {
-        public:
-            typedef sal_Int32 size_type;
-            typedef V& reference;
-            typedef const V& const_reference;
-            typedef sal_Int32 difference_type;
-            typedef V value_type;
-            typedef StlSequenceIterator<S,V> iterator;
-            typedef StlSequenceConstIterator<S,V> const_iterator;
-
-            StlSequence(S& uno_sequence);
-
-            typename StlSequence<S,V>::size_type size() const;
-            typename StlSequence<S,V>::size_type max_size() const;
-            bool empty() const;
-            void swap(StlSequence<S,V>& other);
-            typename StlSequence<S,V>::iterator begin();
-            typename StlSequence<S,V>::iterator end();
-            typename StlSequence<S,V>::const_iterator begin() const;
-            typename StlSequence<S,V>::const_iterator end() const;
-
-            bool operator==(const StlSequence<S,V>& other) const;
-            bool operator!=(const StlSequence<S,V>& other) const;
-            bool operator<(const StlSequence<S,V>& other) const;
-            bool operator>(const StlSequence<S,V>& other) const;
-            bool operator<=(const StlSequence<S,V>& other) const;
-            bool operator>=(const StlSequence<S,V>& other) const;
-
-
-        private:
-            friend class StlSequenceIterator<S,V>;
-            S * m_UnoSequence;
-            static const typename StlSequence<S,V>::size_type begin_of_sequence;
-            static const typename StlSequence<S,V>::size_type end_of_sequence;
-    };
-
-    //StlSequenceIterator
-    template<typename S, typename V>
-    StlSequenceIterator<S,V>::StlSequenceIterator()
-        : m_UnoSequence(0), m_Index(StlSequence<S,V>::end_of_sequence)
-    {}
-
-    template<typename S, typename V>
-    StlSequenceConstIterator<S,V>::StlSequenceConstIterator()
-    {}
-
-    template<typename S, typename V>
-    StlSequenceIterator<S, V>::StlSequenceIterator(S * uno_sequence, typename StlSequenceIterator<S,V>::difference_type index)
-        : m_UnoSequence(uno_sequence), m_Index(index)
-    {}
-
-    template<typename S, typename V>
-    StlSequenceConstIterator<S, V>::StlSequenceConstIterator(S * uno_sequence, typename StlSequenceIterator<S,V>::difference_type index)
-        : StlSequenceIterator<S,V>(uno_sequence, index)
-    {}
-
-    template<typename S, typename V>
-    inline typename StlSequenceIterator<S,V>::reference StlSequenceIterator<S, V>::operator*() const
-    {
-        return (*m_UnoSequence)[m_Index];
-    }
-
-    template<typename S, typename V>
-    inline StlSequenceIterator<S,V>& StlSequenceIterator<S, V>::operator++()
-    {
-        ++m_Index;
-        if(m_Index>=m_UnoSequence->getLength())
-            m_Index = StlSequence<S,V>::end_of_sequence;
-        return *this;
-    }
-
-    template<typename S, typename V>
-    inline StlSequenceIterator<S,V> StlSequenceIterator<S, V>::operator++(int)
-    {
-        StlSequenceIterator<S,V> temp = *this;
-        ++*this;
-        return temp;
-    }
-
-    template<typename S, typename V>
-    inline StlSequenceIterator<S,V>& StlSequenceIterator<S, V>::operator--()
-    {
-        if(m_Index==StlSequence<S,V>::end_of_sequence)
-            m_Index = m_UnoSequence->getLength();
-        --m_Index;
-        return *this;
-    }
-
-    template<typename S, typename V>
-    inline StlSequenceIterator<S,V> StlSequenceIterator<S, V>::operator--(int)
-    {
-        StlSequenceIterator<S,V> temp = *this;
-        --*this;
-        return temp;
-    }
-
-    template<typename S, typename V>
-    inline StlSequenceIterator<S,V>& StlSequenceIterator<S, V>::operator+=(const typename StlSequenceIterator<S,V>::difference_type by)
-    {
-        if(by<0)
-        {
-            this->operator-=(-by);
-            return *this;
-        }
-        if(by==0)
-            return *this;
-        m_Index+=by;
-        if(m_Index>=m_UnoSequence->getLength())
-            m_Index=StlSequence<S,V>::end_of_sequence;
-        return *this;
-    }
-
-    template<typename S, typename V>
-    inline StlSequenceIterator<S,V>& StlSequenceIterator<S, V>::operator-=(const typename StlSequenceIterator<S,V>::difference_type by)
-    {
-        if(by<0)
-        {
-            if(-by==by) return *this; // breaking infinitive loop on MIN_INT
-            this->operator+=(-by);
-            return *this;
-        }
-        if(by==0)
-            return *this;
-        if(m_Index==StlSequence<S,V>::end_of_sequence)
-            m_Index=m_UnoSequence->getLength();
-        m_Index-=by;
-        return *this;
-    }
-
-    template<typename S, typename V>
-    inline StlSequenceIterator<S,V> StlSequenceIterator<S, V>::operator+(const typename StlSequenceIterator<S,V>::difference_type by) const
-    {
-        StlSequenceIterator<S,V> result = StlSequenceIterator<S,V>(*this);
-        result+=by;
-        return result;
-    }
-
-    template<typename S, typename V>
-    inline StlSequenceIterator<S,V> StlSequenceIterator<S, V>::operator-(const typename StlSequenceIterator<S,V>::difference_type by) const
-    {
-        StlSequenceIterator<S,V> result = StlSequenceIterator<S,V>(*this);
-        result-=by;
-        return result;
-    }
-
-    template<typename S, typename V>
-    inline typename StlSequenceIterator<S,V>::difference_type StlSequenceIterator<S, V>::operator-(const StlSequenceIterator<S,V>& to) const
-    {
-        if(m_Index==StlSequence<S,V>::end_of_sequence ^ to.m_Index==StlSequence<S,V>::end_of_sequence)
-        {
-            if(m_Index==StlSequence<S,V>::end_of_sequence)
-                return m_UnoSequence->getLength()-to.m_Index;
-            else
-                return m_Index-m_UnoSequence->getLength();
-        }
-        return m_Index-to.m_Index;
-    }
-
-    template<typename S, typename V>
-    inline bool StlSequenceIterator<S, V>::operator==(const StlSequenceIterator<S,V>& other) const
-    {
-        return (m_Index == other.m_Index);
-    }
-
-    template<typename S, typename V>
-    inline bool StlSequenceIterator<S, V>::operator!=(const StlSequenceIterator<S,V>& other) const
-    {
-        return !this->operator==(other);
-    }
-
-    template<typename S, typename V>
-    inline bool StlSequenceIterator<S, V>::operator<(const StlSequenceIterator<S,V>& other) const
-    {
-        if(m_Index==StlSequence<S,V>::end_of_sequence ^ other.m_Index==StlSequence<S,V>::end_of_sequence)
-            return other.m_Index==StlSequence<S,V>::end_of_sequence;
-        return m_Index<other.m_Index;
-    }
-
-    template<typename S, typename V>
-    inline typename StlSequenceIterator<S,V>::reference StlSequenceIterator<S, V>::operator[](const typename StlSequenceIterator<S,V>::difference_type by) const
-    {
-        return (*(this->m_UnoSequence))[this->m_Index+by];
-    }
-
-    // StlSequence
-    template<typename S, typename V>
-    StlSequence<S,V>::StlSequence(S& uno_sequence)
-        : m_UnoSequence(&uno_sequence)
-    {}
-
-    template<typename S, typename V>
-    inline typename StlSequence<S,V>::size_type StlSequence<S,V>::size() const
-    {
-        return m_UnoSequence->getLength();
-    }
-
-    template<typename S, typename V>
-    inline typename StlSequence<S,V>::size_type StlSequence<S,V>::max_size() const
-    {
-        return this->size();
-    }
-
-    template<typename S, typename V>
-    inline bool StlSequence<S,V>::empty() const
-    {
-        return this->size() == 0;
-    }
-
-    template<typename S, typename V>
-    inline void StlSequence<S,V>::swap(StlSequence<S,V>& other)
-    {
-        ::std::swap(*this, other);
-    }
-
-    template<typename S, typename V>
-    inline typename StlSequence<S,V>::iterator StlSequence<S,V>::begin()
-    {
-        return typename StlSequence<S,V>::iterator(m_UnoSequence,
-            size() ? begin_of_sequence : end_of_sequence);
-    }
-
-    template<typename S, typename V>
-    inline typename StlSequence<S,V>::iterator StlSequence<S,V>::end()
-    {
-        return typename StlSequence<S,V>::iterator(m_UnoSequence, end_of_sequence);
-    }
-
-    template<typename S, typename V>
-    inline typename StlSequence<S,V>::const_iterator StlSequence<S,V>::begin() const
-    {
-        return typename StlSequence<S,V>::const_iterator(m_UnoSequence,
-            size() ? begin_of_sequence : end_of_sequence);
-    }
-
-    template<typename S, typename V>
-    inline typename StlSequence<S,V>::const_iterator StlSequence<S,V>::end() const
-    {
-        return typename StlSequence<S,V>::const_iterator(m_UnoSequence, end_of_sequence);
-    }
-
-    template<typename S, typename V>
-    inline bool StlSequence<S,V>::operator==(const StlSequence<S,V>& other) const
-    {
-        if(this->size() != other.size()) return false;
-        return ::std::equal(this->begin(), this->end(), other.begin());
-    }
-
-    template<typename S, typename V>
-    inline bool StlSequence<S,V>::operator<(const StlSequence<S,V>& other) const
-    {
-        return ::std::lexicographical_compare(this->begin(), this->end(), other.begin(), other.end());
-    }
-
-    template<typename S, typename V>
-    inline bool StlSequence<S,V>::operator!=(const StlSequence<S,V>& other) const
-    { return !(*this == other); }
-
-    template<typename S, typename V>
-    inline bool StlSequence<S,V>::operator>(const StlSequence<S,V>& other) const
-    { return (other < *this); }
-
-    template<typename S, typename V>
-    inline bool StlSequence<S,V>::operator<=(const StlSequence<S,V>& other) const
-    { return !(other < *this); }
-
-    template<typename S, typename V>
-    inline bool StlSequence<S,V>::operator>=(const StlSequence<S,V>& other) const
-    { return !(*this < other); }
-
-    template<typename S, typename V>
-    const typename StlSequence<S,V>::size_type StlSequence<S,V>::begin_of_sequence = 0;
-
-    template<typename S, typename V>
-    const typename StlSequence<S,V>::size_type StlSequence<S,V>::end_of_sequence = -1;
-}}
-
 
 namespace comphelper
 {
     /**
-      @short a wrapper-class that provides stl-container-like access to an existing
-      ::com::sun::star::uno::Sequence
-      @descr This template class allows using an existing ::com::sun::star::uno::Sequence
-      like any other stl container. It provides standard-compliant mutable random access
-      iterators. Because random access iterators are the most generic iterators defined
-      by the stl, any stl algorithm can be applied to the Sequence.
-      <p>
-      This is just a basic stl forward container, but _not_ an stl sequence (the size of the
-      ::com::sun::star::uno::Sequence cannot be changed using the StlUnoSequence interface).
-      Inserts are expensive operations on ::com::sun::star::uno::Sequence - use
-      ::std::copy() to a efficient stl container implementing the stl sequence interface
-      and the available insert iterator adapters you need those.
-      <p>
-      @attention There is one requirement of an stl container that this class does not meet:
-      It is _not_ owner of its contents and thus it does not destroy its contents when destructed.
-      @attention No additional boundschecking over the requirements of the STL are performed.
-      E.g. sequence.begin()-- results in undefined behavior. 
-      @attention StlUnoSequence is not threadsafe.
-      <p>
-      Example: (creating a ::std::list from a ::com::sun::star::uno::Sequence)
-      <code>
-      ::com::sun::star::uno::Sequence<sal_Int32> uno_seq(10);
-      ::comphelper::StlUnoSequence<sal_Int32> stl_seq(&uno_seq);
-      ::std::list stl_list(stl_seq.begin(), stl_seq.end());
-      </code>
-      <p>
-      Example: (sorting ::com::sun::star::uno::Sequence inplace)
-      <code>
-      ::com::sun::star::uno::Sequence<sal_Int32> uno_seq(10);
-      ::comphelper::StlUnoSequence<sal_Int32> stl_seq(&uno_seq);
-      ::std::sort(stl_seq.begin(), stl_seq.end());
-      </code>
-      <p>
-      Example: (counting occurrences of 4711 in a ::com::sun::star::uno::Sequence)
-      <code>
-      ::com::sun::star::uno::Sequence<sal_Int32> uno_seq(10);
-      ::comphelper::StlUnoSequence<sal_Int32> stl_seq(&uno_seq);
-      sal_Int32 count = 0;
-      ::std::count(stl_seq.begin(), stl_seq.end(), 4711, count);
-      </code>
-      <p>
-      Example: (inserting the second half of one Sequence after the first element of another)
-      <code>
-      ::com::sun::star::uno::Sequence<sal_Int32> uno_seq1(10);
-      ::com::sun::star::uno::Sequence<sal_Int32> uno_seq2(10);
-      ::com::sun::star::uno::Sequence<sal_Int32> result(15);
-      ::comphelper::StlUnoSequence<sal_Int32> stl_seq1(&uno_seq1);
-      ::comphelper::StlUnoSequence<sal_Int32> stl_seq2(&uno_seq1);
-      ::comphelper::StlUnoSequence<sal_Int32> stl_result(&result);
-      ::std::list<sal_Int32> temp(uno_seq1.begin(), uno_seq1.end());
-      ::std::copy(uno_seq2.begin()+5, uno_seq2.end(), ::std::insert_iterator< ::std::list<sal_Int32> >(temp, ++temp.begin()));
-      ::std::copy(temp.begin(), temp.end(), result.begin());
-      </code>
+    @short stl-container-like access to an existing ::com::sun::star::uno::Sequence
+    @descr These template functions allows using an existing
+    ::com::sun::star::uno::Sequence using stl algorithms. They provides
+    standard-compliant mutable random access iterators. Because random access
+    iterators are the most generic iterators defined by the stl, any stl algorithm
+    can be applied to the Sequence (excluding algorithms requiring output
+    iterators).
+    <p>
+    Example: (creating a ::std::list from a ::com::sun::star::uno::Sequence)
+    <code>
+    ::com::sun::star::uno::Sequence<sal_Int32> aSeq(10);
+    ::std::list stl_list(stl_begin(aSeq), stl_end(aSeq));
+    </code>
+    <p>
+    Example: (sorting ::com::sun::star::uno::Sequence inplace)
+    <code>
+    ::com::sun::star::uno::Sequence<sal_Int32> aSeq(10);
+    ::std::sort(stl_begin(aSeq), stl_seq.end(aSeq));
+    </code>
+    <p>
+    Example: (counting occurrences of 4711 in a ::com::sun::star::uno::Sequence)
+    <code>
+    ::com::sun::star::uno::Sequence<sal_Int32> aSeq(10);
+    sal_Int32 count = 0;
+    ::std::count(stl_begin(aSeq), stl_end(aSeq), 4711, count);
+    </code>
+    <p>
 
-      @see http://www.sgi.com/tech/stl/Container.html
-      @see http://www.sgi.com/tech/stl/Sequence.html
-      @see http://www.sgi.com/tech/stl/RandomAccessIterator.html
+    @see http://www.sgi.com/tech/stl/Container.html
+    @see http://www.sgi.com/tech/stl/Sequence.html
+    @see http://www.sgi.com/tech/stl/RandomAccessIterator.html
     */
 
     template <typename V>
-    class StlUnoSequence : public stlunosequence::StlSequence< ::com::sun::star::uno::Sequence<V>, V>
-    {
-        public:
-            /*
-               @short named constructor (these are needed to keep const-correctness)
-             */
-            static StlUnoSequence<V> createInstance(::com::sun::star::uno::Sequence<V>& uno_sequence)
-            { return StlUnoSequence<V>(uno_sequence); }
-            /*
-               @short named constructor (these are needed to keep const-correctness)
-             */
-            static const StlUnoSequence<V> createInstance(const ::com::sun::star::uno::Sequence<V>& uno_sequence)
-            { return StlUnoSequence<V>(const_cast< ::com::sun::star::uno::Sequence<V>& >(uno_sequence)); }
-        private:
-            StlUnoSequence(::com::sun::star::uno::Sequence<V>& uno_sequence)
-                : stlunosequence::StlSequence< ::com::sun::star::uno::Sequence<V>, V>(uno_sequence)
-            {}
-    };
+    V* stl_begin(::com::sun::star::uno::Sequence<V>& rSeq)
+        { return rSeq.getArray(); }
 
-    /*
-       @short shortcut for StlUnoSequence<V>::createInstance(uno_sequence).begin()
-     */
     template <typename V>
-    typename StlUnoSequence<V>::iterator stl_begin(::com::sun::star::uno::Sequence<V>& uno_sequence)
-    { return StlUnoSequence<V>::createInstance(uno_sequence).begin(); }
+    V* stl_end(::com::sun::star::uno::Sequence<V>& rSeq)
+        { return rSeq.getArray() + rSeq.getLength(); }
 
-    /*
-       @short shortcut for StlUnoSequence<V>::createInstance(uno_sequence).end()
-     */
     template <typename V>
-    typename StlUnoSequence<V>::iterator stl_end(::com::sun::star::uno::Sequence<V>& uno_sequence)
-    { return StlUnoSequence<V>::createInstance(uno_sequence).end(); }
+    const V* stl_begin(const ::com::sun::star::uno::Sequence<V>& rSeq)
+        { return rSeq.getConstArray(); }
 
-    /*
-       @short shortcut for StlUnoSequence<V>::createInstance(uno_sequence).begin()
-     */
     template <typename V>
-    typename StlUnoSequence<V>::const_iterator stl_begin(const ::com::sun::star::uno::Sequence<V>& uno_sequence)
-    {
-        return StlUnoSequence<V>::createInstance(uno_sequence).begin();
-    }
-
-    /*
-       @short shortcut for StlUnoSequence<V>::createInstance(uno_sequence).end()
-     */
-    template <typename V>
-    typename StlUnoSequence<V>::const_iterator stl_end(const ::com::sun::star::uno::Sequence<V>& uno_sequence)
-    {
-        return StlUnoSequence<V>::createInstance(uno_sequence).end();
-    }
+    const V* stl_end(const ::com::sun::star::uno::Sequence<V>& rSeq)
+        { return rSeq.getConstArray() + rSeq.getLength(); }
 }
 #endif

File extensions/source/oooimprovement/config.cxx

 #include "precompiled_extensions.hxx"
 
 #include "config.hxx"
-#include "myconfigurationhelper.hxx" 
+#include "myconfigurationhelper.hxx"
 #include <rtl/ustrbuf.hxx>
 
 
         return result;
     }
 
+#ifdef FUTURE
     sal_Int32 Config::getFailedAttempts() const
     {
         sal_Int32 result = 0;
             MyConfigurationHelper::E_READONLY) >>= result;
         return result;
     }
+#endif
 
     sal_Int32 Config::getOfficeStartCounterdown() const
     {

File extensions/source/oooimprovement/config.hxx

             ::rtl::OUString getSoapId() const;
             ::rtl::OUString getSoapUrl() const;
             sal_Int32 getReportCount() const;
+#ifdef FUTURE
             sal_Int32 getFailedAttempts() const;
+#endif
             sal_Int32 getOfficeStartCounterdown() const;
             sal_Int32 incrementEventCount(sal_Int32 by);
             sal_Int32 incrementReportCount(sal_Int32 by);

File extensions/source/oooimprovement/corecontroller.cxx

 #include "corecontroller.hxx"
 #include "config.hxx"
 
-
 using ::rtl::OUString;
 using namespace ::com::sun::star::lang;
 using namespace ::com::sun::star::uno;
 
 namespace oooimprovement
 {
-
-    CoreController::CoreController(const Reference<XComponentContext>& context)
-        : m_ServiceFactory(Reference<XMultiServiceFactory>(
-            context->getServiceManager()->createInstanceWithContext(
-                OUString::createFromAscii("com.sun.star.lang.XMultiServiceFactory"), context),
-            UNO_QUERY))
-    { }
-
     CoreController::CoreController(const Reference<XMultiServiceFactory>& sf)
         : m_ServiceFactory(sf)
     { }
         return aServiceNames;
     }
 
-    Reference<XInterface> SAL_CALL CoreController::Create(const Reference<XComponentContext>& context)
-    { return *(new CoreController(context)); }
-
     Reference<XInterface> SAL_CALL CoreController::Create(const Reference<XMultiServiceFactory>& sm)
     { return *(new CoreController(sm)); }
 }

File extensions/source/oooimprovement/corecontroller.hxx

             // css::lang::XServiceInfo - static version
             static ::rtl::OUString SAL_CALL getImplementationName_static();
             static css::uno::Sequence< ::rtl::OUString> SAL_CALL getSupportedServiceNames_static();
-            static css::uno::Reference< css::uno::XInterface> SAL_CALL Create(
-                const css::uno::Reference<css::uno::XComponentContext>& context);
+            //static css::uno::Reference< css::uno::XInterface> SAL_CALL Create(
+            //    const css::uno::Reference<css::uno::XComponentContext>& context);
 
             static css::uno::Reference< css::uno::XInterface> SAL_CALL Create(
                 const css::uno::Reference< css::lang::XMultiServiceFactory>& sm);

File extensions/source/oooimprovement/invite_job.cxx

 
 namespace oooimprovement
 {
-    InviteJob::InviteJob(const Reference<XComponentContext>& context)
-        : m_ServiceFactory(Reference<XMultiServiceFactory>(
-            context->getServiceManager()->createInstanceWithContext(
-                OUString::createFromAscii("com.sun.star.lang.XMultiServiceFactory"), context),
-            UNO_QUERY))
-    { }
+//    InviteJob::InviteJob(const Reference<XComponentContext>& context)
+//        : m_ServiceFactory(Reference<XMultiServiceFactory>(
+//            context->getServiceManager()->createInstanceWithContext(
+//                OUString::createFromAscii("com.sun.star.lang.XMultiServiceFactory"), context),
+//            UNO_QUERY))
+//    { }
 
     InviteJob::InviteJob(const Reference<XMultiServiceFactory>& sf)
         : m_ServiceFactory(sf)
         return aServiceNames;
     }
 
-    Reference<XInterface> InviteJob::Create(const Reference<XComponentContext>& context)
-    { return *(new InviteJob(context)); }
+//    Reference<XInterface> InviteJob::Create(const Reference<XComponentContext>& context)
+//    { return *(new InviteJob(context)); }
 
     Reference<XInterface> InviteJob::Create(const Reference<XMultiServiceFactory>& sm)
     { return *(new InviteJob(sm)); }

File extensions/source/oooimprovement/invite_job.hxx

             // XServiceInfo - static version
             static ::rtl::OUString SAL_CALL getImplementationName_static();
             static css::uno::Sequence< ::rtl::OUString> SAL_CALL getSupportedServiceNames_static();
-            static css::uno::Reference< css::uno::XInterface> SAL_CALL Create(
-                const css::uno::Reference< css::uno::XComponentContext>& context);
-            
+            //static css::uno::Reference< css::uno::XInterface> SAL_CALL Create(
+            //    const css::uno::Reference< css::uno::XComponentContext>& context);
+
             static css::uno::Reference< css::uno::XInterface> SAL_CALL Create(const css::uno::Reference< css::lang::XMultiServiceFactory>& sm);
 
         protected:
             InviteJob(const css::uno::Reference< css::uno::XComponentContext>& context);
             InviteJob(const css::uno::Reference< css::lang::XMultiServiceFactory>& sf);
             virtual ~InviteJob();
-           
+
             // XAsyncJob
             virtual void SAL_CALL executeAsync(
                 const css::uno::Sequence< css::beans::NamedValue>& args,

File extensions/source/oooimprovement/myconfigurationhelper.cxx

         xProps->setPropertyValue(sKey, aValue);
     }
 
-    Reference<XInterface> MyConfigurationHelper::makeSureSetNodeExists(
-        const Reference<XInterface> xCFG,
-        const OUString& sRelPathToSet,
-        const OUString& sSetNode)
-    {
-        Reference<css::container::XHierarchicalNameAccess> xAccess(xCFG, UNO_QUERY_THROW);
-        Reference<css::container::XNameAccess> xSet;
-        xAccess->getByHierarchicalName(sRelPathToSet) >>= xSet;
-        if (!xSet.is())
-            throw css::container::NoSuchElementException(
-                noSuchElement(sRelPathToSet),
-                Reference<XInterface>());
-
-        Reference<XInterface> xNode;
-        if (xSet->hasByName(sSetNode))
-            xSet->getByName(sSetNode) >>= xNode;
-        else
-        {
-            Reference<XSingleServiceFactory> xNodeFactory(xSet, UNO_QUERY_THROW);
-            xNode = xNodeFactory->createInstance();
-            Reference<css::container::XNameContainer> xSetReplace(xSet, UNO_QUERY_THROW);
-            xSetReplace->insertByName(sSetNode, makeAny(xNode));
-        }
-
-        return xNode;
-    }
-
     Any MyConfigurationHelper::readDirectKey(
         const Reference<XMultiServiceFactory> xSMGR,
         const OUString& sPackage,
         Reference<css::util::XChangesBatch> xBatch(xCFG, UNO_QUERY_THROW);
         xBatch->commitChanges();
     }
-} 
+}

File extensions/source/oooimprovement/myconfigurationhelper.hxx

 
 
 #ifndef EXTENSIONS_OOOIMPROVEMENT_CONFIGURATIONHELPER_HXX
-#define EXTENSIONS_OOOIMPROVEMENT_CONFIGURATIONHELPER_HXX 
+#define EXTENSIONS_OOOIMPROVEMENT_CONFIGURATIONHELPER_HXX
 
 #include <com/sun/star/uno/XInterface.hpp>
 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
             const css::uno::Any& aValue);
 
         //-----------------------------------------------
-        /** it checks if the specified set node exists ... or create an empty one
-         *  otherwise.
-         *
-         *  This method must be used in combination with openConfig().
-         *  The cached configuration access must be provided here ... and
-         *  all operations are made relativ to this access point.
-         *
-         *  Further this method must be used only with configuration set's.
-         *  Atomic keys can't be "created" ... they "exists everytimes".
-         *
-         *  @param  xCFG
-         *          the configuration root, where sRelPathToSet should be interpreted
-         *          as relativ path.
-         *
-         *  @param  sRelPathToSet
-         *          path relative to xCFG parameter.
-         *
-         *  @param  sSetNode
-         *          the set node, which should be checked if its exists ...
-         *          or which should be created with default values.
-         *
-         *  @return A reference to the found (or new created) set node.
-         *          Cant be NULL .. in such case an exception occure !
-         *
-         *  @throw  css::uno::Any exceptions the underlying configuration can throw.
-         *          E.g. css::uno::Exception if the provided configuration
-         *          access does not allow writing for this set.
-         */
-        static css::uno::Reference< css::uno::XInterface> makeSureSetNodeExists(
-            const css::uno::Reference< css::uno::XInterface> xCFG,
-            const ::rtl::OUString& sRelPathToSet,
-            const ::rtl::OUString& sSetNode);
-
-        //-----------------------------------------------
         /** commit all changes made on the specified configuration access.
          *
          *  This method must be used in combination with openConfig().
     };
     #undef css
 }
-#endif 
+#endif

File extensions/source/oooimprovement/soaprequest.cxx

 
 #include "soaprequest.hxx"
 #include "errormail.hxx"
+#include "config.hxx"
 #include <boost/shared_ptr.hpp>
 #include <com/sun/star/lang/XMultiComponentFactory.hpp>
 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
 {
     static unsigned long asUlong(sal_Int8 input)
     {
-        return *reinterpret_cast<unsigned char *>(&input) ; 
+        return *reinterpret_cast<unsigned char *>(&input);
     };
 
     static Sequence<sal_Int8> base64_encode(const Sequence<sal_Int8>& input)
         static const char base64_tab[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
         Sequence<sal_Int8> result(4);
         unsigned long value = asUlong(input[0]) << 16;
-        if(input.getLength() > 1) value |= asUlong(input[1]) << 8; 
+        if(input.getLength() > 1) value |= asUlong(input[1]) << 8;
         if(input.getLength() > 2) value |= asUlong(input[2]);
 
         result[0] = static_cast<sal_Int8>(base64_tab[(value >> 18) & 0x3F]);
         }
         return result;
     };
-    
+
     static OString replaceAll(const OString& str, sal_Char old, const OString& replacement)
     {
         OStringBuffer result;
             (*result)[idx] = str[idx];
         return result;
     };
-               
+
     static void writeString(const Reference<XOutputStream>& target, const OString& str)
     {
         shared_ptr<Sequence<sal_Int8> > seq = createSequenceFromString(str);
         } while(bytes_read == bufsize);
     };
 
-    static const OString SOAP_START( 
+    static const OString SOAP_START(
         "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
         "<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"\n"
         "xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\"\n"
     static const OString SOAP_ITEMS_END("</hash>\n");
     static const OString SOAP_END(
         "</rds:submitReport>\n"
-        "</SOAP-ENV:Body>\n" 
-        "</SOAP-ENV:Envelope>\n"); 
+        "</SOAP-ENV:Body>\n"
+        "</SOAP-ENV:Envelope>\n");
     static const OString SOAP_ITEM_END("]]></value></item>\n");
 
-    static const OString getSoapSoapId(const OString& soap_id)
+    static const OString getSoapOfficeversion(const Reference<XMultiServiceFactory>& sf)
     {
         OStringBuffer buf =
-            "<body xsi:type=\"xsd:string\">" + xmlEncode(soap_id) + "</body>\n";
+            "<Officeversion Productname=\""
+            + ::rtl::OUStringToOString(oooimprovement::Config(sf).getCompleteProductname(), RTL_TEXTENCODING_ASCII_US)
+            + "\"/>\n";
+        return buf.makeStringAndClear();
+    };
+
+    static const OString getSoapSoapId(const Reference<XMultiServiceFactory>& sf, const OString& soap_id)
+    {
+        OStringBuffer buf;
+        buf.append("<body xsi:type=\"xsd:string\">");
+        buf.append(xmlEncode(soap_id)).append("\n");
+        buf.append(getSoapOfficeversion(sf));
+        buf.append("</body>\n");
         return buf.makeStringAndClear();
     };
 
         writeString(target, SOAP_START);
             writeString(
                 target,
-                getSoapSoapId(rtl::OUStringToOString(m_SoapId, RTL_TEXTENCODING_ASCII_US)));
-            writeString(target, SOAP_ITEMS_START); 
+                getSoapSoapId(m_ServiceFactory, rtl::OUStringToOString(m_SoapId, RTL_TEXTENCODING_ASCII_US)));
+            writeString(target, SOAP_ITEMS_START);
                 writeString(target, getSoapItemStart("reportmail.xml"));
                     writeString(target, Errormail(m_ServiceFactory).getXml());
                 writeString(target, SOAP_ITEM_END);
                 writeString(target, getSoapItemStart("data.zip"));
                     writeFile(m_ServiceFactory, target, m_Logfile);
                 writeString(target, SOAP_ITEM_END);
-            writeString(target, SOAP_ITEMS_END); 
+            writeString(target, SOAP_ITEMS_END);
         writeString(target, SOAP_END);
     }
 }

File svx/inc/AccessibleSelectionBase.hxx

 #include <comphelper/accessibleselectionhelper.hxx>
 #include "svx/svxdllapi.h"
 
-namespace accessibility 
+namespace accessibility
 {
-/**	@descr
+/** @descr
         This base class provides a base implementation of the
         <type>XAccessibleSelection</type> interface.
         The following methods have to be implemented if this
 
     public:
 
-	    // XAccessibleSelection - default implementations
-	    virtual void SAL_CALL selectAccessibleChild( sal_Int32 nChildIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
-	    virtual sal_Bool SAL_CALL isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
-	    virtual void SAL_CALL clearAccessibleSelection(  ) throw (::com::sun::star::uno::RuntimeException);
-	    virtual void SAL_CALL selectAllAccessibleChildren(  ) throw (::com::sun::star::uno::RuntimeException);
-	    virtual sal_Int32 SAL_CALL getSelectedAccessibleChildCount(  ) throw (::com::sun::star::uno::RuntimeException);
-	    virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
-	    virtual void SAL_CALL deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
+        // XAccessibleSelection - default implementations
+        virtual void SAL_CALL selectAccessibleChild( sal_Int32 nChildIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
+        virtual sal_Bool SAL_CALL isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
+        virtual void SAL_CALL clearAccessibleSelection(  ) throw (::com::sun::star::uno::RuntimeException);
+        virtual void SAL_CALL selectAllAccessibleChildren(  ) throw (::com::sun::star::uno::RuntimeException);
+        virtual sal_Int32 SAL_CALL getSelectedAccessibleChildCount(  ) throw (::com::sun::star::uno::RuntimeException);
+        virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
+        virtual void SAL_CALL deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
 
     public:
 
 }
 
 #endif // _SVX_ACCESSIBILITY_ACCESSIBLE_SELECTION_BASE_HXX
-/*************************************************************************
- *
- * 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: AccessibleSelectionBase.hxx,v $
- * $Revision: 1.6 $
- *
- * 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
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef _SVX_ACCESSIBILITY_ACCESSIBLE_SELECTION_BASE_HXX
-#define _SVX_ACCESSIBILITY_ACCESSIBLE_SELECTION_BASE_HXX
-
-#include <comphelper/accessibleselectionhelper.hxx>
-#include "svx/svxdllapi.h"
-
-namespace accessibility 
-{
-/**	@descr
-        This base class provides a base implementation of the
-        <type>XAccessibleSelection</type> interface.
-        The following methods have to be implemented if this
-        class is used:
-
-        <method>implGetMutex</method>,
-        <method>implGetAccessibleContext</method>,
-        <method>implIsSelected</method>,
-        <method>implSelect</method>,
-*/
-    class SVX_DLLPUBLIC AccessibleSelectionBase : public ::comphelper::OCommonAccessibleSelection,
-                                    public ::com::sun::star::accessibility::XAccessibleSelection
-    {
-    protected:
-
-        virtual ::osl::Mutex&   implGetMutex() = 0;
-
-    public:
-
-	    // XAccessibleSelection - default implementations
-	    virtual void SAL_CALL selectAccessibleChild( sal_Int32 nChildIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
-	    virtual sal_Bool SAL_CALL isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
-	    virtual void SAL_CALL clearAccessibleSelection(  ) throw (::com::sun::star::uno::RuntimeException);
-	    virtual void SAL_CALL selectAllAccessibleChildren(  ) throw (::com::sun::star::uno::RuntimeException);
-	    virtual sal_Int32 SAL_CALL getSelectedAccessibleChildCount(  ) throw (::com::sun::star::uno::RuntimeException);
-	    virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
-	    virtual void SAL_CALL deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
-
-    public:
-
-                                AccessibleSelectionBase();
-        virtual                 ~AccessibleSelectionBase();
-    };
-
-}
-
-#endif // _SVX_ACCESSIBILITY_ACCESSIBLE_SELECTION_BASE_HXX

File svx/inc/ActionDescriptionProvider.hxx

 };
 
 #endif
-/*************************************************************************
- *
- * 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: ActionDescriptionProvider.hxx,v $
- * $Revision: 1.3 $
- *
- * 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
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef _SVX_ACTIONDESCRIPTIONPROVIDER_HXX
-#define _SVX_ACTIONDESCRIPTIONPROVIDER_HXX
-
-#include "svx/svxdllapi.h"
-
-// header for class OUString
-#include <rtl/ustring.hxx>
-
-//-----------------------------------------------------------------------------
-/** This class provides localized descriptions for some basic actions done with objects.
-The strings are intended to be provided to the user e.g. as description for undo actions in the menu.
-The name of the object acted on and the type of action needs to be given as input parameter.
-*/
-
-class SVX_DLLPUBLIC ActionDescriptionProvider
-{
-public:
-    enum ActionType
-    {
-        INSERT
-        , DELETE
-        , CUT
-        , MOVE
-        , RESIZE
-        , ROTATE
-        , TRANSFORM
-        , FORMAT
-        , MOVE_TOTOP
-        , MOVE_TOBOTTOM
-        , POS_SIZE
-    };
-
-public:
-    static ::rtl::OUString createDescription( ActionType eActionType
-                        , const ::rtl::OUString& rObjectName );
-};
-
-#endif

File svx/inc/acorrcfg.hxx

 class SvxAutoCorrCfg;
 class SVX_DLLPUBLIC SvxBaseAutoCorrCfg : public utl::ConfigItem
 {
-	SvxAutoCorrCfg& rParent;
-	com::sun::star::uno::Sequence<rtl::OUString> 	GetPropertyNames();
+    SvxAutoCorrCfg& rParent;
+    com::sun::star::uno::Sequence<rtl::OUString>    GetPropertyNames();
 
 public:
-	SvxBaseAutoCorrCfg(SvxAutoCorrCfg& rParent);
-	~SvxBaseAutoCorrCfg();
+    SvxBaseAutoCorrCfg(SvxAutoCorrCfg& rParent);
+    ~SvxBaseAutoCorrCfg();
 
-	void					Load(sal_Bool bInit);
-	virtual void			Commit();
-	virtual void 			Notify( const com::sun::star::uno::Sequence<rtl::OUString>& aPropertyNames);
-	void 					SetModified() {ConfigItem::SetModified();}
+    void                    Load(sal_Bool bInit);
+    virtual void            Commit();
+    virtual void            Notify( const com::sun::star::uno::Sequence<rtl::OUString>& aPropertyNames);
+    void                    SetModified() {ConfigItem::SetModified();}
 };
 /* -----------------------------12.10.00 11:40--------------------------------
 
  ---------------------------------------------------------------------------*/
 class SVX_DLLPUBLIC SvxSwAutoCorrCfg : public utl::ConfigItem
 {
-	SvxAutoCorrCfg& rParent;
-	com::sun::star::uno::Sequence<rtl::OUString> 	GetPropertyNames();
+    SvxAutoCorrCfg& rParent;
+    com::sun::star::uno::Sequence<rtl::OUString>    GetPropertyNames();
 
 public:
-	SvxSwAutoCorrCfg(SvxAutoCorrCfg& rParent);
-	~SvxSwAutoCorrCfg();
+    SvxSwAutoCorrCfg(SvxAutoCorrCfg& rParent);
+    ~SvxSwAutoCorrCfg();
 
-	void					Load(sal_Bool bInit);
-	virtual void			Commit();
-	virtual void 			Notify( const com::sun::star::uno::Sequence<rtl::OUString>& aPropertyNames);
-	void 					SetModified() {ConfigItem::SetModified();}
+    void                    Load(sal_Bool bInit);
+    virtual void            Commit();
+    virtual void            Notify( const com::sun::star::uno::Sequence<rtl::OUString>& aPropertyNames);
+    void                    SetModified() {ConfigItem::SetModified();}
 };
 /*--------------------------------------------------------------------
-	Beschreibung:   Konfiguration fuer Auto Correction
+    Beschreibung:   Konfiguration fuer Auto Correction
  --------------------------------------------------------------------*/
 class SVX_DLLPUBLIC SvxAutoCorrCfg
 {
-	friend class SvxBaseAutoCorrCfg;
-	friend class SvxSwAutoCorrCfg;
+    friend class SvxBaseAutoCorrCfg;
+    friend class SvxSwAutoCorrCfg;
 
-	SvxAutoCorrect*	pAutoCorrect;
+    SvxAutoCorrect* pAutoCorrect;
 
-	SvxBaseAutoCorrCfg		aBaseConfig;
-	SvxSwAutoCorrCfg		aSwConfig;
+    SvxBaseAutoCorrCfg      aBaseConfig;
+    SvxSwAutoCorrCfg        aSwConfig;
 
-	// Flags f"ur Autotext:
-	sal_Bool	bFileRel;
-	sal_Bool	bNetRel;
-	// Tiphilfe f"ur Autotext w"ahrend der Eingabe
-	sal_Bool	bAutoTextTip;
-	sal_Bool	bAutoTextPreview;
-	sal_Bool	bAutoFmtByInput;
+    // Flags f"ur Autotext:
+    sal_Bool    bFileRel;
+    sal_Bool    bNetRel;
+    // Tiphilfe f"ur Autotext w"ahrend der Eingabe
+    sal_Bool    bAutoTextTip;
+    sal_Bool    bAutoTextPreview;
+    sal_Bool    bAutoFmtByInput;
     sal_Bool    bSearchInAllCategories;
 
 public:
-	void		SetModified()
-				{
-					aBaseConfig.SetModified();
-					aSwConfig.SetModified();
-				}
+    void        SetModified()
+                {
+                    aBaseConfig.SetModified();
+                    aSwConfig.SetModified();
+                }
     void        Commit()
                 {
                     aBaseConfig.Commit();
                     aSwConfig.Commit();
                 }
 
-		  SvxAutoCorrect* GetAutoCorrect()			{ return pAutoCorrect; }
-	const SvxAutoCorrect* GetAutoCorrect() const	{ return pAutoCorrect; }
-	// der Pointer geht in den Besitz des ConfigItems!
-	void SetAutoCorrect( SvxAutoCorrect* );
+          SvxAutoCorrect* GetAutoCorrect()          { return pAutoCorrect; }
+    const SvxAutoCorrect* GetAutoCorrect() const    { return pAutoCorrect; }
+    // der Pointer geht in den Besitz des ConfigItems!
+    void SetAutoCorrect( SvxAutoCorrect* );
 
-	sal_Bool IsAutoFmtByInput() const 		{ return bAutoFmtByInput; }
-	void SetAutoFmtByInput( sal_Bool bSet ) { bAutoFmtByInput = bSet;aSwConfig.SetModified();}
+    sal_Bool IsAutoFmtByInput() const       { return bAutoFmtByInput; }
+    void SetAutoFmtByInput( sal_Bool bSet ) { bAutoFmtByInput = bSet;aSwConfig.SetModified();}
 
-	sal_Bool IsSaveRelFile() const 			{ return bFileRel; }
-	void SetSaveRelFile( sal_Bool bSet ) 	{ bFileRel = bSet; aSwConfig.SetModified(); }
+    sal_Bool IsSaveRelFile() const          { return bFileRel; }
+    void SetSaveRelFile( sal_Bool bSet )    { bFileRel = bSet; aSwConfig.SetModified(); }
 
-	sal_Bool IsSaveRelNet() const 			{ return bNetRel; }
-	void SetSaveRelNet( sal_Bool bSet ) 	{ bNetRel = bSet; aSwConfig.SetModified();}
+    sal_Bool IsSaveRelNet() const           { return bNetRel; }
+    void SetSaveRelNet( sal_Bool bSet )     { bNetRel = bSet; aSwConfig.SetModified();}
 
-	sal_Bool IsAutoTextPreview() const {return bAutoTextPreview;}
-	void	 SetAutoTextPreview(sal_Bool bSet) {bAutoTextPreview = bSet; aSwConfig.SetModified();}
+    sal_Bool IsAutoTextPreview() const {return bAutoTextPreview;}
+    void     SetAutoTextPreview(sal_Bool bSet) {bAutoTextPreview = bSet; aSwConfig.SetModified();}
 
-	sal_Bool IsAutoTextTip() const 			{ return bAutoTextTip; }
-	void SetAutoTextTip(sal_Bool bSet )  	{ bAutoTextTip = bSet;aSwConfig.SetModified();}
+    sal_Bool IsAutoTextTip() const          { return bAutoTextTip; }
+    void SetAutoTextTip(sal_Bool bSet )     { bAutoTextTip = bSet;aSwConfig.SetModified();}
 
     sal_Bool IsSearchInAllCategories() const        { return bSearchInAllCategories;}
     void SetSearchInAllCategories(sal_Bool bSet )   { bSearchInAllCategories = bSet; aSwConfig.SetModified(); }
 
     SvxAutoCorrCfg();
-	virtual ~SvxAutoCorrCfg();
-	static SvxAutoCorrCfg*		Get();
+    virtual ~SvxAutoCorrCfg();
+    static SvxAutoCorrCfg*      Get();
 };
 
 
 #endif
-
-/*************************************************************************
- *
- * 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: acorrcfg.hxx,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
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-#ifndef _SVXACCFG_HXX
-#define _SVXACCFG_HXX
-
-// include ---------------------------------------------------------------
-
-#include "svx/svxdllapi.h"
-#include <unotools/configitem.hxx>
-/* -----------------------------12.10.00 11:40--------------------------------
-
- ---------------------------------------------------------------------------*/
-class SvxAutoCorrect;
-class SvxAutoCorrCfg;
-class SVX_DLLPUBLIC SvxBaseAutoCorrCfg : public utl::ConfigItem
-{
-	SvxAutoCorrCfg& rParent;
-	com::sun::star::uno::Sequence<rtl::OUString> 	GetPropertyNames();
-
-public:
-	SvxBaseAutoCorrCfg(SvxAutoCorrCfg& rParent);
-	~SvxBaseAutoCorrCfg();
-
-	void					Load(sal_Bool bInit);
-	virtual void			Commit();
-	virtual void 			Notify( const com::sun::star::uno::Sequence<rtl::OUString>& aPropertyNames);
-	void 					SetModified() {ConfigItem::SetModified();}
-};
-/* -----------------------------12.10.00 11:40--------------------------------
-
- ---------------------------------------------------------------------------*/
-class SVX_DLLPUBLIC SvxSwAutoCorrCfg : public utl::ConfigItem
-{
-	SvxAutoCorrCfg& rParent;
-	com::sun::star::uno::Sequence<rtl::OUString> 	GetPropertyNames();
-
-public:
-	SvxSwAutoCorrCfg(SvxAutoCorrCfg& rParent);
-	~SvxSwAutoCorrCfg();
-
-	void					Load(sal_Bool bInit);
-	virtual void			Commit();
-	virtual void 			Notify( const com::sun::star::uno::Sequence<rtl::OUString>& aPropertyNames);
-	void 					SetModified() {ConfigItem::SetModified();}
-};
-/*--------------------------------------------------------------------
-	Beschreibung:   Konfiguration fuer Auto Correction
- --------------------------------------------------------------------*/
-class SVX_DLLPUBLIC SvxAutoCorrCfg
-{
-	friend class SvxBaseAutoCorrCfg;
-	friend class SvxSwAutoCorrCfg;
-
-	SvxAutoCorrect*	pAutoCorrect;
-
-	SvxBaseAutoCorrCfg		aBaseConfig;
-	SvxSwAutoCorrCfg		aSwConfig;
-
-	// Flags f"ur Autotext:
-	sal_Bool	bFileRel;
-	sal_Bool	bNetRel;
-	// Tiphilfe f"ur Autotext w"ahrend der Eingabe
-	sal_Bool	bAutoTextTip;
-	sal_Bool	bAutoTextPreview;
-	sal_Bool	bAutoFmtByInput;
-    sal_Bool    bSearchInAllCategories;
-
-public:
-	void		SetModified()
-				{
-					aBaseConfig.SetModified();
-					aSwConfig.SetModified();
-				}
-    void        Commit()
-                {
-                    aBaseConfig.Commit();
-                    aSwConfig.Commit();
-                }
-
-		  SvxAutoCorrect* GetAutoCorrect()			{ return pAutoCorrect; }
-	const SvxAutoCorrect* GetAutoCorrect() const	{ return pAutoCorrect; }
-	// der Pointer geht in den Besitz des ConfigItems!
-	void SetAutoCorrect( SvxAutoCorrect* );
-
-	sal_Bool IsAutoFmtByInput() const 		{ return bAutoFmtByInput; }
-	void SetAutoFmtByInput( sal_Bool bSet ) { bAutoFmtByInput = bSet;aSwConfig.SetModified();}
-
-	sal_Bool IsSaveRelFile() const 			{ return bFileRel; }
-	void SetSaveRelFile( sal_Bool bSet ) 	{ bFileRel = bSet; aSwConfig.SetModified(); }
-
-	sal_Bool IsSaveRelNet() const 			{ return bNetRel; }
-	void SetSaveRelNet( sal_Bool bSet ) 	{ bNetRel = bSet; aSwConfig.SetModified();}
-
-	sal_Bool IsAutoTextPreview() const {return bAutoTextPreview;}
-	void	 SetAutoTextPreview(sal_Bool bSet) {bAutoTextPreview = bSet; aSwConfig.SetModified();}
-
-	sal_Bool IsAutoTextTip() const 			{ return bAutoTextTip; }
-	void SetAutoTextTip(sal_Bool bSet )  	{ bAutoTextTip = bSet;aSwConfig.SetModified();}
-
-    sal_Bool IsSearchInAllCategories() const        { return bSearchInAllCategories;}
-    void SetSearchInAllCategories(sal_Bool bSet )   { bSearchInAllCategories = bSet; aSwConfig.SetModified(); }
-
-    SvxAutoCorrCfg();
-	virtual ~SvxAutoCorrCfg();
-	static SvxAutoCorrCfg*		Get();
-};
-
-
-#endif
-

File svx/inc/anchorid.hxx

 
 enum SvxAnchorIds
 {
-	SVX_OBJ_AT_CNTNT	= 0x01,		//Absatzgebundener Rahmen
-	SVX_OBJ_IN_CNTNT	= 0x02,		//Zeichengebundener Rahmen
-	SVX_OBJ_PAGE		= 0x04,		//Seitengebundener Rahmen
-	SVX_OBJ_AT_FLY		= 0x08		//Rahmengebundener Rahmen
-//	SVX_OBJ_AUTO_CNTNT	= 0x10		//Automatisch positionierter, absatzgebundener Rahmen
+    SVX_OBJ_AT_CNTNT    = 0x01,     //Absatzgebundener Rahmen
+    SVX_OBJ_IN_CNTNT    = 0x02,     //Zeichengebundener Rahmen
+    SVX_OBJ_PAGE        = 0x04,     //Seitengebundener Rahmen
+    SVX_OBJ_AT_FLY      = 0x08      //Rahmengebundener Rahmen
+//  SVX_OBJ_AUTO_CNTNT  = 0x10      //Automatisch positionierter, absatzgebundener Rahmen
 };
 
 
 
 #endif
-
-/*************************************************************************
- *
- * 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: anchorid.hxx,v $
- * $Revision: 1.3 $
- *
- * 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
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-#ifndef _SVX_ANCHORID_HXX
-#define _SVX_ANCHORID_HXX
-
-
-enum SvxAnchorIds
-{
-	SVX_OBJ_AT_CNTNT	= 0x01,		//Absatzgebundener Rahmen
-	SVX_OBJ_IN_CNTNT	= 0x02,		//Zeichengebundener Rahmen
-	SVX_OBJ_PAGE		= 0x04,		//Seitengebundener Rahmen
-	SVX_OBJ_AT_FLY		= 0x08		//Rahmengebundener Rahmen
-//	SVX_OBJ_AUTO_CNTNT	= 0x10		//Automatisch positionierter, absatzgebundener Rahmen
-};
-
-
-
-#endif
-

File svx/inc/asiancfg.hxx

 
 namespace com{namespace sun{namespace star{
 namespace lang{
-	struct Locale;
+    struct Locale;
 }}}}
 //-----------------------------------------------------------------------------
 struct SvxAsianConfig_Impl;
 class SVX_DLLPUBLIC SvxAsianConfig : public utl::ConfigItem
 {
-	SvxAsianConfig_Impl* pImpl;
+    SvxAsianConfig_Impl* pImpl;
 
 public:
-	SvxAsianConfig(sal_Bool bEnableNotify = sal_True);
-	virtual ~SvxAsianConfig();
+    SvxAsianConfig(sal_Bool bEnableNotify = sal_True);
+    virtual ~SvxAsianConfig();
 
-	void 			Load();
-	virtual void	Commit();
-	virtual void 	Notify( const com::sun::star::uno::Sequence<rtl::OUString>& aPropertyNames);
+    void            Load();
+    virtual void    Commit();
+    virtual void    Notify( const com::sun::star::uno::Sequence<rtl::OUString>& aPropertyNames);
 
-	sal_Bool 	IsKerningWesternTextOnly() const;
-	void 		SetKerningWesternTextOnly(sal_Bool bSet);
+    sal_Bool    IsKerningWesternTextOnly() const;
+    void        SetKerningWesternTextOnly(sal_Bool bSet);
 
-	sal_Int16	GetCharDistanceCompression() const;
-	void 		SetCharDistanceCompression(sal_Int16 nSet);
+    sal_Int16   GetCharDistanceCompression() const;
+    void        SetCharDistanceCompression(sal_Int16 nSet);
 
-	com::sun::star::uno::Sequence<com::sun::star::lang::Locale>
-				GetStartEndCharLocales();
+    com::sun::star::uno::Sequence<com::sun::star::lang::Locale>
+                GetStartEndCharLocales();
 
-	sal_Bool	GetStartEndChars( const com::sun::star::lang::Locale& rLocale,
-									rtl::OUString& rStartChars,
-									rtl::OUString& rEndChars );
-	void		SetStartEndChars( const com::sun::star::lang::Locale& rLocale,
-									const rtl::OUString* pStartChars,
-									const rtl::OUString* pEndChars );
+    sal_Bool    GetStartEndChars( const com::sun::star::lang::Locale& rLocale,
+                                    rtl::OUString& rStartChars,
+                                    rtl::OUString& rEndChars );
+    void        SetStartEndChars( const com::sun::star::lang::Locale& rLocale,
+                                    const rtl::OUString* pStartChars,
+                                    const rtl::OUString* pEndChars );
 };
 
 #endif
-
-/*************************************************************************
- *
- * 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: asiancfg.hxx,v $
- * $Revision: 1.4 $
- *
- * 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
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-#ifndef _SVX_ASIANCFG_HXX
-#define _SVX_ASIANCFG_HXX
-
-#include <unotools/configitem.hxx>
-#include <com/sun/star/uno/Sequence.h>
-#include "svx/svxdllapi.h"
-
-namespace com{namespace sun{namespace star{
-namespace lang{
-	struct Locale;
-}}}}
-//-----------------------------------------------------------------------------
-struct SvxAsianConfig_Impl;
-class SVX_DLLPUBLIC SvxAsianConfig : public utl::ConfigItem
-{
-	SvxAsianConfig_Impl* pImpl;
-
-public:
-	SvxAsianConfig(sal_Bool bEnableNotify = sal_True);
-	virtual ~SvxAsianConfig();
-
-	void 			Load();
-	virtual void	Commit();
-	virtual void 	Notify( const com::sun::star::uno::Sequence<rtl::OUString>& aPropertyNames);
-
-	sal_Bool 	IsKerningWesternTextOnly() const;
-	void 		SetKerningWesternTextOnly(sal_Bool bSet);
-
-	sal_Int16	GetCharDistanceCompression() const;
-	void 		SetCharDistanceCompression(sal_Int16 nSet);
-
-	com::sun::star::uno::Sequence<com::sun::star::lang::Locale>
-				GetStartEndCharLocales();
-
-	sal_Bool	GetStartEndChars( const com::sun::star::lang::Locale& rLocale,
-									rtl::OUString& rStartChars,
-									rtl::OUString& rEndChars );
-	void		SetStartEndChars( const com::sun::star::lang::Locale& rLocale,
-									const rtl::OUString* pStartChars,
-									const rtl::OUString* pEndChars );
-};
-
-#endif
-

File svx/inc/bolnitem.hxx

 class SVX_DLLPUBLIC SvxLineItem : public SfxPoolItem
 {
 public:
-	TYPEINFO();
+    TYPEINFO();
 
     SvxLineItem( const USHORT nId );
-	SvxLineItem( const SvxLineItem& rCpy );
-	~SvxLineItem();
-	SvxLineItem &operator=( const SvxLineItem& rLine );
+    SvxLineItem( const SvxLineItem& rCpy );
+    ~SvxLineItem();
+    SvxLineItem &operator=( const SvxLineItem& rLine );
 
-	virtual	sal_Bool        	 QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
-	virtual	sal_Bool			 PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
-	virtual int 			 operator==( const SfxPoolItem& ) const;
-	virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
-									SfxMapUnit eCoreMetric,
-									SfxMapUnit ePresMetric,
+    virtual sal_Bool             QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
+    virtual sal_Bool             PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+    virtual int              operator==( const SfxPoolItem& ) const;
+    virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
+                                    SfxMapUnit eCoreMetric,
+                                    SfxMapUnit ePresMetric,
                                     String &rText, const IntlWrapper * = 0 ) const;
 
-	virtual SfxPoolItem*	 Clone( SfxItemPool *pPool = 0 ) const;
-	virtual SfxPoolItem*	 Create(SvStream &, USHORT) const;
-	virtual SvStream&		 Store(SvStream &, USHORT nItemVersion ) const;
-	virtual int				 ScaleMetrics( long nMult, long nDiv );
-	virtual	int				 HasMetrics() const;
+    virtual SfxPoolItem*     Clone( SfxItemPool *pPool = 0 ) const;
+    virtual SfxPoolItem*     Create(SvStream &, USHORT) const;
+    virtual SvStream&        Store(SvStream &, USHORT nItemVersion ) const;
+    virtual int              ScaleMetrics( long nMult, long nDiv );
+    virtual int              HasMetrics() const;
 
-	const	SvxBorderLine*	GetLine		() const { return pLine; }
-	void					SetLine		( const SvxBorderLine *pNew );
+    const   SvxBorderLine*  GetLine     () const { return pLine; }
+    void                    SetLine     ( const SvxBorderLine *pNew );
 
 private:
-	SvxBorderLine*	pLine;
+    SvxBorderLine*  pLine;
 };
 
 
 
 
 #endif
-
-/*************************************************************************
- *
- * 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: bolnitem.hxx,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
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-#ifndef _SVX_BOLNITEM_HXX
-#define _SVX_BOLNITEM_HXX
-
-// include ---------------------------------------------------------------
-
-
-
-#include <svtools/poolitem.hxx>
-#include "svx/svxdllapi.h"
-
-
-
-// class SvxLineItem -----------------------------------------------------
-
-
-/*
-[Beschreibung]
-Dieses Item transportiert eine SvxBorderLine.
-*/
-
-class SvxBorderLine;
-
-class SVX_DLLPUBLIC SvxLineItem : public SfxPoolItem
-{
-public:
-	TYPEINFO();
-
-    SvxLineItem( const USHORT nId );
-	SvxLineItem( const SvxLineItem& rCpy );
-	~SvxLineItem();
-	SvxLineItem &operator=( const SvxLineItem& rLine );
-
-	virtual	sal_Bool        	 QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
-	virtual	sal_Bool			 PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
-	virtual int 			 operator==( const SfxPoolItem& ) const;
-	virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
-									SfxMapUnit eCoreMetric,
-									SfxMapUnit ePresMetric,
-                                    String &rText, const IntlWrapper * = 0 ) const;
-
-	virtual SfxPoolItem*	 Clone( SfxItemPool *pPool = 0 ) const;
-	virtual SfxPoolItem*	 Create(SvStream &, USHORT) const;
-	virtual SvStream&		 Store(SvStream &, USHORT nItemVersion ) const;
-	virtual int				 ScaleMetrics( long nMult, long nDiv );
-	virtual	int				 HasMetrics() const;
-
-	const	SvxBorderLine*	GetLine		() const { return pLine; }
-	void					SetLine		( const SvxBorderLine *pNew );
-
-private:
-	SvxBorderLine*	pLine;
-};
-
-
-
-
-#endif
-

File svx/inc/bulitem.hxx

 // define ----------------------------------------------------------------
 
 // Styles
-#define BS_ABC_BIG			0
-#define BS_ABC_SMALL		1
-#define BS_ROMAN_BIG		2
-#define BS_ROMAN_SMALL		3
-#define BS_123				4
-#define BS_NONE				5
-#define BS_BULLET			6
-#define BS_BMP				128
+#define BS_ABC_BIG          0
+#define BS_ABC_SMALL        1
+#define BS_ROMAN_BIG        2
+#define BS_ROMAN_SMALL      3
+#define BS_123              4
+#define BS_NONE             5
+#define BS_BULLET           6
+#define BS_BMP              128
 
 // Justification
-#define BJ_HLEFT			0x01
-#define BJ_HRIGHT			0x02
-#define BJ_HCENTER			0x04
-#define BJ_VTOP				0x08
-#define BJ_VBOTTOM  		0x10
-#define BJ_VCENTER			0x20
+#define BJ_HLEFT            0x01
+#define BJ_HRIGHT           0x02
+#define BJ_HCENTER          0x04
+#define BJ_VTOP             0x08
+#define BJ_VBOTTOM          0x10
+#define BJ_VCENTER          0x20
 
 // Valid-Bits
 // Erstmal nur die Werte, die vom Dialog geaendert werden...
-#define VALID_FONTCOLOR		0x0001
-#define VALID_FONTNAME		0x0002
-#define VALID_SYMBOL		0x0004
-#define VALID_BITMAP		0x0008
-#define VALID_SCALE			0x0010
-#define VALID_START			0x0020
-#define VALID_STYLE			0x0040
-#define VALID_PREVTEXT		0x0080
-#define VALID_FOLLOWTEXT	0x0100
+#define VALID_FONTCOLOR     0x0001
+#define VALID_FONTNAME      0x0002
+#define VALID_SYMBOL        0x0004
+#define VALID_BITMAP        0x0008
+#define VALID_SCALE         0x0010
+#define VALID_START         0x0020
+#define VALID_STYLE         0x0040
+#define VALID_PREVTEXT      0x0080
+#define VALID_FOLLOWTEXT    0x0100
 #include <svtools/poolitem.hxx>
 #include <vcl/font.hxx>
 #include <goodies/grfmgr.hxx>
 
 class SVX_DLLPUBLIC SvxBulletItem : public SfxPoolItem
 {
-	Font	        aFont;
-	GraphicObject*  pGraphicObject;
-	String	        aPrevText;
-	String	        aFollowText;
-	USHORT      	nStart;
-	USHORT	        nStyle;
-	long  	        nWidth;
-	USHORT	        nScale;
-	sal_Unicode	    cSymbol;
-	BYTE	        nJustify;
-	USHORT	        nValidMask;	// Nur temporaer fuer GetAttribs/SetAttribs, wegen des grossen Bullets
+    Font            aFont;
+    GraphicObject*  pGraphicObject;
+    String          aPrevText;
+    String          aFollowText;
+    USHORT          nStart;
+    USHORT          nStyle;
+    long            nWidth;
+    USHORT          nScale;
+    sal_Unicode     cSymbol;
+    BYTE            nJustify;
+    USHORT          nValidMask; // Nur temporaer fuer GetAttribs/SetAttribs, wegen des grossen Bullets
 
 #ifdef _SVX_BULITEM_CXX
-	void	SetDefaultFont_Impl();
-	void	SetDefaults_Impl();
+    void    SetDefaultFont_Impl();
+    void    SetDefaults_Impl();
 #endif
 
 public:
-	TYPEINFO();
+    TYPEINFO();
 
-	SvxBulletItem( USHORT nWhich = 0 );
-	SvxBulletItem( BYTE nStyle, const Font& rFont, USHORT nStart = 0, USHORT nWhich = 0 );
-	SvxBulletItem( const Font& rFont, sal_Unicode cSymbol, USHORT nWhich=0 );
-	SvxBulletItem( const Bitmap&, USHORT nWhich = 0 );
-	SvxBulletItem( const GraphicObject&, USHORT nWhich = 0 );
-	SvxBulletItem( SvStream& rStrm, USHORT nWhich = 0 );
-	SvxBulletItem( const SvxBulletItem& );
-	~SvxBulletItem();
+    SvxBulletItem( USHORT nWhich = 0 );
+    SvxBulletItem( BYTE nStyle, const Font& rFont, USHORT nStart = 0, USHORT nWhich = 0 );
+    SvxBulletItem( const Font& rFont, sal_Unicode cSymbol, USHORT nWhich=0 );
+    SvxBulletItem( const Bitmap&, USHORT nWhich = 0 );
+    SvxBulletItem( const GraphicObject&, USHORT nWhich = 0 );
+    SvxBulletItem( SvStream& rStrm, USHORT nWhich = 0 );
+    SvxBulletItem( const SvxBulletItem& );
+    ~SvxBulletItem();
 
-	virtual SfxPoolItem*    Clone( SfxItemPool *pPool = 0 ) const;
-	virtual SfxPoolItem*    Create( SvStream&, USHORT nVersion ) const;
-	virtual SvStream&       Store( SvStream & , USHORT nItemVersion ) const;
+    virtual SfxPoolItem*    Clone( SfxItemPool *pPool = 0 ) const;
+    virtual SfxPoolItem*    Create( SvStream&, USHORT nVersion ) const;
+    virtual SvStream&       Store( SvStream & , USHORT nItemVersion ) const;
 
-	String 				GetFullText() const;
-	sal_Unicode	        GetSymbol() const { return cSymbol; }
-	String	            GetPrevText() const { return aPrevText; }
-	String	            GetFollowText() const { return aFollowText; }
+    String              GetFullText() const;
+    sal_Unicode         GetSymbol() const { return cSymbol; }
+    String              GetPrevText() const { return aPrevText; }
+    String              GetFollowText() const { return aFollowText; }
 
-	USHORT				GetStart() const { return nStart; }
-	long  				GetWidth() const { return nWidth; }
-	USHORT  			GetStyle() const { return nStyle; }
-	BYTE				GetJustification() const { return nJustify; }
-	Font				GetFont() const { return aFont; }
-	USHORT				GetScale() const { return nScale; }
-	
-	Bitmap				GetBitmap() const;
-	void				SetBitmap( const Bitmap& rBmp );
+    USHORT              GetStart() const { return nStart; }
+    long                GetWidth() const { return nWidth; }
+    USHORT              GetStyle() const { return nStyle; }
+    BYTE                GetJustification() const { return nJustify; }
+    Font                GetFont() const { return aFont; }
+    USHORT              GetScale() const { return nScale; }
 
-	const GraphicObject& GetGraphicObject() const;
-	void				 SetGraphicObject( const GraphicObject& rGraphicObject );
+    Bitmap              GetBitmap() const;
+    void                SetBitmap( const Bitmap& rBmp );
 
-	void	            SetSymbol( sal_Unicode c) { cSymbol = c; }
-	void	            SetPrevText( const String& rStr) { aPrevText = rStr;}
-	void	            SetFollowText(const String& rStr) { aFollowText=rStr;}
+    const GraphicObject& GetGraphicObject() const;
+    void                 SetGraphicObject( const GraphicObject& rGraphicObject );
 
-	void				SetStart( USHORT nNew ) { nStart = nNew; }
-	void				SetWidth( long nNew ) { nWidth = nNew; }
-	void				SetStyle( USHORT nNew ) { nStyle = nNew; }
-	void				SetJustification( BYTE nNew ) { nJustify = nNew; }
-	void				SetFont( const Font& rNew) { aFont = rNew; }
-	void				SetScale( USHORT nNew ) { nScale = nNew; }
+    void                SetSymbol( sal_Unicode c) { cSymbol = c; }
+    void                SetPrevText( const String& rStr) { aPrevText = rStr;}
+    void                SetFollowText(const String& rStr) { aFollowText=rStr;}
 
-	virtual USHORT		GetVersion(USHORT nFileVersion) const;
-	virtual int			operator==( const SfxPoolItem& ) const;
-	virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
-									SfxMapUnit eCoreMetric,
-									SfxMapUnit ePresMetric,
+    void                SetStart( USHORT nNew ) { nStart = nNew; }
+    void                SetWidth( long nNew ) { nWidth = nNew; }
+    void                SetStyle( USHORT nNew ) { nStyle = nNew; }
+    void                SetJustification( BYTE nNew ) { nJustify = nNew; }
+    void                SetFont( const Font& rNew) { aFont = rNew; }
+    void                SetScale( USHORT nNew ) { nScale = nNew; }
+
+    virtual USHORT      GetVersion(USHORT nFileVersion) const;
+    virtual int         operator==( const SfxPoolItem& ) const;
+    virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
+                                    SfxMapUnit eCoreMetric,
+                                    SfxMapUnit ePresMetric,
                                     String &rText, const IntlWrapper * = 0 ) const;
 
-	static void			StoreFont( SvStream&, const Font& );
-	static Font			CreateFont( SvStream&, USHORT nVer );
+    static void         StoreFont( SvStream&, const Font& );
+    static Font         CreateFont( SvStream&, USHORT nVer );
 
-	USHORT&				GetValidMask() 					{ return nValidMask;	}
-	USHORT				GetValidMask() const 			{ return nValidMask;	}
-	USHORT				IsValid( USHORT nFlag ) const	{ return nValidMask & nFlag; }
-	void				SetValid( USHORT nFlag, BOOL bValid )
-						{
-							if ( bValid )
-								nValidMask |= nFlag;
-							else
-								nValidMask &= ~nFlag;
-						}
-	void				Copy