summaryrefslogtreecommitdiff
path: root/autodoc/source/ary
diff options
context:
space:
mode:
Diffstat (limited to 'autodoc/source/ary')
-rw-r--r--autodoc/source/ary/adoc/a_docuaccess.cxx276
-rw-r--r--autodoc/source/ary/adoc/makefile.mk56
-rw-r--r--autodoc/source/ary/cpp/c_class.cxx38
-rw-r--r--autodoc/source/ary/cpp/c_define.cxx32
-rw-r--r--autodoc/source/ary/cpp/c_enum.cxx8
-rw-r--r--autodoc/source/ary/cpp/c_enuval.cxx6
-rw-r--r--autodoc/source/ary/cpp/c_funct.cxx13
-rw-r--r--autodoc/source/ary/cpp/c_macro.cxx47
-rw-r--r--autodoc/source/ary/cpp/c_osigna.cxx6
-rw-r--r--autodoc/source/ary/cpp/c_reposypart.cxx1
-rw-r--r--autodoc/source/ary/cpp/c_traits.cxx29
-rw-r--r--autodoc/source/ary/cpp/c_tydef.cxx8
-rw-r--r--autodoc/source/ary/cpp/c_vari.cxx9
-rw-r--r--autodoc/source/ary/cpp/tplparam.cxx29
-rw-r--r--autodoc/source/ary/cpp/tplparam.hxx21
-rw-r--r--autodoc/source/ary/cpp/usedtype.cxx27
-rw-r--r--autodoc/source/ary/doc/d_docu.cxx9
-rw-r--r--autodoc/source/ary/doc/d_hypertext.cxx82
-rw-r--r--autodoc/source/ary/doc/d_namedlist.cxx148
-rw-r--r--autodoc/source/ary/doc/d_node.cxx5
-rw-r--r--autodoc/source/ary/doc/d_oldcppdocu.cxx12
-rw-r--r--autodoc/source/ary/doc/d_struct.cxx121
-rw-r--r--autodoc/source/ary/doc/d_summary.cxx88
-rw-r--r--autodoc/source/ary/doc/d_unit.cxx63
-rw-r--r--autodoc/source/ary/doc/dht_component.cxx117
-rw-r--r--autodoc/source/ary/doc/dht_helper.cxx88
-rw-r--r--autodoc/source/ary/doc/dht_helper.hxx75
-rw-r--r--autodoc/source/ary/doc/dht_html.cxx71
-rw-r--r--autodoc/source/ary/doc/dht_link2ce.cxx91
-rw-r--r--autodoc/source/ary/doc/dht_link2param.cxx80
-rw-r--r--autodoc/source/ary/doc/dht_link2unknown.cxx91
-rw-r--r--autodoc/source/ary/doc/dht_link2url.cxx91
-rw-r--r--autodoc/source/ary/doc/dht_plain.cxx71
-rw-r--r--autodoc/source/ary/doc/dht_stream.cxx222
-rw-r--r--autodoc/source/ary/doc/dht_white.cxx149
-rw-r--r--autodoc/source/ary/doc/makefile.mk18
-rw-r--r--autodoc/source/ary/idl/i_module.cxx42
-rw-r--r--autodoc/source/ary/idl/i_namelookup.cxx32
-rw-r--r--autodoc/source/ary/idl/i_param.cxx9
-rw-r--r--autodoc/source/ary/idl/i_strconst.cxx72
-rw-r--r--autodoc/source/ary/idl/i_strconst.hxx68
-rw-r--r--autodoc/source/ary/idl/i_traits.cxx11
-rw-r--r--autodoc/source/ary/idl/it_builtin.cxx1
-rw-r--r--autodoc/source/ary/idl/it_ce.cxx1
-rw-r--r--autodoc/source/ary/idl/it_explicit.cxx1
-rw-r--r--autodoc/source/ary/idl/it_sequence.cxx1
-rw-r--r--autodoc/source/ary/idl/it_tplparam.cxx1
-rw-r--r--autodoc/source/ary/idl/it_xnameroom.cxx1
-rw-r--r--autodoc/source/ary/idl/makefile.mk1
-rw-r--r--autodoc/source/ary/inc/instlist.hxx55
-rw-r--r--autodoc/source/ary/inc/nametree.hxx87
-rw-r--r--autodoc/source/ary/inc/slots.hxx33
-rw-r--r--autodoc/source/ary/kernel/instlist.cxx52
-rw-r--r--autodoc/source/ary/kernel/makefile.mk6
-rw-r--r--autodoc/source/ary/kernel/nametree.cxx106
-rw-r--r--autodoc/source/ary/kernel/segmentedname.cxx272
-rw-r--r--autodoc/source/ary/kernel/slots.cxx63
-rw-r--r--autodoc/source/ary/kernel/x_ary.cxx77
-rw-r--r--autodoc/source/ary/loc/loc_dir.cxx10
-rw-r--r--autodoc/source/ary/loc/loc_filebase.cxx12
-rw-r--r--autodoc/source/ary/loc/loc_traits.cxx28
61 files changed, 3 insertions, 3337 deletions
diff --git a/autodoc/source/ary/adoc/a_docuaccess.cxx b/autodoc/source/ary/adoc/a_docuaccess.cxx
deleted file mode 100644
index 15afdd3f7906..000000000000
--- a/autodoc/source/ary/adoc/a_docuaccess.cxx
+++ /dev/null
@@ -1,276 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * $RCSfile: a_docuaccess.cxx,v $
- * $Revision: 1.3 $
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#include <precomp.h>
-#include <ary/adoc/a_docuaccess.hxx>
-
-
-// NOT FULLY DEFINED SERVICES
-#include <ary/doc/d_boolean.hxx>
-#include <ary/doc/d_docu.hxx>
-#include <ary/doc/d_namedlist.hxx>
-#include <ary/doc/d_parametrized.hxx>
-#include <ary/doc/d_struct.hxx>
-#include <ary/doc/d_unit.hxx>
-
-
-
-
-namespace ary
-{
-namespace adoc
-{
-
-using namespace ::ary::doc;
-typedef ::ary::doc::nodetype::id nt;
-
-
-
-inline ary::doc::Struct &
-DocuAccess::Data()
-{
- csv_assert(pContainer != 0);
- if (pData != 0)
- return *pData;
- return Get_Data();
-}
-
-
-
-
-
-DocuAccess::DocuAccess( ary::doc::Documentation * io_docu )
- : pContainer(io_docu)
-{
-}
-
-
-ary::doc::Documentation *
-DocuAccess::Assign_Container( ary::doc::Documentation * io_docu )
-{
- ary::doc::Documentation *
- ret = Release_Container();
- pContainer = io_docu;
- return ret;
-}
-
-ary::doc::Documentation *
-DocuAccess::Release_Container()
-{
- // KORR_FUTURE
- // Is this enough?
- return pContainer;
-}
-
-void
-DocuAccess::Set_Deprecated()
-{
- Data().Add_Node(* new Boolean( nt(ti_deprecated) ));
-}
-
-void
-DocuAccess::Set_Internal()
-{
- Data().Add_Node(* new Boolean( nt(ti_internal) ));
-}
-
-void
-DocuAccess::Set_Published()
-{
- Data().Add_Node(* new Boolean( nt(ti_published) ));
-}
-
-ary::doc::HyperText &
-DocuAccess::Add_Description()
-{
- Unit &
- nu = * new Unit( nt(ti_descr) );
- Data().Add_Node(nu);
- return nu.Doc();
-}
-
-ary::doc::HyperText &
-DocuAccess::Add_StdTag( E_TagId i_tag )
-{
- Unit &
- nu = * new Unit( nt(i_tag) );
- Data().Add_Node(nu);
- return nu.Doc();
-}
-
-ary::doc::HyperText &
-DocuAccess::Add_base( const String & i_baseTypeName )
-{
- Unit &
- nu = * new Unit( nt(ti_base) );
- Get_List(ti_base).Add_Node( i_baseTypeName,
- nu,
- NamedList::hdn_put_together );
- return nu.Doc();
-}
-
-ary::doc::HyperText &
-DocuAccess::Add_collab( const String & i_partner )
-{
- Parametrized<String> &
- np = * new Parametrized<String>( nt(ti_collab), i_partner );
- Data().Add_Node(np);
- return np.Doc();
-}
-
-ary::doc::HyperText &
-DocuAccess::Add_key( const String & i_keyWord )
-{
- Parametrized<String> &
- np = * new Parametrized<String>( nt(ti_key), i_keyWord );
- Data().Add_Node(np);
- return np.Doc();
-}
-
-typedef std::pair<String, String> ParamNameAndRange;
-
-ary::doc::HyperText &
-DocuAccess::Add_param( const String & i_parameterName,
- const String & i_validRange )
-{
- NamedList &
- params = Get_List(ti_param);
-
- Parametrized<ParamNameAndRange> &
- np = * new Parametrized<ParamNameAndRange>(
- nt(ti_param),
- ParamNameAndRange(i_parameterName,i_validRange) );
- params.Add_Node( i_parameterName,
- np,
- NamedList::hdn_put_together );
- return np.Doc();
-}
-
-ary::doc::HyperText &
-DocuAccess::Add_see( const String & i_referencedEntity )
-{
- Parametrized<String> &
- np = * new Parametrized<String>( nt(ti_see), i_referencedEntity );
- Data().Add_Node(np);
- return np.Doc();
-}
-
-typedef std::pair<String, String> SinceInfo;
-
-ary::doc::HyperText &
-DocuAccess::Add_since( const String & i_versionId,
- const String & i_fullVersionText )
-{
- Parametrized<SinceInfo> &
- np = * new Parametrized<SinceInfo>(
- nt(ti_since),
- SinceInfo(i_versionId, i_fullVersionText) );
- Data().Add_Node(np);
- return np.Doc();
-}
-
-ary::doc::HyperText &
-DocuAccess::Add_throws( const String & i_exceptionName )
-{
- Parametrized<String> &
- np = * new Parametrized<String>(
- nt(ti_throws),
- i_exceptionName );
- Data().Add_Node(np);
- return np.Doc();
-}
-
-ary::doc::HyperText &
-DocuAccess::Add_tpl( const String & i_templateParameter )
-{
- Unit &
- nu = * new Unit( nt(ti_tpl) );
- Get_List(ti_tpl).Add_Node( i_templateParameter,
- nu,
- NamedList::hdn_put_together );
- return nu.Doc();
-}
-
-ary::doc::HyperText &
-DocuAccess::Add_ExtraTag( const String & i_tagName )
-{
- Unit &
- nu = * new Unit( nt(ti_extra) );
- Get_List(ti_extra).Add_Node( i_tagName,
- nu,
- NamedList::hdn_normal );
- return nu.Doc();
-}
-
-ary::doc::HyperText &
-DocuAccess::Add_TagWithMissingParameter(E_TagId i_tag)
-{
- // KORR
-
- Parametrized<bool> &
- np = * new Parametrized<bool>(
- nt(i_tag),
- false );
- Data().Add_Node(np);
- return np.Doc();
-}
-
-const int C_MainStructNodeId = 1;
-
-ary::doc::Struct &
-DocuAccess::Get_Data()
-{
- csv_assert(pContainer != 0);
- if (pContainer->Data() == 0)
- {
- pContainer->Set_Data(* new Struct(C_MainStructNodeId));
- }
-
- // KORR - was, wenn keine struct da ist?
- pData = dynamic_cast< Struct* >(pContainer->Data());
- return *pData;
-}
-
-ary::doc::NamedList &
-DocuAccess::Get_List(E_TagId i_tag)
-{
- Node *
- ret = Data().Slot( nt(i_tag) );
- if (ret == 0)
- ret = & Data().Add_Node(* new NamedList( nt(i_tag) ));
- csv_assert( dynamic_cast< NamedList* >(ret) != 0 );
- return static_cast< NamedList& >(*ret);
-}
-
-
-
-
-} // Namespace adoc
-} // Namespace ary
diff --git a/autodoc/source/ary/adoc/makefile.mk b/autodoc/source/ary/adoc/makefile.mk
deleted file mode 100644
index 44147a133acc..000000000000
--- a/autodoc/source/ary/adoc/makefile.mk
+++ /dev/null
@@ -1,56 +0,0 @@
-#*************************************************************************
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# Copyright 2008 by Sun Microsystems, Inc.
-#
-# OpenOffice.org - a multi-platform office productivity suite
-#
-# $RCSfile: makefile.mk,v $
-#
-# $Revision: 1.3 $
-#
-# This file is part of OpenOffice.org.
-#
-# OpenOffice.org is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License version 3
-# only, as published by the Free Software Foundation.
-#
-# OpenOffice.org is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License version 3 for more details
-# (a copy is included in the LICENSE file that accompanied this code).
-#
-# You should have received a copy of the GNU Lesser General Public License
-# version 3 along with OpenOffice.org. If not, see
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-PRJ=..$/..$/..
-
-PRJNAME=autodoc
-TARGET=ary_adoc
-
-
-# --- Settings -----------------------------------------------------
-
-ENABLE_EXCEPTIONS=true
-PRJINC=$(PRJ)$/source
-
-.INCLUDE : settings.mk
-.INCLUDE : $(PRJ)$/source$/mkinc$/fullcpp.mk
-
-
-# --- Files --------------------------------------------------------
-
-
-OBJFILES= \
- $(OBJ)$/a_docuaccess.obj
-
-
-# --- Targets ------------------------------------------------------
-
-.INCLUDE : target.mk
diff --git a/autodoc/source/ary/cpp/c_class.cxx b/autodoc/source/ary/cpp/c_class.cxx
index 906eba7b67bc..1847c767a24b 100644
--- a/autodoc/source/ary/cpp/c_class.cxx
+++ b/autodoc/source/ary/cpp/c_class.cxx
@@ -43,29 +43,6 @@ namespace ary
namespace cpp
{
-
-Class::Class()
- : aEssentials(),
- aAssignedNode(),
- aBaseClasses(),
- aTemplateParameterTypes(),
- aClasses(),
- aEnums(),
- aTypedefs(),
- aOperations(),
- aStaticOperations(),
- aData(),
- aStaticData(),
- aFriendClasses(),
- aFriendOperations(),
- aKnownDerivatives(),
- eClassKey(CK_class),
- eProtection(PROTECT_global),
- eVirtuality(VIRTUAL_none)
-{
- aAssignedNode.Assign_Entity(*this);
-}
-
Class::Class( const String & i_sLocalName,
Ce_id i_nOwner,
E_Protection i_eProtection,
@@ -306,20 +283,5 @@ Class::PosOfName( const List_LocalCe & i_rList,
return i_rList.end();
}
-Class::Iterator_Locals
-Class::PosOfName( List_LocalCe & i_rList,
- const String & i_sName )
-{
- for ( Iterator_Locals ret = i_rList.begin();
- ret != i_rList.end();
- ++ret )
- {
- if ( (*ret).sLocalName == i_sName )
- return ret;
- }
- return i_rList.end();
-}
-
-
} // namespace cpp
} // namespace ary
diff --git a/autodoc/source/ary/cpp/c_define.cxx b/autodoc/source/ary/cpp/c_define.cxx
index e631029f2fc6..fdcaf9645a96 100644
--- a/autodoc/source/ary/cpp/c_define.cxx
+++ b/autodoc/source/ary/cpp/c_define.cxx
@@ -75,37 +75,5 @@ Define::inq_DefinitionText() const
return aDefinition;
}
-void
-Define::GetText( StreamStr & o_rText ) const
-{
- if ( aDefinition.begin() == aDefinition.end() )
- return;
-
-
- bool bSwitch_Stringify = false;
- bool bSwitch_Concatenate = false;
-
- for ( StringVector::const_iterator it = aDefinition.begin();
- it != aDefinition.end();
- ++it )
- {
- if ( HandleOperatorsBeforeTextItem( o_rText,
- bSwitch_Stringify,
- bSwitch_Concatenate,
- *it ) )
- {
- continue;
- }
-
- o_rText << (*it);
-
- Do_bStringify_end(o_rText, bSwitch_Stringify);
- o_rText << " ";
- }
- o_rText.seekp(-1, csv::cur);
-}
-
-
-
} // namespace cpp
} // namespace ary
diff --git a/autodoc/source/ary/cpp/c_enum.cxx b/autodoc/source/ary/cpp/c_enum.cxx
index 574cf9aaa232..520411258db3 100644
--- a/autodoc/source/ary/cpp/c_enum.cxx
+++ b/autodoc/source/ary/cpp/c_enum.cxx
@@ -44,14 +44,6 @@ namespace ary
namespace cpp
{
-
-Enum::Enum()
- : aEssentials(),
- aValues(),
- eProtection(PROTECT_global)
-{
-}
-
Enum::Enum( const String & i_sLocalName,
Ce_id i_nOwner,
E_Protection i_eProtection,
diff --git a/autodoc/source/ary/cpp/c_enuval.cxx b/autodoc/source/ary/cpp/c_enuval.cxx
index 985023db6e2d..9406a004f917 100644
--- a/autodoc/source/ary/cpp/c_enuval.cxx
+++ b/autodoc/source/ary/cpp/c_enuval.cxx
@@ -41,12 +41,6 @@ namespace cpp
{
-EnumValue::EnumValue()
-// : aEssentials,
- // sInitialisation
-{
-}
-
EnumValue::EnumValue( const String & i_sLocalName,
Ce_id i_nOwner,
String i_sInitialisation )
diff --git a/autodoc/source/ary/cpp/c_funct.cxx b/autodoc/source/ary/cpp/c_funct.cxx
index a8ecc903c5e7..bd8ad201b5a0 100644
--- a/autodoc/source/ary/cpp/c_funct.cxx
+++ b/autodoc/source/ary/cpp/c_funct.cxx
@@ -84,19 +84,6 @@ namespace ary
namespace cpp
{
-Function::Function()
- : aEssentials(),
- aTemplateParameterTypes(),
- aSignature(),
- nReturnType(0),
- eProtection(PROTECT_global),
- eVirtuality(VIRTUAL_none),
- aFlags(),
- aParameterInfos(),
- pExceptions()
-{
-}
-
Function::Function( const String & i_sLocalName,
Ce_id i_nOwner,
E_Protection i_eProtection,
diff --git a/autodoc/source/ary/cpp/c_macro.cxx b/autodoc/source/ary/cpp/c_macro.cxx
index 23e4b3cebe4d..ab9b1f70dd42 100644
--- a/autodoc/source/ary/cpp/c_macro.cxx
+++ b/autodoc/source/ary/cpp/c_macro.cxx
@@ -77,52 +77,5 @@ Macro::inq_DefinitionText() const
return aDefinition;
}
-void
-Macro::GetText( StreamStr & o_rText,
- const StringVector & i_rGivenArguments ) const
-{
- bool bSwitch_Stringify = false;
- bool bSwitch_Concatenate = false;
- intt nActiveParamNr = -1;
-
- if ( aDefinition.begin() == aDefinition.end() )
- return;
-
- for ( StringVector::const_iterator it = aDefinition.begin();
- it != aDefinition.end();
- ++it )
- {
- if ( HandleOperatorsBeforeTextItem( o_rText,
- bSwitch_Stringify,
- bSwitch_Concatenate,
- *it ) )
- {
- continue;
- }
-
- for ( StringVector::const_iterator param_it = aParams.begin();
- param_it != aParams.end() AND nActiveParamNr == -1;
- ++param_it )
- {
- if ( strcmp(*it, *param_it) == 0 )
- nActiveParamNr = param_it - aParams.begin();
- }
- if ( nActiveParamNr == -1 )
- {
- o_rText << (*it);
- }
- else
- {
- o_rText << i_rGivenArguments[nActiveParamNr];
- nActiveParamNr = -1;
- }
-
- Do_bStringify_end(o_rText, bSwitch_Stringify);
- o_rText << " ";
- }
- o_rText.seekp(-1, csv::cur);
-}
-
-
} // namespace cpp
} // namespace ary
diff --git a/autodoc/source/ary/cpp/c_osigna.cxx b/autodoc/source/ary/cpp/c_osigna.cxx
index 758b583b7892..4842d1b15f9c 100644
--- a/autodoc/source/ary/cpp/c_osigna.cxx
+++ b/autodoc/source/ary/cpp/c_osigna.cxx
@@ -41,12 +41,6 @@ namespace cpp
{
-OperationSignature::OperationSignature()
- : // aParameterTypes,
- eConVol(CONVOL_none)
-{
-}
-
OperationSignature::OperationSignature( std::vector<Type_id> i_parameterTypes,
E_ConVol i_conVol )
: aParameterTypes(i_parameterTypes),
diff --git a/autodoc/source/ary/cpp/c_reposypart.cxx b/autodoc/source/ary/cpp/c_reposypart.cxx
index 1a2f7daa39d3..ece40fa5ca95 100644
--- a/autodoc/source/ary/cpp/c_reposypart.cxx
+++ b/autodoc/source/ary/cpp/c_reposypart.cxx
@@ -51,7 +51,6 @@
#include <ary/loc/locp_le.hxx>
#include <ary/getncast.hxx>
#include <loc_internalgate.hxx>
-#include <nametree.hxx>
#include <reposy.hxx>
#include "ca_ce.hxx"
#include "ca_def.hxx"
diff --git a/autodoc/source/ary/cpp/c_traits.cxx b/autodoc/source/ary/cpp/c_traits.cxx
index 16a4d9198b43..23e9bd4fd626 100644
--- a/autodoc/source/ary/cpp/c_traits.cxx
+++ b/autodoc/source/ary/cpp/c_traits.cxx
@@ -61,15 +61,6 @@ Ce_Traits::EntityOf_(id_type i_id)
return Ce_Storage::Instance_()[i_id];
}
-Ce_Traits::id_type
-Ce_Traits::IdOf_(const entity_base_type & i_entity)
-{
- return i_entity.CeId();
-}
-
-
-
-
//******************** CeNode_Traits ********************//
const symtree::Node<CeNode_Traits> *
CeNode_Traits::NodeOf_(const entity_base_type & i_entity)
@@ -91,12 +82,6 @@ CeNode_Traits::NodeOf_(entity_base_type & io_entity)
return 0;
}
-const String &
-CeNode_Traits::LocalNameOf_(const entity_base_type & i_entity)
-{
- return i_entity.LocalName();
-}
-
Ce_Traits::entity_base_type *
CeNode_Traits::ParentOf_(const entity_base_type & i_entity)
{
@@ -195,13 +180,6 @@ Def_Traits::EntityOf_(id_type i_id)
return Def_Storage::Instance_()[i_id];
}
-Def_Traits::id_type
-Def_Traits::IdOf_(const entity_base_type & i_entity)
-{
- return i_entity.DefId();
-}
-
-
//******************** Def_Compare ********************//
const Def_Compare::key_type &
Def_Compare::KeyOf_(const entity_base_type & i_entity)
@@ -227,13 +205,6 @@ Type_Traits::EntityOf_(id_type i_id)
return Type_Storage::Instance_()[i_id];
}
-Type_Traits::id_type
-Type_Traits::IdOf_(const entity_base_type & i_entity)
-{
- return i_entity.TypeId();
-}
-
-
//******************** Type_Compare ********************//
const UsedType_Compare::key_type &
UsedType_Compare::KeyOf_(const entity_base_type & i_entity)
diff --git a/autodoc/source/ary/cpp/c_tydef.cxx b/autodoc/source/ary/cpp/c_tydef.cxx
index 04a29d3922d5..d7927efd27a5 100644
--- a/autodoc/source/ary/cpp/c_tydef.cxx
+++ b/autodoc/source/ary/cpp/c_tydef.cxx
@@ -44,14 +44,6 @@ namespace ary
namespace cpp
{
-
-Typedef::Typedef()
- : // aEssentials,
- nDescribingType(0),
- eProtection(PROTECT_global)
-{
-}
-
Typedef::Typedef( const String & i_sLocalName,
Cid i_nOwner,
E_Protection i_eProtection,
diff --git a/autodoc/source/ary/cpp/c_vari.cxx b/autodoc/source/ary/cpp/c_vari.cxx
index ecc18f039e31..32dbac810112 100644
--- a/autodoc/source/ary/cpp/c_vari.cxx
+++ b/autodoc/source/ary/cpp/c_vari.cxx
@@ -41,15 +41,6 @@ namespace ary
namespace cpp
{
-
-Variable::Variable()
- : // aEssentials,
- nType(0),
- eProtection(PROTECT_global)
- // aFlags
-{
-}
-
Variable::Variable( const String & i_sLocalName,
Cid i_nOwner,
E_Protection i_eProtection,
diff --git a/autodoc/source/ary/cpp/tplparam.cxx b/autodoc/source/ary/cpp/tplparam.cxx
index d7a4e0b69849..b773f8777d57 100644
--- a/autodoc/source/ary/cpp/tplparam.cxx
+++ b/autodoc/source/ary/cpp/tplparam.cxx
@@ -72,35 +72,6 @@ TplParameter_Type::Get_Text( StreamStr & o_rOut,
i_rGate.Types().Get_TypeText( o_rOut, nType );
}
-TplParameter_Const::TplParameter_Const( const String & i_sConst )
- : sConstant(i_sConst)
-{
-}
-
-TplParameter_Const::~TplParameter_Const()
-{
-}
-
-intt
-TplParameter_Const::Compare( const TemplateParameter & i_rOther ) const
-{
- const TplParameter_Const * pOther
- = dynamic_cast< const TplParameter_Const* >( &i_rOther );
- if (pOther == 0)
- return +1;
-
- return strcmp( sConstant.c_str(), pOther->sConstant.c_str() );
-}
-
-void
-TplParameter_Const::Get_Text( StreamStr & o_out,
- const ary::cpp::Gate & ) const
-{
- o_out << sConstant;
-}
-
-
-
} // namespace ut
} // namespace cpp
} // namespace ary
diff --git a/autodoc/source/ary/cpp/tplparam.hxx b/autodoc/source/ary/cpp/tplparam.hxx
index 242ccebea933..5a937963e01b 100644
--- a/autodoc/source/ary/cpp/tplparam.hxx
+++ b/autodoc/source/ary/cpp/tplparam.hxx
@@ -81,27 +81,6 @@ class TplParameter_Type : public TemplateParameter
Tid nType;
};
-class TplParameter_Const : public TemplateParameter
-{
- public:
- TplParameter_Const(
- const String & i_sConst );
- ~TplParameter_Const();
-
- virtual intt Compare(
- const TemplateParameter &
- i_rOther ) const;
- virtual void Get_Text(
- StreamStr & o_rOut,
- const ary::cpp::Gate &
- i_rGate ) const;
- private:
- String sConstant;
-};
-
-
-
-
} // namespace ut
} // namespace cpp
} // namespace ary
diff --git a/autodoc/source/ary/cpp/usedtype.cxx b/autodoc/source/ary/cpp/usedtype.cxx
index 4896e74e197f..e60b60492c4e 100644
--- a/autodoc/source/ary/cpp/usedtype.cxx
+++ b/autodoc/source/ary/cpp/usedtype.cxx
@@ -47,7 +47,6 @@
#include <ary/cpp/cp_type.hxx>
#include <ary/doc/d_oldcppdocu.hxx>
#include <ary/getncast.hxx>
-#include <instlist.hxx>
#include "tplparam.hxx"
@@ -211,11 +210,6 @@ UsedType::Enter_Template()
}
void
-UsedType::LeaveTemplate()
-{
-}
-
-void
UsedType::Set_Unsigned()
{
eTypeSpecialisation = TYSP_unsigned;
@@ -308,8 +302,7 @@ UsedType::Connect2CeOnlyKnownViaBaseClass(const Gate & i_gate)
// If there are no matches, or only one match that was already
// accepted, all work is done.
- if ( nRelatedCe.IsValid()
- AND instances.size() == 1
+ if ( (nRelatedCe.IsValid() AND instances.size() == 1)
OR instances.size() == 0 )
return;
@@ -532,24 +525,6 @@ List_TplParameter::AddParam_Type( Type_id i_nType )
}
void
-List_TplParameter::AddParam_Constant( const String & i_sConst )
-{
- aTplParameters.push_back( new TplParameter_Const(i_sConst) );
-}
-
-List_TplParameter::const_iterator
-List_TplParameter::Begin() const
-{
- return aTplParameters.begin();
-}
-
-List_TplParameter::const_iterator
-List_TplParameter::End() const
-{
- return aTplParameters.end();
-}
-
-void
List_TplParameter::Get_Text( StreamStr & o_rOut,
const ary::cpp::Gate & i_rGate ) const
{
diff --git a/autodoc/source/ary/doc/d_docu.cxx b/autodoc/source/ary/doc/d_docu.cxx
index b0ab4979eed1..21d0ea502b7b 100644
--- a/autodoc/source/ary/doc/d_docu.cxx
+++ b/autodoc/source/ary/doc/d_docu.cxx
@@ -34,10 +34,6 @@
// NOT FULLY DEFINED SERVICES
#include <ary/doc/d_node.hxx>
-#include <ary/doc/d_hypertext.hxx>
-
-
-
namespace ary
{
@@ -49,11 +45,6 @@ Documentation::Documentation()
{
}
-Documentation::Documentation(DYN Node & pass_data)
- : pData(&pass_data)
-{
-}
-
Documentation::~Documentation()
{
}
diff --git a/autodoc/source/ary/doc/d_hypertext.cxx b/autodoc/source/ary/doc/d_hypertext.cxx
deleted file mode 100644
index eaa95be9ed6b..000000000000
--- a/autodoc/source/ary/doc/d_hypertext.cxx
+++ /dev/null
@@ -1,82 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * $RCSfile: d_hypertext.cxx,v $
- * $Revision: 1.3 $
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#include <precomp.h>
-#include <ary/doc/d_hypertext.hxx>
-
-
-// NOT FULLY DEFINED SERVICES
-#include <cosv/tpl/funcall.hxx>
-#include <ary/doc/ht/dht_component.hxx>
-#include <ary/doc/ht/dht_processor.hxx>
-
-
-namespace ary
-{
-namespace doc
-{
-
-
-
-void
-Accept( const HyperText & i_text,
- csv::ProcessorIfc & io_processor )
-{
- csv::CheckedCall(io_processor, i_text);
-}
-
-
-namespace ht
-{
-
-void
-Processor::do_Process( const HyperText & i_client )
-{
- csv::for_each_in( i_client,
- csv::make_func(&Component::Accept, *this) );
-}
-
-
-} // namespace ht
-
-
-
-
-const HyperText &
-NullText()
-{
- static const HyperText aNullText_;
- return aNullText_;
-}
-
-
-
-} // namespace doc
-} // namespace ary
diff --git a/autodoc/source/ary/doc/d_namedlist.cxx b/autodoc/source/ary/doc/d_namedlist.cxx
deleted file mode 100644
index fd0ec04e286c..000000000000
--- a/autodoc/source/ary/doc/d_namedlist.cxx
+++ /dev/null
@@ -1,148 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * $RCSfile: d_namedlist.cxx,v $
- * $Revision: 1.3 $
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#include <precomp.h>
-#include <ary/doc/d_namedlist.hxx>
-
-
-// NOT FULLY DEFINED SERVICES
-#include <algorithm>
-
-
-
-namespace ary
-{
-namespace doc
-{
-
-
-typedef StringVector::const_iterator name_const_iterator;
-typedef StringVector::iterator name_iterator;
-typedef NodeList::iterator node_iterator;
-
-
-NamedList::NamedList(nodetype::id i_id)
- : Node(i_id),
- aNames(),
- aElements()
-{
-}
-
-NamedList::~NamedList()
-{
-}
-
-const Node *
-NamedList::operator[](const String & i_name) const
-{
- name_const_iterator
- itFound = std::find(aNames.begin(), aNames.end(), i_name);
- if (itFound != aNames.end())
- return & aElements[itFound - aNames.begin()];
- return 0;
-}
-
-void
-NamedList::Add_Node( const String & i_name,
- DYN Node & pass_Element,
- E_HandleDuplicateNames eHandleDuplicateNames )
-{
- switch (eHandleDuplicateNames)
- {
- case hdn_normal:
- AddNode_normal(i_name,pass_Element);
- break;
- case hdn_put_together:
- AddNode_put_together(i_name,pass_Element);
- break;
- case hdn_keep_only_first:
- AddNode_keep_only_first(i_name,pass_Element);
- break;
- default:
- csv_assert(false);
- }
-}
-
-void
-NamedList::AddNode_normal( const String & i_name,
- DYN Node & pass_Element )
-{
- aNames.push_back(i_name);
- aElements.push_back(pass_Element);
-}
-
-void
-NamedList::AddNode_put_together( const String & i_name,
- DYN Node & pass_Element )
-{
- name_iterator
- itFound = std::find(aNames.begin(), aNames.end(), i_name);
- if (itFound == aNames.end())
- {
- AddNode_normal(i_name, pass_Element);
- return;
- }
-
- // Find position after last equal name:
- for ( ++itFound;
- itFound != aNames.end()
- ? *itFound == i_name
- : false;
- ++itFound ) {}
-
- // Calculate same position in aElements:
- node_iterator
- itElem = aElements.begin() + (itFound - aNames.begin());
-
- aNames.insert(itFound, i_name);
- aElements.insert(itElem, pass_Element);
-}
-
-void
-NamedList::AddNode_keep_only_first( const String & i_name,
- DYN Node & pass_Element )
-{
- if (std::find(aNames.begin(), aNames.end(), i_name) == aNames.end())
- AddNode_normal(i_name, pass_Element);
- else
- delete &pass_Element;
-}
-
-void
-NamedList::do_Accept(csv::ProcessorIfc & io_processor ) const
-{
- csv::CheckedCall(io_processor,*this);
-}
-
-
-
-
-} // namespace doc
-} // namespace ary
diff --git a/autodoc/source/ary/doc/d_node.cxx b/autodoc/source/ary/doc/d_node.cxx
index a591824330bc..ff7cafabc9ff 100644
--- a/autodoc/source/ary/doc/d_node.cxx
+++ b/autodoc/source/ary/doc/d_node.cxx
@@ -32,11 +32,6 @@
#include <ary/doc/d_node.hxx>
-// NOT FULLY DEFINED SERVICES
-#include <ary/doc/d_hypertext.hxx>
-
-
-
namespace ary
{
namespace doc
diff --git a/autodoc/source/ary/doc/d_oldcppdocu.cxx b/autodoc/source/ary/doc/d_oldcppdocu.cxx
index f29f93c99058..26aee0059f61 100644
--- a/autodoc/source/ary/doc/d_oldcppdocu.cxx
+++ b/autodoc/source/ary/doc/d_oldcppdocu.cxx
@@ -329,23 +329,11 @@ OldCppDocu::IsInterface() const
return bIsInterface;
}
-
-const OldCppDocu &
-OldCppDocu::Null_()
-{
- static const OldCppDocu
- aNull_;
- return aNull_;
-}
-
void
OldCppDocu::do_Accept(csv::ProcessorIfc & io_processor) const
{
csv::CheckedCall(io_processor, *this);
}
-
-
-
} // namespace doc
} // namespace ary
diff --git a/autodoc/source/ary/doc/d_struct.cxx b/autodoc/source/ary/doc/d_struct.cxx
deleted file mode 100644
index 08479988d154..000000000000
--- a/autodoc/source/ary/doc/d_struct.cxx
+++ /dev/null
@@ -1,121 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * $RCSfile: d_struct.cxx,v $
- * $Revision: 1.3 $
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#include <precomp.h>
-#include <ary/doc/d_struct.hxx>
-
-
-// NOT FULLY DEFINED SERVICES
-#include <algorithm>
-
-
-namespace ary
-{
-namespace doc
-{
-
-
-
-
-
-Struct::Struct( nodetype::id i_id )
- : Node(i_id),
- aElements()
-{
-}
-
-Struct::~Struct()
-{
-}
-
-
-struct GetSlotId
-{
- GetSlotId(
- Struct::slot_id i_slot )
- : nSlot(i_slot) {}
-
- bool operator()(
- const Node & i_node ) const
- { return i_node.Type() == nSlot; }
-
- private:
- Struct::slot_id nSlot;
-};
-
-Node &
-Struct::Add_Node( DYN Node & pass_node )
-{
- NodeList::iterator
- itFind = std::find_if( aElements.begin(),
- aElements.end(),
- GetSlotId(pass_node.Type()) );
- if ( itFind == aElements.end() )
- aElements.push_back(pass_node);
- else
- (*itFind).Add_toChain(pass_node);
- return pass_node;
-}
-
-const Node *
-Struct::Slot( slot_id i_slot ) const
-{
- NodeList::const_iterator
- itFind = std::find_if( aElements.begin(),
- aElements.end(),
- GetSlotId(i_slot) );
- if ( itFind != aElements.end() )
- return &(*itFind);
- return 0;
-}
-
-Node *
-Struct::Slot(slot_id i_slot)
-{
- NodeList::iterator
- itFind = std::find_if( aElements.begin(),
- aElements.end(),
- GetSlotId(i_slot) );
- if ( itFind != aElements.end() )
- return &(*itFind);
- return 0;
-}
-
-void
-Struct::do_Accept(csv::ProcessorIfc & io_processor ) const
-{
- csv::CheckedCall(io_processor,*this);
-}
-
-
-
-
-} // namespace doc
-} // namespace ary
diff --git a/autodoc/source/ary/doc/d_summary.cxx b/autodoc/source/ary/doc/d_summary.cxx
deleted file mode 100644
index 1f4aee6be548..000000000000
--- a/autodoc/source/ary/doc/d_summary.cxx
+++ /dev/null
@@ -1,88 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * $RCSfile: d_summary.cxx,v $
- * $Revision: 1.3 $
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#include <precomp.h>
-#include <ary/doc/d_summary.hxx>
-
-
-// NOT FULLY DEFINED SERVICES
-
-
-
-namespace ary
-{
-namespace doc
-{
-
-
-
-Summary::Summary(nodetype::id i_slot)
- : Node(i_slot),
- pText(0),
- bIncomplete(false),
- nOrigin(0)
-{
-}
-
-Summary::~Summary()
-{
-}
-
-const HyperText &
-Summary::Text() const
-{
- static const HyperText aTextNull_;
- return pText
- ? *pText
- : aTextNull_;
-}
-
-
-void
-Summary::Set( const HyperText & i_text,
- bool i_isIncomplete,
- nodetype::id i_origin )
-{
- pText = &i_text;
- bIncomplete = i_isIncomplete;
- nOrigin = i_origin;
-}
-
-void
-Summary::do_Accept(csv::ProcessorIfc & io_processor ) const
-{
- csv::CheckedCall(io_processor,*this);
-}
-
-
-
-
-} // namespace doc
-} // namespace ary
diff --git a/autodoc/source/ary/doc/d_unit.cxx b/autodoc/source/ary/doc/d_unit.cxx
deleted file mode 100644
index 84664649867d..000000000000
--- a/autodoc/source/ary/doc/d_unit.cxx
+++ /dev/null
@@ -1,63 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * $RCSfile: d_unit.cxx,v $
- * $Revision: 1.3 $
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#include <precomp.h>
-#include <ary/doc/d_unit.hxx>
-
-
-// NOT FULLY DEFINED SERVICES
-
-
-
-namespace ary
-{
-namespace doc
-{
-
-
-Unit::Unit(nodetype::id i_id)
- : Node(i_id),
- aDoc()
-{
-}
-
-Unit::~Unit()
-{
-}
-
-void
-Unit::do_Accept(csv::ProcessorIfc & io_processor ) const
-{
- csv::CheckedCall(io_processor,*this);
-}
-
-
-} // namespace doc
-} // namespace ary
diff --git a/autodoc/source/ary/doc/dht_component.cxx b/autodoc/source/ary/doc/dht_component.cxx
deleted file mode 100644
index 7524153d48f7..000000000000
--- a/autodoc/source/ary/doc/dht_component.cxx
+++ /dev/null
@@ -1,117 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * $RCSfile: dht_component.cxx,v $
- * $Revision: 1.3 $
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#include <precomp.h>
-#include <ary/doc/ht/dht_component.hxx>
-
-
-// NOT FULLY DEFINED SERVICES
-#include <ary/doc/ht/dht_interpreter.hxx>
-#include <ary/doc/ht/dht_processor.hxx>
-
-
-
-namespace ary
-{
-namespace doc
-{
-namespace ht
-{
-
-class Null_Interpreter : public Interpreter
-{
- public:
- virtual ~Null_Interpreter();
- private:
- virtual void do_Accept(
- Processor & io_processor,
- const String & i_data ) const;
-};
-
-namespace
-{
-
-static const Null_Interpreter
- C_aTheNullInterpreter_;
-}
-
-
-Component::Component()
- : aData(String::Null_()),
- pInterpreter(&C_aTheNullInterpreter_)
-{
-}
-
-Component::Component( const Interpreter & i_interpreter )
- : aData(String::Null_()), // Makes sure, no extra memory
- // is used for this string.
- pInterpreter(&i_interpreter)
-{
-}
-
-Component::Component( const Interpreter & i_interpreter,
- const String & i_data )
- : aData(i_data),
- pInterpreter(&i_interpreter)
-{
-}
-
-Component::~Component()
-{
-}
-
-void
-Component::Accept( Processor & io_processor ) const
-{
- csv_assert(pInterpreter != 0);
- pInterpreter->Accept(io_processor, aData);
-}
-
-
-
-//***************** Null_Interpreter **********************//
-
-Null_Interpreter::~Null_Interpreter()
-{
-}
-
-void
-Null_Interpreter::do_Accept( Processor & ,
- const String & ) const
-{
- // Does nothing.
-}
-
-
-
-
-} // namespace ht
-} // namespace doc
-} // namespace ary
diff --git a/autodoc/source/ary/doc/dht_helper.cxx b/autodoc/source/ary/doc/dht_helper.cxx
deleted file mode 100644
index 8a00cd1a52a0..000000000000
--- a/autodoc/source/ary/doc/dht_helper.cxx
+++ /dev/null
@@ -1,88 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * $RCSfile: dht_helper.cxx,v $
- * $Revision: 1.3 $
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#include <precomp.h>
-#include "dht_helper.hxx"
-
-
-// NOT FULLY DEFINED SERVICES
-#include <ary/doc/ht/dht_component.hxx>
-
-
-
-namespace ary
-{
-namespace doc
-{
-namespace ht
-{
-
-Component
-Create_Component( const Interpreter & i_intepreter,
- const String & i_str1,
- char i_separator,
- const String & i_str2 )
-{
- if (i_str2.empty())
- return Component(i_intepreter, i_str1);
-
- StreamLock
- sl(700);
- sl() << i_str1 << i_separator << i_str2;
- return Component( i_intepreter, String(sl().c_str()) );
-}
-
-void
-Resolve_ComponentData( String & o_1,
- String & o_2,
- char i_separator,
- const String & i_data )
-{
- const char *
- p_begin = i_data.begin();
- const char *
- p_separator = strchr(p_begin, i_separator);
- if (p_separator != 0)
- {
- o_1 = String(p_begin, p_separator);
- o_2 = String(p_separator+1, i_data.end());
- }
- else
- {
- o_1 = i_data;
- o_2 = i_data;
- }
-}
-
-
-
-} // namespace ht
-} // namespace doc
-} // namespace ary
diff --git a/autodoc/source/ary/doc/dht_helper.hxx b/autodoc/source/ary/doc/dht_helper.hxx
deleted file mode 100644
index 4bc525c2adc9..000000000000
--- a/autodoc/source/ary/doc/dht_helper.hxx
+++ /dev/null
@@ -1,75 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * $RCSfile: dht_helper.hxx,v $
- * $Revision: 1.3 $
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_DOC_DHT_HELPER_HXX
-#define ARY_DOC_DHT_HELPER_HXX
-
-
-
-namespace ary
-{
-namespace doc
-{
-namespace ht
-{
-
-class Component;
-class Interpreter;
-
-
-/** Joins two strings with a separator and creates a component
- from the result.
-
- If ->i_str2 is empty, only i_str1 is used without the separator.
-*/
-Component Create_Component(
- const Interpreter & i_intepreter,
- const String & i_str1,
- char i_separator,
- const String & i_str2 );
-
-/** Joins two strings with a separator and creates a component
- from the result.
-
- If ->i_str2 is empty, only i_str1 is used without the separator.
-*/
-void Resolve_ComponentData(
- String & o_1,
- String & o_2,
- char i_separator,
- const String & i_data );
-
-
-
-} // namespace ht
-} // namespace doc
-} // namespace ary
-
-#endif
diff --git a/autodoc/source/ary/doc/dht_html.cxx b/autodoc/source/ary/doc/dht_html.cxx
deleted file mode 100644
index c30dfd7ecd6e..000000000000
--- a/autodoc/source/ary/doc/dht_html.cxx
+++ /dev/null
@@ -1,71 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * $RCSfile: dht_html.cxx,v $
- * $Revision: 1.3 $
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#include <precomp.h>
-#include <ary/doc/ht/dht_html.hxx>
-
-
-// NOT FULLY DEFINED SERVICES
-#include <ary/doc/ht/dht_component.hxx>
-#include <ary/doc/ht/dht_processor.hxx>
-
-
-namespace ary
-{
-namespace doc
-{
-namespace ht
-{
-
-
-
-HtmlText::~HtmlText()
-{
-}
-
-Component
-HtmlText::Create_Component_( const String & i_text )
-{
- static const HtmlText aTheInstance_;
- return Component(aTheInstance_, i_text);
-}
-
-void
-HtmlText::do_Accept( Processor & io_processor,
- const String & i_data ) const
-{
- io_processor.Process(*this, i_data);
-}
-
-
-
-} // namespace ht
-} // namespace doc
-} // namespace ary
diff --git a/autodoc/source/ary/doc/dht_link2ce.cxx b/autodoc/source/ary/doc/dht_link2ce.cxx
deleted file mode 100644
index aed3230e3cdc..000000000000
--- a/autodoc/source/ary/doc/dht_link2ce.cxx
+++ /dev/null
@@ -1,91 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * $RCSfile: dht_link2ce.cxx,v $
- * $Revision: 1.3 $
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#include <precomp.h>
-#include <ary/doc/ht/dht_link2ce.hxx>
-
-
-// NOT FULLY DEFINED SERVICES
-#include <ary/doc/ht/dht_component.hxx>
-#include <ary/doc/ht/dht_processor.hxx>
-#include "dht_helper.hxx"
-
-
-
-namespace ary
-{
-namespace doc
-{
-namespace ht
-{
-
-const char C_cSeparator = '#';
-
-
-Link2Ce::~Link2Ce()
-{
-}
-
-Component
-Link2Ce::Create_Component_( const String & i_ceAbsolutePath,
- const String & i_display )
-{
- static const Link2Ce
- aTheInstance_;
- return Create_Component(
- aTheInstance_,
- i_ceAbsolutePath,
- C_cSeparator,
- i_display );
-}
-
-void
-Link2Ce::Resolve_( String & o_absolutePath,
- String & o_display,
- const String & i_data)
-{
- Resolve_ComponentData( o_absolutePath,
- o_display,
- C_cSeparator,
- i_data );
-}
-
-void
-Link2Ce::do_Accept( Processor & io_processor,
- const String & i_data ) const
-{
- io_processor.Process(*this, i_data);
-}
-
-
-
-} // namespace ht
-} // namespace doc
-} // namespace ary
diff --git a/autodoc/source/ary/doc/dht_link2param.cxx b/autodoc/source/ary/doc/dht_link2param.cxx
deleted file mode 100644
index 8e6c80416d0b..000000000000
--- a/autodoc/source/ary/doc/dht_link2param.cxx
+++ /dev/null
@@ -1,80 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * $RCSfile: dht_link2param.cxx,v $
- * $Revision: 1.3 $
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#include <precomp.h>
-#include <ary/doc/ht/dht_link2param.hxx>
-
-
-// NOT FULLY DEFINED SERVICES
-#include <ary/doc/ht/dht_component.hxx>
-#include <ary/doc/ht/dht_processor.hxx>
-#include "dht_helper.hxx"
-
-
-namespace ary
-{
-namespace doc
-{
-namespace ht
-{
-
-const char C_cSeparator = '#';
-
-
-
-Link2Param::~Link2Param()
-{
-}
-
-Component
-Link2Param::Create_Component_( const String & i_parameterName,
- const String & i_display )
-{
- static const Link2Param
- aTheInstance_;
- return Create_Component(
- aTheInstance_,
- i_parameterName,
- C_cSeparator,
- i_display );
-}
-
-void
-Link2Param::do_Accept( Processor & io_processor,
- const String & i_data ) const
-{
- io_processor.Process(*this, i_data);
-}
-
-
-
-} // namespace ht
-} // namespace doc
-} // namespace ary
diff --git a/autodoc/source/ary/doc/dht_link2unknown.cxx b/autodoc/source/ary/doc/dht_link2unknown.cxx
deleted file mode 100644
index 2a73d8787b08..000000000000
--- a/autodoc/source/ary/doc/dht_link2unknown.cxx
+++ /dev/null
@@ -1,91 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * $RCSfile: dht_link2unknown.cxx,v $
- * $Revision: 1.3 $
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#include <precomp.h>
-#include <ary/doc/ht/dht_link2unknown.hxx>
-
-
-// NOT FULLY DEFINED SERVICES
-#include <ary/doc/ht/dht_component.hxx>
-#include <ary/doc/ht/dht_processor.hxx>
-#include "dht_helper.hxx"
-
-
-namespace ary
-{
-namespace doc
-{
-namespace ht
-{
-
-
-const char C_cSeparator = '#';
-
-
-Link2Unknown::~Link2Unknown()
-{
-}
-
-Component
-Link2Unknown::Create_Component_( const String & i_typeText,
- const String & i_display )
-{
- static const Link2Unknown
- aTheInstance_;
- return Create_Component(
- aTheInstance_,
- i_typeText,
- C_cSeparator,
- i_display );
-}
-
-void
-Link2Unknown::Resolve_( String & o_typeText,
- String & o_display,
- const String & i_data)
-{
- Resolve_ComponentData( o_typeText,
- o_display,
- C_cSeparator,
- i_data );
-}
-
-void
-Link2Unknown::do_Accept( Processor & io_processor,
- const String & i_data ) const
-{
- io_processor.Process(*this, i_data);
-}
-
-
-
-} // namespace ht
-} // namespace doc
-} // namespace ary
diff --git a/autodoc/source/ary/doc/dht_link2url.cxx b/autodoc/source/ary/doc/dht_link2url.cxx
deleted file mode 100644
index d82c58005a2f..000000000000
--- a/autodoc/source/ary/doc/dht_link2url.cxx
+++ /dev/null
@@ -1,91 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * $RCSfile: dht_link2url.cxx,v $
- * $Revision: 1.3 $
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#include <precomp.h>
-#include <ary/doc/ht/dht_link2url.hxx>
-
-
-// NOT FULLY DEFINED SERVICES
-#include <ary/doc/ht/dht_component.hxx>
-#include <ary/doc/ht/dht_processor.hxx>
-#include "dht_helper.hxx"
-
-
-namespace ary
-{
-namespace doc
-{
-namespace ht
-{
-
-
-const char C_cSeparator = ' ';
-
-
-Link2Url::~Link2Url()
-{
-}
-
-Component
-Link2Url::Create_Component_( const String & i_url,
- const String & i_display )
-{
- static const Link2Url
- aTheInstance_;
- return Create_Component(
- aTheInstance_,
- i_url,
- C_cSeparator,
- i_display );
-}
-
-void
-Link2Url::Resolve_( String & o_url,
- String & o_display,
- const String & i_data)
-{
- Resolve_ComponentData( o_url,
- o_display,
- C_cSeparator,
- i_data );
-}
-
-void
-Link2Url::do_Accept( Processor & io_processor,
- const String & i_data ) const
-{
- io_processor.Process(*this, i_data);
-}
-
-
-
-} // namespace ht
-} // namespace doc
-} // namespace ary
diff --git a/autodoc/source/ary/doc/dht_plain.cxx b/autodoc/source/ary/doc/dht_plain.cxx
deleted file mode 100644
index 3372a4e1350c..000000000000
--- a/autodoc/source/ary/doc/dht_plain.cxx
+++ /dev/null
@@ -1,71 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * $RCSfile: dht_plain.cxx,v $
- * $Revision: 1.3 $
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#include <precomp.h>
-#include <ary/doc/ht/dht_plain.hxx>
-
-
-// NOT FULLY DEFINED SERVICES
-#include <ary/doc/ht/dht_component.hxx>
-#include <ary/doc/ht/dht_processor.hxx>
-
-
-namespace ary
-{
-namespace doc
-{
-namespace ht
-{
-
-
-
-PlainText::~PlainText()
-{
-}
-
-Component
-PlainText::Create_Component_( const String & i_text )
-{
- static const PlainText aTheInstance_;
- return Component(aTheInstance_, i_text);
-}
-
-void
-PlainText::do_Accept( Processor & io_processor,
- const String & i_data ) const
-{
- io_processor.Process(*this, i_data);
-}
-
-
-
-} // namespace ht
-} // namespace doc
-} // namespace ary
diff --git a/autodoc/source/ary/doc/dht_stream.cxx b/autodoc/source/ary/doc/dht_stream.cxx
deleted file mode 100644
index b4a135c2aa65..000000000000
--- a/autodoc/source/ary/doc/dht_stream.cxx
+++ /dev/null
@@ -1,222 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * $RCSfile: dht_stream.cxx,v $
- * $Revision: 1.3 $
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#include <precomp.h>
-#include <ary/doc/ht/dht_stream.hxx>
-
-
-// NOT FULLY DEFINED SERVICES
-#include <ary/doc/ht/dht_html.hxx>
-#include <ary/doc/ht/dht_link2ce.hxx>
-#include <ary/doc/ht/dht_link2param.hxx>
-#include <ary/doc/ht/dht_link2url.hxx>
-#include <ary/doc/ht/dht_link2unknown.hxx>
-#include <ary/doc/ht/dht_plain.hxx>
-#include <ary/doc/ht/dht_white.hxx>
-
-
-
-namespace ary
-{
-namespace doc
-{
-namespace ht
-{
-
-
-inline HyperText &
-Stream::Out()
-{
- return mrOut;
-}
-
-
-
-
-Stream::Stream( HyperText & o_Receiver,
- E_TextMode i_initialTextMode )
- : mrOut(o_Receiver),
- mfCurTextFlusher( i_initialTextMode == tm_plain
- ? &Stream::PlainTextFlusher
- : &Stream::HtmlTextFlusher ),
- mText(300)
-{
-}
-
-Stream::~Stream()
-{
-
-}
-
-Stream &
-Stream::operator<<( F_StreamModifier i_modifier )
-{
- (*i_modifier)(*this);
- return *this;
-}
-
-Stream &
-Stream::operator<<( const char * i_text )
-{
- mText << i_text;
- return *this;
-}
-
-Stream &
-Stream::operator<<( const String & i_text )
-{
- mText << i_text;
- return *this;
-}
-
-void
-Stream::Add_Indentation( uintt i_count )
-{
- Flush();
- Out().push_back(
- Indentation::Create_Component_(i_count) );
-}
-
-void
-Stream::Add_Link2Ce( const String & i_absolutePath,
- const String & i_display )
-{
- Flush();
- Out().push_back(
- Link2Ce::Create_Component_(i_absolutePath, i_display) );
-}
-
-void
-Stream::Add_Link2Unknown( const String & i_type,
- const String & i_display )
-{
- Flush();
- Out().push_back(
- Link2Unknown::Create_Component_(i_type, i_display) );
-}
-
-void
-Stream::Add_Link2Url( const String & i_url,
- const String & i_display)
-{
- Flush();
- Out().push_back(
- Link2Url::Create_Component_(i_url, i_display) );
-}
-
-void
-Stream::Add_Link2Param( const String & i_parameter,
- const String & i_display )
-{
- Flush();
- Out().push_back(
- Link2Param::Create_Component_(i_parameter, i_display) );
-}
-
-Stream::E_TextMode
-Stream::CurrentMode() const
-{
- return mfCurTextFlusher == &Stream::PlainTextFlusher
- ? tm_plain
- : tm_html;
-}
-
-void
-Stream::Flush()
-{
- if (mText.size() == 0)
- return;
-
- if ( mText.size() > 1
- OR *mText.c_str() != ' ')
- {
- (this->*mfCurTextFlusher)();
- }
- else
- {
- Out().push_back(Blank::Create_Component_());
- }
-
- mText.reset();
-}
-
-void
-Stream::PlainTextFlusher()
-{
- Out().push_back(
- PlainText::Create_Component_(String(mText.c_str())) );
-}
-
-void
-Stream::HtmlTextFlusher()
-{
- Out().push_back(
- HtmlText::Create_Component_(String(mText.c_str())) );
-}
-
-
-void
-flush(Stream& io_stream)
-{
- io_stream.Flush();
-}
-
-void
-newline(Stream& io_stream)
-{
- io_stream.Flush();
- io_stream.Out().push_back(NewParagraph::Create_Component_());
-}
-
-void
-blank(Stream& io_stream)
-{
- io_stream.mText << ' ';
-}
-
-void
-plain(Stream& io_stream)
-{
- io_stream.Flush();
- io_stream.mfCurTextFlusher = &Stream::PlainTextFlusher;
-}
-
-void
-html(Stream& io_stream)
-{
- io_stream.Flush();
- io_stream.mfCurTextFlusher = &Stream::HtmlTextFlusher;
-}
-
-
-
-} // namespace ht
-} // namespace doc
-} // namespace ary
diff --git a/autodoc/source/ary/doc/dht_white.cxx b/autodoc/source/ary/doc/dht_white.cxx
deleted file mode 100644
index ea4544eaaa9c..000000000000
--- a/autodoc/source/ary/doc/dht_white.cxx
+++ /dev/null
@@ -1,149 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * $RCSfile: dht_white.cxx,v $
- * $Revision: 1.3 $
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#include <precomp.h>
-#include <ary/doc/ht/dht_white.hxx>
-
-
-// NOT FULLY DEFINED SERVICES
-#include <ary/doc/ht/dht_component.hxx>
-#include <ary/doc/ht/dht_processor.hxx>
-
-
-namespace ary
-{
-namespace doc
-{
-namespace ht
-{
-
-const String
- C_sMore(" (...)");
-
-//********************** Blank *********************//
-
-Blank::~Blank()
-{
-}
-
-Component
-Blank::Create_Component_()
-{
- static const Blank aTheInstance_;
- return Component(aTheInstance_);
-}
-
-void
-Blank::do_Accept( Processor & io_processor,
- const String & ) const
-{
- io_processor.Process(*this);
-}
-
-
-
-
-
-//******************** NewParagraph ********************//
-
-NewParagraph::~NewParagraph()
-{
-}
-
-Component
-NewParagraph::Create_Component_()
-{
- static const NewParagraph aTheInstance_;
- return Component(aTheInstance_);
-}
-
-void
-NewParagraph::do_Accept( Processor & io_processor,
- const String & ) const
-{
- io_processor.Process(*this);
-}
-
-
-//************** Indentation ****************//
-
-Indentation::~Indentation()
-{
-}
-
-Component
-Indentation::Create_Component_(uintt i_size)
-{
- static const Indentation aTheInstance_;
- StreamLock sl(100);
- sl() << i_size;
- return Component( aTheInstance_,
- String(sl().c_str()) );
-}
-
-void
-Indentation::do_Accept( Processor & io_processor,
- const String & i_data ) const
-{
- io_processor.Process(*this, i_data);
-}
-
-
-
-//********************** SummarySeparator *********************//
-
-SummarySeparator::~SummarySeparator()
-{
-}
-
-Component
-SummarySeparator::Create_Component_(bool i_interrupted)
-{
- static const SummarySeparator aTheInstance_;
- return Component( aTheInstance_,
- i_interrupted
- ? C_sMore
- : String::Null_() );
-}
-
-void
-SummarySeparator::do_Accept( Processor & io_processor,
- const String & ) const
-{
- io_processor.Process(*this);
-}
-
-
-
-
-
-} // namespace ht
-} // namespace doc
-} // namespace ary
diff --git a/autodoc/source/ary/doc/makefile.mk b/autodoc/source/ary/doc/makefile.mk
index 704631715449..f64ba0785dfe 100644
--- a/autodoc/source/ary/doc/makefile.mk
+++ b/autodoc/source/ary/doc/makefile.mk
@@ -52,25 +52,9 @@ PRJINC=$(PRJ)$/source
OBJFILES= \
$(OBJ)$/d_boolean.obj \
$(OBJ)$/d_docu.obj \
- $(OBJ)$/d_hypertext.obj \
- $(OBJ)$/d_namedlist.obj \
$(OBJ)$/d_node.obj \
$(OBJ)$/d_oldcppdocu.obj \
- $(OBJ)$/d_oldidldocu.obj \
- $(OBJ)$/d_summary.obj \
- $(OBJ)$/d_struct.obj \
- $(OBJ)$/d_unit.obj \
- $(OBJ)$/dht_component.obj \
- $(OBJ)$/dht_helper.obj \
- $(OBJ)$/dht_html.obj \
- $(OBJ)$/dht_link2ce.obj \
- $(OBJ)$/dht_link2param.obj \
- $(OBJ)$/dht_link2unknown.obj \
- $(OBJ)$/dht_link2url.obj \
- $(OBJ)$/dht_plain.obj \
- $(OBJ)$/dht_stream.obj \
- $(OBJ)$/dht_white.obj
-
+ $(OBJ)$/d_oldidldocu.obj
# --- Targets ------------------------------------------------------
diff --git a/autodoc/source/ary/idl/i_module.cxx b/autodoc/source/ary/idl/i_module.cxx
index 87adac427b4d..e82a874b2242 100644
--- a/autodoc/source/ary/idl/i_module.cxx
+++ b/autodoc/source/ary/idl/i_module.cxx
@@ -48,7 +48,6 @@
#include <ary/idl/i_sisingleton.hxx>
#include <ary/idl/ip_ce.hxx>
#include <nametreenode.hxx>
-#include "i_strconst.hxx"
namespace ary
@@ -80,41 +79,6 @@ Module::Add_Name( const String & i_sName,
pImpl->Add_Name(i_sName, i_nCodeEntity);
}
-
-//void
-//Module::Get_FullName( StringVector & o_rText,
-// Ce_idList * o_pRelatedCes,
-// const Gate & i_rGate ) const
-//{
-// if (pImpl->Depth() < 1)
-// return;
-//
-// if (o_pRelatedCes == 0)
-// {
-// for ( StringVector::const_iterator it = pImpl->NameChain_Begin();
-// it != pImpl->NameChain_End();
-// ++it )
-// {
-// o_rText.push_back(strconst::NamespaceSeparator());
-// o_rText.push_back(*it);
-// }
-// }
-// else
-// {
-// if (pImpl->Depth() > 1)
-// {
-// i_rGate.Ces().Find_Module(pImpl->Parent())
-// .Get_FullName( o_rText,
-// o_pRelatedCes,
-// i_rGate );
-// }
-//
-// o_rText.push_back(strconst::NamespaceSeparator());
-// o_rText.push_back(pImpl->Name());
-// o_pRelatedCes->push_back(CeId());
-// }
-//}
-
Ce_id
Module::Search_Name( const String & i_sName ) const
{
@@ -127,12 +91,6 @@ Module::Get_Names( Dyn_StdConstIterator<Ce_id> & o_rResult ) const
pImpl->Get_Names( o_rResult );
}
-intt
-Module::Depth() const
-{
- return pImpl->Depth();
-}
-
void
Module::do_Accept( csv::ProcessorIfc & io_processor ) const
{
diff --git a/autodoc/source/ary/idl/i_namelookup.cxx b/autodoc/source/ary/idl/i_namelookup.cxx
index 86e8cc58c83f..1a818387610c 100644
--- a/autodoc/source/ary/idl/i_namelookup.cxx
+++ b/autodoc/source/ary/idl/i_namelookup.cxx
@@ -61,37 +61,5 @@ NameLookup::Add_Name( const String & i_name,
i_owner )));
}
-bool
-NameLookup::Has_Name( const String & i_name,
- ClassId i_class,
- Ce_id i_owner ) const
-{
- IteratorRange<Map_Names::const_iterator>
- aResult( aNames.equal_range(i_name) );
-
- for ( ; aResult.operator bool(); ++aResult )
- {
- if ( (i_class == 0
- OR (*aResult.cur()).second.nClass == i_class)
- AND
- ((*aResult.cur()).second.nOwner == i_owner
- OR NOT i_owner.IsValid()) )
- {
- return true;
- }
- } // end for
- return false;
-}
-
-void
-NameLookup::Get_Names( Dyn_StdConstIterator<Map_Names::value_type> & o_rResult,
- const String & i_name ) const
-{
- IteratorRange<Map_Names::const_iterator>
- aResult( aNames.equal_range(i_name) );
- o_rResult = new SCI_MultiMap<String, NameProperties>(aResult.cur(), aResult.end());
-}
-
-
} // namespace idl
} // namespace ary
diff --git a/autodoc/source/ary/idl/i_param.cxx b/autodoc/source/ary/idl/i_param.cxx
index d8a7ee543bc5..d46c98e9ff27 100644
--- a/autodoc/source/ary/idl/i_param.cxx
+++ b/autodoc/source/ary/idl/i_param.cxx
@@ -41,15 +41,6 @@ namespace ary
namespace idl
{
-
-Parameter::Parameter()
- : sName(),
- nType(0),
- eDirection(param_in)
-{
-}
-
-
Parameter::Parameter( const String & i_sName,
Type_id i_nType,
E_ParameterDirection i_eDirection )
diff --git a/autodoc/source/ary/idl/i_strconst.cxx b/autodoc/source/ary/idl/i_strconst.cxx
deleted file mode 100644
index 35609668066e..000000000000
--- a/autodoc/source/ary/idl/i_strconst.cxx
+++ /dev/null
@@ -1,72 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * $RCSfile: i_strconst.cxx,v $
- * $Revision: 1.6 $
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#include <precomp.h>
-#include "i_strconst.hxx"
-
-// NOT FULLY DECLARED SERVICES
-
-
-
-
-namespace ary
-{
-namespace idl
-{
-namespace strconst
-{
-
-
-const String C_sNamespaceSeparator("::");
-const String C_sSequenceBegin("sequence< ");
-const String C_sSequenceEnd(" >");
-
-
-const String &
-NamespaceSeparator()
-{
- return C_sNamespaceSeparator;
-}
-
-const String &
-SequenceBegin()
-{
- return C_sSequenceBegin;
-}
-const String &
-SequenceEnd()
-{
- return C_sSequenceEnd;
-}
-
-
-} // namespace strconst
-} // namespace idl
-} // namespace ary
diff --git a/autodoc/source/ary/idl/i_strconst.hxx b/autodoc/source/ary/idl/i_strconst.hxx
deleted file mode 100644
index 592045fc2659..000000000000
--- a/autodoc/source/ary/idl/i_strconst.hxx
+++ /dev/null
@@ -1,68 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * $RCSfile: i_strconst.hxx,v $
- * $Revision: 1.3 $
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_IDL_I_STRCONST_HXX
-#define ARY_IDL_I_STRCONST_HXX
-
-
-
-// USED SERVICES
- // BASE CLASSES
- // COMPONENTS
- // PARAMETERS
-
-
-
-namespace ary
-{
-namespace idl
-{
-
-namespace strconst
-{
-
-const String &
-NamespaceSeparator(); // "::"
-const String &
-SequenceBegin(); // "sequence< "
-const String &
-SequenceEnd(); // " >"
-
-
-} // namespace strconst
-
-
-
-} // namespace idl
-} // namespace ary
-
-#endif
-
-
diff --git a/autodoc/source/ary/idl/i_traits.cxx b/autodoc/source/ary/idl/i_traits.cxx
index 93ae39bb4e4a..a3169dec585b 100644
--- a/autodoc/source/ary/idl/i_traits.cxx
+++ b/autodoc/source/ary/idl/i_traits.cxx
@@ -53,17 +53,6 @@ Ce_Traits::EntityOf_(id_type i_id)
return Ce_Storage::Instance_()[i_id];
}
-Ce_Traits::id_type
-Ce_Traits::IdOf_(const entity_base_type & i_entity)
-{
- return i_entity.CeId();
-}
-
-
-
-
-
-
//******************** Ce_Compare ********************//
const Ce_Compare::key_type &
Ce_Compare::KeyOf_(const entity_base_type & i_entity)
diff --git a/autodoc/source/ary/idl/it_builtin.cxx b/autodoc/source/ary/idl/it_builtin.cxx
index 892ea0a0bec3..efc56433270f 100644
--- a/autodoc/source/ary/idl/it_builtin.cxx
+++ b/autodoc/source/ary/idl/it_builtin.cxx
@@ -34,7 +34,6 @@
// NOT FULLY DEFINED SERVICES
#include <cosv/tpl/processor.hxx>
-#include "i_strconst.hxx"
diff --git a/autodoc/source/ary/idl/it_ce.cxx b/autodoc/source/ary/idl/it_ce.cxx
index 650c764c9490..1beff469df0a 100644
--- a/autodoc/source/ary/idl/it_ce.cxx
+++ b/autodoc/source/ary/idl/it_ce.cxx
@@ -38,7 +38,6 @@
#include <ary/idl/i_gate.hxx>
#include <ary/idl/i_module.hxx>
#include <ary/idl/ip_ce.hxx>
-#include "i_strconst.hxx"
diff --git a/autodoc/source/ary/idl/it_explicit.cxx b/autodoc/source/ary/idl/it_explicit.cxx
index cc5b2377cd5f..47a5661d7148 100644
--- a/autodoc/source/ary/idl/it_explicit.cxx
+++ b/autodoc/source/ary/idl/it_explicit.cxx
@@ -38,7 +38,6 @@
#include <ary/idl/i_gate.hxx>
#include <ary/idl/ip_ce.hxx>
#include <ary/idl/ip_type.hxx>
-#include "i_strconst.hxx"
#include "it_xnameroom.hxx"
diff --git a/autodoc/source/ary/idl/it_sequence.cxx b/autodoc/source/ary/idl/it_sequence.cxx
index ff8472879535..f30e6c289377 100644
--- a/autodoc/source/ary/idl/it_sequence.cxx
+++ b/autodoc/source/ary/idl/it_sequence.cxx
@@ -36,7 +36,6 @@
#include <cosv/tpl/processor.hxx>
#include <ary/idl/i_gate.hxx>
#include <ary/idl/ip_type.hxx>
-#include "i_strconst.hxx"
diff --git a/autodoc/source/ary/idl/it_tplparam.cxx b/autodoc/source/ary/idl/it_tplparam.cxx
index 8f43456d31bd..d3f37e76b193 100644
--- a/autodoc/source/ary/idl/it_tplparam.cxx
+++ b/autodoc/source/ary/idl/it_tplparam.cxx
@@ -34,7 +34,6 @@
// NOT FULLY DEFINED SERVICES
#include <cosv/tpl/processor.hxx>
-#include "i_strconst.hxx"
diff --git a/autodoc/source/ary/idl/it_xnameroom.cxx b/autodoc/source/ary/idl/it_xnameroom.cxx
index 254f9860de3b..17238d060066 100644
--- a/autodoc/source/ary/idl/it_xnameroom.cxx
+++ b/autodoc/source/ary/idl/it_xnameroom.cxx
@@ -37,7 +37,6 @@
#include <cosv/tpl/tpltools.hxx>
#include <ary/idl/i_gate.hxx>
#include <ary/idl/ip_type.hxx>
-#include "i_strconst.hxx"
diff --git a/autodoc/source/ary/idl/makefile.mk b/autodoc/source/ary/idl/makefile.mk
index 488b31712111..a6c206bc0d37 100644
--- a/autodoc/source/ary/idl/makefile.mk
+++ b/autodoc/source/ary/idl/makefile.mk
@@ -68,7 +68,6 @@ OBJFILES= \
$(OBJ)$/i_singleton.obj \
$(OBJ)$/i_siservice.obj \
$(OBJ)$/i_sisingleton.obj \
- $(OBJ)$/i_strconst.obj \
$(OBJ)$/i_struct.obj \
$(OBJ)$/i_structelem.obj \
$(OBJ)$/i_traits.obj \
diff --git a/autodoc/source/ary/inc/instlist.hxx b/autodoc/source/ary/inc/instlist.hxx
deleted file mode 100644
index bb4fcd53a272..000000000000
--- a/autodoc/source/ary/inc/instlist.hxx
+++ /dev/null
@@ -1,55 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * $RCSfile: instlist.hxx,v $
- * $Revision: 1.4 $
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_INSTLIST_HXX
-#define ARY_INSTLIST_HXX
-
-// USED SERVICES
-#include <ary/types.hxx>
-
-
-
-
-namespace ary
-{
-
-
-class InstanceList : public std::vector< ary::Rid >
-{
- public:
- InstanceList();
- ~InstanceList();
-};
-
-
-
-
-} // namespace ary
-#endif
diff --git a/autodoc/source/ary/inc/nametree.hxx b/autodoc/source/ary/inc/nametree.hxx
deleted file mode 100644
index 27ccf3214592..000000000000
--- a/autodoc/source/ary/inc/nametree.hxx
+++ /dev/null
@@ -1,87 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * $RCSfile: nametree.hxx,v $
- * $Revision: 1.5 $
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef ARY_NAMETREE_HXX
-#define ARY_NAMETREE_HXX
-
-// USED SERVICES
-#include <ary/types.hxx>
-#include <ary/namesort.hxx>
-#include "instlist.hxx"
-
-
-
-
-namespace ary
-{
-
-
-class NameTree
-{
- public:
- typedef std::map< String ,
- InstanceList,
- LesserName > Map_Name2Inst;
-
- typedef Map_Name2Inst::const_iterator const_iterator;
- typedef Map_Name2Inst::iterator iterator;
-
-
- NameTree();
- ~NameTree();
-
- const InstanceList &
- operator[](
- const String & i_rName ) const;
-
- void insert(
- const String & i_rName,
- ary::Rid i_nId );
-
- const_iterator find(
- const String & i_rName );
- const_iterator lower_bound(
- const String & i_rName ) const;
- const_iterator begin() const;
- const_iterator end() const;
-
- iterator begin();
- iterator end();
-
- private:
- // DATA
- Map_Name2Inst aNames;
-};
-
-
-
-
-} // namespace ary
-#endif
diff --git a/autodoc/source/ary/inc/slots.hxx b/autodoc/source/ary/inc/slots.hxx
index 365ed0167cfe..0944024b49d3 100644
--- a/autodoc/source/ary/inc/slots.hxx
+++ b/autodoc/source/ary/inc/slots.hxx
@@ -63,23 +63,6 @@ class Slot_Null : public Slot
Display & o_rDestination ) const;
};
-
-class Slot_RidSet : public Slot
-{
- public:
- Slot_RidSet(
- const Set_Rid & i_rData );
- virtual ~Slot_RidSet();
-
- virtual uintt Size() const;
-
- private:
- virtual void StoreEntries(
- Display & o_rDestination ) const;
- // DATA
- const Set_Rid * pData;
-};
-
class Slot_MapLocalCe : public Slot
{
public:
@@ -113,22 +96,6 @@ class Slot_MapOperations : public Slot
pData;
};
-class Slot_RidList : public Slot
-{
- public:
- Slot_RidList(
- const List_Rid & i_rData );
- virtual ~Slot_RidList();
-
- virtual uintt Size() const;
-
- private:
- virtual void StoreEntries(
- Display & o_rDestination ) const;
- // DATA
- const List_Rid * pData;
-};
-
class Slot_ListLocalCe : public Slot
{
public:
diff --git a/autodoc/source/ary/kernel/instlist.cxx b/autodoc/source/ary/kernel/instlist.cxx
deleted file mode 100644
index 8e8512cbdd6b..000000000000
--- a/autodoc/source/ary/kernel/instlist.cxx
+++ /dev/null
@@ -1,52 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * $RCSfile: instlist.cxx,v $
- * $Revision: 1.6 $
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#include <precomp.h>
-#include <instlist.hxx>
-
-
-// NOT FULLY DECLARED SERVICES
-#include <instlist.hxx>
-
-
-
-namespace ary
-{
-
-InstanceList::InstanceList()
-{
-}
-
-InstanceList::~InstanceList()
-{
-}
-
-
-} // namespace ary
diff --git a/autodoc/source/ary/kernel/makefile.mk b/autodoc/source/ary/kernel/makefile.mk
index 3f71a8bf316e..b3d99c90068b 100644
--- a/autodoc/source/ary/kernel/makefile.mk
+++ b/autodoc/source/ary/kernel/makefile.mk
@@ -52,14 +52,10 @@ PRJINC=$(PRJ)$/source
OBJFILES= \
$(OBJ)$/ary_disp.obj \
$(OBJ)$/cessentl.obj \
- $(OBJ)$/instlist.obj \
$(OBJ)$/namesort.obj \
- $(OBJ)$/nametree.obj \
$(OBJ)$/qualiname.obj \
$(OBJ)$/reposy.obj \
- $(OBJ)$/segmentedname.obj \
- $(OBJ)$/slots.obj \
- $(OBJ)$/x_ary.obj
+ $(OBJ)$/slots.obj
diff --git a/autodoc/source/ary/kernel/nametree.cxx b/autodoc/source/ary/kernel/nametree.cxx
deleted file mode 100644
index f806001f1966..000000000000
--- a/autodoc/source/ary/kernel/nametree.cxx
+++ /dev/null
@@ -1,106 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * $RCSfile: nametree.cxx,v $
- * $Revision: 1.7 $
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#include <precomp.h>
-#include <nametree.hxx>
-
-
-// NOT FULLY DECLARED SERVICES
-
-
-
-namespace ary
-{
-
-
-NameTree::NameTree()
-{
-}
-
-NameTree::~NameTree()
-{
-}
-
-const InstanceList &
-NameTree::operator[]( const String & i_rName ) const
-{
- static InstanceList aNull_;
-
- const_iterator itFound = aNames.find(i_rName);
- if ( itFound != aNames.end() )
- return (*itFound).second;
- return aNull_;
-}
-
-void
-NameTree::insert( const String & i_rName,
- ary::Rid i_nId )
-{
- aNames[i_rName].push_back(i_nId);
-}
-
-NameTree::const_iterator
-NameTree::find( const String & i_rName )
-{
- return aNames.find( i_rName );
-}
-
-NameTree::const_iterator
-NameTree::lower_bound( const String & i_rName ) const
-{
- return aNames.lower_bound(i_rName);
-}
-
-NameTree::const_iterator
-NameTree::begin() const
-{
- return aNames.begin();
-}
-
-NameTree::const_iterator
-NameTree::end() const
-{
- return aNames.end();
-}
-
-NameTree::iterator
-NameTree::begin()
-{
- return aNames.begin();
-}
-
-NameTree::iterator
-NameTree::end()
-{
- return aNames.end();
-}
-
-
-} // namespace ary
diff --git a/autodoc/source/ary/kernel/segmentedname.cxx b/autodoc/source/ary/kernel/segmentedname.cxx
deleted file mode 100644
index 8d4cf4503843..000000000000
--- a/autodoc/source/ary/kernel/segmentedname.cxx
+++ /dev/null
@@ -1,272 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * $RCSfile: segmentedname.cxx,v $
- * $Revision: 1.3 $
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#include <precomp.h>
-#include <ary/segmentedname.hxx>
-
-
-// NOT FULLY DEFINED SERVICES
-
-
-
-namespace ary
-{
-namespace sn // segmented name
-{
-
-
-//********************* NameSegment ******************//
-
-NameSegment::NameSegment( const char * i_name )
- : sName(i_name),
- pTemplateArguments()
-{
-}
-
-NameSegment::NameSegment( const String & i_name )
- : sName(i_name),
- pTemplateArguments()
-{
-}
-
-NameSegment::NameSegment( const NameSegment & i_other )
- : sName(i_other.sName),
- pTemplateArguments()
-{
- if (i_other.TemplateArguments() != 0)
- pTemplateArguments = new String(*i_other.TemplateArguments());
-}
-
-NameSegment::~NameSegment()
-{
-}
-
-NameSegment &
-NameSegment::operator=( const NameSegment & i_other )
-{
- sName = i_other.sName;
- if (i_other.TemplateArguments() != 0)
- pTemplateArguments = new String(*i_other.TemplateArguments());
- return *this;
-}
-
-bool
-NameSegment::operator<( const NameSegment & i_other ) const
-{
- if (sName < i_other.sName)
- return true;
- else if (sName == i_other.sName)
- {
- if (i_other.TemplateArguments() == 0)
- return false;
- else if (TemplateArguments() == 0)
- return true;
- else
- return *TemplateArguments() < *i_other.TemplateArguments();
- }
-
- return false;
-}
-
-String &
-NameSegment::Make_Template()
-{
- return *(pTemplateArguments = new String);
-}
-
-void
-NameSegment::Get_Text( StreamStr & o_out ) const
-{
- o_out << sName;
- if ( pTemplateArguments )
- o_out << '<' << *pTemplateArguments << '>';
-}
-
-
-} // namespace sn
-
-
-
-
-
-//********************* SegmentedName ******************//
-SegmentedName::SegmentedName( const char * i_text )
- : aSegments(),
- bIsAbsolute(strncmp(i_text,"::",2) == 0)
-{
- Interpret_Text(i_text + (bIsAbsolute ? 2 : 0));
-}
-
-SegmentedName::SegmentedName( const String & i_text )
- : aSegments(),
- bIsAbsolute(strncmp(i_text.c_str(),"::",2) == 0)
-{
- Interpret_Text(i_text.c_str() + (bIsAbsolute ? 2 : 0));
-}
-
-SegmentedName::~SegmentedName()
-{
-}
-
-bool
-SegmentedName::operator<( const SegmentedName & i_other ) const
-{
- if (IsAbsolute() AND NOT i_other.IsAbsolute())
- return true;
- if (NOT IsAbsolute() AND i_other.IsAbsolute())
- return false;
- return aSegments < i_other.aSegments;
-}
-
-void
-SegmentedName::Get_Text( StreamStr & o_out ) const
-{
- if ( IsAbsolute() )
- o_out << "::";
-
- sn::NameChain::const_iterator
- it = aSegments.begin();
- sn::NameChain::const_iterator
- itEnd = aSegments.end();
- if (it != itEnd)
- (*it).Get_Text(o_out);
- for ( ++it;
- it != itEnd;
- ++it )
- {
- o_out << "::";
- (*it).Get_Text(o_out);
- }
- o_out << '>';
-}
-
-
-void
-SegmentedName::Interpret_Text( const char * i_text )
-{
- const int blank = 1;
- const int name = 2;
- const int delimiter = 3;
- const int open_tpl = 4;
-
- const int
- C_aTextInterpreter[128] =
- {
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, blank, blank, 0, 0, blank, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
- blank, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
- name, name, name, name, name, name, name, name,
- name, name, delimiter, 0, open_tpl, 0, 0, 0,
-
- 0, name, name, name, name, name, name, name,
- name, name, name, name, name, name, name, name,
- name, name, name, name, name, name, name, name,
- name, name, name, 0, 0, 0, 0, name,
- 0, name, name, name, name, name, name, name,
- name, name, name, name, name, name, name, name,
- name, name, name, name, name, name, name, name,
- name, name, name, 0, 0, 0, 0, 0
- };
-
- Dyn<sn::NameSegment>
- pNextSegment(0);
- const char * pTokenStart = i_text;
-
- intt nDelimiterStep = 0; // 0 = in-name,
- // 1 = first ':' found
- uintt nTemplateLevel = 0;
- bool bTokenFinished = false;
-
- const char * iter = i_text;
- for ( ; *iter != 0; ++iter)
- {
- if (nTemplateLevel == 0)
- {
- switch (C_aTextInterpreter[int(*iter)])
- {
- case name:
- if (bTokenFinished)
- {
- aSegments.push_back(*pNextSegment.Release());
- pTokenStart = iter;
- nDelimiterStep = 0;
- bTokenFinished = false;
- }
- break;
- case delimiter:
- if (nDelimiterStep == 0)
- {
- pNextSegment = new sn::NameSegment(String(pTokenStart,iter));
- bTokenFinished = true;
- }
- ++nDelimiterStep;
- break;
- case open_tpl:
- pNextSegment = new sn::NameSegment(String(pTokenStart,iter));
- bTokenFinished = true;
- break;
- default:
- csv_assert(false);
- } // end switch
- }
- else // nTemplateLevel > 0
- {
- if (bTokenFinished)
- {
- pTokenStart = iter;
- bTokenFinished = false;
- }
- if (*iter == '<')
- ++nTemplateLevel;
- else if (*iter == '>')
- {
- --nTemplateLevel;
- if (nTemplateLevel == 0)
- {
- csv_assert(pNextSegment);
- pNextSegment->Make_Template() = String(pTokenStart, iter);
- bTokenFinished = true;
- }
- }
- } // end if (nTemplateLevel == 0)
- } // end for
-
- if (NOT bTokenFinished AND pTokenStart != iter)
- {
- pNextSegment = new sn::NameSegment(String(pTokenStart,iter));
- aSegments.push_back(*pNextSegment.Release());
- }
-}
-
-
-} // namespace ary
diff --git a/autodoc/source/ary/kernel/slots.cxx b/autodoc/source/ary/kernel/slots.cxx
index f4b7fee2a7f5..78c0c8f89ba5 100644
--- a/autodoc/source/ary/kernel/slots.cxx
+++ b/autodoc/source/ary/kernel/slots.cxx
@@ -77,38 +77,6 @@ Slot_Null::StoreEntries( Display & ) const
// Does nothing
}
-
-//*********************** Slot_RidSet ********************//
-
-Slot_RidSet::Slot_RidSet( const Set_Rid & i_rData )
- : pData(&i_rData)
-{
-}
-
-Slot_RidSet::~Slot_RidSet()
-{
-}
-
-uintt
-Slot_RidSet::Size() const
-{
- return pData->size();;
-}
-
-void
-Slot_RidSet::StoreEntries( Display & o_rDestination ) const
-{
- for ( Set_Rid::const_iterator it = pData->begin();
- it != pData->end();
- ++it )
- {
- o_rDestination.DisplaySlot_Rid( *it );
- }
-}
-
-
-
-
//*********************** Slot_MapLocalCe ********************//
Slot_MapLocalCe::Slot_MapLocalCe( const cpp::Map_LocalCe & i_rData )
@@ -167,37 +135,6 @@ Slot_MapOperations::StoreEntries( Display & o_rDestination ) const
}
}
-
-//*********************** Slot_RidList ********************//
-
-Slot_RidList::Slot_RidList( const List_Rid & i_rData )
- : pData(&i_rData)
-{
-}
-
-Slot_RidList::~Slot_RidList()
-{
-}
-
-uintt
-Slot_RidList::Size() const
-{
- return pData->size();;
-}
-
-void
-Slot_RidList::StoreEntries( Display & o_rDestination ) const
-{
- for ( List_Rid::const_iterator it = pData->begin();
- it != pData->end();
- ++it )
- {
- o_rDestination.DisplaySlot_Rid( *it );
- }
-}
-
-
-
//*********************** Slot_ListLocalCe ********************//
Slot_ListLocalCe::Slot_ListLocalCe( const cpp::List_LocalCe & i_rData )
diff --git a/autodoc/source/ary/kernel/x_ary.cxx b/autodoc/source/ary/kernel/x_ary.cxx
deleted file mode 100644
index 360a12023f51..000000000000
--- a/autodoc/source/ary/kernel/x_ary.cxx
+++ /dev/null
@@ -1,77 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * $RCSfile: x_ary.cxx,v $
- * $Revision: 1.6 $
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#include <precomp.h>
-#include <ary/x_ary.hxx>
-
-
-// NOT FULLY DECLARED SERVICES
-
-
-
-namespace ary
-{
-
-
-X_Ary::X_Ary( E_Event i_eEvent )
- : eEvent(i_eEvent)
-{
-}
-
-void
-X_Ary::GetInfo( std::ostream & o_rOutputMedium ) const
-{
- switch (eEvent)
- {
- case x_MultipleRepository:
- o_rOutputMedium << "Tried to create a repository instance, though there exists one already.";
- break;
- case x_MissingRepository:
- o_rOutputMedium << "Tried to access the repository, though there exists none.";
- break;
- case x_EntityNotFound:
- o_rOutputMedium << "Code entity not found in repository.";
- break;
- case x_ConflictingNames:
- o_rOutputMedium << "Name of code entity occurs double in different versions.";
- break;
- case x_UnexpectedTypeOfObject:
- o_rOutputMedium << "Name- or id-mismatch: Code entity had other type than expected.";
- break;
- case x_Any:
- default:
- o_rOutputMedium << "Unspecified exception in repository.";
- } // end switch
- o_rOutputMedium << Endl();
-}
-
-
-} // namespace ary
-
diff --git a/autodoc/source/ary/loc/loc_dir.cxx b/autodoc/source/ary/loc/loc_dir.cxx
index a172cb9ecd76..855c08e48643 100644
--- a/autodoc/source/ary/loc/loc_dir.cxx
+++ b/autodoc/source/ary/loc/loc_dir.cxx
@@ -97,16 +97,6 @@ Directory::Add_File(const File & i_file)
}
Le_id
-Directory::Search_Child(const String & i_name) const
-{
- Le_id
- ret = Search_Dir(i_name);
- if (ret.IsValid())
- return ret;
- return Search_File(i_name);
-}
-
-Le_id
Directory::Search_Dir(const String & i_name) const
{
return pChildren->aSubDirectories.Search(i_name);
diff --git a/autodoc/source/ary/loc/loc_filebase.cxx b/autodoc/source/ary/loc/loc_filebase.cxx
index f1afeeaf27c2..9e762f098386 100644
--- a/autodoc/source/ary/loc/loc_filebase.cxx
+++ b/autodoc/source/ary/loc/loc_filebase.cxx
@@ -41,18 +41,6 @@ namespace ary
namespace loc
{
-
-String
-FileBase::Extension() const
-{
- const char *
- extension = strrchr(sLocalName.c_str(), '.');
- if (extension != 0)
- return String(extension + 1);
- return String::Null_();
-}
-
-
FileBase::FileBase( const String & i_localName,
Le_id i_parentDirectory )
: sLocalName(i_localName),
diff --git a/autodoc/source/ary/loc/loc_traits.cxx b/autodoc/source/ary/loc/loc_traits.cxx
index ca98cfe4e5a3..3b8e0340e8c7 100644
--- a/autodoc/source/ary/loc/loc_traits.cxx
+++ b/autodoc/source/ary/loc/loc_traits.cxx
@@ -53,15 +53,6 @@ Le_Traits::EntityOf_(id_type i_id)
return Le_Storage::Instance_()[i_id];
}
-Le_Traits::id_type
-Le_Traits::IdOf_(const entity_base_type & i_entity)
-{
- return i_entity.LeId();
-}
-
-
-
-
//******************** LeNode_Traits ************************//
symtree::Node<LeNode_Traits> *
LeNode_Traits::NodeOf_(entity_base_type & io_entity)
@@ -71,12 +62,6 @@ LeNode_Traits::NodeOf_(entity_base_type & io_entity)
return 0;
}
-const String &
-LeNode_Traits::LocalNameOf_(const entity_base_type & i_entity)
-{
- return i_entity.LocalName();
-}
-
Le_Traits::entity_base_type *
LeNode_Traits::ParentOf_(const entity_base_type & i_entity)
{
@@ -87,19 +72,6 @@ LeNode_Traits::ParentOf_(const entity_base_type & i_entity)
return 0;
}
-template <class KEY>
-Le_Traits::id_type
-LeNode_Traits::Search_( const entity_base_type & i_entity,
- const KEY & i_localKey )
-{
- if (is_type<Directory>(i_entity))
- return ary_cast<Directory>(i_entity).Search_Child(i_localKey);
- return id_type(0);
-}
-
-
-
-
//******************** Le_Compare ************************//
const Le_Compare::key_type &
Le_Compare::KeyOf_(const entity_base_type & i_entity)