dbertoni    00/12/05 09:41:33

  Modified:    c/src/XSLT StylesheetExecutionContext.hpp
  Log:
  Changed default indent level to 0.
  
  Revision  Changes    Path
  1.40      +8 -7      xml-xalan/c/src/XSLT/StylesheetExecutionContext.hpp
  
  Index: StylesheetExecutionContext.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/StylesheetExecutionContext.hpp,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- StylesheetExecutionContext.hpp    2000/12/04 20:48:35     1.39
  +++ StylesheetExecutionContext.hpp    2000/12/05 17:41:33     1.40
  @@ -1077,6 +1077,12 @@
        };
   
   
  +     enum eDummy
  +     {
  +             eDefaultXMLIndentAmount = 0,
  +             eDefaultHTMLIndentAmount = 0
  +     };
  +
        /**
         * Create a new FormatterToXML instance.  The execution context
         * owns the instance and will delete it when reset.
  @@ -1102,7 +1108,7 @@
                        Writer&                                 writer,
                        const XalanDOMString&   version = XalanDOMString(),
                        bool                                    doIndent = 
false,
  -                     int                                             indent 
= 0,
  +                     int                                             indent 
= eDefaultXMLIndentAmount,
                        const XalanDOMString&   encoding = XalanDOMString(),
                        const XalanDOMString&   mediaType = XalanDOMString(),
                        const XalanDOMString&   doctypeSystem = 
XalanDOMString(),
  @@ -1110,11 +1116,6 @@
                        bool                                    xmlDecl = true,
                        const XalanDOMString&   standalone = XalanDOMString()) 
= 0;
   
  -     enum eDummy
  -     {
  -             eDefaultHTMLIndentAmount = 4
  -     };
  -
        /**
         * Create a new FormatterToHTML instance.  The execution context
         * owns the instance and will delete it when reset.
  @@ -1143,7 +1144,7 @@
                        const XalanDOMString&   doctypeSystem = 
XalanDOMString(),
                        const XalanDOMString&   doctypePublic = 
XalanDOMString(),
                        bool                                    doIndent = true,
  -                     int                                             indent 
= 4,
  +                     int                                             indent 
= eDefaultHTMLIndentAmount,
                        const XalanDOMString&   version = XalanDOMString(),
                        const XalanDOMString&   standalone = XalanDOMString(),
                        bool                                    xmlDecl = 
false) = 0;
  
  
  

Reply via email to