}
/* =============================================================== */
private void createNewFileformat() {
Prefs myPrefs = this.prozessKopie.getRegelsatz().getPreferences();
try {
DigitalDocument dd = new DigitalDocument();
Fileformat ff = new XStream(myPrefs);
ff.setDigitalDocument(dd);
/* BoundBook hinzufügen */
DocStructType dst = myPrefs.getDocStrctTypeByName("BoundBook");
DocStruct dsBoundBook = dd.createDocStruct(dst);
dd.setPhysicalDocStruct(dsBoundBook);
/* Monographie */
if (!this.co.getDoctypeByName(this.docType).isPeriodical() && !this.co.getDoctypeByName(this.docType).isMultiVolume()) {
DocStructType dsty = myPrefs.getDocStrctTypeByName(this.co.getDoctypeByName(this.docType).getRulesetType());
DocStruct ds = dd.createDocStruct(dsty);
dd.setLogicalDocStruct(ds);
this.myRdf = ff;
}
/* Zeitschrift */
else if (this.co.getDoctypeByName(this.docType).isPeriodical()) {
DocStructType dsty = myPrefs.getDocStrctTypeByName("Periodical");
DocStruct ds = dd.createDocStruct(dsty);
dd.setLogicalDocStruct(ds);
DocStructType dstyvolume = myPrefs.getDocStrctTypeByName("PeriodicalVolume");
DocStruct dsvolume = dd.createDocStruct(dstyvolume);
ds.addChild(dsvolume);
this.myRdf = ff;
}
/* MultivolumeBand */
else if (this.co.getDoctypeByName(this.docType).isMultiVolume()) {
DocStructType dsty = myPrefs.getDocStrctTypeByName("MultiVolumeWork");
DocStruct ds = dd.createDocStruct(dsty);
dd.setLogicalDocStruct(ds);
DocStructType dstyvolume = myPrefs.getDocStrctTypeByName("Volume");
DocStruct dsvolume = dd.createDocStruct(dstyvolume);
ds.addChild(dsvolume);
this.myRdf = ff;
}
if (this.docType.equals("volumerun")) {
DocStructType dsty = myPrefs.getDocStrctTypeByName("VolumeRun");
DocStruct ds = dd.createDocStruct(dsty);
dd.setLogicalDocStruct(ds);
DocStructType dstyvolume = myPrefs.getDocStrctTypeByName("Record");
DocStruct dsvolume = dd.createDocStruct(dstyvolume);
ds.addChild(dsvolume);
this.myRdf = ff;
}