📄 writableformattingrecords.java
字号:
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi
// Source File Name: WritableFormattingRecords.java
package jxl.write.biff;
import common.Assert;
import jxl.biff.*;
import jxl.write.NumberFormats;
import jxl.write.WritableCellFormat;
// Referenced classes of package jxl.write.biff:
// StyleXFRecord, Styles
public class WritableFormattingRecords extends FormattingRecords
{
public static WritableCellFormat normalStyle;
public WritableFormattingRecords(Fonts f, Styles styles)
{
super(f);
try
{
StyleXFRecord sxf = new StyleXFRecord(styles.getArial10Pt(), NumberFormats.DEFAULT);
sxf.setLocked(true);
addStyle(sxf);
sxf = new StyleXFRecord(getFonts().getFont(1), NumberFormats.DEFAULT);
sxf.setLocked(true);
sxf.setCellOptions(62464);
addStyle(sxf);
sxf = new StyleXFRecord(getFonts().getFont(1), NumberFormats.DEFAULT);
sxf.setLocked(true);
sxf.setCellOptions(62464);
addStyle(sxf);
sxf = new StyleXFRecord(getFonts().getFont(1), NumberFormats.DEFAULT);
sxf.setLocked(true);
sxf.setCellOptions(62464);
addStyle(sxf);
sxf = new StyleXFRecord(getFonts().getFont(2), NumberFormats.DEFAULT);
sxf.setLocked(true);
sxf.setCellOptions(62464);
addStyle(sxf);
sxf = new StyleXFRecord(getFonts().getFont(3), NumberFormats.DEFAULT);
sxf.setLocked(true);
sxf.setCellOptions(62464);
addStyle(sxf);
sxf = new StyleXFRecord(styles.getArial10Pt(), NumberFormats.DEFAULT);
sxf.setLocked(true);
sxf.setCellOptions(62464);
addStyle(sxf);
sxf = new StyleXFRecord(styles.getArial10Pt(), NumberFormats.DEFAULT);
sxf.setLocked(true);
sxf.setCellOptions(62464);
addStyle(sxf);
sxf = new StyleXFRecord(styles.getArial10Pt(), NumberFormats.DEFAULT);
sxf.setLocked(true);
sxf.setCellOptions(62464);
addStyle(sxf);
sxf = new StyleXFRecord(styles.getArial10Pt(), NumberFormats.DEFAULT);
sxf.setLocked(true);
sxf.setCellOptions(62464);
addStyle(sxf);
sxf = new StyleXFRecord(styles.getArial10Pt(), NumberFormats.DEFAULT);
sxf.setLocked(true);
sxf.setCellOptions(62464);
addStyle(sxf);
sxf = new StyleXFRecord(styles.getArial10Pt(), NumberFormats.DEFAULT);
sxf.setLocked(true);
sxf.setCellOptions(62464);
addStyle(sxf);
sxf = new StyleXFRecord(styles.getArial10Pt(), NumberFormats.DEFAULT);
sxf.setLocked(true);
sxf.setCellOptions(62464);
addStyle(sxf);
sxf = new StyleXFRecord(styles.getArial10Pt(), NumberFormats.DEFAULT);
sxf.setLocked(true);
sxf.setCellOptions(62464);
addStyle(sxf);
sxf = new StyleXFRecord(styles.getArial10Pt(), NumberFormats.DEFAULT);
sxf.setLocked(true);
sxf.setCellOptions(62464);
addStyle(sxf);
addStyle(styles.getNormalStyle());
sxf = new StyleXFRecord(getFonts().getFont(1), NumberFormats.FORMAT7);
sxf.setLocked(true);
sxf.setCellOptions(63488);
addStyle(sxf);
sxf = new StyleXFRecord(getFonts().getFont(1), NumberFormats.FORMAT5);
sxf.setLocked(true);
sxf.setCellOptions(63488);
addStyle(sxf);
sxf = new StyleXFRecord(getFonts().getFont(1), NumberFormats.FORMAT8);
sxf.setLocked(true);
sxf.setCellOptions(63488);
addStyle(sxf);
sxf = new StyleXFRecord(getFonts().getFont(1), NumberFormats.FORMAT6);
sxf.setLocked(true);
sxf.setCellOptions(63488);
addStyle(sxf);
sxf = new StyleXFRecord(getFonts().getFont(1), NumberFormats.PERCENT_INTEGER);
sxf.setLocked(true);
sxf.setCellOptions(63488);
addStyle(sxf);
}
catch(NumFormatRecordsException e)
{
Assert.verify(false, e.getMessage());
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -