code: public void writeContent(final OutputStream result) throws IOException
      {
          if(this.mode == MODE_SINGLE) {
          	headerAll.writeContent(result);
          } else if(this.mode == MODE_MULTIPLE) {
              if(headerFirst != null) {
              	headerFirst.writeContent(result);
              }
              if(headerLeft != null) {
                  headerLeft.writeContent(result);
              }
              if(headerRight != null) {
                  headerRight.writeContent(result);
              }
              if(headerAll != null) {
                  headerAll.writeContent(result);
              }
          }
      }
docs: Write the content of this RtfHeaderFooterGroup.