summaryrefslogtreecommitdiff
path: root/forms/source/richtext
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/richtext')
-rw-r--r--forms/source/richtext/attributedispatcher.cxx12
-rw-r--r--forms/source/richtext/attributedispatcher.hxx12
-rw-r--r--forms/source/richtext/clipboarddispatcher.cxx18
-rw-r--r--forms/source/richtext/clipboarddispatcher.hxx16
-rw-r--r--forms/source/richtext/featuredispatcher.cxx12
-rw-r--r--forms/source/richtext/featuredispatcher.hxx12
-rw-r--r--forms/source/richtext/parametrizedattributedispatcher.cxx12
-rw-r--r--forms/source/richtext/parametrizedattributedispatcher.hxx12
-rw-r--r--forms/source/richtext/richtextcontrol.cxx28
-rw-r--r--forms/source/richtext/richtextcontrol.hxx16
-rw-r--r--forms/source/richtext/richtextengine.cxx12
-rw-r--r--forms/source/richtext/richtextengine.hxx16
-rw-r--r--forms/source/richtext/richtextimplcontrol.cxx12
-rw-r--r--forms/source/richtext/richtextimplcontrol.hxx12
-rw-r--r--forms/source/richtext/richtextmodel.cxx12
-rw-r--r--forms/source/richtext/richtextmodel.hxx12
-rw-r--r--forms/source/richtext/richtextunowrapper.cxx18
-rw-r--r--forms/source/richtext/richtextunowrapper.hxx20
-rw-r--r--forms/source/richtext/richtextvclcontrol.cxx12
-rw-r--r--forms/source/richtext/richtextvclcontrol.hxx12
-rw-r--r--forms/source/richtext/richtextviewport.cxx12
-rw-r--r--forms/source/richtext/richtextviewport.hxx12
-rw-r--r--forms/source/richtext/rtattributehandler.cxx48
-rw-r--r--forms/source/richtext/rtattributehandler.hxx52
-rw-r--r--forms/source/richtext/specialdispatchers.cxx24
-rw-r--r--forms/source/richtext/specialdispatchers.hxx24
-rw-r--r--forms/source/richtext/textattributelistener.hxx16
27 files changed, 238 insertions, 238 deletions
diff --git a/forms/source/richtext/attributedispatcher.cxx b/forms/source/richtext/attributedispatcher.cxx
index ae170eb08aa5..ca2b1c3a0e3f 100644
--- a/forms/source/richtext/attributedispatcher.cxx
+++ b/forms/source/richtext/attributedispatcher.cxx
@@ -21,10 +21,10 @@
#include <editeng/editview.hxx>
-//........................................................................
+
namespace frm
{
-//........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::frame;
@@ -32,9 +32,9 @@ namespace frm
using namespace ::com::sun::star::util;
using namespace ::com::sun::star::beans;
- //====================================================================
+
//= OAttributeDispatcher
- //====================================================================
+
OAttributeDispatcher::OAttributeDispatcher( EditView& _rView, AttributeId _nAttributeId, const URL& _rURL,
IMultiAttributeDispatcher* _pMasterDispatcher )
@@ -121,8 +121,8 @@ namespace frm
doNotify( static_cast< XStatusListener* >( aIter.next() ), aEvent );
}
-//........................................................................
+
} // namespace frm
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/richtext/attributedispatcher.hxx b/forms/source/richtext/attributedispatcher.hxx
index b4d9926bc115..80dab703df0d 100644
--- a/forms/source/richtext/attributedispatcher.hxx
+++ b/forms/source/richtext/attributedispatcher.hxx
@@ -23,14 +23,14 @@
#include "rtattributes.hxx"
#include "textattributelistener.hxx"
-//........................................................................
+
namespace frm
{
-//........................................................................
- //====================================================================
+
+
//= OAttributeDispatcher
- //====================================================================
+
class OAttributeDispatcher :public ORichTextFeatureDispatcher
,public ITextAttributeListener
{
@@ -88,9 +88,9 @@ namespace frm
) SAL_THROW (());
};
-//........................................................................
+
} // namespace frm
-//........................................................................
+
#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_ATTRIBUTEDISPATCHER_HXX
diff --git a/forms/source/richtext/clipboarddispatcher.cxx b/forms/source/richtext/clipboarddispatcher.cxx
index 3945f7735bd2..1ccb9481a3cc 100644
--- a/forms/source/richtext/clipboarddispatcher.cxx
+++ b/forms/source/richtext/clipboarddispatcher.cxx
@@ -24,10 +24,10 @@
#include <svtools/cliplistener.hxx>
#include <svtools/transfer.hxx>
-//........................................................................
+
namespace frm
{
-//........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::frame;
@@ -35,7 +35,7 @@ namespace frm
using namespace ::com::sun::star::util;
using namespace ::com::sun::star::beans;
- //====================================================================
+
namespace
{
static URL createClipboardURL( OClipboardDispatcher::ClipboardFunc _eFunc )
@@ -57,9 +57,9 @@ namespace frm
}
}
- //====================================================================
+
//= OClipboardDispatcher
- //====================================================================
+
OClipboardDispatcher::OClipboardDispatcher( EditView& _rView, ClipboardFunc _eFunc )
:ORichTextFeatureDispatcher( _rView, createClipboardURL( _eFunc ) )
@@ -132,9 +132,9 @@ namespace frm
}
}
- //====================================================================
+
//= OPasteClipboardDispatcher
- //====================================================================
+
OPasteClipboardDispatcher::OPasteClipboardDispatcher( EditView& _rView )
:OClipboardDispatcher( _rView, ePaste )
@@ -194,8 +194,8 @@ namespace frm
return m_bPastePossible && OClipboardDispatcher::implIsEnabled();
}
-//........................................................................
+
} // namespace frm
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/richtext/clipboarddispatcher.hxx b/forms/source/richtext/clipboarddispatcher.hxx
index ea77ba47d47f..aa0feeacc9fa 100644
--- a/forms/source/richtext/clipboarddispatcher.hxx
+++ b/forms/source/richtext/clipboarddispatcher.hxx
@@ -25,14 +25,14 @@
class TransferableClipboardListener;
class TransferableDataHelper;
-//........................................................................
+
namespace frm
{
-//........................................................................
- //====================================================================
+
+
//= OClipboardDispatcher
- //====================================================================
+
class OClipboardDispatcher : public ORichTextFeatureDispatcher
{
public:
@@ -66,9 +66,9 @@ namespace frm
virtual sal_Bool implIsEnabled( ) const;
};
- //====================================================================
+
//= OPasteClipboardDispatcher
- //====================================================================
+
class OPasteClipboardDispatcher : public OClipboardDispatcher
{
private:
@@ -91,9 +91,9 @@ namespace frm
DECL_LINK( OnClipboardChanged, TransferableDataHelper* );
};
-//........................................................................
+
} // namespace frm
-//........................................................................
+
#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_CLIPBOARDDISPATCHER_HXX
diff --git a/forms/source/richtext/featuredispatcher.cxx b/forms/source/richtext/featuredispatcher.cxx
index 31c901373181..7c018bc0db2e 100644
--- a/forms/source/richtext/featuredispatcher.cxx
+++ b/forms/source/richtext/featuredispatcher.cxx
@@ -19,19 +19,19 @@
#include "featuredispatcher.hxx"
-//........................................................................
+
namespace frm
{
-//........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::frame;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::util;
- //====================================================================
+
//= ORichTextFeatureDispatcher
- //====================================================================
+
ORichTextFeatureDispatcher::ORichTextFeatureDispatcher( EditView& _rView, const URL& _rURL )
:m_aFeatureURL( _rURL )
@@ -139,8 +139,8 @@ namespace frm
}
}
-//........................................................................
+
} // namespace frm
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/richtext/featuredispatcher.hxx b/forms/source/richtext/featuredispatcher.hxx
index 32d4389f33c0..98e1ddae5f25 100644
--- a/forms/source/richtext/featuredispatcher.hxx
+++ b/forms/source/richtext/featuredispatcher.hxx
@@ -27,14 +27,14 @@
#include <comphelper/broadcasthelper.hxx>
class EditView;
-//........................................................................
+
namespace frm
{
-//........................................................................
- //====================================================================
+
+
//= ORichTextFeatureDispatcher
- //====================================================================
+
typedef ::cppu::WeakImplHelper1 < ::com::sun::star::frame::XDispatch
> ORichTextFeatureDispatcher_Base;
@@ -89,9 +89,9 @@ namespace frm
virtual void SAL_CALL removeStatusListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener >& _rxControl, const ::com::sun::star::util::URL& _rURL ) throw (::com::sun::star::uno::RuntimeException, std::exception);
};
-//........................................................................
+
} // namespace frm
-//........................................................................
+
#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_FEATUREDISPATCHER_HXX
diff --git a/forms/source/richtext/parametrizedattributedispatcher.cxx b/forms/source/richtext/parametrizedattributedispatcher.cxx
index 774027286d5e..ee8951545960 100644
--- a/forms/source/richtext/parametrizedattributedispatcher.cxx
+++ b/forms/source/richtext/parametrizedattributedispatcher.cxx
@@ -27,10 +27,10 @@
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/beans/PropertyValue.hpp>
-//........................................................................
+
namespace frm
{
-//........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::frame;
@@ -38,9 +38,9 @@ namespace frm
using namespace ::com::sun::star::util;
using namespace ::com::sun::star::beans;
- //====================================================================
+
//= OParametrizedAttributeDispatcher
- //====================================================================
+
OParametrizedAttributeDispatcher::OParametrizedAttributeDispatcher( EditView& _rView, AttributeId _nAttributeId, const URL& _rURL, IMultiAttributeDispatcher* _pMasterDispatcher )
:OAttributeDispatcher( _rView, _nAttributeId, _rURL, _pMasterDispatcher )
@@ -126,8 +126,8 @@ namespace frm
}
}
-//........................................................................
+
} // namespace frm
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/richtext/parametrizedattributedispatcher.hxx b/forms/source/richtext/parametrizedattributedispatcher.hxx
index ee4aafb091d5..36b3ddfa25f2 100644
--- a/forms/source/richtext/parametrizedattributedispatcher.hxx
+++ b/forms/source/richtext/parametrizedattributedispatcher.hxx
@@ -23,14 +23,14 @@
#include "attributedispatcher.hxx"
class SfxPoolItem;
-//........................................................................
+
namespace frm
{
-//........................................................................
- //====================================================================
+
+
//= OParametrizedAttributeDispatcher
- //====================================================================
+
class OParametrizedAttributeDispatcher :public OAttributeDispatcher
{
public:
@@ -59,9 +59,9 @@ namespace frm
const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& _rArguments );
};
-//........................................................................
+
} // namespace frm
-//........................................................................
+
#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_PARAMETRIZEDATTRIBUTEDISPATCHER_HXX
diff --git a/forms/source/richtext/richtextcontrol.cxx b/forms/source/richtext/richtextcontrol.cxx
index 2cce4fb1f551..bbb5403f1d6d 100644
--- a/forms/source/richtext/richtextcontrol.cxx
+++ b/forms/source/richtext/richtextcontrol.cxx
@@ -46,10 +46,10 @@ extern "C" void SAL_CALL createRegistryInfo_ORichTextControl()
static ::frm::OMultiInstanceAutoRegistration< ::frm::ORichTextControl > aAutoRegistration;
}
-//.........................................................................
+
namespace frm
{
-//.........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
@@ -75,9 +75,9 @@ namespace frm
} \
return aReturn;
- //==================================================================
+
// ORichTextControl
- //==================================================================
+
ORichTextControl::ORichTextControl()
:UnoEditControl()
@@ -106,7 +106,7 @@ namespace frm
namespace
{
- //..............................................................
+
static void implAdjustTriStateFlag( const Reference< XPropertySet >& _rxProps, const OUString& _rPropertyName,
WinBits& _rAllBits, WinBits _nPositiveFlag, WinBits nNegativeFlag )
{
@@ -115,7 +115,7 @@ namespace frm
_rAllBits |= ( bFlagValue ? _nPositiveFlag : nNegativeFlag );
}
- //..............................................................
+
static void implAdjustTwoStateFlag( const Any& _rValue, WinBits& _rAllBits, WinBits _nFlag, bool _bInvert = false )
{
sal_Bool bFlagValue = sal_False;
@@ -130,14 +130,14 @@ namespace frm
}
}
- //..............................................................
+
static void implAdjustTwoStateFlag( const Reference< XPropertySet >& _rxProps, const OUString& _rPropertyName,
WinBits& _rAllBits, WinBits _nFlag, bool _bInvert = false )
{
implAdjustTwoStateFlag( _rxProps->getPropertyValue( _rPropertyName ), _rAllBits, _nFlag, _bInvert );
}
- //..............................................................
+
static void adjustTwoStateWinBit( Window* _pWindow, const Any& _rValue, WinBits _nFlag, bool _bInvert = false )
{
WinBits nBits = _pWindow->GetStyle();
@@ -145,7 +145,7 @@ namespace frm
_pWindow->SetStyle( nBits );
}
- //..............................................................
+
static WinBits getWinBits( const Reference< XControlModel >& _rxModel, WinBits nBaseBits = 0 )
{
WinBits nBits = nBaseBits;
@@ -300,9 +300,9 @@ namespace frm
return UnoControl::requiresNewPeer( _rPropertyName ) || _rPropertyName.equals( PROPERTY_RICH_TEXT );
}
- //==================================================================
+
// ORichTextPeer
- //==================================================================
+
ORichTextPeer* ORichTextPeer::Create( const Reference< XControlModel >& _rxModel, Window* _pParentWindow, WinBits _nStyle )
{
@@ -476,7 +476,7 @@ namespace frm
// the id belonging to "SuperScript", it gets the FN_SET_SUPER_SCRIPT - which
// is completely unknown to the EditEngine.
// So, we need to translate such conflicting ids.
- //
+
// Note that the real solution would be to fix the applications to
// *not* define conflicting slots. Alternatively, if SFX would provide a slot pool
// which is *static* (i.e. independent on the active application), then we
@@ -728,8 +728,8 @@ namespace frm
aDispatcherPos->second.get()->invalidate();
}
-//........................................................................
+
} // namespace frm
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/richtext/richtextcontrol.hxx b/forms/source/richtext/richtextcontrol.hxx
index 6ce25b768252..87341fc188a5 100644
--- a/forms/source/richtext/richtextcontrol.hxx
+++ b/forms/source/richtext/richtextcontrol.hxx
@@ -33,16 +33,16 @@
#include <map>
-//.........................................................................
+
namespace frm
{
-//.........................................................................
+
class ORichTextFeatureDispatcher;
- //==================================================================
+
// ORichTextControl
- //==================================================================
+
typedef ::cppu::ImplHelper1 < ::com::sun::star::frame::XDispatchProvider
> ORichTextControl_Base;
class ORichTextControl :public UnoEditControl
@@ -83,9 +83,9 @@ namespace frm
virtual bool requiresNewPeer( const OUString& _rPropertyName ) const;
};
- //==================================================================
+
// ORichTextPeer
- //==================================================================
+
typedef ::cppu::ImplHelper1 < ::com::sun::star::frame::XDispatchProvider
> ORichTextPeer_Base;
class ORichTextPeer :public VCLXWindow
@@ -140,9 +140,9 @@ namespace frm
SingleAttributeDispatcher implCreateDispatcher( SfxSlotId _nSlotId, const ::com::sun::star::util::URL& _rURL );
};
-//.........................................................................
+
} // namespace frm
-//.........................................................................
+
#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTCONTROL_HXX
diff --git a/forms/source/richtext/richtextengine.cxx b/forms/source/richtext/richtextengine.cxx
index 488df7c5c7ba..4712a61fbf13 100644
--- a/forms/source/richtext/richtextengine.cxx
+++ b/forms/source/richtext/richtextengine.cxx
@@ -36,14 +36,14 @@
#include <algorithm>
#include <functional>
-//........................................................................
+
namespace frm
{
-//........................................................................
- //====================================================================
+
+
//= RichTextEngine
- //====================================================================
+
RichTextEngine* RichTextEngine::Create()
{
@@ -142,8 +142,8 @@ namespace frm
return 0L;
}
-//........................................................................
+
} // namespace frm
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/richtext/richtextengine.hxx b/forms/source/richtext/richtextengine.hxx
index 40e706fda17b..9a81210f8387 100644
--- a/forms/source/richtext/richtextengine.hxx
+++ b/forms/source/richtext/richtextengine.hxx
@@ -26,14 +26,14 @@
class SfxItemPool;
class EditStatus;
-//........................................................................
+
namespace frm
{
-//........................................................................
- //====================================================================
+
+
//= IEngineStatusListener
- //====================================================================
+
class IEngineStatusListener
{
public:
@@ -43,9 +43,9 @@ namespace frm
~IEngineStatusListener() {}
};
- //====================================================================
+
//= RichTextEngine
- //====================================================================
+
class RichTextEngine : public EditEngine
{
private:
@@ -78,9 +78,9 @@ namespace frm
DECL_LINK( EditEngineStatusChanged, EditStatus* );
};
-//........................................................................
+
} // namespace frm
-//........................................................................
+
#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTENGINE_HXX
diff --git a/forms/source/richtext/richtextimplcontrol.cxx b/forms/source/richtext/richtextimplcontrol.cxx
index b81929e4e5b5..cc61a35e3097 100644
--- a/forms/source/richtext/richtextimplcontrol.cxx
+++ b/forms/source/richtext/richtextimplcontrol.cxx
@@ -37,13 +37,13 @@
#define EMPTY_PAPER_SIZE 0x7FFFFFFF
-//........................................................................
+
namespace frm
{
-//........................................................................
- //====================================================================
+
+
//= RichTextControlImpl
- //====================================================================
+
RichTextControlImpl::RichTextControlImpl( Control* _pAntiImpl, RichTextEngine* _pEngine, ITextAttributeListener* _pTextAttrListener, ITextSelectionListener* _pSelectionListener )
:m_pAntiImpl ( _pAntiImpl )
@@ -661,8 +661,8 @@ namespace frm
return m_pViewport->GetHideInactiveSelection( );
}
-//........................................................................
+
} // namespace frm
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/richtext/richtextimplcontrol.hxx b/forms/source/richtext/richtextimplcontrol.hxx
index f9f5c8788f91..b946a7482601 100644
--- a/forms/source/richtext/richtextimplcontrol.hxx
+++ b/forms/source/richtext/richtextimplcontrol.hxx
@@ -31,17 +31,17 @@ class EditView;
class EditStatus;
class Window;
class SvxScriptSetItem;
-//........................................................................
+
namespace frm
{
-//........................................................................
+
class ITextAttributeListener;
class ITextSelectionListener;
class RichTextViewPort;
- //====================================================================
+
//= RichTextControlImpl
- //====================================================================
+
class RichTextControlImpl : public IEngineStatusListener
{
typedef ::std::map< AttributeId, AttributeState > StateCache;
@@ -180,9 +180,9 @@ namespace frm
DECL_LINK( OnVScroll, ScrollBar* );
};
-//........................................................................
+
} // namespace frm
-//........................................................................
+
#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTIMPLCONTROL_HXX
diff --git a/forms/source/richtext/richtextmodel.cxx b/forms/source/richtext/richtextmodel.cxx
index 20cec279a2cb..2270637f08cf 100644
--- a/forms/source/richtext/richtextmodel.cxx
+++ b/forms/source/richtext/richtextmodel.cxx
@@ -39,10 +39,10 @@ extern "C" void SAL_CALL createRegistryInfo_ORichTextModel()
static ::frm::OMultiInstanceAutoRegistration< ::frm::ORichTextModel > aRegisterModel;
}
-//........................................................................
+
namespace frm
{
-//........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::awt;
@@ -55,9 +55,9 @@ namespace frm
namespace WritingMode2 = ::com::sun::star::text::WritingMode2;
- //====================================================================
+
//= ORichTextModel
- //====================================================================
+
ORichTextModel::ORichTextModel( const Reference< XComponentContext >& _rxFactory )
:OControlModel ( _rxFactory, OUString() )
@@ -612,8 +612,8 @@ namespace frm
}
}
-//........................................................................
+
} // namespace frm
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/richtext/richtextmodel.hxx b/forms/source/richtext/richtextmodel.hxx
index da004bc06f3a..e1f725d26fc5 100644
--- a/forms/source/richtext/richtextmodel.hxx
+++ b/forms/source/richtext/richtextmodel.hxx
@@ -33,15 +33,15 @@
#include <memory>
class EditEngine;
-//........................................................................
+
namespace frm
{
-//........................................................................
+
class RichTextEngine;
- //====================================================================
+
//= ORichTextModel
- //====================================================================
+
typedef ::cppu::ImplHelper3 < ::com::sun::star::awt::XControlModel
, ::com::sun::star::lang::XUnoTunnel
, ::com::sun::star::util::XModifyBroadcaster
@@ -176,9 +176,9 @@ namespace frm
ORichTextModel& operator=( const ORichTextModel& ); // never implemented
};
-//........................................................................
+
} // namespace frm
-//........................................................................
+
#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTMODEL_HXX
diff --git a/forms/source/richtext/richtextunowrapper.cxx b/forms/source/richtext/richtextunowrapper.cxx
index c091d28fd2eb..c65daeca8fa4 100644
--- a/forms/source/richtext/richtextunowrapper.cxx
+++ b/forms/source/richtext/richtextunowrapper.cxx
@@ -28,17 +28,17 @@
#include <svx/svdobj.hxx>
#include <editeng/unoprnms.hxx>
-//........................................................................
+
namespace frm
{
-//........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::container;
- //====================================================================
+
namespace
{
const SvxItemPropertySet* getTextEnginePropertySet()
@@ -58,9 +58,9 @@ namespace frm
}
}
- //====================================================================
+
//= ORichTextUnoWrapper
- //====================================================================
+
ORichTextUnoWrapper::ORichTextUnoWrapper( EditEngine& _rEngine, IEngineTextChangeListener* _pTextChangeListener )
:SvxUnoText( getTextEnginePropertySet() )
@@ -73,9 +73,9 @@ namespace frm
{
}
- //====================================================================
+
//= RichTextEditSource
- //====================================================================
+
RichTextEditSource::RichTextEditSource( EditEngine& _rEngine, IEngineTextChangeListener* _pTextChangeListener )
:m_rEngine ( _rEngine )
@@ -119,8 +119,8 @@ namespace frm
m_pTextChangeListener->potentialTextChange();
}
-//........................................................................
+
} // namespace frm
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/richtext/richtextunowrapper.hxx b/forms/source/richtext/richtextunowrapper.hxx
index a92128fdedac..1fdee88720e2 100644
--- a/forms/source/richtext/richtextunowrapper.hxx
+++ b/forms/source/richtext/richtextunowrapper.hxx
@@ -23,14 +23,14 @@
#include <editeng/unotext.hxx>
#include <editeng/unoedsrc.hxx>
-//........................................................................
+
namespace frm
{
-//........................................................................
- //====================================================================
+
+
//= IEngineTextChangeListener
- //====================================================================
+
class IEngineTextChangeListener
{
public:
@@ -40,9 +40,9 @@ namespace frm
~IEngineTextChangeListener() {}
};
- //====================================================================
+
//= ORichTextUnoWrapper
- //====================================================================
+
class ORichTextUnoWrapper : public SvxUnoText
{
public:
@@ -58,9 +58,9 @@ namespace frm
ORichTextUnoWrapper& operator=( const ORichTextUnoWrapper& ); // never implemented
};
- //====================================================================
+
//= RichTextEditSource
- //====================================================================
+
class RichTextEditSource : public SvxEditSource
{
private:
@@ -85,9 +85,9 @@ namespace frm
RichTextEditSource& operator=( const RichTextEditSource& ); // never implemented
};
-//........................................................................
+
} // namespace frm
-//........................................................................
+
#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTUNOWRAPPER_HXX
diff --git a/forms/source/richtext/richtextvclcontrol.cxx b/forms/source/richtext/richtextvclcontrol.cxx
index fdd967bd618c..314b734ec54e 100644
--- a/forms/source/richtext/richtextvclcontrol.cxx
+++ b/forms/source/richtext/richtextvclcontrol.cxx
@@ -38,16 +38,16 @@
#include <editeng/editids.hrc>
#include <svx/svxids.hrc>
-//........................................................................
+
namespace frm
{
-//........................................................................
+
using namespace ::com::sun::star::awt;
- //====================================================================
+
//= RichTextControl
- //====================================================================
+
RichTextControl::RichTextControl( RichTextEngine* _pEngine, Window* _pParent, WinBits _nStyle,
ITextAttributeListener* _pTextAttribListener, ITextSelectionListener* _pSelectionListener )
@@ -363,9 +363,9 @@ namespace frm
return m_pImpl->GetHideInactiveSelection( );
}
-//........................................................................
+
} // namespace frm
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/richtext/richtextvclcontrol.hxx b/forms/source/richtext/richtextvclcontrol.hxx
index e603af87481f..7a9acbaac28c 100644
--- a/forms/source/richtext/richtextvclcontrol.hxx
+++ b/forms/source/richtext/richtextvclcontrol.hxx
@@ -30,16 +30,16 @@
class EditView;
class EditEngine;
class SfxItemSet;
-//........................................................................
+
namespace frm
{
-//........................................................................
+
class RichTextControlImpl;
class RichTextEngine;
- //====================================================================
+
//= RichTextControl
- //====================================================================
+
class RichTextControl : public Control, public IMultiAttributeDispatcher
{
private:
@@ -122,9 +122,9 @@ namespace frm
Window& getViewport() const;
};
-//........................................................................
+
} // namespace frm
-//........................................................................
+
#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTVCLCONTROL_HXX
diff --git a/forms/source/richtext/richtextviewport.cxx b/forms/source/richtext/richtextviewport.cxx
index 26077b52d48a..f65460014ff4 100644
--- a/forms/source/richtext/richtextviewport.cxx
+++ b/forms/source/richtext/richtextviewport.cxx
@@ -20,14 +20,14 @@
#include "richtextviewport.hxx"
#include <editeng/editview.hxx>
-//........................................................................
+
namespace frm
{
-//........................................................................
- //====================================================================
+
+
//= RichTextViewPort
- //====================================================================
+
RichTextViewPort::RichTextViewPort( Window* _pParent )
:Control ( _pParent )
@@ -113,8 +113,8 @@ namespace frm
return m_bHideInactiveSelection;
}
-//........................................................................
+
} // namespace frm
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/richtext/richtextviewport.hxx b/forms/source/richtext/richtextviewport.hxx
index 63cff4f7b677..9500256f2790 100644
--- a/forms/source/richtext/richtextviewport.hxx
+++ b/forms/source/richtext/richtextviewport.hxx
@@ -22,14 +22,14 @@
#include <vcl/ctrl.hxx>
class EditView;
-//........................................................................
+
namespace frm
{
-//........................................................................
- //====================================================================
+
+
//= RichTextViewPort
- //====================================================================
+
class RichTextViewPort : public Control
{
private:
@@ -64,9 +64,9 @@ namespace frm
}
};
-//........................................................................
+
} // namespace frm
-//........................................................................
+
#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTVIEWPORT_HXX
diff --git a/forms/source/richtext/rtattributehandler.cxx b/forms/source/richtext/rtattributehandler.cxx
index d46891693eb3..22d0b6733610 100644
--- a/forms/source/richtext/rtattributehandler.cxx
+++ b/forms/source/richtext/rtattributehandler.cxx
@@ -35,13 +35,13 @@
#include <editeng/frmdiritem.hxx>
#include <editeng/scripttypeitem.hxx>
-//........................................................................
+
namespace frm
{
-//........................................................................
- //====================================================================
+
+
//= ReferenceBase
- //====================================================================
+
oslInterlockedCount SAL_CALL ReferenceBase::acquire()
{
@@ -59,9 +59,9 @@ namespace frm
{
}
- //====================================================================
+
//= AttributeHandler
- //====================================================================
+
AttributeHandler::AttributeHandler( AttributeId _nAttributeId, WhichId _nWhichId )
:m_nAttribute( _nAttributeId )
@@ -125,9 +125,9 @@ namespace frm
return aState;
}
- //====================================================================
+
//= AttributeHandlerFactory
- //====================================================================
+
namespace
{
@@ -199,9 +199,9 @@ namespace frm
return pReturn;
}
- //====================================================================
+
//= ParaAlignmentHandler
- //====================================================================
+
ParaAlignmentHandler::ParaAlignmentHandler( AttributeId _nAttributeId )
:AttributeHandler( _nAttributeId, EE_PARA_JUST )
@@ -235,9 +235,9 @@ namespace frm
_rNewAttribs.Put( SvxAdjustItem( m_eAdjust, getWhich() ) );
}
- //====================================================================
+
//= LineSpacingHandler
- //====================================================================
+
LineSpacingHandler::LineSpacingHandler( AttributeId _nAttributeId )
:AttributeHandler( _nAttributeId, EE_PARA_SBL )
@@ -278,9 +278,9 @@ namespace frm
_rNewAttribs.Put( aLineSpacing );
}
- //====================================================================
+
//= EscapementHandler
- //====================================================================
+
EscapementHandler::EscapementHandler( AttributeId _nAttributeId )
:AttributeHandler( _nAttributeId, EE_CHAR_ESCAPEMENT )
@@ -315,9 +315,9 @@ namespace frm
_rNewAttribs.Put( SvxEscapementItem( bIsChecked ? SVX_ESCAPEMENT_OFF : m_eEscapement, getWhich() ) );
}
- //====================================================================
+
//= SlotHandler
- //====================================================================
+
SlotHandler::SlotHandler( AttributeId _nAttributeId, WhichId _nWhichId )
:AttributeHandler( _nAttributeId, _nWhichId )
@@ -358,9 +358,9 @@ namespace frm
OSL_FAIL( "SlotHandler::executeAttribute: need attributes to do something!" );
}
- //====================================================================
+
//= FontSizeHandler
- //====================================================================
+
FontSizeHandler::FontSizeHandler( AttributeId _nAttributeId, WhichId _nWhichId )
:AttributeHandler( _nAttributeId, _nWhichId )
@@ -429,9 +429,9 @@ namespace frm
}
}
- //====================================================================
+
//= ParagraphDirectionHandler
- //====================================================================
+
ParagraphDirectionHandler::ParagraphDirectionHandler( AttributeId _nAttributeId )
:AttributeHandler( _nAttributeId, EE_PARA_WRITINGDIR )
@@ -477,9 +477,9 @@ namespace frm
_rNewAttribs.Put( SvxAdjustItem( m_eDefaultAdjustment, EE_PARA_JUST ) );
}
- //====================================================================
+
//= BooleanHandler
- //====================================================================
+
BooleanHandler::BooleanHandler( AttributeId _nAttributeId, WhichId _nWhichId )
:AttributeHandler( _nAttributeId, _nWhichId )
@@ -509,8 +509,8 @@ namespace frm
}
}
-//........................................................................
+
} // namespace frm
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/richtext/rtattributehandler.hxx b/forms/source/richtext/rtattributehandler.hxx
index e4bbf4c9ed24..2e6e6cac1348 100644
--- a/forms/source/richtext/rtattributehandler.hxx
+++ b/forms/source/richtext/rtattributehandler.hxx
@@ -28,14 +28,14 @@
class SfxItemSet;
class SfxPoolItem;
class SfxItemPool;
-//........................................................................
+
namespace frm
{
-//........................................................................
- //====================================================================
+
+
//= ReferenceBase
- //====================================================================
+
class ReferenceBase : public ::rtl::IReference
{
protected:
@@ -50,9 +50,9 @@ namespace frm
virtual ~ReferenceBase();
};
- //====================================================================
+
//= IAttributeHandler
- //====================================================================
+
class IAttributeHandler : public ::rtl::IReference
{
public:
@@ -64,9 +64,9 @@ namespace frm
~IAttributeHandler() {}
};
- //====================================================================
+
//= AttributeHandler
- //====================================================================
+
class AttributeHandler :public ReferenceBase
,public IAttributeHandler
{
@@ -104,9 +104,9 @@ namespace frm
virtual ~AttributeHandler();
};
- //====================================================================
+
//= AttributeHandlerFactory
- //====================================================================
+
class AttributeHandlerFactory
{
public:
@@ -119,9 +119,9 @@ namespace frm
~AttributeHandlerFactory(); // never implemented
};
- //====================================================================
+
//= ParaAlignmentHandler
- //====================================================================
+
class ParaAlignmentHandler : public AttributeHandler
{
private:
@@ -135,9 +135,9 @@ namespace frm
virtual void executeAttribute( const SfxItemSet& _rCurrentAttribs, SfxItemSet& _rNewAttribs, const SfxPoolItem* _pAdditionalArg, ScriptType _nForScriptType ) const;
};
- //====================================================================
+
//= LineSpacingHandler
- //====================================================================
+
class LineSpacingHandler : public AttributeHandler
{
private:
@@ -151,9 +151,9 @@ namespace frm
virtual void executeAttribute( const SfxItemSet& _rCurrentAttribs, SfxItemSet& _rNewAttribs, const SfxPoolItem* _pAdditionalArg, ScriptType _nForScriptType ) const;
};
- //====================================================================
+
//= EscapementHandler
- //====================================================================
+
class EscapementHandler : public AttributeHandler
{
private:
@@ -167,9 +167,9 @@ namespace frm
virtual void executeAttribute( const SfxItemSet& _rCurrentAttribs, SfxItemSet& _rNewAttribs, const SfxPoolItem* _pAdditionalArg, ScriptType _nForScriptType ) const;
};
- //====================================================================
+
//= SlotHandler
- //====================================================================
+
class SlotHandler : public AttributeHandler
{
private:
@@ -183,9 +183,9 @@ namespace frm
virtual void executeAttribute( const SfxItemSet& _rCurrentAttribs, SfxItemSet& _rNewAttribs, const SfxPoolItem* _pAdditionalArg, ScriptType _nForScriptType ) const;
};
- //====================================================================
+
//= BooleanHandler
- //====================================================================
+
class BooleanHandler : public AttributeHandler
{
public:
@@ -196,9 +196,9 @@ namespace frm
virtual void executeAttribute( const SfxItemSet& _rCurrentAttribs, SfxItemSet& _rNewAttribs, const SfxPoolItem* _pAdditionalArg, ScriptType _nForScriptType ) const;
};
- //====================================================================
+
//= FontSizeHandler
- //====================================================================
+
class FontSizeHandler : public AttributeHandler
{
public:
@@ -209,9 +209,9 @@ namespace frm
virtual void executeAttribute( const SfxItemSet& _rCurrentAttribs, SfxItemSet& _rNewAttribs, const SfxPoolItem* _pAdditionalArg, ScriptType _nForScriptType ) const;
};
- //====================================================================
+
//= ParagraphDirectionHandler
- //====================================================================
+
class ParagraphDirectionHandler : public AttributeHandler
{
private:
@@ -227,9 +227,9 @@ namespace frm
virtual void executeAttribute( const SfxItemSet& _rCurrentAttribs, SfxItemSet& _rNewAttribs, const SfxPoolItem* _pAdditionalArg, ScriptType _nForScriptType ) const;
};
-//........................................................................
+
} // namespace frm
-//........................................................................
+
#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_RTATTRIBUTEHANDLER_HXX
diff --git a/forms/source/richtext/specialdispatchers.cxx b/forms/source/richtext/specialdispatchers.cxx
index 78832fc9197a..10cf4db23a43 100644
--- a/forms/source/richtext/specialdispatchers.cxx
+++ b/forms/source/richtext/specialdispatchers.cxx
@@ -23,10 +23,10 @@
#include <svx/svxids.hrc>
#include <editeng/scriptspaceitem.hxx>
-//........................................................................
+
namespace frm
{
-//........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
@@ -34,9 +34,9 @@ namespace frm
using namespace ::com::sun::star::frame;
using namespace ::com::sun::star::beans;
- //====================================================================
+
//= OSelectAllDispatcher
- //====================================================================
+
OSelectAllDispatcher::OSelectAllDispatcher( EditView& _rView, const URL& _rURL )
:ORichTextFeatureDispatcher( _rView, _rURL )
@@ -86,9 +86,9 @@ namespace frm
return aEvent;
}
- //====================================================================
+
//= OParagraphDirectionDispatcher
- //====================================================================
+
OParagraphDirectionDispatcher::OParagraphDirectionDispatcher( EditView& _rView, AttributeId _nAttributeId, const URL& _rURL,
IMultiAttributeDispatcher* _pMasterDispatcher )
@@ -109,9 +109,9 @@ namespace frm
return aEvent;
}
- //====================================================================
+
//= OTextDirectionDispatcher
- //====================================================================
+
OTextDirectionDispatcher::OTextDirectionDispatcher( EditView& _rView, const URL& _rURL )
:ORichTextFeatureDispatcher( _rView, _rURL )
@@ -149,9 +149,9 @@ namespace frm
return aEvent;
}
- //====================================================================
+
//= OAsianFontLayoutDispatcher
- //====================================================================
+
OAsianFontLayoutDispatcher::OAsianFontLayoutDispatcher( EditView& _rView, AttributeId _nAttributeId, const URL& _rURL, IMultiAttributeDispatcher* _pMasterDispatcher )
:OParametrizedAttributeDispatcher( _rView, _nAttributeId, _rURL, _pMasterDispatcher )
@@ -183,8 +183,8 @@ namespace frm
return NULL;
}
-//........................................................................
+
} // namespace frm
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/richtext/specialdispatchers.hxx b/forms/source/richtext/specialdispatchers.hxx
index 57b87c5d0cfc..7683e3ba432f 100644
--- a/forms/source/richtext/specialdispatchers.hxx
+++ b/forms/source/richtext/specialdispatchers.hxx
@@ -22,14 +22,14 @@
#include "parametrizedattributedispatcher.hxx"
-//........................................................................
+
namespace frm
{
-//........................................................................
- //====================================================================
+
+
//= OSelectAllDispatcher
- //====================================================================
+
class OSelectAllDispatcher : public ORichTextFeatureDispatcher
{
public:
@@ -47,9 +47,9 @@ namespace frm
virtual ::com::sun::star::frame::FeatureStateEvent buildStatusEvent() const;
};
- //====================================================================
+
//= OParagraphDirectionDispatcher
- //====================================================================
+
class OParagraphDirectionDispatcher : public OAttributeDispatcher
{
public:
@@ -65,9 +65,9 @@ namespace frm
virtual ::com::sun::star::frame::FeatureStateEvent buildStatusEvent() const;
};
- //====================================================================
+
//= OTextDirectionDispatcher
- //====================================================================
+
class OTextDirectionDispatcher : public ORichTextFeatureDispatcher
{
public:
@@ -81,9 +81,9 @@ namespace frm
virtual ::com::sun::star::frame::FeatureStateEvent buildStatusEvent() const;
};
- //====================================================================
+
//= OAsianFontLayoutDispatcher
- //====================================================================
+
class OAsianFontLayoutDispatcher : public OParametrizedAttributeDispatcher
{
public:
@@ -100,9 +100,9 @@ namespace frm
const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& _rArguments );
};
-//........................................................................
+
} // namespace frm
-//........................................................................
+
#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_SPECIALDISPATCHERS_HXX
diff --git a/forms/source/richtext/textattributelistener.hxx b/forms/source/richtext/textattributelistener.hxx
index f99932993dcf..339ec893d002 100644
--- a/forms/source/richtext/textattributelistener.hxx
+++ b/forms/source/richtext/textattributelistener.hxx
@@ -22,14 +22,14 @@
#include "rtattributes.hxx"
struct ESelection;
-//........................................................................
+
namespace frm
{
-//........................................................................
- //====================================================================
+
+
//= ITextAttributeListener
- //====================================================================
+
class ITextAttributeListener
{
public:
@@ -39,9 +39,9 @@ namespace frm
~ITextAttributeListener() {}
};
- //====================================================================
+
//= ITextAttributeListener
- //====================================================================
+
class ITextSelectionListener
{
public:
@@ -51,9 +51,9 @@ namespace frm
~ITextSelectionListener() {}
};
-//........................................................................
+
} // namespace frm
-//........................................................................
+
#endif // INCLUDED_FORMS_SOURCE_RICHTEXT_TEXTATTRIBUTELISTENER_HXX