Simple C Expat Wrapper (SCEW)  1.1.7
Files | Functions
Properties

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. More...
 
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. More...
 

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
printerthe SCEW printer to change its indentation for.
indentedtrue 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
printerthe SCEW printer to change its indentation spaces for.
spacesthe number of spaces to use for indentation.