+ Split out latex writer to linear and latex writer

This commit is contained in:
michael 2005-01-09 15:59:50 +00:00
parent e1be3f4720
commit dbf41e5a8d
6 changed files with 1411 additions and 1035 deletions

View File

@ -17,12 +17,10 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
} }
unit dGlobals;
{$MODE objfpc} {$MODE objfpc}
{$H+} {$H+}
unit dGlobals;
interface interface
@ -70,15 +68,23 @@ resourcestring
SDocByName = 'by Name'; SDocByName = 'by Name';
SDocValue = 'Value'; SDocValue = 'Value';
SDocExplanation = 'Explanation'; SDocExplanation = 'Explanation';
SDocProcedure = 'Procedure';
SDocValuesForEnum = 'Enumeration values for type %s'; SDocValuesForEnum = 'Enumeration values for type %s';
SDocSourcePosition = 'Source position: %s line %d'; SDocSourcePosition = 'Source position: %s line %d';
SDocSynopsis = 'Synopsis';
SDocVisibility = 'Visibility';
// Topics // Topics
SDocRelatedTopics = 'Related topics'; SDocRelatedTopics = 'Related topics';
SDocUp = 'Up'; SDocUp = 'Up';
SDocNext = 'Next'; SDocNext = 'Next';
SDocPrevious = 'Previous'; SDocPrevious = 'Previous';
Const
SVisibility: array[TPasMemberVisibility] of string =
('Default', 'Private', 'Protected', 'Public',
'Published', 'Automated');
type type
// Assumes a list of TObject instances and frees them on destruction // Assumes a list of TObject instances and frees them on destruction
@ -1146,7 +1152,10 @@ end.
{ {
$Log$ $Log$
Revision 1.5 2004-08-28 18:47:48 michael Revision 1.6 2005-01-09 15:59:50 michael
+ Split out latex writer to linear and latex writer
Revision 1.5 2004/08/28 18:47:48 michael
+ Removed temporary warning about reading of doc file + Removed temporary warning about reading of doc file
Revision 1.4 2004/08/28 18:03:23 michael Revision 1.4 2004/08/28 18:03:23 michael
@ -1186,4 +1195,4 @@ end.
Revision 1.6 2001/12/17 22:16:02 sg Revision 1.6 2001/12/17 22:16:02 sg
* Added TFPDocEngine.HideProtected * Added TFPDocEngine.HideProtected
} }

View File

@ -14,7 +14,8 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
} }
{$mode objfpc}
{$H+}
unit dw_HTML; unit dw_HTML;
@ -2822,7 +2823,10 @@ end.
{ {
$Log$ $Log$
Revision 1.12 2004-12-20 19:01:11 peter Revision 1.13 2005-01-09 15:59:50 michael
+ Split out latex writer to linear and latex writer
Revision 1.12 2004/12/20 19:01:11 peter
* typo * typo
Revision 1.11 2004/12/20 16:28:56 michael Revision 1.11 2004/12/20 16:28:56 michael

File diff suppressed because it is too large Load Diff

View File

@ -14,6 +14,8 @@
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
} }
{$mode objfpc}
{$H+}
unit dw_XML; unit dw_XML;
@ -95,7 +97,10 @@ end.
{ {
$Log$ $Log$
Revision 1.1 2003-03-17 23:03:20 michael Revision 1.2 2005-01-09 15:59:50 michael
+ Split out latex writer to linear and latex writer
Revision 1.1 2003/03/17 23:03:20 michael
+ Initial import in CVS + Initial import in CVS
Revision 1.5 2003/03/13 22:02:13 sg Revision 1.5 2003/03/13 22:02:13 sg

1158
utils/fpdoc/dwlinear.pp Normal file

File diff suppressed because it is too large Load Diff

View File

@ -18,7 +18,7 @@ program FPDoc;
uses uses
SysUtils, Classes, Gettext, DOM, XMLWrite, SysUtils, Classes, Gettext, DOM, XMLWrite,
dGlobals, PasTree, PParser, dw_XML, dw_HTML, dw_LaTeX, dw_ipf; dGlobals, PasTree, PParser, dw_LaTeX,dw_XML, dw_HTML, dw_ipf, dwlinear;
resourcestring resourcestring
STitle = 'FPDoc - Free Pascal Documentation Tool'; STitle = 'FPDoc - Free Pascal Documentation Tool';
@ -172,7 +172,6 @@ end;
var var
i: Integer; i: Integer;
XMLDoc: TXMLDocument;
Allocator: TFileAllocator; Allocator: TFileAllocator;
HTMLWriter: THTMLWriter; HTMLWriter: THTMLWriter;
begin begin
@ -307,7 +306,10 @@ end.
{ {
$Log$ $Log$
Revision 1.5 2004-08-28 18:03:23 michael Revision 1.6 2005-01-09 15:59:50 michael
+ Split out latex writer to linear and latex writer
Revision 1.5 2004/08/28 18:03:23 michael
+ Added warning if docnode not found (option --warn-no-node + Added warning if docnode not found (option --warn-no-node
Revision 1.4 2003/10/08 11:41:54 yuri Revision 1.4 2003/10/08 11:41:54 yuri
@ -348,4 +350,4 @@ end.
Revision 1.6 2001/07/27 10:21:42 sg Revision 1.6 2001/07/27 10:21:42 sg
* Just a new, improved version ;) * Just a new, improved version ;)
(detailed changelogs will be provided again with the next commits) (detailed changelogs will be provided again with the next commits)
} }