diff options
Diffstat (limited to 'autodoc/source/parser/inc/adoc')
-rw-r--r-- | autodoc/source/parser/inc/adoc/a_rdocu.hxx | 14 | ||||
-rw-r--r-- | autodoc/source/parser/inc/adoc/adoc_tok.hxx | 12 | ||||
-rw-r--r-- | autodoc/source/parser/inc/adoc/atokdeal.hxx | 6 | ||||
-rw-r--r-- | autodoc/source/parser/inc/adoc/cx_a_std.hxx | 56 | ||||
-rw-r--r-- | autodoc/source/parser/inc/adoc/cx_a_sub.hxx | 76 | ||||
-rw-r--r-- | autodoc/source/parser/inc/adoc/docu_pe.hxx | 80 | ||||
-rw-r--r-- | autodoc/source/parser/inc/adoc/prs_adoc.hxx | 4 | ||||
-rw-r--r-- | autodoc/source/parser/inc/adoc/tk_attag.hxx | 16 | ||||
-rw-r--r-- | autodoc/source/parser/inc/adoc/tk_docw.hxx | 50 | ||||
-rw-r--r-- | autodoc/source/parser/inc/adoc/tokintpr.hxx | 6 |
10 files changed, 160 insertions, 160 deletions
diff --git a/autodoc/source/parser/inc/adoc/a_rdocu.hxx b/autodoc/source/parser/inc/adoc/a_rdocu.hxx index bf49609f29c4..8a5c56fc7286 100644 --- a/autodoc/source/parser/inc/adoc/a_rdocu.hxx +++ b/autodoc/source/parser/inc/adoc/a_rdocu.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -52,14 +52,14 @@ class DocuExplorer public: DocuExplorer(); ~DocuExplorer(); - void StartNewFile( - DocuDealer & o_rDocuDistributor ); + void StartNewFile( + DocuDealer & o_rDocuDistributor ); - void Process_Token( - DYN adoc::Token & let_drToken ); + void Process_Token( + DYN adoc::Token & let_drToken ); private: - DocuDealer * pDocuDistributor; - Dyn<Adoc_PE> pPE; + DocuDealer * pDocuDistributor; + Dyn<Adoc_PE> pPE; bool bIsPassedFirstDocu; }; diff --git a/autodoc/source/parser/inc/adoc/adoc_tok.hxx b/autodoc/source/parser/inc/adoc/adoc_tok.hxx index fa4a143eaf73..c70220395ed3 100644 --- a/autodoc/source/parser/inc/adoc/adoc_tok.hxx +++ b/autodoc/source/parser/inc/adoc/adoc_tok.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -46,13 +46,13 @@ class Token : public TextToken { public: // LIFECYCLE - virtual ~Token() {} + virtual ~Token() {} // OPERATIONS - virtual void DealOut( - ::TokenDealer & o_rDealer ); - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const = 0; + virtual void DealOut( + ::TokenDealer & o_rDealer ); + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const = 0; }; diff --git a/autodoc/source/parser/inc/adoc/atokdeal.hxx b/autodoc/source/parser/inc/adoc/atokdeal.hxx index db2765f54e56..7e514698d3cd 100644 --- a/autodoc/source/parser/inc/adoc/atokdeal.hxx +++ b/autodoc/source/parser/inc/adoc/atokdeal.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -48,8 +48,8 @@ class TokenDealer : virtual public ::TokenDealer { public: - virtual void Deal_AdcDocu( - adoc::Token & let_drToken ) = 0; + virtual void Deal_AdcDocu( + adoc::Token & let_drToken ) = 0; }; diff --git a/autodoc/source/parser/inc/adoc/cx_a_std.hxx b/autodoc/source/parser/inc/adoc/cx_a_std.hxx index c9a6c1443b12..b7479f5b0473 100644 --- a/autodoc/source/parser/inc/adoc/cx_a_std.hxx +++ b/autodoc/source/parser/inc/adoc/cx_a_std.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -53,48 +53,48 @@ class Context_AdocStd : public autodoc::TkpDocuContext, private StateMachineContext { public: - // LIFECYCLE + // LIFECYCLE Context_AdocStd(); - virtual void SetParentContext( - TkpContext & io_rParentContext, - const char * i_sMultiLineEndToken ); + virtual void SetParentContext( + TkpContext & io_rParentContext, + const char * i_sMultiLineEndToken ); ~Context_AdocStd(); - // OPERATIONS - virtual void AssignDealer( - TokenDealer & o_rDealer ); + // OPERATIONS + virtual void AssignDealer( + TokenDealer & o_rDealer ); - virtual void ReadCharChain( - CharacterSource & io_rText ); - virtual bool PassNewToken(); - virtual void SetMode_IsMultiLine( - bool i_bTrue ); - // INQUIRY + virtual void ReadCharChain( + CharacterSource & io_rText ); + virtual bool PassNewToken(); + virtual void SetMode_IsMultiLine( + bool i_bTrue ); + // INQUIRY virtual TkpContext & FollowUpContext(); private: - // SERVICE FUNCTIONS - virtual void PerformStatusFunction( - uintt i_nStatusSignal, - F_CRTOK i_fTokenCreateFunction, - CharacterSource & io_rText ); + // SERVICE FUNCTIONS + virtual void PerformStatusFunction( + uintt i_nStatusSignal, + F_CRTOK i_fTokenCreateFunction, + CharacterSource & io_rText ); - void SetupStateMachine(); + void SetupStateMachine(); - // DATA - StateMachine aStateMachine; - TokenDealer * pDealer; + // DATA + StateMachine aStateMachine; + TokenDealer * pDealer; // Contexts - TkpContext * pParentContext; - TkpContext * pFollowUpContext; - Dyn<Cx_LineStart> pCx_LineStart; - Dyn<Cx_CheckStar> pCx_CheckStar; + TkpContext * pParentContext; + TkpContext * pFollowUpContext; + Dyn<Cx_LineStart> pCx_LineStart; + Dyn<Cx_CheckStar> pCx_CheckStar; Dyn<Cx_AtTagCompletion> pCx_AtTagCompletion; // Temporary data, used during ReadCharChain() - Dyn<TextToken> pNewToken; + Dyn<TextToken> pNewToken; bool bIsMultiline; }; diff --git a/autodoc/source/parser/inc/adoc/cx_a_sub.hxx b/autodoc/source/parser/inc/adoc/cx_a_sub.hxx index 43fe2fca8449..5e649c420f76 100644 --- a/autodoc/source/parser/inc/adoc/cx_a_sub.hxx +++ b/autodoc/source/parser/inc/adoc/cx_a_sub.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -47,28 +47,28 @@ class Cx_LineStart : public TkpContext { public: Cx_LineStart( - TkpContext & i_rFollowUpContext ); + TkpContext & i_rFollowUpContext ); - virtual void ReadCharChain( - CharacterSource & io_rText ); - virtual bool PassNewToken(); + virtual void ReadCharChain( + CharacterSource & io_rText ); + virtual bool PassNewToken(); virtual TkpContext & FollowUpContext(); - void SetCurToken( - TextToken::F_CRTOK i_fTokenCreateFunction ) + void SetCurToken( + TextToken::F_CRTOK i_fTokenCreateFunction ) { fCur_TokenCreateFunction = i_fTokenCreateFunction; } void AssignDealer( - TokenDealer & o_rDealer ) + TokenDealer & o_rDealer ) { pDealer = &o_rDealer; } private: // DATA - TokenDealer * pDealer; - TkpContext * pFollowUpContext; + TokenDealer * pDealer; + TkpContext * pFollowUpContext; - Dyn<TextToken> pNewToken; + Dyn<TextToken> pNewToken; - TextToken::F_CRTOK fCur_TokenCreateFunction; + TextToken::F_CRTOK fCur_TokenCreateFunction; }; @@ -81,33 +81,33 @@ class Cx_CheckStar : public TkpContext public: // LIFECYCLE Cx_CheckStar( - TkpContext & i_rFollowUpContext ); - void Set_End_FollowUpContext( - TkpContext & i_rEnd_FollowUpContext ) + TkpContext & i_rFollowUpContext ); + void Set_End_FollowUpContext( + TkpContext & i_rEnd_FollowUpContext ) { pEnd_FollowUpContext = &i_rEnd_FollowUpContext; } - virtual void ReadCharChain( - CharacterSource & io_rText ); - virtual bool PassNewToken(); + virtual void ReadCharChain( + CharacterSource & io_rText ); + virtual bool PassNewToken(); - void SetCanBeEnd( - bool i_bCanBeEnd ) + void SetCanBeEnd( + bool i_bCanBeEnd ) { bCanBeEnd = i_bCanBeEnd; } virtual TkpContext & FollowUpContext(); void AssignDealer( - TokenDealer & o_rDealer ) + TokenDealer & o_rDealer ) { pDealer = &o_rDealer; } private: // DATA - TokenDealer * pDealer; - TkpContext * pFollowUpContext; - TkpContext * pEnd_FollowUpContext; + TokenDealer * pDealer; + TkpContext * pFollowUpContext; + TkpContext * pEnd_FollowUpContext; - Dyn<TextToken> pNewToken; + Dyn<TextToken> pNewToken; - bool bCanBeEnd; - bool bEndTokenFound; + bool bCanBeEnd; + bool bEndTokenFound; }; @@ -115,28 +115,28 @@ class Cx_AtTagCompletion : public TkpContext { public: Cx_AtTagCompletion( - TkpContext & i_rFollowUpContext ); + TkpContext & i_rFollowUpContext ); - virtual void ReadCharChain( - CharacterSource & io_rText ); - virtual bool PassNewToken(); + virtual void ReadCharChain( + CharacterSource & io_rText ); + virtual bool PassNewToken(); virtual TkpContext & FollowUpContext(); - void SetCurToken( - TextToken::F_CRTOK i_fTokenCreateFunction ) + void SetCurToken( + TextToken::F_CRTOK i_fTokenCreateFunction ) { fCur_TokenCreateFunction = i_fTokenCreateFunction; } void AssignDealer( - TokenDealer & o_rDealer ) + TokenDealer & o_rDealer ) { pDealer = &o_rDealer; } private: // DATA - TokenDealer * pDealer; - TkpContext * pFollowUpContext; + TokenDealer * pDealer; + TkpContext * pFollowUpContext; - Dyn<TextToken> pNewToken; + Dyn<TextToken> pNewToken; - TextToken::F_CRTOK fCur_TokenCreateFunction; + TextToken::F_CRTOK fCur_TokenCreateFunction; }; diff --git a/autodoc/source/parser/inc/adoc/docu_pe.hxx b/autodoc/source/parser/inc/adoc/docu_pe.hxx index ef49b2594c79..c4487e69b8cf 100644 --- a/autodoc/source/parser/inc/adoc/docu_pe.hxx +++ b/autodoc/source/parser/inc/adoc/docu_pe.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -61,81 +61,81 @@ class Adoc_PE : public TokenInterpreter Adoc_PE(); ~Adoc_PE(); - virtual void Hdl_at_std( - const Tok_at_std & i_rTok ); - virtual void Hdl_at_base( - const Tok_at_base & i_rTok ); - virtual void Hdl_at_exception( + virtual void Hdl_at_std( + const Tok_at_std & i_rTok ); + virtual void Hdl_at_base( + const Tok_at_base & i_rTok ); + virtual void Hdl_at_exception( const Tok_at_exception & i_rTok ); - virtual void Hdl_at_impl( - const Tok_at_impl & i_rTok ); - virtual void Hdl_at_key( - const Tok_at_key & i_rTok ); - virtual void Hdl_at_param( + virtual void Hdl_at_impl( + const Tok_at_impl & i_rTok ); + virtual void Hdl_at_key( + const Tok_at_key & i_rTok ); + virtual void Hdl_at_param( const Tok_at_param & i_rTok ); - virtual void Hdl_at_see( - const Tok_at_see & i_rTok ); - virtual void Hdl_at_template( + virtual void Hdl_at_see( + const Tok_at_see & i_rTok ); + virtual void Hdl_at_template( const Tok_at_template & i_rTok ); - virtual void Hdl_at_interface( + virtual void Hdl_at_interface( const Tok_at_interface & i_rTok ); - virtual void Hdl_at_internal( + virtual void Hdl_at_internal( const Tok_at_internal & i_rTok ); - virtual void Hdl_at_obsolete( + virtual void Hdl_at_obsolete( const Tok_at_obsolete & i_rTok ); - virtual void Hdl_at_module( + virtual void Hdl_at_module( const Tok_at_module & i_rTok ); - virtual void Hdl_at_file( - const Tok_at_file & i_rTok ); - virtual void Hdl_at_gloss( + virtual void Hdl_at_file( + const Tok_at_file & i_rTok ); + virtual void Hdl_at_gloss( const Tok_at_gloss & i_rTok ); - virtual void Hdl_at_global( + virtual void Hdl_at_global( const Tok_at_global & i_rTok ); - virtual void Hdl_at_include( + virtual void Hdl_at_include( const Tok_at_include & i_rTok ); - virtual void Hdl_at_label( + virtual void Hdl_at_label( const Tok_at_label & i_rTok ); - virtual void Hdl_at_since( + virtual void Hdl_at_since( const Tok_at_since & i_rTok ); - virtual void Hdl_at_HTML( + virtual void Hdl_at_HTML( const Tok_at_HTML & i_rTok ); - virtual void Hdl_at_NOHTML( + virtual void Hdl_at_NOHTML( const Tok_at_NOHTML & i_rTok ); - virtual void Hdl_DocWord( - const Tok_DocWord & i_rTok ); + virtual void Hdl_DocWord( + const Tok_DocWord & i_rTok ); - virtual void Hdl_Whitespace( + virtual void Hdl_Whitespace( const Tok_Whitespace & i_rTok ); - virtual void Hdl_LineStart( + virtual void Hdl_LineStart( const Tok_LineStart & i_rTok ); - virtual void Hdl_Eol( - const Tok_Eol & i_rTok ); + virtual void Hdl_Eol( + const Tok_Eol & i_rTok ); - virtual void Hdl_EoDocu( - const Tok_EoDocu & i_rTok ); + virtual void Hdl_EoDocu( + const Tok_EoDocu & i_rTok ); DYN ary::doc::OldCppDocu * ReleaseJustParsedDocu(); - bool IsComplete() const; + bool IsComplete() const; private: void InstallAtTag( @@ -144,7 +144,7 @@ class Adoc_PE : public TokenInterpreter bool i_bImplicit = false ); /// True for implicit @short and @descr. ary::doc::OldCppDocu & CurDocu(); - ary::info::AtTag & CurAtTag(); + ary::info::AtTag & CurAtTag(); bool UsesHtmlInDocuText(); void RenameCurShortTag(); @@ -168,10 +168,10 @@ class Adoc_PE : public TokenInterpreter Dyn<ary::doc::OldCppDocu> pCurDocu; - ary::info::AtTag * pCurAtTag; + ary::info::AtTag * pCurAtTag; uintt nLineCountInDocu; - UINT8 nCurSpecialMeaningTokens; - UINT8 nCurSubtractFromLineStart; + UINT8 nCurSpecialMeaningTokens; + UINT8 nCurSubtractFromLineStart; E_TagState eCurTagState; E_DocuState eDocuState; bool bIsComplete; diff --git a/autodoc/source/parser/inc/adoc/prs_adoc.hxx b/autodoc/source/parser/inc/adoc/prs_adoc.hxx index 5326552dd017..35d601b23062 100644 --- a/autodoc/source/parser/inc/adoc/prs_adoc.hxx +++ b/autodoc/source/parser/inc/adoc/prs_adoc.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -41,7 +41,7 @@ class DocuParser_AutodocStyle : public autodoc::DocumentationParser_Ifc { public: DocuParser_AutodocStyle(); - virtual ~DocuParser_AutodocStyle(); + virtual ~DocuParser_AutodocStyle(); virtual DYN autodoc::TkpDocuContext * Create_DocuContext() const; diff --git a/autodoc/source/parser/inc/adoc/tk_attag.hxx b/autodoc/source/parser/inc/adoc/tk_attag.hxx index 11c21124e67d..923c4018171c 100644 --- a/autodoc/source/parser/inc/adoc/tk_attag.hxx +++ b/autodoc/source/parser/inc/adoc/tk_attag.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -45,24 +45,24 @@ class Tok_at_std : public Token { public: Tok_at_std( - E_AtTagId i_nId ) + E_AtTagId i_nId ) : eId(i_nId) {} - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; virtual const char * Text() const; - E_AtTagId Id() const { return eId; } + E_AtTagId Id() const { return eId; } private: - E_AtTagId eId; + E_AtTagId eId; }; #define DECL_TOKEN_CLASS(name) \ class Tok_##name : public Token \ { public: \ - virtual void Trigger( \ - TokenInterpreter & io_rInterpreter ) const; \ + virtual void Trigger( \ + TokenInterpreter & io_rInterpreter ) const; \ virtual const char * \ Text() const; \ } diff --git a/autodoc/source/parser/inc/adoc/tk_docw.hxx b/autodoc/source/parser/inc/adoc/tk_docw.hxx index fa53d8968826..f8c8f2bc4783 100644 --- a/autodoc/source/parser/inc/adoc/tk_docw.hxx +++ b/autodoc/source/parser/inc/adoc/tk_docw.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -43,18 +43,18 @@ class Tok_DocWord : public Token public: // Spring and Fall Tok_DocWord( - const char * i_sText ) - : sText(i_sText) {} + const char * i_sText ) + : sText(i_sText) {} // OPERATIONS - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; // INQUIRY - virtual const char* Text() const; + virtual const char* Text() const; uintt Length() const { return sText.length(); } private: // DATA - String sText; + String sText; }; class Tok_Whitespace : public Token @@ -62,18 +62,18 @@ class Tok_Whitespace : public Token public: // Spring and Fall Tok_Whitespace( - UINT8 i_nSize ) - : nSize(i_nSize) {} + UINT8 i_nSize ) + : nSize(i_nSize) {} // OPERATIONS - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; // INQUIRY - virtual const char* Text() const; - UINT8 Size() const { return nSize; } + virtual const char* Text() const; + UINT8 Size() const { return nSize; } private: // DATA - UINT8 nSize; + UINT8 nSize; }; class Tok_LineStart : public Token @@ -81,32 +81,32 @@ class Tok_LineStart : public Token public: // Spring and Fall Tok_LineStart( - UINT8 i_nSize ) - : nSize(i_nSize) {} + UINT8 i_nSize ) + : nSize(i_nSize) {} // OPERATIONS - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; // INQUIRY - virtual const char* Text() const; - UINT8 Size() const { return nSize; } + virtual const char* Text() const; + UINT8 Size() const { return nSize; } private: // DATA - UINT8 nSize; + UINT8 nSize; }; class Tok_Eol : public Token { public: - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; virtual const char * Text() const; }; class Tok_EoDocu : public Token { public: - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; virtual const char * Text() const; }; diff --git a/autodoc/source/parser/inc/adoc/tokintpr.hxx b/autodoc/source/parser/inc/adoc/tokintpr.hxx index f24b2ea80a97..5fc0ca8aec6c 100644 --- a/autodoc/source/parser/inc/adoc/tokintpr.hxx +++ b/autodoc/source/parser/inc/adoc/tokintpr.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -68,7 +68,7 @@ class Tok_EoDocu; #define DECL_TOK_HANDLER(token) \ - virtual void Hdl_##token( \ + virtual void Hdl_##token( \ const Tok_##token & i_rTok ) = 0 @@ -76,7 +76,7 @@ class Tok_EoDocu; class TokenInterpreter { public: - virtual ~TokenInterpreter() {} + virtual ~TokenInterpreter() {} DECL_TOK_HANDLER(at_std); DECL_TOK_HANDLER(at_base); |