⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 printfooter.java

📁 基于Java的地图数据管理软件。使用MySQL数据库管理系统。
💻 JAVA
字号:
package net.aetherial.gis.output;

import net.aetherial.gis.our.auto.extend.ExtractTrackInfo;
import net.aetherial.gis.our.duibi.readXLS.ReadKeYanBaoGao;
import java.io.File;
import java.io.FileOutputStream;

/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2004</p>
 *
 * <p>Company: </p>
 *
 * @author not attributable
 * @version 1.0
 */
public class PrintFooter {


    public static void main(String[] args) throws Exception {

    String header[] = new String[] {
        "  </Table>",
        "  <WorksheetOptions xmlns=\"urn:schemas-microsoft-com:office:excel\">",
        "   <PageSetup>",
        "    <Layout x:Orientation=\"Landscape\" x:CenterHorizontal=\"1\" x:CenterVertical=\"1\"/>",
        "    <Header x:Margin=\"0.51181102362204722\"/>",
        "    <Footer x:Margin=\"0.51181102362204722\"/>",
        "    <PageMargins x:Bottom=\"0.39370078740157483\" x:Left=\"0.78740157480314965\"",
        "     x:Right=\"0.39370078740157483\" x:Top=\"0.39370078740157483\"/>",
        "   </PageSetup>",
        "   <Unsynced/>",
        "   <Print>",
        "    <ValidPrinterInfo/>",
        "    <PaperSizeIndex>9</PaperSizeIndex>",
        "    <HorizontalResolution>600</HorizontalResolution>",
        "    <VerticalResolution>600</VerticalResolution>",
        "   </Print>",
        "   <Zoom>85</Zoom>",
        "   <Selected/>",
        "   <Panes>",
        "    <Pane>",
        "     <Number>3</Number>",
        "     <ActiveRow>13</ActiveRow>",
        "     <ActiveCol>9</ActiveCol>",
        "    </Pane>",
        "   </Panes>",
        "   <ProtectObjects>False</ProtectObjects>",
        "   <ProtectScenarios>False</ProtectScenarios>",
        "  </WorksheetOptions>",
        " </Worksheet>",
        " <Worksheet ss:Name=\"Sheet3\">",
        "  <Table ss:ExpandedColumnCount=\"0\" ss:ExpandedRowCount=\"0\" x:FullColumns=\"1\"",
        "   x:FullRows=\"1\" ss:DefaultColumnWidth=\"54\" ss:DefaultRowHeight=\"14.25\"/>",
        "  <WorksheetOptions xmlns=\"urn:schemas-microsoft-com:office:excel\">",
        "   <Panes>",
        "    <Pane>",
        "     <Number>3</Number>",
        "     <ActiveRow>31</ActiveRow>",
        "    </Pane>",
        "   </Panes>",
        "   <ProtectObjects>False</ProtectObjects>",
        "   <ProtectScenarios>False</ProtectScenarios>",
        "  </WorksheetOptions>",
        " </Worksheet>",
        "</Workbook>"

    }
        ;

    String outPutYLH = "成果比较.xml";

    FileOutputStream fos = new FileOutputStream(new File(outPutYLH),true);

    for (int i = 0; i < header.length; i++) {
      fos.write(header[i].getBytes("UTF-8"));
    }
    fos.flush();
    fos.close();

    System.exit(0);


  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -