code: public void writeSectionDefinition(final OutputStream result) throws IOException
      {
          if(landscape) {
              result.write(LANDSCAPE);
              result.write(SECTION_PAGE_WIDTH);
              result.write(intToByteArray(pageWidth));
              result.write(SECTION_PAGE_HEIGHT);
              result.write(intToByteArray(pageHeight));
              this.document.outputDebugLinebreak(result);
          } else {
              result.write(SECTION_PAGE_WIDTH);
              result.write(intToByteArray(pageWidth));
              result.write(SECTION_PAGE_HEIGHT);
              result.write(intToByteArray(pageHeight));
              this.document.outputDebugLinebreak(result);
          }
          result.write(SECTION_MARGIN_LEFT);
          result.write(intToByteArray(marginLeft));
          result.write(SECTION_MARGIN_RIGHT);
          result.write(intToByteArray(marginRight));
          result.write(SECTION_MARGIN_TOP);
          result.write(intToByteArray(marginTop));
          result.write(SECTION_MARGIN_BOTTOM);
          result.write(intToByteArray(marginBottom));    	
      }
docs: Writes the definition part for a new section