Examples of FooterRecord


Examples of org.apache.poi.hssf.record.FooterRecord

    List<Record> records = new ArrayList<Record>();
    records.add( createMSDrawingObjectRecord() );
    records.add( createOBJRecord() );
    records.add( createBOFRecord() );
    records.add(new HeaderRecord(""));
    records.add(new FooterRecord(""));
    records.add( createHCenterRecord() );
    records.add( createVCenterRecord() );
    records.add( createPrintSetupRecord() );
    // unknown 33
    records.add( createFontBasisRecord1() );
View Full Code Here

Examples of org.apache.poi.hssf.record.FooterRecord

    List<Record> records = new ArrayList<Record>();
    records.add( createMSDrawingObjectRecord() );
    records.add( createOBJRecord() );
    records.add( createBOFRecord() );
    records.add(new HeaderRecord(""));
    records.add(new FooterRecord(""));
    records.add( createHCenterRecord() );
    records.add( createVCenterRecord() );
    records.add( createPrintSetupRecord() );
    // unknown 33
    records.add( createFontBasisRecord1() );
View Full Code Here

Examples of org.apache.poi.hssf.record.FooterRecord

  public PageSettingsBlock() {
    _plsRecords = new ArrayList<PLSAggregate>();
    _rowBreaksRecord = new HorizontalPageBreakRecord();
    _columnBreaksRecord = new VerticalPageBreakRecord();
    _header = new HeaderRecord("");
    _footer = new FooterRecord("");
    _hCenter = createHCenter();
    _vCenter = createVCenter();
    _printSetup = createPrintSetup();
  }
View Full Code Here

Examples of org.apache.poi.hssf.record.FooterRecord

      rv.visitRecord(new HeaderRecord(""));
    } else {
      rv.visitRecord(_header);
    }
    if (_footer == null) {
      rv.visitRecord(new FooterRecord(""));
    } else {
      rv.visitRecord(_footer);
    }
    visitIfPresent(_hCenter, rv);
    visitIfPresent(_vCenter, rv);
View Full Code Here

Examples of org.apache.poi.hssf.record.FooterRecord

    nr.setValue(3.0);

    Record[] recs = {
        BOFRecord.createSheetBOF(),
        new HeaderRecord("&LSales Figures"),
        new FooterRecord("&LJanuary"),
        ur(UnknownRecord.HEADER_FOOTER_089C, "9C 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C4 60 00 00 00 00 00 00 00 00"),
        new DimensionsRecord(),
        new WindowTwoRecord(),
        ur(UnknownRecord.USERSVIEWBEGIN_01AA, "ED 77 3B 86 BC 3F 37 4C A9 58 60 23 43 68 54 4B 01 00 00 00 64 00 00 00 40 00 00 00 02 00 00 00 3D 80 04 00 00 00 00 00 00 00 0C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 F0 3F FF FF 01 00"),
        new HeaderRecord("&LSales Figures"),
        new FooterRecord("&LJanuary"),
        ur(UnknownRecord.HEADER_FOOTER_089C, "9C 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C4 60 00 00 00 00 00 00 00 00"),
        ur(UnknownRecord.USERSVIEWEND_01AB, "01, 00"),

        EOFRecord.instance,
    };
View Full Code Here

Examples of org.apache.poi.hssf.record.FooterRecord

    nr.setValue(3.0);

    Record[] recs = {
        BOFRecord.createSheetBOF(),
        new HeaderRecord("&LSales Figures"),
        new FooterRecord("&LJanuary"),
        new DimensionsRecord(),
        new WindowTwoRecord(),
        ur(UnknownRecord.HEADER_FOOTER_089C, "9C 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C4 60 00 00 00 00 00 00 00 00"),
        EOFRecord.instance,
    };
View Full Code Here

Examples of org.apache.poi.hssf.record.FooterRecord

  public void testLateMargins_bug47199() {

    Record[] recs = {
        BOFRecord.createSheetBOF(),
        new HeaderRecord("&LSales Figures"),
        new FooterRecord("&LJanuary"),
        new DimensionsRecord(),
        createBottomMargin(0.787F),
        new WindowTwoRecord(),
        EOFRecord.instance,
    };
View Full Code Here

Examples of org.apache.poi.hssf.record.FooterRecord

    assertEquals(VCenterRecord.class, outRecs[3].getClass());

    // make sure the added header / footer records are empty
    HeaderRecord hr = (HeaderRecord) outRecs[0];
    assertEquals("", hr.getText());
    FooterRecord fr = (FooterRecord) outRecs[1];
    assertEquals("", fr.getText());
  }
View Full Code Here

Examples of org.apache.poi.hssf.record.FooterRecord

    Record plsB = ur(UnknownRecord.PLS_004D, "DE AD BE EF");
    Record contB1 = new ContinueRecord(HexRead.readFromString("FE ED"));
    Record contB2 = new ContinueRecord(HexRead.readFromString("FA CE"));
    Record[] recs = {
        new HeaderRecord("&LSales Figures"),
        new FooterRecord("&LInventory"),
        new HCenterRecord(),
        new VCenterRecord(),
        plsA,
        plsB, contB1, contB2, // make sure continuing PLS is still OK
    };
View Full Code Here

Examples of org.apache.poi.hssf.record.FooterRecord

    List<Record> records = new ArrayList<Record>();
    records.add( createMSDrawingObjectRecord() );
    records.add( createOBJRecord() );
    records.add( createBOFRecord() );
    records.add(new HeaderRecord(""));
    records.add(new FooterRecord(""));
    records.add( createHCenterRecord() );
    records.add( createVCenterRecord() );
    records.add( createPrintSetupRecord() );
    // unknown 33
    records.add( createFontBasisRecord1() );
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.