From 327be5be7396b07c836b57c0ef73fe8179b1b863 Mon Sep 17 00:00:00 2001 From: Pritpal Bedi Date: Thu, 11 Mar 2010 04:07:31 +0000 Subject: [PATCH] 2010-03-10 20:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * examples/hbdoc2/genhtml.prg * examples/hbdoc2/gentxt.prg * examples/hbdoc2/tmplates.prg ! Matched method definition and body. --- harbour/ChangeLog | 6 ++++++ harbour/examples/hbdoc2/genhtml.prg | 6 +++--- harbour/examples/hbdoc2/gentxt.prg | 6 ++++-- harbour/examples/hbdoc2/tmplates.prg | 6 +++--- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 1fc773a988..1dbb4ac016 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,12 @@ past entries belonging to author(s): Viktor Szakats. */ +2010-03-10 20:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + * examples/hbdoc2/genhtml.prg + * examples/hbdoc2/gentxt.prg + * examples/hbdoc2/tmplates.prg + ! Matched method definition and body. + 2010-03-10 19:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/doc/en/class_hbqplaintextedit.txt * contrib/hbqt/hbqt_hbqplaintextedit.cpp diff --git a/harbour/examples/hbdoc2/genhtml.prg b/harbour/examples/hbdoc2/genhtml.prg index 7f8a179364..bedfbb002d 100644 --- a/harbour/examples/hbdoc2/genhtml.prg +++ b/harbour/examples/hbdoc2/genhtml.prg @@ -89,8 +89,8 @@ METHOD NewIndex( cFolder, cFilename, cTitle ) CLASS GenerateHTML2 CLASS GenerateHTML FROM TPLGenerate HIDDEN: METHOD RecreateStyleDocument( cStyleFile ) - METHOD OpenTag( cText ) - METHOD Tagged( cText ) + METHOD OpenTag( cText, ... ) + METHOD Tagged( cText, cTag, ... ) METHOD CloseTag( cText ) METHOD Append( cText, cFormat ) METHOD Newline() INLINE FWrite( ::nHandle, "
" + HB_OSNewLine() ), self @@ -107,7 +107,7 @@ EXPORTED: METHOD NewDocument( cFolder, cFilename, cTitle ) METHOD AddEntry( oEntry ) //~ METHOD AddIndex( oEntry ) HIDDEN - METHOD AddReference( oEntry ) + METHOD AddReference( oEntry, cReference, cSubReference ) METHOD BeginSection( cSection, cFilename ) METHOD EndSection( cSection, cFilename ) METHOD Generate() diff --git a/harbour/examples/hbdoc2/gentxt.prg b/harbour/examples/hbdoc2/gentxt.prg index de89b8bd74..c72010c8ae 100644 --- a/harbour/examples/hbdoc2/gentxt.prg +++ b/harbour/examples/hbdoc2/gentxt.prg @@ -98,12 +98,14 @@ EXPORTED: METHOD WriteEntry( cCaption, cEntry, lPreformatted ) HIDDEN ENDCLASS -METHOD NewDocument( cFolder, cFilename, cTitle ) CLASS GenerateText +METHOD NewDocument( cFolder, cFilename, cTitle, cDescription ) CLASS GenerateText + HB_SYMBOL_UNUSED( cDescription ) super:NewDocument( cFolder, cFilename, cTitle, "txt" ) ::WriteEntry( "", cTitle + HB_OSNewLine(), .F. ) RETURN self -METHOD NewIndex( cFolder, cFilename, cTitle ) CLASS GenerateText +METHOD NewIndex( cFolder, cFilename, cTitle, cDescription ) CLASS GenerateText + HB_SYMBOL_UNUSED( cDescription ) super:NewIndex( cFolder, cFilename, cTitle, "txt" ) ::WriteEntry( "", cTitle + HB_OSNewLine(), .F. ) RETURN self diff --git a/harbour/examples/hbdoc2/tmplates.prg b/harbour/examples/hbdoc2/tmplates.prg index 6c07d98b2d..ff3f08d76e 100644 --- a/harbour/examples/hbdoc2/tmplates.prg +++ b/harbour/examples/hbdoc2/tmplates.prg @@ -132,8 +132,8 @@ EXPORTED: METHOD New( cType ) CONSTRUCTOR METHOD IsField( c, nType ) - METHOD IsTemplate( c ) - METHOD SetTemplate( cType ) + METHOD IsTemplate( cType ) + METHOD SetTemplate( cTemplate ) METHOD IsConstraint( cSectionName, cSection ) METHOD IsComplete( cIncompleteFielsList ) METHOD IsPreformatted( cField ) @@ -142,7 +142,7 @@ EXPORTED: METHOD IsOutput( cField ) METHOD FieldName( cField ) METHOD CategoryIndex( cCategory ) - METHOD SubcategoryIndex( cCategory ) + METHOD SubcategoryIndex( cCategory, cSubcategory ) DATA Group AS ARRAY DATA filename AS STRING