Properties
[Printer]

Set printer properties. More...

Files

file  printer.h
 

SCEW printer routines for XML output.


Functions

SCEW_API void scew_printer_set_indented (scew_printer *printer, scew_bool indented)
 Tells whether the output sent to the given SCEW printer should be indented or not.
SCEW_API void scew_printer_set_indentation (scew_printer *printer, unsigned int spaces)
 Sets the number of spaces to use when indenting output for the given SCEW printer.

Detailed Description

Set printer properties.


Function Documentation

SCEW_API void scew_printer_set_indented ( scew_printer printer,
scew_bool  indented 
)

Tells whether the output sent to the given SCEW printer should be indented or not.

Precondition:
printer != NULL
Parameters:
printer the SCEW printer to change its indentation for.
indented true if the output should be indented, false otherwise.
SCEW_API void scew_printer_set_indentation ( scew_printer printer,
unsigned int  spaces 
)

Sets the number of spaces to use when indenting output for the given SCEW printer.

Precondition:
printer != NULL
Parameters:
printer the SCEW printer to change its indentation spaces for.
spaces the number of spaces to use for indentation.

Generated on Fri Dec 11 19:50:26 2009 for Simple C Expat Wrapper (SCEW) by  doxygen 1.6.1