diff options
Diffstat (limited to 'xmloff/source/forms/propertyexport.cxx')
-rw-r--r-- | xmloff/source/forms/propertyexport.cxx | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/xmloff/source/forms/propertyexport.cxx b/xmloff/source/forms/propertyexport.cxx index 7e7597b723e2..fa960c9d1646 100644 --- a/xmloff/source/forms/propertyexport.cxx +++ b/xmloff/source/forms/propertyexport.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #include <stdio.h> #include "propertyexport.hxx" #include <xmloff/xmlexp.hxx> @@ -40,10 +39,8 @@ #include <tools/date.hxx> #include <tools/datetime.hxx> -//......................................................................... namespace xmloff { -//......................................................................... using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; @@ -54,10 +51,7 @@ namespace xmloff using namespace ::comphelper; - //===================================================================== //= OPropertyExport - //===================================================================== - //--------------------------------------------------------------------- OPropertyExport::OPropertyExport(IFormsExportContext& _rContext, const Reference< XPropertySet >& _rxProps) :m_rContext(_rContext) ,m_xProps(_rxProps) @@ -77,7 +71,6 @@ namespace xmloff examinePersistence(); } - //--------------------------------------------------------------------- bool OPropertyExport::shouldExportProperty( const OUString& i_propertyName ) const { // if the property state is DEFAULT, it does not need to be written - at least @@ -180,7 +173,6 @@ namespace xmloff AddAttribute(XML_NAMESPACE_OFFICE, eValueAttName, sValue ); } - // start the property tag SvXMLElementExport aValueTag1(m_rContext.getGlobalContext(), XML_NAMESPACE_FORM, @@ -235,7 +227,6 @@ namespace xmloff delete pPropertiesTag; } - //--------------------------------------------------------------------- void OPropertyExport::examinePersistence() { m_aRemainingProps.clear(); @@ -255,7 +246,6 @@ namespace xmloff } } - //--------------------------------------------------------------------- void OPropertyExport::exportStringPropertyAttribute( const sal_uInt16 _nNamespaceKey, const sal_Char* _pAttributeName, const OUString& _rPropertyName ) { @@ -278,7 +268,6 @@ namespace xmloff exportedProperty( _rPropertyName ); } - //--------------------------------------------------------------------- void OPropertyExport::exportBooleanPropertyAttribute(const sal_uInt16 _nNamespaceKey, const sal_Char* _pAttributeName, const OUString& _rPropertyName, const sal_Int8 _nBooleanAttributeFlags) { @@ -317,7 +306,6 @@ namespace xmloff exportedProperty( _rPropertyName ); } - //--------------------------------------------------------------------- void OPropertyExport::exportInt16PropertyAttribute(const sal_uInt16 _nNamespaceKey, const sal_Char* _pAttributeName, const OUString& _rPropertyName, const sal_Int16 _nDefault, bool force) { @@ -341,7 +329,6 @@ namespace xmloff exportedProperty( _rPropertyName ); } - //--------------------------------------------------------------------- void OPropertyExport::exportInt32PropertyAttribute( const sal_uInt16 _nNamespaceKey, const sal_Char* _pAttributeName, const OUString& _rPropertyName, const sal_Int32 _nDefault ) { @@ -365,7 +352,6 @@ namespace xmloff exportedProperty( _rPropertyName ); } - //--------------------------------------------------------------------- void OPropertyExport::exportEnumPropertyAttribute( const sal_uInt16 _nNamespaceKey, const sal_Char* _pAttributeName, const OUString &rPropertyName, const SvXMLEnumMapEntry* _pValueMap, @@ -400,7 +386,6 @@ namespace xmloff exportedProperty(rPropertyName); } - //--------------------------------------------------------------------- void OPropertyExport::exportTargetFrameAttribute() { DBG_CHECK_PROPERTY( PROPERTY_TARGETFRAME, OUString ); @@ -416,7 +401,6 @@ namespace xmloff exportedProperty(PROPERTY_TARGETFRAME); } - //--------------------------------------------------------------------- void OPropertyExport::exportRelativeTargetLocation(const OUString& _sPropertyName,sal_Int32 _nProperty,bool _bAddType) { DBG_CHECK_PROPERTY( _sPropertyName, OUString ); @@ -436,7 +420,6 @@ namespace xmloff exportedProperty(_sPropertyName); } - //--------------------------------------------------------------------- void OPropertyExport::flagStyleProperties() { // flag all the properties which are part of the style as "handled" @@ -461,7 +444,6 @@ namespace xmloff exportedProperty( "WritingMode" ); } - //--------------------------------------------------------------------- void OPropertyExport::exportGenericPropertyAttribute( const sal_uInt16 _nAttributeNamespaceKey, const sal_Char* _pAttributeName, const sal_Char* _pPropertyName) { @@ -490,7 +472,6 @@ namespace xmloff AddAttribute(_nAttributeNamespaceKey, _pAttributeName, sValue); } - //--------------------------------------------------------------------- void OPropertyExport::exportStringSequenceAttribute(const sal_uInt16 _nAttributeNamespaceKey, const sal_Char* _pAttributeName, const OUString& _rPropertyName, const sal_Unicode _aQuoteCharacter, const sal_Unicode _aListSeparator) @@ -538,7 +519,6 @@ namespace xmloff exportedProperty( _rPropertyName ); } - //--------------------------------------------------------------------- OUString OPropertyExport::implConvertAny(const Any& _rValue) { OUStringBuffer aBuffer; @@ -624,8 +604,6 @@ namespace xmloff return aBuffer.makeStringAndClear(); } - - //--------------------------------------------------------------------- token::XMLTokenEnum OPropertyExport::implGetPropertyXMLType(const ::com::sun::star::uno::Type& _rType) { // handle the type description @@ -649,7 +627,6 @@ namespace xmloff } #ifdef DBG_UTIL - //--------------------------------------------------------------------- void OPropertyExport::AddAttribute(sal_uInt16 _nPrefix, const sal_Char* _pName, const OUString& _rValue) { OSL_ENSURE(m_rContext.getGlobalContext().GetXAttrList()->getValueByName(OUString::createFromAscii(_pName)).isEmpty(), @@ -658,7 +635,6 @@ namespace xmloff m_rContext.getGlobalContext().AddAttribute(_nPrefix, _pName, _rValue); } - //--------------------------------------------------------------------- void OPropertyExport::AddAttribute( sal_uInt16 _nPrefix, const OUString& _rName, const OUString& _rValue ) { OSL_ENSURE(m_rContext.getGlobalContext().GetXAttrList()->getValueByName( _rName ).isEmpty(), @@ -667,7 +643,6 @@ namespace xmloff m_rContext.getGlobalContext().AddAttribute( _nPrefix, _rName, _rValue ); } - //--------------------------------------------------------------------- void OPropertyExport::AddAttributeASCII(sal_uInt16 _nPrefix, const sal_Char* _pName, const sal_Char *pValue) { OSL_ENSURE(m_rContext.getGlobalContext().GetXAttrList()->getValueByName(OUString::createFromAscii(_pName)).isEmpty(), @@ -676,7 +651,6 @@ namespace xmloff m_rContext.getGlobalContext().AddAttributeASCII(_nPrefix, _pName, pValue); } - //--------------------------------------------------------------------- void OPropertyExport::AddAttribute(sal_uInt16 _nPrefix, ::xmloff::token::XMLTokenEnum _eName, const OUString& _rValue) { OSL_ENSURE(m_rContext.getGlobalContext().GetXAttrList()->getValueByName(::xmloff::token::GetXMLToken(_eName)).isEmpty(), @@ -685,7 +659,6 @@ namespace xmloff m_rContext.getGlobalContext().AddAttribute(_nPrefix, _eName, _rValue); } - //--------------------------------------------------------------------- void OPropertyExport::AddAttribute(sal_uInt16 _nPrefix, ::xmloff::token::XMLTokenEnum _eName, ::xmloff::token::XMLTokenEnum _eValue ) { OSL_ENSURE(m_rContext.getGlobalContext().GetXAttrList()->getValueByName(::xmloff::token::GetXMLToken(_eName)).isEmpty(), @@ -694,7 +667,6 @@ namespace xmloff m_rContext.getGlobalContext().AddAttribute(_nPrefix, _eName, _eValue); } - //--------------------------------------------------------------------- void OPropertyExport::dbg_implCheckProperty(const OUString& _rPropertyName, const Type* _pType) { try @@ -722,9 +694,6 @@ namespace xmloff } #endif // DBG_UTIL - dbg_implCheckProperty -//......................................................................... } // namespace xmloff -//......................................................................... - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |