summaryrefslogtreecommitdiff
path: root/xmloff/source/forms/formattributes.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/forms/formattributes.cxx')
-rw-r--r--xmloff/source/forms/formattributes.cxx31
1 files changed, 0 insertions, 31 deletions
diff --git a/xmloff/source/forms/formattributes.cxx b/xmloff/source/forms/formattributes.cxx
index 31989bac7b7d..b1ebf0040d28 100644
--- a/xmloff/source/forms/formattributes.cxx
+++ b/xmloff/source/forms/formattributes.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "formattributes.hxx"
#include <sax/tools/converter.hxx>
@@ -25,20 +24,14 @@
#include "xmloff/xmlnmspe.hxx"
#include <xmloff/xmluconv.hxx>
#include <rtl/ustrbuf.hxx>
-//.........................................................................
namespace xmloff
{
-//.........................................................................
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::beans;
-
- //=====================================================================
//= OAttributeMetaData
- //=====================================================================
- //---------------------------------------------------------------------
const sal_Char* OAttributeMetaData::getCommonControlAttributeName(sal_Int32 _nId)
{
switch (_nId)
@@ -74,7 +67,6 @@ namespace xmloff
return "";
}
- //---------------------------------------------------------------------
sal_uInt16 OAttributeMetaData::getCommonControlAttributeNamespace(sal_Int32 _nId)
{
if (CCA_TARGET_LOCATION == _nId)
@@ -86,7 +78,6 @@ namespace xmloff
return XML_NAMESPACE_FORM;
}
- //---------------------------------------------------------------------
const sal_Char* OAttributeMetaData::getFormAttributeName(FormAttributes _eAttrib)
{
switch (_eAttrib)
@@ -119,7 +110,6 @@ namespace xmloff
return "";
}
- //---------------------------------------------------------------------
sal_uInt16 OAttributeMetaData::getFormAttributeNamespace(FormAttributes _eAttrib)
{
if (faAction == _eAttrib)
@@ -131,7 +121,6 @@ namespace xmloff
return XML_NAMESPACE_FORM;
}
- //---------------------------------------------------------------------
const sal_Char* OAttributeMetaData::getDatabaseAttributeName(sal_Int32 _nId)
{
switch (_nId)
@@ -148,14 +137,12 @@ namespace xmloff
return "";
}
- //---------------------------------------------------------------------
sal_uInt16 OAttributeMetaData::getDatabaseAttributeNamespace(sal_Int32 /*_nId*/)
{
// nothing special here
return XML_NAMESPACE_FORM;
}
- //---------------------------------------------------------------------
const sal_Char* OAttributeMetaData::getBindingAttributeName(sal_Int32 _nId)
{
switch (_nId)
@@ -169,14 +156,12 @@ namespace xmloff
return "";
}
- //---------------------------------------------------------------------
sal_uInt16 OAttributeMetaData::getBindingAttributeNamespace(sal_Int32)
{
// nothing special here
return XML_NAMESPACE_FORM;
}
- //---------------------------------------------------------------------
const sal_Char* OAttributeMetaData::getSpecialAttributeName(sal_Int32 _nId)
{
switch (_nId)
@@ -205,7 +190,6 @@ namespace xmloff
return "";
}
- //---------------------------------------------------------------------
sal_uInt16 OAttributeMetaData::getSpecialAttributeNamespace(sal_Int32 _nId)
{
switch( _nId )
@@ -215,7 +199,6 @@ namespace xmloff
return XML_NAMESPACE_FORM;
}
- //---------------------------------------------------------------------
const sal_Char* OAttributeMetaData::getOfficeFormsAttributeName(OfficeFormsAttributes _eAttrib)
{
switch (_eAttrib)
@@ -228,27 +211,21 @@ namespace xmloff
return "";
}
- //---------------------------------------------------------------------
sal_uInt16 OAttributeMetaData::getOfficeFormsAttributeNamespace(OfficeFormsAttributes /* _eAttrib */)
{
// nothing special here
return XML_NAMESPACE_FORM;
}
- //=====================================================================
//= OAttribute2Property
- //=====================================================================
- //---------------------------------------------------------------------
OAttribute2Property::OAttribute2Property()
{
}
- //---------------------------------------------------------------------
OAttribute2Property::~OAttribute2Property()
{
}
- //---------------------------------------------------------------------
const OAttribute2Property::AttributeAssignment* OAttribute2Property::getAttributeTranslation(
const OUString& _rAttribName)
{
@@ -258,7 +235,6 @@ namespace xmloff
return NULL;
}
- //---------------------------------------------------------------------
void OAttribute2Property::addStringProperty(
const sal_Char* _pAttributeName, const OUString& _rPropertyName,
const sal_Char* _pAttributeDefault)
@@ -267,7 +243,6 @@ namespace xmloff
_pAttributeDefault ? OUString::createFromAscii(_pAttributeDefault) : OUString());
}
- //---------------------------------------------------------------------
void OAttribute2Property::addBooleanProperty(
const sal_Char* _pAttributeName, const OUString& _rPropertyName,
const sal_Bool _bAttributeDefault, const sal_Bool _bInverseSemantics)
@@ -278,7 +253,6 @@ namespace xmloff
aAssignment.bInverseSemantics = _bInverseSemantics;
}
- //---------------------------------------------------------------------
void OAttribute2Property::addInt16Property(
const sal_Char* _pAttributeName, const OUString& _rPropertyName,
const sal_Int16 _nAttributeDefault)
@@ -288,7 +262,6 @@ namespace xmloff
implAdd(_pAttributeName, _rPropertyName, ::getCppuType( static_cast< sal_Int16* >(NULL) ), aDefault.makeStringAndClear());
}
- //---------------------------------------------------------------------
void OAttribute2Property::addInt32Property(
const sal_Char* _pAttributeName, const OUString& _rPropertyName,
const sal_Int32 _nAttributeDefault)
@@ -298,7 +271,6 @@ namespace xmloff
implAdd( _pAttributeName, _rPropertyName, ::getCppuType( static_cast< sal_Int32* >(NULL) ), aDefault.makeStringAndClear() );
}
- //---------------------------------------------------------------------
void OAttribute2Property::addEnumProperty(
const sal_Char* _pAttributeName, const OUString& _rPropertyName,
const sal_uInt16 _nAttributeDefault, const SvXMLEnumMapEntry* _pValueMap,
@@ -313,7 +285,6 @@ namespace xmloff
aAssignment.pEnumMap = _pValueMap;
}
- //---------------------------------------------------------------------
OAttribute2Property::AttributeAssignment& OAttribute2Property::implAdd(
const sal_Char* _pAttributeName, const OUString& _rPropertyName,
const ::com::sun::star::uno::Type& _rType, const OUString& /*_rDefaultString*/)
@@ -332,8 +303,6 @@ namespace xmloff
return m_aKnownProperties[sAttributeName] = aAssignment;
}
-//.........................................................................
} // namespace xmloff
-//.........................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */