diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2005-03-23 08:02:45 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2005-03-23 08:02:45 +0000 |
commit | 8e289eacea61c67651ad4496fb32ee4a4bd85e42 (patch) | |
tree | b3f8bd834bfd8d7182190e3e5ad0cfc2a3bf7a28 /autodoc/source | |
parent | ad2a19dd2c72ef932443d86d92b3fd6c79ab45de (diff) |
INTEGRATION: CWS adc11 (1.4.12); FILE MERGED
2005/02/18 18:28:45 np 1.4.12.1: #i39458#
Diffstat (limited to 'autodoc/source')
-rw-r--r-- | autodoc/source/display/idl/hi_main.cxx | 35 |
1 files changed, 31 insertions, 4 deletions
diff --git a/autodoc/source/display/idl/hi_main.cxx b/autodoc/source/display/idl/hi_main.cxx index 235ab2282717..c295368affa1 100644 --- a/autodoc/source/display/idl/hi_main.cxx +++ b/autodoc/source/display/idl/hi_main.cxx @@ -2,9 +2,9 @@ * * $RCSfile: hi_main.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: rt $ $Date: 2004-07-12 15:31:48 $ + * last change: $Author: vg $ $Date: 2005-03-23 09:02:45 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -101,6 +101,9 @@ using ::ary::idl::Type_id; using ::ary::idl::ifc_ce::Dyn_CeIterator; + +extern const String C_sCssFilename_Idl("idl.css"); + /* typedef ::ary::Dyn_StdConstIterator< ::ary::idl::CommentedRelation> Dyn_ComRefIterator; @@ -193,7 +196,16 @@ Guard_CurFile::Guard_CurFile( DocuFile_Html & io_client, rClient.EmptyBody(); rClient.SetLocation( aCurFilePath().c_str() ); - rClient.SetTitle( StreamLock(100)() << i_titlePrefix << " " << i_ce.LocalName() << c_str ); + rClient.SetTitle( StreamLock(100)() + << i_titlePrefix + << " " + << i_ce.LocalName() + << c_str ); + rClient.SetRelativeCssPath( + StreamLock(300)() + << io_env.CurPosition().LinkToRoot() + << C_sCssFilename_Idl + << c_str ); io_env.Set_CurPageCe(&i_ce); } @@ -214,6 +226,11 @@ Guard_CurFile::Guard_CurFile( DocuFile_Html & io_client, rClient.EmptyBody(); rClient.SetLocation( aCurFilePath().c_str() ); rClient.SetTitle( StreamLock(100)() << i_titlePrefix << " " << i_fileName << c_str ); + rClient.SetRelativeCssPath( + StreamLock(300)() + << io_env.CurPosition().LinkToRoot() + << C_sCssFilename_Idl + << c_str ); io_env.Set_CurPageCe(0); } @@ -231,6 +248,11 @@ Guard_CurFile::Guard_CurFile( DocuFile_Html & io_client, rClient.EmptyBody(); rClient.SetLocation( aCurFilePath().c_str() ); rClient.SetTitle( StreamLock(100)() << "Module " << io_env.CurPosition().Name() << c_str ); + rClient.SetRelativeCssPath( + StreamLock(300)() + << io_env.CurPosition().LinkToRoot() + << C_sCssFilename_Idl + << c_str ); io_env.Set_CurPageCe(&i_ce); } @@ -257,6 +279,11 @@ Guard_CurFile::Guard_CurFile( DocuFile_Html & io_client, ? char(i_letter-'a'+'A') : '_' ) << c_str ); + rClient.SetRelativeCssPath( + StreamLock(300)() + << "../" + << C_sCssFilename_Idl + << c_str ); } Guard_CurFile::~Guard_CurFile() @@ -276,7 +303,7 @@ MainDisplay_Idl::MainDisplay_Idl( HtmlEnvironment_Idl & io_rEnv ) pMyFile(new DocuFile_Html), pCurFactory(0) { - pMyFile->SetStyle( Env().Layout().CssStyle() ); +// pMyFile->SetStyle( Env().Layout().CssStyle() ); pMyFile->SetCopyright( Env().Layout().CopyrightText() ); } |