diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-25 20:51:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-26 07:42:24 -0600 |
commit | b1181b89f3c6a0b435f49d9b2bfa18db2b5f6f3c (patch) | |
tree | 1ccd7fbb50f8ef1a6ac846e178550da83cd263ca /svx/source/inc | |
parent | Remove visual noise from ucb (diff) | |
download | core-b1181b89f3c6a0b435f49d9b2bfa18db2b5f6f3c.tar.gz core-b1181b89f3c6a0b435f49d9b2bfa18db2b5f6f3c.zip |
Remove visual noise from svx
Change-Id: I56497d953b0500ba0967fddb36ca8bbbe86c62ad
Reviewed-on: https://gerrit.libreoffice.org/8321
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source/inc')
39 files changed, 391 insertions, 391 deletions
diff --git a/svx/source/inc/AccessibleFrameSelector.hxx b/svx/source/inc/AccessibleFrameSelector.hxx index 9dd4325876fc..7e26b7e55e7d 100644 --- a/svx/source/inc/AccessibleFrameSelector.hxx +++ b/svx/source/inc/AccessibleFrameSelector.hxx @@ -44,7 +44,7 @@ class FrameSelector; namespace a11y { -// ============================================================================ + class AccFrameSelector : public ::cppu::WeakImplHelper5< @@ -132,7 +132,7 @@ private: ::comphelper::AccessibleEventNotifier::TClientId mnClientId; }; -// ============================================================================ + } // namespace a11y } // namespace svx diff --git a/svx/source/inc/charmapacc.hxx b/svx/source/inc/charmapacc.hxx index d1c0962e2ad1..05b051cbf651 100644 --- a/svx/source/inc/charmapacc.hxx +++ b/svx/source/inc/charmapacc.hxx @@ -87,9 +87,9 @@ namespace svx class SvxShowCharSetItemAcc; - // ---------------- + // - SvxShowCharSetItem - - // ---------------- + /** Simple struct to hold some information about the single items of the table. */ struct SvxShowCharSetItem @@ -109,14 +109,14 @@ namespace svx void ClearAccessible(); }; - // ----------------------------------------------------------------------------- + typedef ::cppu::ImplHelper2 < ::com::sun::star::accessibility::XAccessible, ::com::sun::star::accessibility::XAccessibleTable > OAccessibleHelper_Base; - // --------------- + // - SvxShowCharSetAcc - - // --------------- + /** The table implemtentation of the vcl control. */ @@ -203,9 +203,9 @@ namespace svx virtual ::com::sun::star::awt::Rectangle SAL_CALL implGetBounds( ) throw (::com::sun::star::uno::RuntimeException); }; - // ---------------- + // - SvxShowCharSetItemAcc - - // ---------------- + /** The child implementation of the table. */ class SvxShowCharSetItemAcc : public ::comphelper::OAccessibleComponentHelper, diff --git a/svx/source/inc/datalistener.hxx b/svx/source/inc/datalistener.hxx index 3a4caae826f6..993e0ab626d2 100644 --- a/svx/source/inc/datalistener.hxx +++ b/svx/source/inc/datalistener.hxx @@ -24,10 +24,10 @@ #include <com/sun/star/frame/XFrameActionListener.hpp> #include <com/sun/star/xml/dom/events/XEventListener.hpp> -//............................................................................ + namespace svxform { -//............................................................................ + class DataNavigatorWindow; @@ -63,9 +63,9 @@ namespace svxform virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException); }; -//............................................................................ + } // namespace svxform -//............................................................................ + #endif // INCLUDED_SVX_SOURCE_INC_DATALISTENER_HXX diff --git a/svx/source/inc/datanavi.hxx b/svx/source/inc/datanavi.hxx index d9d91c046edb..3d8f0348c6f6 100644 --- a/svx/source/inc/datanavi.hxx +++ b/svx/source/inc/datanavi.hxx @@ -56,11 +56,11 @@ class FmFormShell; -//======================================================================== -//............................................................................ + + namespace svxform { -//............................................................................ + enum DataGroupType { @@ -111,7 +111,7 @@ namespace svxform typedef std::vector< XContainer_ref > ContainerList; typedef std::vector< XEventTarget_ref > EventTargetList; - //======================================================================== + class DataTreeListBox : public SvTreeListBox { private: @@ -230,7 +230,7 @@ namespace svxform } }; - //======================================================================== + class XFormsPage : public TabPage { private: @@ -300,7 +300,7 @@ namespace svxform inline XFormsUIHelper1_ref GetXFormsHelper( void ) const { return m_xUIHelper; } }; - //======================================================================== + typedef std::vector< XFormsPage* > PageList; typedef ::rtl::Reference < DataListener > DataListener_ref; @@ -370,7 +370,7 @@ namespace svxform inline void DisableNotify( bool _bDisable ) { m_bIsNotifyDisabled = _bDisable; } }; - //======================================================================== + class DataNavigator : public SfxDockingWindow, public SfxControllerItem { private: @@ -395,7 +395,7 @@ namespace svxform const SfxPoolItem* pState ); }; - //======================================================================== + class SVX_DLLPUBLIC DataNavigatorManager : public SfxChildWindow { public: @@ -404,7 +404,7 @@ namespace svxform SFX_DECL_CHILDWINDOW( DataNavigatorManager ); }; - //======================================================================== + class AddDataItemDialog : public ModalDialog { private: @@ -461,7 +461,7 @@ namespace svxform void InitText( DataItemType _eType ); }; - //======================================================================== + class AddConditionDialog : public ModalDialog { private: @@ -494,7 +494,7 @@ namespace svxform } }; - //======================================================================== + class NamespaceItemDialog : public ModalDialog { private: @@ -522,7 +522,7 @@ namespace svxform ~NamespaceItemDialog(); }; - //======================================================================== + class ManageNamespaceDialog : public ModalDialog { private: @@ -546,7 +546,7 @@ namespace svxform OUString GetURL() const { return m_pUrlED->GetText(); } }; - //======================================================================== + class AddSubmissionDialog : public ModalDialog { private: @@ -584,7 +584,7 @@ namespace svxform inline const XSubmission_ref& GetNewSubmission() const { return m_xNewSubmission; } }; - //======================================================================== + class AddModelDialog : public ModalDialog { private: @@ -601,7 +601,7 @@ namespace svxform void SetModifyDoc( const bool bModify ) { m_pModifyCB->Check( bModify ); } }; - //======================================================================== + class AddInstanceDialog : public ModalDialog { private: @@ -633,16 +633,16 @@ namespace svxform void SetLinkInstance( bool _bLink ) { m_pLinkInstanceCB->Check( _bLink != false ); } }; - //======================================================================== + class LinkedInstanceWarningBox : public MessBox { public: LinkedInstanceWarningBox( Window* pParent ); }; -//............................................................................ + } // namespace svxform -//............................................................................ + #endif // INCLUDED_SVX_SOURCE_INC_DATANAVI_HXX diff --git a/svx/source/inc/delayedevent.hxx b/svx/source/inc/delayedevent.hxx index c2633af42954..20eb2e27dd40 100644 --- a/svx/source/inc/delayedevent.hxx +++ b/svx/source/inc/delayedevent.hxx @@ -22,14 +22,14 @@ #include <tools/link.hxx> -//........................................................................ + namespace svxform { -//........................................................................ - //==================================================================== + + //= DelayedEvent - //==================================================================== + /** small class which encapsulates posting a Link instance as ApplicationUserEvent No thread safety at all here, just a little saving of code to type multiple times @@ -73,9 +73,9 @@ namespace svxform DelayedEvent& operator=( const DelayedEvent& ); // never implemented }; -//........................................................................ + } // namespace svxform -//........................................................................ + #endif // INCLUDED_SVX_SOURCE_INC_DELAYEDEVENT_HXX diff --git a/svx/source/inc/docrecovery.hxx b/svx/source/inc/docrecovery.hxx index 626a9e648796..3fcf91a291f0 100644 --- a/svx/source/inc/docrecovery.hxx +++ b/svx/source/inc/docrecovery.hxx @@ -78,7 +78,7 @@ namespace svx{ namespace DocRecovery{ -//=============================================== + enum EDocStates { /* TEMP STATES */ @@ -106,7 +106,7 @@ enum EDocStates E_SUCCEDED = 512 }; -//=============================================== + enum ERecoveryState { E_SUCCESSFULLY_RECOVERED, @@ -116,7 +116,7 @@ enum ERecoveryState E_NOT_RECOVERED_YET }; -//=============================================== + struct TURLInfo { public: @@ -160,10 +160,10 @@ struct TURLInfo {} }; -//=============================================== + typedef ::std::vector< TURLInfo > TURLList; -//=============================================== + class IRecoveryUpdateListener { public: @@ -184,14 +184,14 @@ class IRecoveryUpdateListener ~IRecoveryUpdateListener() {} }; -//=============================================== + class RecoveryCore : public ::cppu::WeakImplHelper1< css::frame::XStatusListener > { - //------------------------------------------- + // types, const public: - //------------------------------------------- + // member private: @@ -219,28 +219,28 @@ class RecoveryCore : public ::cppu::WeakImplHelper1< css::frame::XStatusListener */ bool m_bListenForSaving; - //------------------------------------------- + // native interface public: - //--------------------------------------- + /** @short TODO */ RecoveryCore(const css::uno::Reference< css::uno::XComponentContext >& rxContext, bool bUsedForSaving); - //--------------------------------------- + /** @short TODO */ virtual ~RecoveryCore(); - //--------------------------------------- + /** @short TODO */ virtual css::uno::Reference< css::uno::XComponentContext > getComponentContext(); - //--------------------------------------- + /** @short TODO */ virtual TURLList* getURLListAccess(); - //--------------------------------------- + /** @short TODO */ static bool isBrokenTempEntry(const TURLInfo& rInfo); virtual void saveBrokenTempEntries(const OUString& sSaveDir); @@ -249,25 +249,25 @@ class RecoveryCore : public ::cppu::WeakImplHelper1< css::frame::XStatusListener virtual void forgetAllRecoveryEntries(); void forgetBrokenRecoveryEntries(); - //--------------------------------------- + /** @short TODO */ virtual void setProgressHandler(const css::uno::Reference< css::task::XStatusIndicator >& xProgress); - //--------------------------------------- + /** @short TODO */ virtual void setUpdateListener(IRecoveryUpdateListener* pListener); - //--------------------------------------- + /** @short TODO */ virtual void doEmergencySavePrepare(); virtual void doEmergencySave(); virtual void doRecovery(); - //--------------------------------------- + /** @short TODO */ static ERecoveryState mapDocState2RecoverState(sal_Int32 eDocState); - //------------------------------------------- + // uno interface public: @@ -279,26 +279,26 @@ class RecoveryCore : public ::cppu::WeakImplHelper1< css::frame::XStatusListener virtual void SAL_CALL disposing(const css::lang::EventObject& aEvent) throw(css::uno::RuntimeException); - //------------------------------------------- + // helper private: - //--------------------------------------- + /** @short starts listening on the internal EmergencySave/AutoRecovery core. */ void impl_startListening(); - //--------------------------------------- + /** @short stop listening on the internal EmergencySave/AutoRecovery core. */ void impl_stopListening(); - //--------------------------------------- + /** @short TODO */ css::util::URL impl_getParsedURL(const OUString& sURL); }; -//=============================================== + class PluginProgressWindow : public Window { private: @@ -316,7 +316,7 @@ class PluginProgress : public ::cppu::WeakImplHelper2< css::task::XStatusIndicat css::lang::XComponent > { - //------------------------------------------- + // member private: @@ -327,24 +327,24 @@ class PluginProgress : public ::cppu::WeakImplHelper2< css::task::XStatusIndicat PluginProgressWindow* m_pPlugProgressWindow; - //------------------------------------------- + // native interface public: - //--------------------------------------- + /** @short TODO */ PluginProgress( Window* pParent, const css::uno::Reference< css::uno::XComponentContext >& xContext ); - //--------------------------------------- + /** @short TODO */ virtual ~PluginProgress(); - //------------------------------------------- + // uno interface public: - //--------------------------------------- + // XStatusIndicator virtual void SAL_CALL start(const OUString& sText , sal_Int32 nRange) @@ -362,7 +362,7 @@ class PluginProgress : public ::cppu::WeakImplHelper2< css::task::XStatusIndicat virtual void SAL_CALL reset() throw(css::uno::RuntimeException); - //--------------------------------------- + // XComponent virtual void SAL_CALL dispose() throw(css::uno::RuntimeException); @@ -374,16 +374,16 @@ class PluginProgress : public ::cppu::WeakImplHelper2< css::task::XStatusIndicat throw(css::uno::RuntimeException); }; -//=============================================== + class IExtendedTabPage : public TabPage { - //------------------------------------------- + // member protected: short m_nResult; - //------------------------------------------- + // interface public: @@ -406,17 +406,17 @@ class IExtendedTabPage : public TabPage typedef ::std::vector< IExtendedTabPage* > TTabPageList; -//=============================================== + class TabDialog4Recovery : public TabDialog { - //------------------------------------------- + // member private: TTabPageList m_lTabPages; TTabPageList::iterator m_pActualPage; - //------------------------------------------- + // interface public: @@ -427,10 +427,10 @@ class TabDialog4Recovery : public TabDialog virtual short Execute(); }; -//=============================================== + class SaveDialog : public IExtendedTabPage { - //------------------------------------------- + // member private: @@ -445,11 +445,11 @@ class SaveDialog : public IExtendedTabPage RecoveryCore* m_pCore; - //------------------------------------------- + // interface public: - //--------------------------------------- + /** @short create all child controls of this dialog. @descr The dialog isnt shown nor it starts any @@ -468,26 +468,26 @@ class SaveDialog : public IExtendedTabPage SaveDialog(Window* pParent, RecoveryCore* pCore ); - //--------------------------------------- + /** @short free all controls and used memory. */ virtual ~SaveDialog(); - //--------------------------------------- + /** @short TODO*/ virtual short execute(); - //--------------------------------------- + /** @short TODO*/ virtual void setDefButton(); DECL_LINK(OKButtonHdl, void*); }; -//=============================================== + class SaveProgressDialog : public ModalDialog , public IRecoveryUpdateListener { - //------------------------------------------- + // member private: @@ -502,11 +502,11 @@ class SaveProgressDialog : public ModalDialog // @short TODO css::uno::Reference< css::task::XStatusIndicator > m_xProgress; - //------------------------------------------- + // interface public: - //--------------------------------------- + /** @short create all child controls of this dialog. @descr The dialog isnt shown nor it starts any @@ -523,11 +523,11 @@ class SaveProgressDialog : public ModalDialog SaveProgressDialog(Window* pParent, RecoveryCore* pCore ); - //--------------------------------------- + /** @short free all controls and used memory. */ virtual ~SaveProgressDialog(); - //--------------------------------------- + /** @short start the emergency save operation. */ virtual short Execute(); @@ -538,27 +538,27 @@ class SaveProgressDialog : public ModalDialog virtual void end(); }; -//=============================================== + class RecovDocListEntry : public SvLBoxString { public: - //--------------------------------------- + /** @short TODO */ RecovDocListEntry( SvTreeListEntry* pEntry, sal_uInt16 nFlags, const OUString& sText ); - //--------------------------------------- + /** @short TODO */ virtual void Paint( const Point& rPos, SvTreeListBox& rOutDev, const SvViewDataEntry* pView, const SvTreeListEntry* pEntry); }; -//=============================================== + class RecovDocList : public SvSimpleTable { - //------------------------------------------- + // member public: @@ -572,18 +572,18 @@ class RecovDocList : public SvSimpleTable OUString m_aRecovInProgrStr; OUString m_aNotRecovYetStr; - //------------------------------------------- + // interface public: - //--------------------------------------- + /** @short TODO */ RecovDocList(SvSimpleTableContainer& rParent, ResMgr& rResMgr); - //--------------------------------------- + /** @short TODO */ virtual ~RecovDocList(); - //--------------------------------------- + /** @short TODO */ virtual void InitEntry(SvTreeListEntry* pEntry, const OUString& rText, @@ -592,11 +592,11 @@ class RecovDocList : public SvSimpleTable SvLBoxButtonKind eButtonKind); }; -//=============================================== + class RecoveryDialog : public IExtendedTabPage , public IRecoveryUpdateListener { - //------------------------------------------- + // member private: FixedText m_aTitleFT; @@ -635,52 +635,52 @@ class RecoveryDialog : public IExtendedTabPage bool m_bUserDecideNext; bool m_bWasRecoveryStarted; - //------------------------------------------- + // member public: - //--------------------------------------- + /** @short TODO */ RecoveryDialog(Window* pParent, RecoveryCore* pCore ); - //--------------------------------------- + /** @short TODO */ virtual ~RecoveryDialog(); - //--------------------------------------- + // IRecoveryUpdateListener virtual void updateItems(); virtual void stepNext(TURLInfo* pItem); virtual void start(); virtual void end(); - //--------------------------------------- + /** @short TODO */ virtual short execute(); - //--------------------------------------- + /** @short TODO*/ virtual void setDefButton(); - //------------------------------------------- + // helper private: - //--------------------------------------- + /** @short TODO */ DECL_LINK(NextButtonHdl, void*); DECL_LINK(CancelButtonHdl, void*); - //--------------------------------------- + /** @short TODO */ OUString impl_getStatusString( const TURLInfo& rInfo ) const; }; -//=============================================== + class BrokenRecoveryDialog : public ModalDialog { - //------------------------------------------- + // member private: FixedText m_aDescrFT; @@ -698,49 +698,49 @@ class BrokenRecoveryDialog : public ModalDialog bool m_bBeforeRecovery; sal_Bool m_bExecutionNeeded; - //------------------------------------------- + // interface public: - //--------------------------------------- + /** @short TODO */ BrokenRecoveryDialog(Window* pParent , RecoveryCore* pCore , bool bBeforeRecovery); - //--------------------------------------- + /** @short TODO */ virtual ~BrokenRecoveryDialog(); - //--------------------------------------- + /** @short TODO */ virtual sal_Bool isExecutionNeeded(); - //--------------------------------------- + /** @short TODO */ virtual OUString getSaveDirURL(); - //------------------------------------------- + // helper private: - //--------------------------------------- + /** @short TODO */ void impl_refresh(); - //--------------------------------------- + /** @short TODO */ DECL_LINK(SaveButtonHdl, void*); - //--------------------------------------- + /** @short TODO */ DECL_LINK(OkButtonHdl, void*); - //--------------------------------------- + /** @short TODO */ DECL_LINK(CancelButtonHdl, void*); - //--------------------------------------- + /** @short TODO */ void impl_askForSavePath(); }; diff --git a/svx/source/inc/filtnav.hxx b/svx/source/inc/filtnav.hxx index adc474e2c1d4..1ee7cf3151b2 100644 --- a/svx/source/inc/filtnav.hxx +++ b/svx/source/inc/filtnav.hxx @@ -43,19 +43,19 @@ class FmFormShell; -//........................................................................ + namespace svxform { -//........................................................................ + class FmFilterItem; class FmFilterItems; class FmParentData; class FmFilterAdapter; -//======================================================================== + // data structure for the filter model -//======================================================================== + class FmFilterData { FmParentData* m_pParent; @@ -76,7 +76,7 @@ public: virtual Image GetImage() const; }; -//======================================================================== + class FmParentData : public FmFilterData { protected: @@ -92,7 +92,7 @@ public: ::std::vector< FmFilterData* >& GetChildren() { return m_aChildren; } }; -//======================================================================== + // Item representing the forms and subforms class FmFormItem : public FmParentData { @@ -120,7 +120,7 @@ public: virtual Image GetImage() const; }; -//======================================================================== + class FmFilterItems : public FmParentData { public: @@ -132,7 +132,7 @@ public: virtual Image GetImage() const; }; -//======================================================================== + class FmFilterItem : public FmFilterData { OUString m_aFieldName; @@ -153,7 +153,7 @@ public: virtual Image GetImage() const; }; -//======================================================================== + class FmFilterModel : public FmParentData ,public SfxBroadcaster ,public ::svxform::OSQLParserClient @@ -196,8 +196,8 @@ protected: void Update(const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess > & xControllers, FmParentData* pParent); }; -//======================================================================== -//======================================================================== + + class OFilterItemExchange : public OLocalExchange { ::std::vector<FmFilterItem*> m_aDraggedEntries; @@ -225,9 +225,9 @@ inline sal_Bool OFilterItemExchange::hasFormat( const DataFlavorExVector& _rForm return OLocalExchange::hasFormat( _rFormats, getFormatId() ); } -//==================================================================== + //= OFilterExchangeHelper -//==================================================================== + class OFilterExchangeHelper : public OLocalExchangeHelper { public: @@ -239,7 +239,7 @@ protected: virtual OLocalExchange* createExchange() const; }; -//======================================================================== + class FmFilterNavigator : public SvTreeListBox, public SfxListener { enum DROP_ACTION{ DA_SCROLLUP, DA_SCROLLDOWN, DA_EXPANDNODE }; @@ -313,7 +313,7 @@ private: using SvTreeListBox::Insert; }; -//======================================================================== + class FmFilterNavigatorWin : public SfxDockingWindow, public SfxControllerItem { private: @@ -339,7 +339,7 @@ public: virtual void GetFocus(); }; -//======================================================================== + class FmFilterNavigatorWinMgr : public SfxChildWindow { public: @@ -348,9 +348,9 @@ public: SFX_DECL_CHILDWINDOW( FmFilterNavigatorWinMgr ); }; -//........................................................................ + } // namespace svxform -//........................................................................ + #endif // INCLUDED_SVX_SOURCE_INC_FILTNAV_HXX diff --git a/svx/source/inc/fmPropBrw.hxx b/svx/source/inc/fmPropBrw.hxx index 4afe9ea66971..d7954e26e276 100644 --- a/svx/source/inc/fmPropBrw.hxx +++ b/svx/source/inc/fmPropBrw.hxx @@ -29,7 +29,7 @@ #include <sfx2/childwin.hxx> #include "svx/fmtools.hxx" -//======================================================================== + class FmPropBrwMgr : public SfxChildWindow { public: @@ -39,7 +39,7 @@ public: class SfxBindings; class FmFormShell; -//======================================================================== + class FmPropBrw : public SfxFloatingWindow, public SfxControllerItem { sal_Bool m_bInitialStateChange; diff --git a/svx/source/inc/fmcontrolbordermanager.hxx b/svx/source/inc/fmcontrolbordermanager.hxx index 0886ec9f82d2..29c6e64a5803 100644 --- a/svx/source/inc/fmcontrolbordermanager.hxx +++ b/svx/source/inc/fmcontrolbordermanager.hxx @@ -32,10 +32,10 @@ namespace com { namespace sun { namespace star { namespace form { namespace vali class XValidatableFormComponent; } } } } } -//........................................................................ + namespace svxform { -//........................................................................ + typedef sal_Int16 ControlStatus; @@ -44,9 +44,9 @@ namespace svxform #define CONTROL_STATUS_MOUSE_HOVER 0x02 #define CONTROL_STATUS_INVALID 0x04 - //==================================================================== + //= BorderDescriptor - //==================================================================== + struct BorderDescriptor { sal_Int16 nBorderType; @@ -64,9 +64,9 @@ namespace svxform } }; - //==================================================================== + //= UnderlineDescriptor - //==================================================================== + struct UnderlineDescriptor { sal_Int16 nUnderlineType; @@ -91,9 +91,9 @@ namespace svxform } }; - //==================================================================== + //= ControlData - //==================================================================== + struct ControlData : public BorderDescriptor, UnderlineDescriptor { ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl > xControl; @@ -113,9 +113,9 @@ namespace svxform } }; - //==================================================================== + //= ControlBorderManager - //==================================================================== + /** manages the dynamic border color for form controls Used by the <type>FormController</type>, this class manages the dynamic changes in the @@ -146,7 +146,7 @@ namespace svxform ControlData m_aMouseHoverControl; ControlBag m_aInvalidControls; - // ---------------- + // attributes sal_Int32 m_nFocusColor; sal_Int32 m_nMouseHoveColor; @@ -250,9 +250,9 @@ namespace svxform ) const; }; -//........................................................................ + } // namespace svxform -//........................................................................ + #endif // INCLUDED_SVX_SOURCE_INC_FMCONTROLBORDERMANAGER_HXX diff --git a/svx/source/inc/fmcontrollayout.hxx b/svx/source/inc/fmcontrollayout.hxx index db2ad9a6b8cf..8b191253ba95 100644 --- a/svx/source/inc/fmcontrollayout.hxx +++ b/svx/source/inc/fmcontrollayout.hxx @@ -25,14 +25,14 @@ #include "fmdocumentclassification.hxx" #include <unotools/confignode.hxx> -//........................................................................ + namespace svxform { -//........................................................................ - //==================================================================== + + //= ControlLayouter - //==================================================================== + class ControlLayouter { public: @@ -73,9 +73,9 @@ namespace svxform ); }; -//........................................................................ + } // namespace svxform -//........................................................................ + #endif // INCLUDED_SVX_SOURCE_INC_FMCONTROLLAYOUT_HXX diff --git a/svx/source/inc/fmdocumentclassification.hxx b/svx/source/inc/fmdocumentclassification.hxx index 471037188f71..03ada7d4f133 100644 --- a/svx/source/inc/fmdocumentclassification.hxx +++ b/svx/source/inc/fmdocumentclassification.hxx @@ -22,14 +22,14 @@ #include <com/sun/star/frame/XModel.hpp> -//........................................................................ + namespace svxform { -//........................................................................ - //==================================================================== + + //= DocumentType - //==================================================================== + enum DocumentType { eTextDocument, @@ -44,9 +44,9 @@ namespace svxform eUnknownDocumentType }; - //==================================================================== + //= DocumentClassification - //==================================================================== + class DocumentClassification { public: @@ -69,9 +69,9 @@ namespace svxform ); }; -//........................................................................ + } // namespace svxform -//........................................................................ + #endif // INCLUDED_SVX_SOURCE_INC_FMDOCUMENTCLASSIFICATION_HXX diff --git a/svx/source/inc/fmexch.hxx b/svx/source/inc/fmexch.hxx index 86cc18a14caf..059be325fe15 100644 --- a/svx/source/inc/fmexch.hxx +++ b/svx/source/inc/fmexch.hxx @@ -33,21 +33,21 @@ class SvTreeListEntry; -//======================================================================== + class SvTreeListBox; -//........................................................................ + namespace svxform { -//........................................................................ - //==================================================================== + + typedef ::std::set< SvTreeListEntry* > ListBoxEntrySet; - //==================================================================== + //= OLocalExchange - //==================================================================== + class SVX_DLLPUBLIC OLocalExchange : public TransferableHelper { private: @@ -91,9 +91,9 @@ namespace svxform } }; - //==================================================================== + //= OLocalExchangeHelper - //==================================================================== + /// a helper for navigator windows (SvTreeListBox'es) which allow DnD within themself class SVX_DLLPUBLIC OLocalExchangeHelper { @@ -124,9 +124,9 @@ namespace svxform SVX_DLLPRIVATE void implReset(); }; - //==================================================================== + //= OControlTransferData - //==================================================================== + class OControlTransferData { private: @@ -200,16 +200,16 @@ namespace svxform getFormsRoot() const { return m_xFormsRoot; } }; - //==================================================================== + inline const DataFlavorExVector& OControlTransferData::GetDataFlavorExVector() const { const_cast< OControlTransferData* >( this )->updateFormats( ); return m_aCurrentFormats; } - //==================================================================== + //= OControlExchange - //==================================================================== + class OControlExchange : public OLocalExchange, public OControlTransferData { public: @@ -229,9 +229,9 @@ namespace svxform virtual void AddSupportedFormats(); }; - //==================================================================== + //= OControlExchangeHelper - //==================================================================== + class OControlExchangeHelper : public OLocalExchangeHelper { public: @@ -244,8 +244,8 @@ namespace svxform virtual OLocalExchange* createExchange() const; }; - //==================================================================== - //==================================================================== + + inline sal_Bool OControlExchange::hasFieldExchangeFormat( const DataFlavorExVector& _rFormats ) { return hasFormat( _rFormats, getFieldExchangeFormatId() ); @@ -261,9 +261,9 @@ namespace svxform return hasFormat( _rFormats, getHiddenControlModelsFormatId() ); } -//........................................................................ + } // namespace svxform -//........................................................................ + #endif diff --git a/svx/source/inc/fmexpl.hxx b/svx/source/inc/fmexpl.hxx index 5b5c2898f0ad..5b872b9ccd28 100644 --- a/svx/source/inc/fmexpl.hxx +++ b/svx/source/inc/fmexpl.hxx @@ -59,7 +59,7 @@ class FmFormModel; class FmFormView; class SdrMarkList; -//======================================================================== + class FmEntryData; class FmNavInsertedHint : public SfxHint { @@ -75,7 +75,7 @@ public: sal_uInt32 GetRelPos() const { return nPos; } }; -//======================================================================== + class FmNavModelReplacedHint : public SfxHint { FmEntryData* pEntryData; // die Daten des Eintrages, der ein neues Model bekommen hat @@ -88,7 +88,7 @@ public: FmEntryData* GetEntryData() const { return pEntryData; } }; -//======================================================================== + class FmNavRemovedHint : public SfxHint { FmEntryData* pEntryData; @@ -101,7 +101,7 @@ public: FmEntryData* GetEntryData() const { return pEntryData; } }; -//======================================================================== + class FmNavNameChangedHint : public SfxHint { FmEntryData* pEntryData; @@ -116,7 +116,7 @@ public: OUString GetNewName() const { return aNewName; } }; -//======================================================================== + class FmNavClearedHint : public SfxHint { public: @@ -125,7 +125,7 @@ public: virtual ~FmNavClearedHint(); }; -//======================================================================== + class FmNavViewMarksChanged : public SfxHint { FmFormView* pView; @@ -137,7 +137,7 @@ public: FmFormView* GetAffectedView() { return pView; } }; -//======================================================================== + class FmEntryDataList; class FmEntryData { @@ -194,7 +194,7 @@ public: } }; -//======================================================================== + typedef ::std::vector< FmEntryData* > FmEntryDataBaseList; class FmEntryDataList @@ -215,7 +215,7 @@ public: void clear(); }; -//======================================================================== + // FmNavRequestSelectHint - jemand teilt dem NavigatorTree mit, dass er bestimmte Eintraege selektieren soll typedef std::set<FmEntryData*> FmEntryDataArray; @@ -236,7 +236,7 @@ public: FmEntryDataArray& GetItems() { return m_arredToSelect; } }; -//======================================================================== + class FmFormData : public FmEntryData { ::com::sun::star::uno::Reference< ::com::sun::star::form::XForm > m_xForm; @@ -269,7 +269,7 @@ public: }; -//======================================================================== + class FmControlData : public FmEntryData { ::com::sun::star::uno::Reference< ::com::sun::star::form::XFormComponent > m_xFormComponent; @@ -298,16 +298,16 @@ public: }; -//======================================================================== -//............................................................................ + + namespace svxform { -//............................................................................ + class NavigatorTreeModel; - //======================================================================== + // class OFormComponentObserver - //======================================================================== + class OFormComponentObserver :public ::cppu::WeakImplHelper2 < ::com::sun::star::beans::XPropertyChangeListener , ::com::sun::star::container::XContainerListener @@ -342,9 +342,9 @@ namespace svxform void Remove( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _rxElement ); }; - //======================================================================== + //= NavigatorTreeModel - //======================================================================== + class NavigatorTreeModel : public SfxBroadcaster ,public SfxListener { @@ -407,7 +407,7 @@ namespace svxform virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); }; - //======================================================================== + typedef std::set<SvTreeListEntry*> SvLBoxEntrySortedArray; class NavigatorTree : public SvTreeListBox, public SfxListener @@ -560,7 +560,7 @@ namespace svxform sal_Bool doingKeyboardCut( ) const { return m_bKeyboardCut; } }; - //======================================================================== + class NavigatorFrame : public SfxDockingWindow, public SfxControllerItem { private: @@ -585,7 +585,7 @@ namespace svxform void FillInfo( SfxChildWinInfo& rInfo ) const; }; - //======================================================================== + class SVX_DLLPUBLIC NavigatorFrameManager : public SfxChildWindow { public: @@ -594,9 +594,9 @@ namespace svxform SFX_DECL_CHILDWINDOW( NavigatorFrameManager ); }; -//............................................................................ + } // namespace svxform -//............................................................................ + #endif // INCLUDED_SVX_SOURCE_INC_FMEXPL_HXX diff --git a/svx/source/inc/fmitems.hxx b/svx/source/inc/fmitems.hxx index d01e1e1dad75..72a9e3156d3c 100644 --- a/svx/source/inc/fmitems.hxx +++ b/svx/source/inc/fmitems.hxx @@ -23,7 +23,7 @@ #include <svl/poolitem.hxx> #include <comphelper/uno3.hxx> -//================================================================== + class FmInterfaceItem : public SfxPoolItem { ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > xInterface; diff --git a/svx/source/inc/fmobj.hxx b/svx/source/inc/fmobj.hxx index 09b4218bb03e..8f6a755c2f16 100644 --- a/svx/source/inc/fmobj.hxx +++ b/svx/source/inc/fmobj.hxx @@ -24,9 +24,9 @@ #include <com/sun/star/form/XForms.hpp> #include <com/sun/star/script/ScriptEventDescriptor.hpp> -//================================================================== + // FmFormObj -//================================================================== + class FmFormObj: public SdrUnoObj { ::com::sun::star::uno::Sequence< ::com::sun::star::script::ScriptEventDescriptor > aEvts; // events des Objects diff --git a/svx/source/inc/fmpgeimp.hxx b/svx/source/inc/fmpgeimp.hxx index 29dec86e43a4..3a5d6b3915d3 100644 --- a/svx/source/inc/fmpgeimp.hxx +++ b/svx/source/inc/fmpgeimp.hxx @@ -40,11 +40,11 @@ class FmFormObj; class FmFormPage; class SdrObject; -//================================================================== + // FmFormPageImpl // lauscht an allen Containern, um festzustellen, wann Objecte // eingefuegt worden sind und wann diese entfernt wurden -//================================================================== + class SVX_DLLPRIVATE FmFormPageImpl { diff --git a/svx/source/inc/fmscriptingenv.hxx b/svx/source/inc/fmscriptingenv.hxx index 3fcf67ec9f7a..8d86f2520d68 100644 --- a/svx/source/inc/fmscriptingenv.hxx +++ b/svx/source/inc/fmscriptingenv.hxx @@ -24,14 +24,14 @@ #include <rtl/ref.hxx> class FmFormModel; -//........................................................................ + namespace svxform { -//........................................................................ - //==================================================================== + + //= IFormScriptingEnvironment - //==================================================================== + /** describes the interface implemented by a component which handles scripting requirements in a form/control environment. */ @@ -76,14 +76,14 @@ namespace svxform }; typedef ::rtl::Reference< IFormScriptingEnvironment > PFormScriptingEnvironment; - //==================================================================== + /** creates a default component implementing the IFormScriptingEnvironment interface */ PFormScriptingEnvironment createDefaultFormScriptingEnvironment( FmFormModel& _rFormModel ); -//........................................................................ + } // namespace svxform -//........................................................................ + #endif // INCLUDED_SVX_SOURCE_INC_FMSCRIPTINGENV_HXX diff --git a/svx/source/inc/fmshimp.hxx b/svx/source/inc/fmshimp.hxx index 53c6a3cb65a4..4d89f83fd47d 100644 --- a/svx/source/inc/fmshimp.hxx +++ b/svx/source/inc/fmshimp.hxx @@ -85,7 +85,7 @@ typedef std::vector< ::com::sun::star::uno::Reference< ::com::sun::star::form::X #define FORMS_UNLOAD 0x0001 // unload #define FORMS_ASYNC 0x0002 // do this async -//============================================================================== + // a class iterating through all fields of a form which are bound to a field // sub forms are ignored, grid columns (where the grid is a direct child of the form) are included class FmXBoundFormFieldIterator : public ::comphelper::IndexAccessIterator @@ -99,7 +99,7 @@ protected: }; class FmFormPage; -//======================================================================== + struct FmLoadAction { FmFormPage* pPage; @@ -113,7 +113,7 @@ struct FmLoadAction } }; -//======================================================================== + class SfxViewFrame; typedef ::cppu::WeakComponentImplHelper4< ::com::sun::star::beans::XPropertyChangeListener , ::com::sun::star::container::XContainerListener @@ -121,7 +121,7 @@ typedef ::cppu::WeakComponentImplHelper4< ::com::sun::star::beans::XPropertyCh , ::com::sun::star::form::XFormControllerListener > FmXFormShell_BD_BASE; -//======================================================================== + class FmXFormShell_Base_Disambiguation : public FmXFormShell_BD_BASE { using ::com::sun::star::beans::XPropertyChangeListener::disposing; @@ -130,13 +130,13 @@ protected: virtual void SAL_CALL disposing(); }; -//======================================================================== + namespace svx { class FmTextControlShell; } -//======================================================================== + typedef FmXFormShell_Base_Disambiguation FmXFormShell_BASE; typedef ::utl::ConfigItem FmXFormShell_CFGBASE; @@ -517,7 +517,7 @@ private: */ void impl_RemoveElement_nothrow(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>& Element); - // --------------------------------------------------- + // asyncronous cursor actions/navigation slot handling public: @@ -536,13 +536,13 @@ protected: DECL_LINK( OnLoadForms, FmFormPage* ); }; -//------------------------------------------------------------------------------ + inline sal_Bool FmXFormShell::IsSelectionUpdatePending() { return m_aMarkTimer.IsActive(); } -// ======================================================================== + // = ein Iterator, der ausgehend von einem Interface ein Objekt sucht, dessen // = ::com::sun::star::beans::Property-Set eine ControlSource- sowie eine BoundField-Eigenschaft hat, // = wobei letztere einen Wert ungleich NULL haben muss. @@ -570,7 +570,7 @@ public: virtual void Invalidate() { IndexAccessIterator::Invalidate(); m_sCurrentValue = OUString(); } }; -// ======================================================================== + typedef boost::ptr_vector<SfxStatusForwarder> StatusForwarderArray; class SVX_DLLPUBLIC ControlConversionMenuController : public SfxMenuControl { diff --git a/svx/source/inc/fmtextcontroldialogs.hxx b/svx/source/inc/fmtextcontroldialogs.hxx index 81e78bb1d187..ef3c562b7e42 100644 --- a/svx/source/inc/fmtextcontroldialogs.hxx +++ b/svx/source/inc/fmtextcontroldialogs.hxx @@ -24,14 +24,14 @@ #include <sfx2/tabdlg.hxx> #include <editeng/flstitem.hxx> -//........................................................................ + namespace svx { -//........................................................................ - //==================================================================== + + //= TextControlCharAttribDialog - //==================================================================== + class TextControlCharAttribDialog : public SfxTabDialog { private: @@ -52,9 +52,9 @@ namespace svx public: TextControlParaAttribDialog(Window* _pParent, const SfxItemSet& _rCoreSet); }; -//........................................................................ + } // namespace svx -//........................................................................ + #endif // INCLUDED_SVX_SOURCE_INC_FMTEXTCONTROLDIALOGS_HXX diff --git a/svx/source/inc/fmtextcontrolfeature.hxx b/svx/source/inc/fmtextcontrolfeature.hxx index df17c5186b6b..b84845be3838 100644 --- a/svx/source/inc/fmtextcontrolfeature.hxx +++ b/svx/source/inc/fmtextcontrolfeature.hxx @@ -27,14 +27,14 @@ #include <cppuhelper/implbase1.hxx> #include "fmslotinvalidator.hxx" -//........................................................................ + namespace svx { -//........................................................................ - //==================================================================== + + //= FmTextControlFeature - //==================================================================== + typedef ::cppu::WeakImplHelper1 < ::com::sun::star::frame::XStatusListener > FmTextControlFeature_Base; @@ -87,9 +87,9 @@ namespace svx virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException); }; -//........................................................................ + } // namespace svx -//........................................................................ + #endif // INCLUDED_SVX_SOURCE_INC_FMTEXTCONTROLFEATURE_HXX diff --git a/svx/source/inc/fmtextcontrolshell.hxx b/svx/source/inc/fmtextcontrolshell.hxx index 8c7771dae967..c2b99c5da4a3 100644 --- a/svx/source/inc/fmtextcontrolshell.hxx +++ b/svx/source/inc/fmtextcontrolshell.hxx @@ -42,18 +42,18 @@ class SfxBindings; class SfxViewFrame; class SfxApplication; -//........................................................................ + namespace svx { -//........................................................................ + class FmFocusListenerAdapter; class FmTextControlFeature; class FmMouseListenerAdapter; - //==================================================================== + //= IFocusObserver - //==================================================================== + class IFocusObserver { public: @@ -64,9 +64,9 @@ namespace svx ~IFocusObserver() {} }; - //==================================================================== + //= IFocusObserver - //==================================================================== + class IContextRequestObserver { public: @@ -76,9 +76,9 @@ namespace svx ~IContextRequestObserver() {} }; - //==================================================================== + //= FmTextControlShell - //==================================================================== + class FmTextControlShell :public IFocusObserver ,public ISlotInvalidator ,public IContextRequestObserver @@ -211,9 +211,9 @@ namespace svx DECL_LINK( OnInvalidateClipboard, void* ); }; -//........................................................................ + } // namespace svx -//........................................................................ + #endif // INCLUDED_SVX_SOURCE_INC_FMTEXTCONTROLSHELL_HXX diff --git a/svx/source/inc/fmundo.hxx b/svx/source/inc/fmundo.hxx index e2f0fe11d0d7..9bb222bb4c39 100644 --- a/svx/source/inc/fmundo.hxx +++ b/svx/source/inc/fmundo.hxx @@ -45,9 +45,9 @@ class FmFormModel; class FmFormObj; class SdrObject; -//================================================================== + // FmUndoPropertyAction -//================================================================== + class FmUndoPropertyAction: public SdrUndoAction { ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> xObj; @@ -65,9 +65,9 @@ public: }; -//================================================================== + // FmUndoContainerAction -//================================================================== + class FmUndoContainerAction: public SdrUndoAction { ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexContainer > @@ -108,9 +108,9 @@ protected: void implReRemove( ) SAL_THROW( ( ::com::sun::star::uno::Exception ) ); }; -//================================================================== + // FmUndoModelReplaceAction -//================================================================== + class FmUndoModelReplaceAction : public SdrUndoAction { ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel> m_xReplaced; @@ -128,7 +128,7 @@ public: static void DisposeElement( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel>& xReplaced ); }; -//======================================================================== + class SVX_DLLPRIVATE FmXUndoEnvironment : public ::cppu::WeakImplHelper3< ::com::sun::star::beans::XPropertyChangeListener , ::com::sun::star::container::XContainerListener diff --git a/svx/source/inc/fmvwimp.hxx b/svx/source/inc/fmvwimp.hxx index c589c23ff41b..6a00d829efb8 100644 --- a/svx/source/inc/fmvwimp.hxx +++ b/svx/source/inc/fmvwimp.hxx @@ -77,9 +77,9 @@ namespace svx { struct OXFormsDescriptor; } -//================================================================== + // FormViewPageWindowAdapter -//================================================================== + typedef ::cppu::WeakImplHelper2 < ::com::sun::star::container::XIndexAccess , ::com::sun::star::form::runtime::XFormControllerContext > FormViewPageWindowAdapter_Base; @@ -139,9 +139,9 @@ typedef ::std::map < ::com::sun::star::uno::Reference< ::com::sun::star::awt: , ::comphelper::OInterfaceCompare< ::com::sun::star::awt::XControlContainer > > MapControlContainerToSetOfForms; class SdrModel; -//================================================================== + // FmXFormView -//================================================================== + class FmXFormView : public ::cppu::WeakImplHelper3< ::com::sun::star::form::XFormControllerListener, ::com::sun::star::awt::XFocusListener, diff --git a/svx/source/inc/formcontrolfactory.hxx b/svx/source/inc/formcontrolfactory.hxx index b76fe9230cae..92466f827ab7 100644 --- a/svx/source/inc/formcontrolfactory.hxx +++ b/svx/source/inc/formcontrolfactory.hxx @@ -39,14 +39,14 @@ namespace comphelper { class ComponentContext; } -//........................................................................ + namespace svxform { -//........................................................................ - //==================================================================== + + //= FormControlFactory - //==================================================================== + struct FormControlFactory_Data; class FormControlFactory @@ -105,9 +105,9 @@ namespace svxform ::std::auto_ptr< FormControlFactory_Data > m_pData; }; -//........................................................................ + } // namespace svxform -//........................................................................ + #endif // INCLUDED_SVX_SOURCE_INC_FORMCONTROLFACTORY_HXX diff --git a/svx/source/inc/formcontroller.hxx b/svx/source/inc/formcontroller.hxx index 1cc77a9f81a8..bdbc021a0b20 100644 --- a/svx/source/inc/formcontroller.hxx +++ b/svx/source/inc/formcontroller.hxx @@ -126,9 +126,9 @@ namespace svxform , ::com::sun::star::form::runtime::XFeatureInvalidation > FormController_BASE; - //================================================================== + // FormController - //================================================================== + class ColumnInfoCache; class FormController :public ::comphelper::OBaseMutex ,public FormController_BASE diff --git a/svx/source/inc/formcontrolling.hxx b/svx/source/inc/formcontrolling.hxx index b2f48cba54e9..3699c1afe14c 100644 --- a/svx/source/inc/formcontrolling.hxx +++ b/svx/source/inc/formcontrolling.hxx @@ -30,14 +30,14 @@ #include <vector> -//........................................................................ + namespace svx { -//........................................................................ - //==================================================================== + + //= FeatureSlotTranslation - //==================================================================== + class FeatureSlotTranslation { public: @@ -51,9 +51,9 @@ namespace svx static sal_Int32 getSlotIdForFormFeature( sal_Int16 _nFormFeature ); }; - //==================================================================== + //= IControllerFeatureInvalidation - //==================================================================== + class IControllerFeatureInvalidation { public: @@ -72,9 +72,9 @@ namespace svx ~IControllerFeatureInvalidation() {} }; - //==================================================================== + //= ControllerFeatures - //==================================================================== + class FormControllerHelper; /** easier access to an FormControllerHelper instance */ @@ -132,9 +132,9 @@ namespace svx inline FormControllerHelper& operator*() { return *m_pImpl; } }; - //==================================================================== + //= FormControllerHelper - //==================================================================== + typedef ::cppu::WeakImplHelper2 < ::com::sun::star::form::runtime::XFeatureInvalidation , ::com::sun::star::sdb::XSQLErrorListener > FormControllerHelper_Base; @@ -230,9 +230,9 @@ namespace svx FormControllerHelper& operator=( const FormControllerHelper& ); // never implemented }; -//........................................................................ + } // namespace svx -//........................................................................ + #endif // INCLUDED_SVX_SOURCE_INC_FORMCONTROLLING_HXX diff --git a/svx/source/inc/formdispatchinterceptor.hxx b/svx/source/inc/formdispatchinterceptor.hxx index 5262cbd64f77..6ee7e152b458 100644 --- a/svx/source/inc/formdispatchinterceptor.hxx +++ b/svx/source/inc/formdispatchinterceptor.hxx @@ -26,14 +26,14 @@ #include <cppuhelper/compbase2.hxx> #include <comphelper/uno3.hxx> -//........................................................................ + namespace svxform { -//........................................................................ - //==================================================================== + + //= DispatchInterceptor - //==================================================================== + class DispatchInterceptor { public: @@ -48,9 +48,9 @@ namespace svxform ~DispatchInterceptor() {} }; - //==================================================================== + //= - //==================================================================== + typedef ::cppu::WeakComponentImplHelper2< ::com::sun::star::frame::XDispatchProviderInterceptor , ::com::sun::star::lang::XEventListener > DispatchInterceptionMultiplexer_BASE; @@ -106,9 +106,9 @@ namespace svxform void ImplDetach(); }; -//........................................................................ + } // namespace svxform -//........................................................................ + #endif // INCLUDED_SVX_SOURCE_INC_FORMDISPATCHINTERCEPTOR_HXX diff --git a/svx/source/inc/formfeaturedispatcher.hxx b/svx/source/inc/formfeaturedispatcher.hxx index 75d419d8c2b9..0eac23d4a191 100644 --- a/svx/source/inc/formfeaturedispatcher.hxx +++ b/svx/source/inc/formfeaturedispatcher.hxx @@ -27,14 +27,14 @@ #include <cppuhelper/implbase1.hxx> #include <cppuhelper/interfacecontainer.hxx> -//........................................................................ + namespace svx { -//........................................................................ - //==================================================================== + + //= OSingleFeatureDispatcher - //==================================================================== + typedef ::cppu::WeakImplHelper1 < ::com::sun::star::frame::XDispatch > OSingleFeatureDispatcher_Base; @@ -121,9 +121,9 @@ namespace svx void getUnoState( ::com::sun::star::frame::FeatureStateEvent& /* [out] */ _rState ) const; }; -//........................................................................ + } // namespace svx -//........................................................................ + #endif diff --git a/svx/source/inc/frmselimpl.hxx b/svx/source/inc/frmselimpl.hxx index c9372708fae0..05c8f94d6111 100644 --- a/svx/source/inc/frmselimpl.hxx +++ b/svx/source/inc/frmselimpl.hxx @@ -30,7 +30,7 @@ namespace svx { namespace a11y { class AccFrameSelector; } -// ============================================================================ + class FrameBorder { @@ -85,7 +85,7 @@ private: bool mbSelected; /// true = Border selected in control. }; -// ============================================================================ + typedef std::vector< FrameBorder* > FrameBorderPtrVec; @@ -227,7 +227,7 @@ struct FrameSelectorImpl : public Resource bool SelectedBordersEqual() const; }; -// ============================================================================ + /** Dummy predicate for frame border iterators to use all borders in a container. */ struct FrameBorderDummy_Pred @@ -293,7 +293,7 @@ typedef FrameBorderIterBase< const FrameBorderPtrVec, FrameBorderPtrVec::const_i typedef FrameBorderIterBase< FrameBorderPtrVec, FrameBorderPtrVec::iterator, FrameBorderSelected_Pred > SelFrameBorderIter; -// ============================================================================ + } // namespace svx diff --git a/svx/source/inc/gridcell.hxx b/svx/source/inc/gridcell.hxx index df3d10d11ecf..db1deda56b3f 100644 --- a/svx/source/inc/gridcell.hxx +++ b/svx/source/inc/gridcell.hxx @@ -51,18 +51,18 @@ class DbCellControl; class Edit; class FmXGridCell; -//================================================================== + // FmMutexHelper -//================================================================== + class FmMutexHelper { protected: ::osl::Mutex m_aMutex; }; -//================================================================== + // DbGridColumn, Spaltenbeschreibung -//================================================================== + class DbGridColumn { friend class DbGridControl; @@ -195,11 +195,11 @@ private: void impl_toggleScriptManager_nothrow( bool _bAttach ); }; -//================================================================== + // DbCellControl, liefert die Daten fuer einen CellController // wird in der Regel nur f\FCr komplexe Controls wie z.B ComboBoxen // benoetigt -//================================================================== + class DbCellControl :public ::svxform::OTypeConversionClient ,public ::svxform::OStaticDataAccessTools @@ -344,28 +344,28 @@ private: void implAdjustEnabled( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxModel ); }; -//================================================================== -//------------------------------------------------------------------ + + inline sal_Bool DbCellControl::isValuePropertyLocked() const { return m_bAccessingValueProperty; } -//------------------------------------------------------------------ + inline void DbCellControl::lockValueProperty() { OSL_ENSURE( !isValuePropertyLocked(), "DbCellControl::lockValueProperty: not to be nested!" ); m_bAccessingValueProperty = sal_True; } -//------------------------------------------------------------------ + inline void DbCellControl::unlockValueProperty() { OSL_ENSURE( isValuePropertyLocked(), "DbCellControl::lockValueProperty: not locked so far!" ); m_bAccessingValueProperty = sal_False; } -//================================================================== + /** a field which is bound to a column which supports the MaxTextLen property */ class DbLimitedLengthField : public DbCellControl @@ -388,7 +388,7 @@ protected: virtual void implSetEffectiveMaxTextLen( sal_Int32 _nMaxLen ); }; -//================================================================== + class DbTextField : public DbLimitedLengthField { ::svt::IEditImplementation* m_pEdit; @@ -422,7 +422,7 @@ protected: virtual void implSetEffectiveMaxTextLen( sal_Int32 _nMaxLen ); }; -//================================================================== + class DbFormattedField : public DbLimitedLengthField { protected: @@ -450,7 +450,7 @@ protected: virtual void _propertyChanged(const ::com::sun::star::beans::PropertyChangeEvent& evt) throw(::com::sun::star::uno::RuntimeException); }; -//================================================================== + class DbCheckBox : public DbCellControl { public: @@ -471,7 +471,7 @@ protected: virtual void updateFromModel( ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > _rxModel ); }; -//================================================================== + class DbComboBox : public DbCellControl { sal_Int16 m_nKeyType; @@ -498,7 +498,7 @@ protected: virtual void _propertyChanged(const ::com::sun::star::beans::PropertyChangeEvent& evt) throw(::com::sun::star::uno::RuntimeException); }; -//================================================================== + class DbListBox :public DbCellControl { sal_Bool m_bBound : 1; @@ -526,7 +526,7 @@ protected: virtual void _propertyChanged(const ::com::sun::star::beans::PropertyChangeEvent& evt) throw(::com::sun::star::uno::RuntimeException); }; -//================================================================== + class DbPatternField : public DbCellControl { public: @@ -555,7 +555,7 @@ private: css::uno::Reference<css::uno::XComponentContext> m_xContext; }; -//================================================================== + class DbSpinField : public DbCellControl { private: @@ -579,7 +579,7 @@ protected: ) = 0; }; -//================================================================== + class DbDateField : public DbSpinField { public: @@ -604,7 +604,7 @@ protected: virtual void implAdjustGenericFieldSetting( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxModel ); }; -//================================================================== + class DbTimeField : public DbSpinField { public: @@ -629,7 +629,7 @@ protected: virtual void implAdjustGenericFieldSetting( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxModel ); }; -//================================================================== + class DbCurrencyField : public DbSpinField { sal_Int16 m_nScale; @@ -658,7 +658,7 @@ protected: virtual void implAdjustGenericFieldSetting( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxModel ); }; -//================================================================== + class DbNumericField : public DbSpinField { public: @@ -683,7 +683,7 @@ protected: void implAdjustGenericFieldSetting( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxModel ); }; -//================================================================== + class DbFilterField :public DbCellControl ,public ::svxform::OSQLParserClient @@ -726,9 +726,9 @@ protected: DECL_LINK( OnClick, void* ); }; -//================================================================== + // Base class providing the access to a grid cell -//================================================================== + typedef ::cppu::ImplHelper2 < ::com::sun::star::awt::XControl , ::com::sun::star::form::XBoundControl > FmXGridCell_Base; @@ -832,7 +832,7 @@ private: DECL_LINK( OnWindowEvent, VclWindowEvent* ); }; -//================================================================== + class FmXDataCell : public FmXGridCell { public: @@ -855,7 +855,7 @@ protected: void UpdateFromColumn(); }; -//================================================================== + class FmXTextCell : public FmXDataCell { protected: @@ -889,7 +889,7 @@ public: {return m_pCellControl->GetFormatText(_rxField, xFormatter, ppColor);} }; -//================================================================== + typedef ::cppu::ImplHelper2 < ::com::sun::star::awt::XTextComponent , ::com::sun::star::form::XChangeBroadcaster > FmXEditCell_Base; @@ -947,7 +947,7 @@ private: void onTextChanged(); }; -//================================================================== + typedef ::cppu::ImplHelper2 < ::com::sun::star::awt::XCheckBox , ::com::sun::star::awt::XButton > FmXCheckBoxCell_Base; @@ -993,7 +993,7 @@ protected: virtual void onWindowEvent( const sal_uLong _nEventId, const Window& _rWindow, const void* _pEventData ); }; -//================================================================== + typedef ::cppu::ImplHelper1 < ::com::sun::star::awt::XListBox > FmXListBoxCell_Base; class FmXListBoxCell :public FmXTextCell @@ -1047,7 +1047,7 @@ protected: DECL_LINK( OnDoubleClick, void* ); }; -//================================================================== + typedef ::cppu::ImplHelper1 < ::com::sun::star::awt::XComboBox > FmXComboBoxCell_Base; class FmXComboBoxCell :public FmXTextCell @@ -1090,7 +1090,7 @@ protected: virtual void onWindowEvent( const sal_uLong _nEventId, const Window& _rWindow, const void* _pEventData ); }; -//================================================================== + typedef ::cppu::ImplHelper2 < ::com::sun::star::awt::XTextComponent , ::com::sun::star::lang::XUnoTunnel > FmXFilterCell_Base; diff --git a/svx/source/inc/gridcols.hxx b/svx/source/inc/gridcols.hxx index 96dfc57ea6ba..a3881dad6510 100644 --- a/svx/source/inc/gridcols.hxx +++ b/svx/source/inc/gridcols.hxx @@ -45,7 +45,7 @@ #define TYPE_TEXTFIELD 8 #define TYPE_TIMEFIELD 9 -//------------------------------------------------------------------------------ + sal_Int32 getColumnTypeByModelName(const OUString& aModelName); diff --git a/svx/source/inc/recoveryui.hxx b/svx/source/inc/recoveryui.hxx index bad688cf22f9..6ddbbc56fb4e 100644 --- a/svx/source/inc/recoveryui.hxx +++ b/svx/source/inc/recoveryui.hxx @@ -37,7 +37,7 @@ namespace svxdr = ::svx::DocRecovery; class RecoveryUI : public ::cppu::WeakImplHelper2< css::lang::XServiceInfo , css::frame::XSynchronousDispatch > // => XDispatch! { - //------------------------------------------- + // const, types, etcpp. private: @@ -50,7 +50,7 @@ class RecoveryUI : public ::cppu::WeakImplHelper2< css::lang::XServiceInfo E_DO_CRASHREPORT }; - //------------------------------------------- + // member private: @@ -66,19 +66,19 @@ class RecoveryUI : public ::cppu::WeakImplHelper2< css::lang::XServiceInfo /** @short TODO */ css::uno::Reference< css::task::XStatusIndicatorFactory > m_xProgressFactory; - //------------------------------------------- + // interface public: - //--------------------------------------- + /** @short TODO */ RecoveryUI(const css::uno::Reference< css::uno::XComponentContext >& xContext); - //--------------------------------------- + /** @short TODO */ virtual ~RecoveryUI(); - //--------------------------------------- + // css.lang.XServiceInfo virtual OUString SAL_CALL getImplementationName() @@ -90,12 +90,12 @@ class RecoveryUI : public ::cppu::WeakImplHelper2< css::lang::XServiceInfo virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(css::uno::RuntimeException); - //--------------------------------------- + virtual com::sun::star::uno::Any SAL_CALL dispatchWithReturnValue(const css::util::URL& aURL, const css::uno::Sequence< css::beans::PropertyValue >& lArguments ) throw(css::uno::RuntimeException); - //--------------------------------------- + // css.frame.XDispatch virtual void SAL_CALL dispatch(const css::util::URL& aURL , @@ -109,14 +109,14 @@ class RecoveryUI : public ::cppu::WeakImplHelper2< css::lang::XServiceInfo const css::util::URL& aURL ) throw(css::uno::RuntimeException); - //--------------------------------------- + // XServiceInfo helper static OUString st_getImplementationName(); static css::uno::Sequence< OUString > st_getSupportedServiceNames(); static css::uno::Reference< css::uno::XInterface > SAL_CALL st_createInstance(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR); - //------------------------------------------- + // helper private: diff --git a/svx/source/inc/sdbdatacolumn.hxx b/svx/source/inc/sdbdatacolumn.hxx index 60c1300261f5..e85091caa5d4 100644 --- a/svx/source/inc/sdbdatacolumn.hxx +++ b/svx/source/inc/sdbdatacolumn.hxx @@ -25,14 +25,14 @@ #include <com/sun/star/sdb/XColumnUpdate.hpp> #include <osl/diagnose.h> -//.............................................................................. + namespace svxform { -//.............................................................................. - //========================================================================== + + //= DataColumn - a class wrapping an object implementing a sdb::DataColumn service - //========================================================================== + class DataColumn { // interfaces needed for sddb::Column @@ -127,8 +127,8 @@ namespace svxform #endif // INCLUDED_SVX_SOURCE_INC_SDBDATACOLUMN_HXX -//.............................................................................. + } // namespace svxform -//.............................................................................. + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/inc/sqlparserclient.hxx b/svx/source/inc/sqlparserclient.hxx index 107edf7280b9..93bb336f8e26 100644 --- a/svx/source/inc/sqlparserclient.hxx +++ b/svx/source/inc/sqlparserclient.hxx @@ -24,14 +24,14 @@ #include "svx/ParseContext.hxx" #include <com/sun/star/lang/XMultiServiceFactory.hpp> -//........................................................................ + namespace svxform { -//........................................................................ - //==================================================================== + + //= OSQLParserClient - //==================================================================== + class SVX_DLLPUBLIC OSQLParserClient : public ODbtoolsClient ,public ::svxform::OParseContextClient { @@ -62,9 +62,9 @@ namespace svxform } }; -//........................................................................ + } // namespace svxform -//........................................................................ + #endif // INCLUDED_SVX_SOURCE_INC_SQLPARSERCLIENT_HXX diff --git a/svx/source/inc/stringlistresource.hxx b/svx/source/inc/stringlistresource.hxx index 613c3f81966c..0a404f354b81 100644 --- a/svx/source/inc/stringlistresource.hxx +++ b/svx/source/inc/stringlistresource.hxx @@ -25,14 +25,14 @@ #include <memory> -//........................................................................ + namespace svx { -//........................................................................ - //==================================================================== + + //= StringListResource - //==================================================================== + /** loads a list of strings from a resource, where the resource is of type RSC_RESOURCE, and has sub resources of type string, numbered from 1 to n */ @@ -70,9 +70,9 @@ namespace svx ::std::vector< OUString > m_aStrings; }; -//........................................................................ + } // namespace svx -//........................................................................ + #endif // INCLUDED_SVX_SOURCE_INC_STRINGLISTRESOURCE_HXX diff --git a/svx/source/inc/tabwin.hxx b/svx/source/inc/tabwin.hxx index 71a4e2a3de45..32a9672d1e51 100644 --- a/svx/source/inc/tabwin.hxx +++ b/svx/source/inc/tabwin.hxx @@ -30,7 +30,7 @@ #include <svtools/transfer.hxx> #include "svx/dbtoolsclient.hxx" -//================================================================== + class FmFieldWin; class FmFieldWinListBox :public SvTreeListBox @@ -57,7 +57,7 @@ protected: using SvTreeListBox::ExecuteDrop; }; -//======================================================================== + class FmFormShell; class FmFieldWinData { @@ -66,7 +66,7 @@ public: ~FmFieldWinData(); }; -//======================================================================== + class FmFieldWin :public SfxFloatingWindow ,public SfxControllerItem ,public ::comphelper::OPropertyChangeListener @@ -119,7 +119,7 @@ protected: using SfxFloatingWindow::StateChanged; }; -//======================================================================== + class FmFieldWinMgr : public SfxChildWindow { public: diff --git a/svx/source/inc/tbxform.hxx b/svx/source/inc/tbxform.hxx index d8c7e2e6fbb5..d0d78912ed93 100644 --- a/svx/source/inc/tbxform.hxx +++ b/svx/source/inc/tbxform.hxx @@ -25,7 +25,7 @@ #include <vcl/button.hxx> -//======================================================================== + class SvxFmAbsRecWin : public NumericField { SfxToolBoxControl* m_pController; @@ -42,7 +42,7 @@ protected: }; -//======================================================================== + class SvxFmConfigWin : public SfxPopupWindow { private: @@ -57,7 +57,7 @@ public: }; -//======================================================================== + class SvxFmTbxCtlConfig : public SfxToolBoxControl { private: @@ -79,7 +79,7 @@ public: virtual SfxPopupWindow* CreatePopupWindow(); }; -//======================================================================== + class FixedText; class SvxFmTbxCtlAbsRec : public SfxToolBoxControl { @@ -95,7 +95,7 @@ public: const SfxPoolItem* pState ); }; -//======================================================================== + class SvxFmTbxCtlRecText : public SfxToolBoxControl { public: @@ -107,7 +107,7 @@ public: virtual Window* CreateItemWindow( Window* pParent ); }; -//======================================================================== + class SvxFmTbxCtlRecFromText : public SfxToolBoxControl { public: @@ -119,7 +119,7 @@ public: virtual Window* CreateItemWindow( Window* pParent ); }; -//======================================================================== + class SvxFmTbxCtlRecTotal : public SfxToolBoxControl { FixedText* pFixedText; @@ -135,7 +135,7 @@ public: const SfxPoolItem* pState ); }; -//======================================================================== + class SvxFmTbxNextRec : public SfxToolBoxControl { public: @@ -143,7 +143,7 @@ public: SvxFmTbxNextRec( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); }; -//======================================================================== + class SvxFmTbxPrevRec : public SfxToolBoxControl { public: diff --git a/svx/source/inc/typeconversionclient.hxx b/svx/source/inc/typeconversionclient.hxx index c21f2b1e06fa..68bebd91d04c 100644 --- a/svx/source/inc/typeconversionclient.hxx +++ b/svx/source/inc/typeconversionclient.hxx @@ -22,14 +22,14 @@ #include "svx/dbtoolsclient.hxx" -//........................................................................ + namespace svxform { -//........................................................................ - //==================================================================== + + //= OTypeConversionClient - //==================================================================== + class OTypeConversionClient : public ODbtoolsClient { protected: @@ -40,7 +40,7 @@ namespace svxform public: OTypeConversionClient(); - // -------------------------------------------------------- + inline ::com::sun::star::util::Date getStandardDate() const { ::com::sun::star::util::Date aReturn; @@ -49,7 +49,7 @@ namespace svxform return aReturn; } - // -------------------------------------------------------- + inline double getValue( const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XColumn>& _rxVariant, const ::com::sun::star::util::Date& _rNullDate ) const @@ -60,7 +60,7 @@ namespace svxform return nReturn; } - // -------------------------------------------------------- + inline OUString getFormattedValue( const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XColumn >& _rxColumn, const ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatter >& _rxFormatter, @@ -75,9 +75,9 @@ namespace svxform } }; -//........................................................................ + } // namespace svxform -//........................................................................ + #endif // INCLUDED_SVX_SOURCE_INC_TYPECONVERSIONCLIENT_HXX diff --git a/svx/source/inc/xfm_addcondition.hxx b/svx/source/inc/xfm_addcondition.hxx index 2e1d48f2d93f..61296b1e939a 100644 --- a/svx/source/inc/xfm_addcondition.hxx +++ b/svx/source/inc/xfm_addcondition.hxx @@ -24,14 +24,14 @@ #include <svtools/genericunodialog.hxx> #include <comphelper/proparrhlp.hxx> -//........................................................................ + namespace svxform { -//........................................................................ - //==================================================================== + + //= OAddConditionDialog - //==================================================================== + typedef ::svt::OGenericUnoDialog OAddConditionDialogBase; class OAddConditionDialog :public OAddConditionDialogBase @@ -74,9 +74,9 @@ namespace svxform virtual void executedDialog(sal_Int16 _nExecutionResult); }; -//........................................................................ + } // namespace svxform -//........................................................................ + #endif // INCLUDED_SVX_SOURCE_INC_XFM_ADDCONDITION_HXX |