diff options
Diffstat (limited to 'xmloff/source/forms/layerexport.hxx')
-rw-r--r-- | xmloff/source/forms/layerexport.hxx | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/xmloff/source/forms/layerexport.hxx b/xmloff/source/forms/layerexport.hxx index fa2042623453..9aa4d881122c 100644 --- a/xmloff/source/forms/layerexport.hxx +++ b/xmloff/source/forms/layerexport.hxx @@ -41,18 +41,18 @@ class SvXMLExportPropertyMapper; namespace xmloff { - typedef ::std::set < ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > + typedef ::std::set < css::uno::Reference< css::beans::XPropertySet > , OPropertySetCompare > PropertySetBag; // maps objects (property sets) to strings, e.g. control ids. - typedef ::std::map < ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > + typedef ::std::map < css::uno::Reference< css::beans::XPropertySet > , OUString , OPropertySetCompare > MapPropertySet2String; // map pages to maps (of property sets to strings) - typedef ::std::map < ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage > + typedef ::std::map < css::uno::Reference< css::drawing::XDrawPage > , MapPropertySet2String , ODrawPageCompare > MapPropertySet2Map; @@ -92,7 +92,7 @@ namespace xmloff // chance, as (if other user-defined formats exist in the document as well) we can't distinguish // between user-defined formats really needed for the doc (i.e. in a calc cell) and formats only added // to the supplier because the controls needed it. - ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormats > + css::uno::Reference< css::util::XNumberFormats > m_xControlNumberFormats; MapPropertySet2Map m_aControlIds; @@ -127,21 +127,21 @@ namespace xmloff /** exports one single grid column */ void exportGridColumn( - const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxColumn, - const ::com::sun::star::uno::Sequence< ::com::sun::star::script::ScriptEventDescriptor >& _rEvents + const css::uno::Reference< css::beans::XPropertySet >& _rxColumn, + const css::uno::Sequence< css::script::ScriptEventDescriptor >& _rEvents ); /** exports one single control */ void exportControl( - const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxControl, - const ::com::sun::star::uno::Sequence< ::com::sun::star::script::ScriptEventDescriptor >& _rEvents + const css::uno::Reference< css::beans::XPropertySet >& _rxControl, + const css::uno::Sequence< css::script::ScriptEventDescriptor >& _rEvents ); /** exports one single form */ - void exportForm(const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxProps, - const ::com::sun::star::uno::Sequence< ::com::sun::star::script::ScriptEventDescriptor >& _rEvents + void exportForm(const css::uno::Reference< css::beans::XPropertySet >& _rxProps, + const css::uno::Sequence< css::script::ScriptEventDescriptor >& _rEvents ); /** seek to the page given. @@ -152,14 +152,14 @@ namespace xmloff getControlId */ bool seekPage( - const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage >& _rxDrawPage); + const css::uno::Reference< css::drawing::XDrawPage >& _rxDrawPage); /** get the id of the given control. <p>You must have sought to the page of the control before calling this.</p> */ OUString - getControlId(const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxControl); + getControlId(const css::uno::Reference< css::beans::XPropertySet >& _rxControl); /** retrieves the style name for the control's number style. @@ -167,13 +167,13 @@ namespace xmloff do not have a number style. In this case, an empty string is returned.</p> */ OUString - getControlNumberStyle( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxControl ); + getControlNumberStyle( const css::uno::Reference< css::beans::XPropertySet >& _rxControl ); // IFormsExportContext - virtual void exportCollectionElements(const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess >& _rxCollection) override; + virtual void exportCollectionElements(const css::uno::Reference< css::container::XIndexAccess >& _rxCollection) override; virtual SvXMLExport& getGlobalContext() override; virtual OUString getObjectStyleName( - const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxObject ) override; + const css::uno::Reference< css::beans::XPropertySet >& _rxObject ) override; virtual ::rtl::Reference< SvXMLExportPropertyMapper > getStylePropertyMapper() override; /** clear any structures which have been build in the recent <method>examine</method> calls. @@ -201,7 +201,7 @@ namespace xmloff @see exportForms */ void examineForms( - const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage >& _rxDrawPage); + const css::uno::Reference< css::drawing::XDrawPage >& _rxDrawPage); /** export a forms collection of a draw page @@ -209,7 +209,7 @@ namespace xmloff <method>exportCollectionElements</method>.</p> */ void exportForms( - const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage >& _rxDrawPage); + const css::uno::Reference< css::drawing::XDrawPage >& _rxDrawPage); /** exports the XForms model data */ @@ -217,7 +217,7 @@ namespace xmloff /** determines whether the given page contains logical forms */ - static bool pageContainsForms( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage >& _rxDrawPage ); + static bool pageContainsForms( const css::uno::Reference< css::drawing::XDrawPage >& _rxDrawPage ); /** determines whether the given page contains XForm instances */ @@ -233,37 +233,37 @@ namespace xmloff protected: static bool impl_isFormPageContainingForms( - const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage >& _rxDrawPage, - ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess >& _rxForms); + const css::uno::Reference< css::drawing::XDrawPage >& _rxDrawPage, + css::uno::Reference< css::container::XIndexAccess >& _rxForms); /** moves the m_aCurrentPage* members to the positions specifying the given page. @return <TRUE/> if there already were structures for the given page */ bool implMoveIterators( - const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage >& _rxDrawPage, + const css::uno::Reference< css::drawing::XDrawPage >& _rxDrawPage, bool _bClear); /** check the object given if it's a control, if so, examine it. @return <TRUE/> if the object has been handled */ - bool checkExamineControl(const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxObject); + bool checkExamineControl(const css::uno::Reference< css::beans::XPropertySet >& _rxObject); /** examines the control's number format, so later the format style can be referred <p>remembers the format key for the control, so it can later be asked for in getControlNumberStyle</p> */ - void examineControlNumberFormat(const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxControl); + void examineControlNumberFormat(const css::uno::Reference< css::beans::XPropertySet >& _rxControl); /** examines the control's number format, so later the format style can be referred <p>does not remember the information returned in any way</p> */ - sal_Int32 implExamineControlNumberFormat( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxObject ); + sal_Int32 implExamineControlNumberFormat( const css::uno::Reference< css::beans::XPropertySet >& _rxObject ); /** collects AutoStyles for grid columns */ - void collectGridColumnStylesAndIds( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxControl ); + void collectGridColumnStylesAndIds( const css::uno::Reference< css::beans::XPropertySet >& _rxControl ); /** ensures that the number format of the given control exist in our own formats supplier. @@ -274,7 +274,7 @@ namespace xmloff the format key of the control's format relative to our own formats supplier */ - sal_Int32 ensureTranslateFormat(const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxFormattedControl); + sal_Int32 ensureTranslateFormat(const css::uno::Reference< css::beans::XPropertySet >& _rxFormattedControl); /// returns the instance exporting our control's number styles SvXMLNumFmtExport* getControlNumberStyleExport(); @@ -285,7 +285,7 @@ namespace xmloff /** determines the number format style for the given object without remembering it */ OUString - getImmediateNumberStyle( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxObject ); + getImmediateNumberStyle( const css::uno::Reference< css::beans::XPropertySet >& _rxObject ); /** returns the prefix to be used for control number styles */ @@ -298,7 +298,7 @@ namespace xmloff to the form layer exporter.<br/> Of course you have to do this before calling <member>exportForms</member></p> */ - void excludeFromExport( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >& _rxControl ); + void excludeFromExport( const css::uno::Reference< css::awt::XControlModel >& _rxControl ); }; } // namespace xmloff |