| 2728 | } |
| 2729 | |
| 2730 | void XMLPrinter::PrepareForNewNode( bool compactMode ) |
| 2731 | { |
| 2732 | SealElementIfJustOpened(); |
| 2733 | |
| 2734 | if ( compactMode ) { |
| 2735 | return; |
| 2736 | } |
| 2737 | |
| 2738 | if ( _firstElement ) { |
| 2739 | PrintSpace (_depth); |
| 2740 | } else if ( _textDepth < 0) { |
| 2741 | Putc( '\n' ); |
| 2742 | PrintSpace( _depth ); |
| 2743 | } |
| 2744 | |
| 2745 | _firstElement = false; |
| 2746 | } |
| 2747 | |
| 2748 | void XMLPrinter::OpenElement( const char* name, bool compactMode ) |
| 2749 | { |
nothing calls this directly
no outgoing calls
no test coverage detected