mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Added partially written gsdoc-html converter
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11175 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
775258cd6b
commit
995473179c
9 changed files with 1353 additions and 9 deletions
53
Tools/AGSHtml.h
Normal file
53
Tools/AGSHtml.h
Normal file
|
@ -0,0 +1,53 @@
|
|||
#ifndef _INCLUDED_AGSHTML_H
|
||||
#define _INCLUDED_AGSHTML_H
|
||||
/**
|
||||
|
||||
<title>AGSHtml ... a class to output html for a gsdoc file</title>
|
||||
Copyright <copy>(C) 2001 Free Software Foundation, Inc.</copy>
|
||||
|
||||
Written by: <author name="Richard Frith-Macdonald">
|
||||
<email>richard@brainstorm.co.uk</email></author>
|
||||
Created: October 2001
|
||||
|
||||
This file is part of the GNUstep Project
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
You should have received a copy of the GNU General Public
|
||||
License along with this library; see the file COPYING.LIB.
|
||||
If not, write to the Free Software Foundation,
|
||||
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
*/
|
||||
|
||||
#include "AGSIndex.h"
|
||||
|
||||
@interface AGSHtml : NSObject
|
||||
{
|
||||
AGSIndex *localRefs;
|
||||
AGSIndex *globalRefs;
|
||||
NSMutableString *indent;
|
||||
NSString *base; // Not retained
|
||||
NSString *unit; // Not retained
|
||||
NSString *heading; // Not retained
|
||||
NSString *nextFile; // Not retained
|
||||
NSString *prevFile; // Not retained
|
||||
NSString *upFile; // Not retained
|
||||
}
|
||||
- (void) decIndent;
|
||||
- (void) incIndent;
|
||||
- (NSString*) outputDocument: (GSXMLNode*)node;
|
||||
- (void) outputNode: (GSXMLNode*)node to: (NSMutableString*)buf;
|
||||
- (GSXMLNode*) outputBlock: (GSXMLNode*)node
|
||||
to: (NSMutableString*)buf
|
||||
inPara: (BOOL)flag;
|
||||
- (GSXMLNode*) outputList: (GSXMLNode*)node to: (NSMutableString*)buf;
|
||||
- (GSXMLNode*) outputText: (GSXMLNode*)node to: (NSMutableString*)buf;
|
||||
- (void) outputUnit: (GSXMLNode*)node to: (NSMutableString*)buf;
|
||||
- (void) setGlobalRefs: (AGSIndex*)r;
|
||||
- (void) setLocalRefs: (AGSIndex*)r;
|
||||
@end
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue