package e2;
import tool.*;
public class pro {
String[] data=new String[5000];
int s,datanumber,number;
String[] subdata=new String[5000];
public static void main(String[] args) {
pro te=new pro();
}
pro(){
String title="a";
String pic="ren.jpg";
data[1]="<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
data[2]="<!DOCTYPE html>";
data[3]="<html xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:epub=\"http://www.idpf.org/2007/ops\" xml:lang=\"ja\" class=\"hltr\">";
data[4]="<head>";
data[5]="<meta charset=\"UTF-8\"/>";
data[6]="<title>"+title+"</title>";
data[7]="<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/book-style.css\"/>";
data[8]="</head>";
data[9]="<body epub:type=\"cover\" class=\"p-cover\"><div class=\"main\">";
data[10]="<p><img class=\"fit\" src=\"../image/"+pic+"\" alt=\"\"/></p>";
data[11]="</div></body></html>";
datanumber=11;
writefile sub=new writefile();
sub.datanumber=datanumber;
sub.data=data;
sub.makedata("cover.xhtml");
}
}
最終更新:2015年11月07日 02:39