diff options
Diffstat (limited to 'autodoc/source/display')
-rw-r--r-- | autodoc/source/display/html/aryattrs.cxx | 10 | ||||
-rw-r--r-- | autodoc/source/display/html/cfrstd.cxx | 6 | ||||
-rw-r--r-- | autodoc/source/display/html/hd_chlst.cxx | 5 | ||||
-rw-r--r-- | autodoc/source/display/html/hdimpl.cxx | 6 | ||||
-rw-r--r-- | autodoc/source/display/html/outfile.cxx | 8 | ||||
-rw-r--r-- | autodoc/source/display/html/pm_index.cxx | 5 | ||||
-rw-r--r-- | autodoc/source/display/html/pm_index.hxx | 6 | ||||
-rw-r--r-- | autodoc/source/display/kernel/displfct.cxx | 22 | ||||
-rw-r--r-- | autodoc/source/display/kernel/displfct.hxx | 12 |
9 files changed, 50 insertions, 30 deletions
diff --git a/autodoc/source/display/html/aryattrs.cxx b/autodoc/source/display/html/aryattrs.cxx index 9db898370fcb..6c02675e226d 100644 --- a/autodoc/source/display/html/aryattrs.cxx +++ b/autodoc/source/display/html/aryattrs.cxx @@ -2,9 +2,9 @@ * * $RCSfile: aryattrs.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: np $ $Date: 2002-03-08 14:45:22 $ + * last change: $Author: np $ $Date: 2002-05-14 09:02:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -109,7 +109,11 @@ Get_TypeKey( const ary::CodeEntity & i_rCe ) bool Ce_IsInternal( const ary::CodeEntity & i_rCe ) { - return static_cast< const ary::info::CodeInfo& >(i_rCe.Info()).IsInternal(); + const ary::info::CodeInfo * + pInfo = dynamic_cast< const ary::info::CodeInfo* >( &i_rCe.Info() ); + return pInfo != 0 + ? pInfo->IsInternal() + : false; } const char * diff --git a/autodoc/source/display/html/cfrstd.cxx b/autodoc/source/display/html/cfrstd.cxx index 0fe24d1a01c4..2b41edc625b3 100644 --- a/autodoc/source/display/html/cfrstd.cxx +++ b/autodoc/source/display/html/cfrstd.cxx @@ -2,9 +2,9 @@ * * $RCSfile: cfrstd.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: np $ $Date: 2002-03-08 14:45:22 $ + * last change: $Author: np $ $Date: 2002-05-14 09:02:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -93,7 +93,7 @@ StdFrame::LogoLink() const const char * StdFrame::CopyrightText() const { - return "Copyright 2001-2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA."; + return "Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA."; // return "Copyright 2001 OpenOffice.org Foundation. All Rights Reserved."; } diff --git a/autodoc/source/display/html/hd_chlst.cxx b/autodoc/source/display/html/hd_chlst.cxx index 97dbd513ee09..f33231eb1076 100644 --- a/autodoc/source/display/html/hd_chlst.cxx +++ b/autodoc/source/display/html/hd_chlst.cxx @@ -2,9 +2,9 @@ * * $RCSfile: hd_chlst.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: np $ $Date: 2002-03-08 14:45:23 $ + * last change: $Author: np $ $Date: 2002-05-14 09:02:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -400,6 +400,7 @@ ChildList_Display::Display_Class( const ary::cpp::Class & i_rData ) if ( i_rData.Protection() == ary::cpp::PROTECT_global ) { sLink = ClassFileName(i_rData.LocalName()); + } else { diff --git a/autodoc/source/display/html/hdimpl.cxx b/autodoc/source/display/html/hdimpl.cxx index 9a3ff8afedd5..dee9d525af98 100644 --- a/autodoc/source/display/html/hdimpl.cxx +++ b/autodoc/source/display/html/hdimpl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: hdimpl.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: np $ $Date: 2002-03-08 14:45:23 $ + * last change: $Author: np $ $Date: 2002-05-14 09:02:12 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -333,7 +333,7 @@ Create_ChildListTable( const char * i_sTitle ) html::Table * dpTable = new html::Table; *dpTable -// << new xml::AnAttribute( "border", "1" ) + << new xml::AnAttribute( "border", "1" ) << new xml::AnAttribute( "cellpadding", "5" ) << new xml::AnAttribute( "cellspacing", "0" ) << new html::WidthAttr( "100%" ); diff --git a/autodoc/source/display/html/outfile.cxx b/autodoc/source/display/html/outfile.cxx index 6c853443a77b..d5707cdfd923 100644 --- a/autodoc/source/display/html/outfile.cxx +++ b/autodoc/source/display/html/outfile.cxx @@ -2,9 +2,9 @@ * * $RCSfile: outfile.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: np $ $Date: 2002-03-08 14:45:24 $ + * last change: $Author: np $ $Date: 2002-05-14 09:02:12 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -194,6 +194,10 @@ HtmlDocuFile::CreateFile() WriteHeader(aFile); WriteBody(aFile); + // Write end + static const char sCompletion[] = "\n</html>\n"; + aFile.write( sCompletion ); + aFile.close(); Cout() << '.' << Flush(); return true; diff --git a/autodoc/source/display/html/pm_index.cxx b/autodoc/source/display/html/pm_index.cxx index ce129b0d7c9f..7895033a819b 100644 --- a/autodoc/source/display/html/pm_index.cxx +++ b/autodoc/source/display/html/pm_index.cxx @@ -2,9 +2,9 @@ * * $RCSfile: pm_index.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: np $ $Date: 2002-03-08 14:45:25 $ + * last change: $Author: np $ $Date: 2002-05-14 09:02:12 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -314,7 +314,6 @@ PageMaker_Index::Write_CeIndexEntry( const ary::CodeEntity & i_rCe, const ary::CodeEntity & rOwner = Env().Gate().Ref_Ce(i_rCe.Owner()); - pCurIndex->AddEntry(); pCurIndex->Term() >> *new html::Link( Link2Ce(Env(), i_rCe) ) diff --git a/autodoc/source/display/html/pm_index.hxx b/autodoc/source/display/html/pm_index.hxx index ba3a4ec10af8..6c95870866a1 100644 --- a/autodoc/source/display/html/pm_index.hxx +++ b/autodoc/source/display/html/pm_index.hxx @@ -2,9 +2,9 @@ * * $RCSfile: pm_index.hxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: np $ $Date: 2002-03-08 14:45:25 $ + * last change: $Author: np $ $Date: 2002-05-14 09:02:12 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -81,7 +81,7 @@ class ChildList_Display; class NavigationBar; class PageMaker_Index : public SpecializedPageMaker, - private ary::cpp::Display + public ary::cpp::Display // Must be 'public' because of a Solaris-Compiler-bug with dynamic_cast in hierarchies with private inheritance. { public: PageMaker_Index( diff --git a/autodoc/source/display/kernel/displfct.cxx b/autodoc/source/display/kernel/displfct.cxx index a7fc7ddbd788..6cf5491e6062 100644 --- a/autodoc/source/display/kernel/displfct.cxx +++ b/autodoc/source/display/kernel/displfct.cxx @@ -2,9 +2,9 @@ * * $RCSfile: displfct.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: np $ $Date: 2002-03-08 14:45:25 $ + * last change: $Author: np $ $Date: 2002-05-14 09:02:12 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -65,6 +65,7 @@ // NOT FULLY DECLARED SERVICES #include <html/chd_udk2.hxx> +#include <html/hd_udk2.hxx> #include <html/cfrstd.hxx> @@ -93,17 +94,24 @@ DisplayToolsFactory::~DisplayToolsFactory() { } +// DYN autodoc::TextDisplay_FunctionList_Ifc * +// DisplayToolsFactory::Create_TextDisplay_FunctionList() const +// { +// return new CppTextDisplay_FunctionList; +// } + + DYN autodoc::HtmlDisplay_UdkStd * DisplayToolsFactory::Create_HtmlDisplay_UdkStd() const { return new CppHtmlDisplay_Udk2; } -// DYN autodoc::TextDisplay_FunctionList_Ifc * -// DisplayToolsFactory::Create_TextDisplay_FunctionList() const -// { -// return new CppTextDisplay_FunctionList; -// } +DYN autodoc::HtmlDisplay_Idl_Ifc * +DisplayToolsFactory::Create_HtmlDisplay_Idl() const +{ + return new IdlHtmlDisplay_Udk2; +} const display::CorporateFrame & DisplayToolsFactory::Create_StdFrame() const diff --git a/autodoc/source/display/kernel/displfct.hxx b/autodoc/source/display/kernel/displfct.hxx index b35455df5831..4a1f85c07d32 100644 --- a/autodoc/source/display/kernel/displfct.hxx +++ b/autodoc/source/display/kernel/displfct.hxx @@ -2,9 +2,9 @@ * * $RCSfile: displfct.hxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: np $ $Date: 2002-03-08 14:45:25 $ + * last change: $Author: np $ $Date: 2002-05-14 09:02:12 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -75,10 +75,14 @@ class DisplayToolsFactory : public autodoc::DisplayToolsFactory_Ifc DisplayToolsFactory(); virtual ~DisplayToolsFactory(); - virtual DYN autodoc::HtmlDisplay_UdkStd * - Create_HtmlDisplay_UdkStd() const; // virtual DYN autodoc::TextDisplay_FunctionList_Ifc * // Create_TextDisplay_FunctionList() const; + + virtual DYN autodoc::HtmlDisplay_UdkStd * + Create_HtmlDisplay_UdkStd() const; + virtual DYN autodoc::HtmlDisplay_Idl_Ifc * + Create_HtmlDisplay_Idl() const; + virtual const display::CorporateFrame & Create_StdFrame() const; private: |