diff options
-rw-r--r-- | xmloff/source/forms/layerexport.cxx | 31 | ||||
-rw-r--r-- | xmloff/source/forms/layerexport.hxx | 14 |
2 files changed, 0 insertions, 45 deletions
diff --git a/xmloff/source/forms/layerexport.cxx b/xmloff/source/forms/layerexport.cxx index 21950c9c3517..464bb0a08e8c 100644 --- a/xmloff/source/forms/layerexport.cxx +++ b/xmloff/source/forms/layerexport.cxx @@ -277,13 +277,6 @@ namespace xmloff } //--------------------------------------------------------------------- - void OFormLayerXMLExport_Impl::exportControlNumberStyles() - { - if (m_pControlNumberStyles) - m_pControlNumberStyles->Export(sal_False); - } - - //--------------------------------------------------------------------- void OFormLayerXMLExport_Impl::exportAutoControlNumberStyles() { if ( m_pControlNumberStyles ) @@ -383,30 +376,6 @@ namespace xmloff } //--------------------------------------------------------------------- - sal_Bool OFormLayerXMLExport_Impl::seekPage(const Reference< XDrawPage >& _rxDrawPage) - { - sal_Bool bKnownPage = implMoveIterators( _rxDrawPage, sal_False ); - if ( bKnownPage ) - return sal_True; - - // if the page is not yet known, this does not automatically mean that it has - // not been examined. Instead, examineForms returns silently and successfully - // if a page is a XFormsPageSupplier2, but does not have a forms collection - // (This behaviour of examineForms is a performance optimization, to not force - // the page to create a forms container just to see that it's empty.) - - // So, in such a case, seekPage is considered to be successfull, too, though the - // page was not yet known - Reference< XFormsSupplier2 > xFormsSupp( _rxDrawPage, UNO_QUERY ); - if ( xFormsSupp.is() && !xFormsSupp->hasForms() ) - return sal_True; - - // anything else means that the page has not been examined before, or it's no - // valid form page. Both cases are Bad (TM). - return sal_False; - } - - //--------------------------------------------------------------------- ::rtl::OUString OFormLayerXMLExport_Impl::getControlId(const Reference< XPropertySet >& _rxControl) { if (m_aCurrentPageIds == m_aControlIds.end()) diff --git a/xmloff/source/forms/layerexport.hxx b/xmloff/source/forms/layerexport.hxx index 30d89ced4343..dbb918a83509 100644 --- a/xmloff/source/forms/layerexport.hxx +++ b/xmloff/source/forms/layerexport.hxx @@ -152,16 +152,6 @@ namespace xmloff const ::com::sun::star::uno::Sequence< ::com::sun::star::script::ScriptEventDescriptor >& _rEvents ); - /** seek to the page given. - - <p>This must be called before you can retrieve any ids for controls on the page.</p> - - @see - getControlId - */ - sal_Bool seekPage( - const ::com::sun::star::uno::Reference< ::com::sun::star::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> @@ -231,10 +221,6 @@ namespace xmloff */ bool documentContainsXForms() const; - /** exports the controls number styles - */ - void exportControlNumberStyles(); - /** exports the automatic control number styles */ void exportAutoControlNumberStyles(); |