Fixed some really nasty bugs.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352130 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Glen Stampoultzis 2002-03-03 00:47:54 +00:00
parent 75f016af73
commit 8852a78c93
4 changed files with 29 additions and 29 deletions

View File

@ -208,7 +208,7 @@ public class FontRecord
public void setItalic(boolean italics)
{
italic.setShortBoolean(field_2_attributes, italics);
field_2_attributes = italic.setShortBoolean(field_2_attributes, italics);
}
/**
@ -220,7 +220,7 @@ public class FontRecord
public void setStrikeout(boolean strike)
{
strikeout.setShortBoolean(field_2_attributes, strike);
field_2_attributes = strikeout.setShortBoolean(field_2_attributes, strike);
}
/**
@ -233,7 +233,7 @@ public class FontRecord
public void setMacoutline(boolean mac)
{
macoutline.setShortBoolean(field_2_attributes, mac);
field_2_attributes = macoutline.setShortBoolean(field_2_attributes, mac);
}
/**
@ -246,7 +246,7 @@ public class FontRecord
public void setMacshadow(boolean mac)
{
macshadow.setShortBoolean(field_2_attributes, mac);
field_2_attributes = macshadow.setShortBoolean(field_2_attributes, mac);
}
/**

View File

@ -188,42 +188,42 @@ public class PrintSetupRecord
// option bitfields
public void setLeftToRight(boolean ltor)
{
lefttoright.setShortBoolean(field_6_options, ltor);
field_6_options = lefttoright.setShortBoolean(field_6_options, ltor);
}
public void setLandscape(boolean ls)
{
landscape.setShortBoolean(field_6_options, ls);
field_6_options = landscape.setShortBoolean(field_6_options, ls);
}
public void setValidSettings(boolean valid)
{
validsettings.setShortBoolean(field_6_options, valid);
field_6_options = validsettings.setShortBoolean(field_6_options, valid);
}
public void setNoColor(boolean mono)
{
nocolor.setShortBoolean(field_6_options, mono);
field_6_options = nocolor.setShortBoolean(field_6_options, mono);
}
public void setDraft(boolean d)
{
draft.setShortBoolean(field_6_options, d);
field_6_options = draft.setShortBoolean(field_6_options, d);
}
public void setNotes(boolean printnotes)
{
notes.setShortBoolean(field_6_options, printnotes);
field_6_options = notes.setShortBoolean(field_6_options, printnotes);
}
public void setNoOrientation(boolean orientation)
{
noOrientation.setShortBoolean(field_6_options, orientation);
field_6_options = noOrientation.setShortBoolean(field_6_options, orientation);
}
public void setUsePage(boolean page)
{
usepage.setShortBoolean(field_6_options, page);
field_6_options = usepage.setShortBoolean(field_6_options, page);
}
// end option bitfields

View File

@ -208,7 +208,7 @@ public class WindowOneRecord
public void setHidden(boolean ishidden)
{
hidden.setShortBoolean(field_5_options, ishidden);
field_5_options = hidden.setShortBoolean(field_5_options, ishidden);
}
/**
@ -218,7 +218,7 @@ public class WindowOneRecord
public void setIconic(boolean isiconic)
{
iconic.setShortBoolean(field_5_options, isiconic);
field_5_options = iconic.setShortBoolean(field_5_options, isiconic);
}
/**
@ -228,7 +228,7 @@ public class WindowOneRecord
public void setDisplayHorizonalScrollbar(boolean scroll)
{
hscroll.setShortBoolean(field_5_options, scroll);
field_5_options = hscroll.setShortBoolean(field_5_options, scroll);
}
/**
@ -238,7 +238,7 @@ public class WindowOneRecord
public void setDisplayVerticalScrollbar(boolean scroll)
{
vscroll.setShortBoolean(field_5_options, scroll);
field_5_options = vscroll.setShortBoolean(field_5_options, scroll);
}
/**
@ -248,7 +248,7 @@ public class WindowOneRecord
public void setDisplayTabs(boolean disptabs)
{
tabs.setShortBoolean(field_5_options, disptabs);
field_5_options = tabs.setShortBoolean(field_5_options, disptabs);
}
// end bitfields

View File

@ -177,7 +177,7 @@ public class WindowTwoRecord
public void setDisplayFormulas(boolean formulas)
{
displayFormulas.setBoolean(field_1_options, formulas);
field_1_options = displayFormulas.setShortBoolean(field_1_options, formulas);
}
/**
@ -187,7 +187,7 @@ public class WindowTwoRecord
public void setDisplayGridlines(boolean gridlines)
{
displayGridlines.setBoolean(field_1_options, gridlines);
field_1_options = displayGridlines.setShortBoolean(field_1_options, gridlines);
}
/**
@ -197,7 +197,7 @@ public class WindowTwoRecord
public void setDisplayRowColHeadings(boolean headings)
{
displayRowColHeadings.setBoolean(field_1_options, headings);
field_1_options = displayRowColHeadings.setShortBoolean(field_1_options, headings);
}
/**
@ -207,7 +207,7 @@ public class WindowTwoRecord
public void setFreezePanes(boolean freezepanes)
{
freezePanes.setBoolean(field_1_options, freezepanes);
field_1_options = freezePanes.setShortBoolean(field_1_options, freezepanes);
}
/**
@ -217,7 +217,7 @@ public class WindowTwoRecord
public void setDisplayZeros(boolean zeros)
{
displayZeros.setBoolean(field_1_options, zeros);
field_1_options = displayZeros.setShortBoolean(field_1_options, zeros);
}
/**
@ -227,7 +227,7 @@ public class WindowTwoRecord
public void setDefaultHeader(boolean header)
{
defaultHeader.setBoolean(field_1_options, header);
field_1_options = defaultHeader.setShortBoolean(field_1_options, header);
}
/**
@ -237,7 +237,7 @@ public class WindowTwoRecord
public void setArabic(boolean isarabic)
{
arabic.setBoolean(field_1_options, isarabic);
field_1_options = arabic.setShortBoolean(field_1_options, isarabic);
}
/**
@ -247,7 +247,7 @@ public class WindowTwoRecord
public void setDisplayGuts(boolean guts)
{
displayGuts.setBoolean(field_1_options, guts);
field_1_options = displayGuts.setShortBoolean(field_1_options, guts);
}
/**
@ -257,7 +257,7 @@ public class WindowTwoRecord
public void setFreezePanesNoSplit(boolean freeze)
{
freezePanesNoSplit.setBoolean(field_1_options, freeze);
field_1_options = freezePanesNoSplit.setShortBoolean(field_1_options, freeze);
}
/**
@ -267,7 +267,7 @@ public class WindowTwoRecord
public void setSelected(boolean sel)
{
selected.setBoolean(field_1_options, sel);
field_1_options = selected.setShortBoolean(field_1_options, sel);
}
/**
@ -277,7 +277,7 @@ public class WindowTwoRecord
public void setPaged(boolean p)
{
paged.setBoolean(field_1_options, p);
field_1_options = paged.setShortBoolean(field_1_options, p);
}
/**
@ -287,7 +287,7 @@ public class WindowTwoRecord
public void setSavedInPageBreakPreview(boolean p)
{
savedInPageBreakPreview.setBoolean(field_1_options, p);
field_1_options = savedInPageBreakPreview.setShortBoolean(field_1_options, p);
}
// end of bitfields.