1 19 20 package jxl; 21 22 import common.Assert; 23 import common.Logger; 24 25 28 public final class HeaderFooter extends jxl.biff.HeaderFooter 29 { 30 33 public static class Contents extends jxl.biff.HeaderFooter.Contents 34 { 35 38 Contents() 39 { 40 super(); 41 } 42 43 49 Contents(String s) 50 { 51 super(s); 52 } 53 54 59 Contents(Contents copy) 60 { 61 super(copy); 62 } 63 64 69 public void append(String txt) 70 { 71 super.append(txt); 72 } 73 74 80 public void toggleBold() 81 { 82 super.toggleBold(); 83 } 84 85 91 public void toggleUnderline() 92 { 93 super.toggleUnderline(); 94 } 95 96 102 public void toggleItalics() 103 { 104 super.toggleItalics(); 105 } 106 107 113 public void toggleStrikethrough() 114 { 115 super.toggleStrikethrough(); 116 } 117 118 124 public void toggleDoubleUnderline() 125 { 126 super.toggleDoubleUnderline(); 127 } 128 129 135 public void toggleSuperScript() 136 { 137 super.toggleSuperScript(); 138 } 139 140 146 public void toggleSubScript() 147 { 148 super.toggleSubScript(); 149 } 150 151 157 public void toggleOutline() 158 { 159 super.toggleOutline(); 160 } 161 162 168 public void toggleShadow() 169 { 170 super.toggleShadow(); 171 } 172 173 182 public void setFontName(String fontName) 183 { 184 super.setFontName(fontName); 185 } 186 187 201 public boolean setFontSize(int size) 202 { 203 return super.setFontSize(size); 204 } 205 206 209 public void appendPageNumber() 210 { 211 super.appendPageNumber(); 212 } 213 214 217 public void appendTotalPages() 218 { 219 super.appendTotalPages(); 220 } 221 222 225 public void appendDate() 226 { 227 super.appendDate(); 228 } 229 230 233 public void appendTime() 234 { 235 super.appendTime(); 236 } 237 238 241 public void appendWorkbookName() 242 { 243 super.appendWorkbookName(); 244 } 245 246 249 public void appendWorkSheetName() 250 { 251 super.appendWorkSheetName(); 252 } 253 254 257 public void clear() 258 { 259 super.clear(); 260 } 261 262 267 public boolean empty() 268 { 269 return super.empty(); 270 } 271 } 272 273 276 public HeaderFooter() 277 { 278 super(); 279 } 280 281 286 public HeaderFooter(HeaderFooter hf) 287 { 288 super(hf); 289 } 290 291 295 public HeaderFooter(String s) 296 { 297 super(s); 298 } 299 300 306 public String toString() 307 { 308 return super.toString(); 309 } 310 311 316 public Contents getRight() 317 { 318 return (Contents) super.getRightText(); 319 } 320 321 326 public Contents getCentre() 327 { 328 return (Contents) super.getCentreText(); 329 } 330 331 336 public Contents getLeft() 337 { 338 return (Contents) super.getLeftText(); 339 } 340 341 344 public void clear() 345 { 346 super.clear(); 347 } 348 349 352 protected jxl.biff.HeaderFooter.Contents createContents() 353 { 354 return new Contents(); 355 } 356 357 360 protected jxl.biff.HeaderFooter.Contents createContents(String s) 361 { 362 return new Contents(s); 363 } 364 365 368 protected jxl.biff.HeaderFooter.Contents 369 createContents(jxl.biff.HeaderFooter.Contents c) 370 { 371 return new Contents((Contents) c); 372 } 373 } 374 | Popular Tags |