Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 25 of 26) sorted by relevance

12

/AOO42X/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/converter/xml/sxc/
H A DCellStyle.java44 private Format fmt = new Format(); field in CellStyle
106 public CellStyle(String name, String family, String parent,Format fmt, StyleCatalog sc) { in CellStyle() argument
108 this.fmt = fmt; in CellStyle()
117 return fmt; in getFormat()
155 fmt.setAttribute(Format.BOLD, value.equals("bold")); in handleAttribute()
160 fmt.setAttribute(Format.ITALIC, true); in handleAttribute()
162 fmt.setAttribute(Format.ITALIC, false); in handleAttribute()
166 fmt.setAttribute(Format.UNDERLINE, !value.equals("none")); in handleAttribute()
170 fmt.setAttribute(Format.STRIKETHRU, !value.equals("none")); in handleAttribute()
175 fmt.setAttribute(Format.SUPERSCRIPT, true); in handleAttribute()
[all …]
H A DSxcDocumentSerializer.java77 private Format fmt = null; field in SxcDocumentSerializer
119 fmt = new Format(); in SxcDocumentSerializer()
571 fmt.clearFormatting(); in traverseCell()
616 fmt = new Format(definedFormat); in traverseCell()
637 if (fmt.isDefault() && styleName.length()==0) { in traverseCell()
643 fmt = new Format(cri.getFormat()); in traverseCell()
665 fmt.setCategory(CELLTYPE_STRING); in traverseCell()
669 fmt.setValue(tableStringValueNode.getNodeValue()); in traverseCell()
679 fmt.setCategory(CELLTYPE_FLOAT); in traverseCell()
680 fmt.setDecimalPlaces(getDecimalPlaces(node)); in traverseCell()
[all …]
H A DFormat.java111 public Format(Format fmt) { in Format() argument
112 category = fmt.getCategory(); in Format()
113 value = fmt.getValue(); in Format()
114 formatSpecifier = fmt.getFormatSpecifier(); in Format()
115 decimalPlaces = fmt.getDecimalPlaces(); in Format()
117 attributes = fmt.attributes; in Format()
118 mask = fmt.mask; in Format()
120 fontName = fmt.getFontName(); in Format()
121 align = fmt.getAlign(); in Format()
122 vertAlign = fmt.getVertAlign(); in Format()
[all …]
H A DColumnRowInfo.java44 private Format fmt = new Format(); field in ColumnRowInfo
86 public void setFormat(Format fmt) { in setFormat() argument
88 this.fmt = fmt; in setFormat()
98 return fmt; in getFormat()
H A DSpreadsheetEncoder.java69 public abstract void setCellFormat(int row, int column, Format fmt); in setCellFormat() argument
82 Format fmt, String cellContents) throws IOException; in addCell() argument
H A DSxcDocumentDeserializer.java554 Format fmt = decoder.getCellFormat(); in processCells() local
572 SxcConstants.DEFAULT_STYLE, fmt, null); in processCells()
/AOO42X/main/xmerge/java/pexcel/src/main/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/
H A DPocketExcelDecoder.java56 private Format fmt = null; field in PocketExcelDecoder
71 fmt = new Format(); in PocketExcelDecoder()
395 return new Format(fmt); in getCellFormat()
404 fmt.clearFormatting(); in readCellFormat()
411 fmt.setAttribute(Format.ITALIC, fd.isItalic()); in readCellFormat()
412 fmt.setAttribute(Format.BOLD, fd.isBold()); in readCellFormat()
413 fmt.setAttribute(Format.UNDERLINE, fd.isUnderline()); in readCellFormat()
414 fmt.setForeground(fd.getForeground()); in readCellFormat()
416 fmt.setBackground(xf.getBackground()); in readCellFormat()
417 fmt.setAlign(xf.getAlign()); in readCellFormat()
[all …]
H A DPocketExcelEncoder.java192 public void addCell(int row, int column, Format fmt, String cellContents) throws IOException { in addCell() argument
198 wb.addCell(row, column, fmt, cellContents); in addCell()
261 public void setCellFormat(int row, int column, Format fmt) { in setCellFormat() argument
262 Debug.log(Debug.TRACE,"bold : " + fmt.getAttribute(Format.BOLD) + in setCellFormat()
263 ",Italic : " + fmt.getAttribute(Format.ITALIC) + in setCellFormat()
264 ",Underline : " + fmt.getAttribute(Format.UNDERLINE)); in setCellFormat()
/AOO42X/main/xmerge/java/pexcel/src/main/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/
H A DExtendedFormat.java92 public ExtendedFormat(int ixfnt, Format fmt) { in ExtendedFormat() argument
95 String category = fmt.getCategory(); in ExtendedFormat()
110 int align = fmt.getAlign(); in ExtendedFormat()
123 int vertAlign = fmt.getVertAlign(); in ExtendedFormat()
136 if(fmt.getAttribute(Format.WORD_WRAP)) { in ExtendedFormat()
140 if(fmt.getAttribute(Format.LEFT_BORDER)) { in ExtendedFormat()
143 if(fmt.getAttribute(Format.RIGHT_BORDER)) { in ExtendedFormat()
146 if(fmt.getAttribute(Format.TOP_BORDER)) { in ExtendedFormat()
149 if(fmt.getAttribute(Format.BOTTOM_BORDER)) { in ExtendedFormat()
153 Color background = fmt.getBackground(); in ExtendedFormat()
H A DFontDescription.java59 public FontDescription(Format fmt) throws IOException { in FontDescription() argument
61 Debug.log(Debug.TRACE,"Building FontDescriptor based on Format : " + fmt); in FontDescription()
63 this.dwHeight = EndianConverter.writeShort((short) (fmt.getFontSize()*20)); in FontDescription()
69 if (fmt.getAttribute(Format.ITALIC)) in FontDescription()
72 if (fmt.getAttribute(Format.BOLD)) in FontDescription()
75 if (fmt.getAttribute(Format.UNDERLINE)) in FontDescription()
82 String fontName = fmt.getFontName(); in FontDescription()
92 Color foreground = fmt.getForeground(); in FontDescription()
H A DFormula.java58 public Formula(int row, int column, String cellContents, int ixfe, Format fmt, Workbook wb) in Formula() argument
68 String category = fmt.getCategory(); in Formula()
69 String value = fmt.getValue(); in Formula()
83 num = EndianConverter.writeDouble(toExcelSerialDate(fmt.getValue())); in Formula()
86 num = EndianConverter.writeDouble(toExcelSerialTime(fmt.getValue())); in Formula()
89 double percent = (double) Double.parseDouble(fmt.getValue()); in Formula()
105 double cellLong = (double) Double.parseDouble(fmt.getValue()); in Formula()
H A DWorkbook.java241 public int addExtendedFormat(Format fmt) throws IOException { in addExtendedFormat() argument
243 FontDescription fd = new FontDescription(fmt); in addExtendedFormat()
245 ExtendedFormat xf = new ExtendedFormat(ixfnt, fmt); in addExtendedFormat()
376 public void addCell(int row,int col, Format fmt, String cellContents) in addCell() argument
380 int ixfe = addExtendedFormat(fmt); in addCell()
382 String category = fmt.getCategory(); in addCell()
385 Debug.log(Debug.TRACE,"Cell Format: " + fmt); in addCell()
390 Formula f = new Formula(row, col, cellContents, ixfe, fmt, this); in addCell()
393 StringValue sv = new StringValue(fmt.getValue()); in addCell()
/AOO42X/main/xmerge/source/minicalc/java/org/openoffice/xmerge/converter/xml/sxc/minicalc/
H A DMinicalcEncoder.java290 public void addCell(int row, int column, Format fmt, String cellContents) throws IOException { in addCell() argument
292 CellAttributes ca = new CellAttributes(getFormat(fmt), in addCell()
293 fmt.getForeground(), in addCell()
294 fmt.getBackground()); in addCell()
528 public void setCellFormat(int row, int column, Format fmt) { in setCellFormat() argument
546 private long getFormat(Format fmt) in getFormat() argument
548 String category = fmt.getCategory(); in getFormat()
554 return setFormatCurrency(0, fmt.getDecimalPlaces()); in getFormat()
560 return setFormatFloat(0, fmt.getDecimalPlaces()); in getFormat()
563 return setFormatPercent(0, fmt.getDecimalPlaces()); in getFormat()
H A DMinicalcDecoder.java69 private Format fmt = null; field in MinicalcDecoder
95 fmt = new Format(); in MinicalcDecoder()
372 if (fmt.getCategory().equalsIgnoreCase(OfficeConstants.CELLTYPE_CURRENCY)) { in getCellContents()
375 else if (fmt.getCategory().equalsIgnoreCase(OfficeConstants.CELLTYPE_PERCENT)) { in getCellContents()
378 else if (fmt.getCategory().equalsIgnoreCase(OfficeConstants.CELLTYPE_DATE)) { in getCellContents()
381 else if (fmt.getCategory().equalsIgnoreCase(OfficeConstants.CELLTYPE_TIME)) { in getCellContents()
724 return new Format(fmt); in getCellFormat()
733 fmt.clearFormatting(); in readCellFormat()
735 fmt.setCategory(getCellFormatType()); in readCellFormat()
/AOO42X/main/xmerge/workben/
H A Djstyle.pl135 $fmt = "%s: %d: %s\n%s\n";
137 $fmt = "%s: %d: %s\n";
167 printf $fmt, $filename, $., $_[0], $line;
520 printf $fmt, $filename, $., $str, $prev;
/AOO42X/main/migrationanalysis/src/driver_docs/sources/word/
H A DMigrationAnalyser.cls1425 Dim fmt, prefix, postfix, res As String
1433 fmt = lvl.NumberFormat
1434 p1 = InStr(fmt, "%")
1435 p2 = InStrRev(fmt, "%")
1436 v1 = val(Mid(fmt, p1 + 1, 1))
1437 v2 = val(Mid(fmt, p2 + 1, 1))
1439 prefix = Mid(fmt, 1, p1 - 1)
1440 postfix = Mid(fmt, p2 + 2)
1447 If (StrComp(res, fmt) <> 0) Then
/AOO42X/main/soltools/javadep/
H A Djavadep.c623 err_quit(const char* fmt, ...) in err_quit() argument
631 va_start(args, fmt); in err_quit()
635 vsnprintf(buffer, sizeof(buffer), fmt, args); in err_quit()
/AOO42X/main/oox/source/dump/
H A Dbiffdumper.ini436 0x001F=uint16,dec,builtin-fmt-count
460 0x104E=uint16,dec,fmt-idx,FORMATS
465 0x0056=uint16,dec,builtin-fmt-count
632 0x00080000=!fmt-idx-used
1977 0x0001=apply-num-fmt
2033 0x0040=server-num-fmt
2263 0x3F=uint8,dec,fmt-idx,FORMATS
2383 0x3F=uint8,dec,fmt-idx,FORMATS
H A Dxlsbdumper.ini830 0x01000000=apply-num-fmt
1004 0x00004000=apply-num-fmt
H A Doledumper.ini156 70=blob-obj,clip-fmt,guid,vers-stream
/AOO42X/main/extras/source/misc_config/
H A Dmakefile.mk40 ZIP2LIST = autotbl.fmt
/AOO42X/main/connectivity/source/inc/
H A Dsqlscan.hxx61 virtual void SQLyyerror(char *fmt);
/AOO42X/main/sw/source/core/doc/
H A Ddbgoutsw.cxx60 char* db_pretty_print(const String* str, int flags, char* fmt) in db_pretty_print() argument
62 (void) fmt; in db_pretty_print()
/AOO42X/main/shell/source/win32/shlxthandler/propsheets/
H A Dlistviewbuilder.cxx133 lvc.fmt = LVCFMT_LEFT; in setup_list_view()
/AOO42X/main/connectivity/source/parse/
H A Dsqlbison.y4780 void OSQLParser::error( const sal_Char* fmt) in error() argument
4784 ::rtl::OUString sStr(fmt,strlen(fmt),RTL_TEXTENCODING_UTF8); in error()

12