Home
last modified time | relevance | path

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

/aoo4110/main/xmerge/source/pocketword/java/org/openoffice/xmerge/converter/xml/sxw/pocketword/
H A DParagraph.java34 import org.openoffice.xmerge.util.EndianConverter;
131 lengthWithFormatting = EndianConverter.readShort( in Paragraph()
209 int index = EndianConverter.readShort( in parseText()
243 int size = EndianConverter.readShort( in parseText()
518 bos.write(EndianConverter.writeShort(dataWords)); in getParagraphData()
521 bos.write(EndianConverter.writeShort(lines)); in getParagraphData()
523 bos.write(EndianConverter.writeShort(marker)); in getParagraphData()
524 bos.write(EndianConverter.writeInt(unknown2)); in getParagraphData()
552 bos.write(EndianConverter.writeInt(unknown3)); in getParagraphData()
843 bos.write(EndianConverter.writeInt(filler)); in getDescriptorInfo()
[all …]
H A DDocumentDescriptor.java26 import org.openoffice.xmerge.util.EndianConverter;
99 descStream.write(EndianConverter.writeShort((short)(6 + in getDescriptor()
103 descStream.write(EndianConverter.writeShort((short)0)); in getDescriptor()
106 descStream.write(EndianConverter.writeShort((short)0)); in getDescriptor()
108 descStream.write(EndianConverter.writeShort((short)0)); in getDescriptor()
110 descStream.write(EndianConverter.writeShort(numLines)); in getDescriptor()
121 descStream.write(EndianConverter.writeShort((short)0)); in getDescriptor()
219 desc.write(EndianConverter.writeShort(filler)); in getDescriptor()
220 desc.write(EndianConverter.writeShort(lines)); in getDescriptor()
221 desc.write(EndianConverter.writeShort(length)); in getDescriptor()
[all …]
H A DParagraphTextSegment.java28 import org.openoffice.xmerge.util.EndianConverter;
126 data.write(EndianConverter.writeShort(colourCode)); in getData()
/aoo4110/main/xmerge/source/pexcel/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/
H A DPane.java32 import org.openoffice.xmerge.util.EndianConverter;
81 int xTwips = EndianConverter.readShort(x)/11; in getSplitPoint()
82 int yTwips = EndianConverter.readShort(y)/15; in getSplitPoint()
94 return (new Point(EndianConverter.readShort(x), in getFreezePoint()
95 EndianConverter.readShort(y))); in getFreezePoint()
111 y = EndianConverter.writeShort(yPxl); in setSplitPoint()
114 x = EndianConverter.writeShort(xPxl); in setSplitPoint()
116 y = EndianConverter.writeShort((short) p.getY()); in setSplitPoint()
117 x = EndianConverter.writeShort((short) p.getX()); in setSplitPoint()
166 return EndianConverter.readShort(rwTop); in getTop()
[all …]
H A DExtendedFormat.java32 import org.openoffice.xmerge.util.EndianConverter;
94 this.ixfnt = EndianConverter.writeShort((short)ixfnt); in ExtendedFormat()
97 this.ixnf = EndianConverter.writeShort((short) 0); in ExtendedFormat()
99 this.ixnf = EndianConverter.writeShort((short) 0x12); in ExtendedFormat()
103 this.ixnf = EndianConverter.writeShort((short) 0); in ExtendedFormat()
178 return EndianConverter.readShort(ixfnt); in getFontIndex()
187 return EndianConverter.readShort(ixnf); in getFormatIndex()
196 return EndianConverter.readShort(fTextAttr); in getTextAttr()
205 short rgb = EndianConverter.readShort(icvFill); in getBackground()
284 if(EndianConverter.readShort(icvFill) != in compareTo()
[all …]
H A DFontDescription.java34 import org.openoffice.xmerge.util.EndianConverter;
66 bls = EndianConverter.writeShort((short) 400); in FontDescription()
73 bls = EndianConverter.writeShort((short) 700); in FontDescription()
112 return (EndianConverter.readShort(grbit) == 2); in isItalic()
132 return (EndianConverter.readShort(bls) == 700); in isBold()
141 short rgb = EndianConverter.readShort(icvFore); in getForeground()
157 if(EndianConverter.readShort(icvFore) != in compareTo()
158 EndianConverter.readShort(rhs.icvFore)) in compareTo()
161 if (EndianConverter.readShort(dwHeight) != in compareTo()
162 EndianConverter.readShort(dwHeight)) in compareTo()
[all …]
H A DColInfo.java31 import org.openoffice.xmerge.util.EndianConverter;
57 this.colFirst = EndianConverter.writeShort((short)colFirst); in ColInfo()
58 this.colLast = EndianConverter.writeShort((short)colLast); in ColInfo()
60 this.colDX = EndianConverter.writeShort((short)colDX); in ColInfo()
61 this.ixfe = EndianConverter.writeShort((short)ixfe); in ColInfo()
85 short scaledDX = (short) (EndianConverter.readShort(colDX) / scale); in read()
86 colDX = EndianConverter.writeShort(scaledDX); in read()
94 " ixfe : " + EndianConverter.readShort(ixfe) + in read()
114 return EndianConverter.readShort(colDX); in getColWidth()
123 return EndianConverter.readShort(colFirst); in getFirst()
[all …]
H A DRow.java31 import org.openoffice.xmerge.util.EndianConverter;
54 this.rw = EndianConverter.writeShort((short) rw); in Row()
56 this.miyRw = EndianConverter.writeShort((short) miyRw); in Row()
58 grbit = EndianConverter.writeShort((short) 2); in Row()
60 grbit = EndianConverter.writeShort((short) 0); in Row()
62 ixfe = EndianConverter.writeShort((short) 0); in Row()
89 return EndianConverter.readShort(miyRw); in getRowHeight()
98 return EndianConverter.readShort(rw); in getRowNumber()
110 short scaledHeight = (short) (EndianConverter.readShort(miyRw) / scale); in read()
111 miyRw = EndianConverter.writeShort(scaledHeight); in read()
[all …]
H A DSelection.java32 import org.openoffice.xmerge.util.EndianConverter;
52 this.rwTop = EndianConverter.writeShort((short) 0); in Selection()
54 this.rwBottom = EndianConverter.writeShort((short) 0); in Selection()
56 this.rwActive = EndianConverter.writeShort((short) 0); in Selection()
85 Point p = new Point(colActive, EndianConverter.readShort(rwActive)); in getActiveCell()
97 rwActive = EndianConverter.writeShort((short) p.getY()); in setActiveCell()
115 Debug.log(Debug.TRACE,"\trwTop : "+ EndianConverter.readShort(rwTop) + in read()
117 " rwBottom : " + EndianConverter.readShort(rwBottom) + in read()
119 " rwActive : " + EndianConverter.readShort(rwActive) + in read()
H A DDefinedName.java32 import org.openoffice.xmerge.util.EndianConverter;
65 grbit = EndianConverter.writeShort((short)0); in DefinedName()
106 rgce = new byte[EndianConverter.readShort(cce)]; in read()
107 input.read(rgce, 0, EndianConverter.readShort(cce)); in read()
111 Debug.log(Debug.TRACE, "\tgrbit : "+ EndianConverter.readShort(grbit) + in read()
113 " cce : " + EndianConverter.readShort(cce) + in read()
114 " ixals : " + EndianConverter.readShort(ixals) + in read()
131 cce = EndianConverter.writeShort((short) rgce.length); in write()
134 cce = EndianConverter.writeShort((short) 0); in write()
191 if(EndianConverter.readShort(cce)!=0) { in getDefinition()
H A DBeginningOfFile.java31 import org.openoffice.xmerge.util.EndianConverter;
66 this.version = EndianConverter.writeShort(version); in setVersion()
70 return EndianConverter.readShort(version); in getVersion()
75 subStream = EndianConverter.writeShort((short) 0x05); in setSubStreamWBGlobal()
80 subStream = EndianConverter.writeShort((short) 0x10); in setSubStreamWorkSheet()
88 return EndianConverter.readShort(subStream); in getSubStreamType()
94 Debug.log(Debug.TRACE,"\tVersion : "+ EndianConverter.readShort(version) + in read()
95 " Stream : " + EndianConverter.readShort(subStream)); in read()
H A DFormula.java31 import org.openoffice.xmerge.util.EndianConverter;
83 num = EndianConverter.writeDouble(toExcelSerialDate(fmt.getValue())); in Formula()
86 num = EndianConverter.writeDouble(toExcelSerialTime(fmt.getValue())); in Formula()
90 num = EndianConverter.writeDouble(percent); in Formula()
106 num = EndianConverter.writeDouble(cellLong); in Formula()
119 cce = EndianConverter.writeShort((short) rgce.length); in setFormula()
157 int strLen = EndianConverter.readShort(cce); in read()
163 " cce : " + EndianConverter.readShort(cce) + in read()
196 double value = EndianConverter.readDouble(num); in getValue()
H A DCellValue.java31 import org.openoffice.xmerge.util.EndianConverter;
45 return EndianConverter.readShort(rw) + 1; in getRow()
54 this.rw = EndianConverter.writeShort((short) (row - 1)); in setRow()
62 return EndianConverter.readShort(ixfe); in getIxfe()
71 this.ixfe = EndianConverter.writeShort((short) (ixfe)); in setIxfe()
116 Debug.log(Debug.TRACE, "\tRow : "+ EndianConverter.readShort(rw) + in read()
118 " ixfe : " + EndianConverter.readShort(ixfe)); in read()
H A DWindow1.java31 import org.openoffice.xmerge.util.EndianConverter;
47 grbit = EndianConverter.writeShort((short) 0); in Window1()
48 itabCur = EndianConverter.writeShort((short) 0); in Window1()
66 itabCur = EndianConverter.writeShort((short) activeSheet); in setActiveSheet()
75 return EndianConverter.readShort(itabCur); in getActiveSheet()
97 Debug.log(Debug.TRACE,"\tgrbit : "+ EndianConverter.readShort(grbit) + in read()
98 " itabCur : " + EndianConverter.readShort(itabCur)); in read()
H A DWindow2.java32 import org.openoffice.xmerge.util.EndianConverter;
53 this.rwTop = EndianConverter.writeShort((short) 0); in Window2()
55 this.grbit = EndianConverter.writeShort((short) 0); in Window2()
135 Debug.log(Debug.TRACE,"\trwTop : "+ EndianConverter.readShort(rwTop) + in read()
137 " grbit : " + EndianConverter.readShort(grbit)); in read()
H A DDefColWidth.java31 import org.openoffice.xmerge.util.EndianConverter;
84 Debug.log(Debug.TRACE,"\tgrbit : "+ EndianConverter.readShort(grbit) + in read()
85 " coldx : " + EndianConverter.readShort(coldx) + in read()
86 " ixfe : " + EndianConverter.readShort(ixfe)); in read()
H A DCodePage.java31 import org.openoffice.xmerge.util.EndianConverter;
82 Debug.log(Debug.TRACE,"\tcodepage : "+ EndianConverter.readShort(codepage) + in read()
83 " unknown1 : " + EndianConverter.readShort(unknown1) + in read()
84 " unknown2 : " + EndianConverter.readShort(unknown2) + in read()
H A DLabelCell.java31 import org.openoffice.xmerge.util.EndianConverter;
106 int strLen = EndianConverter.readShort(cch)*2; in read()
110 Debug.log(Debug.TRACE, " cch : " + EndianConverter.readShort(cch) + in read()
133 cch = EndianConverter.writeShort((short)cellContents.length()); in setLabel()
H A DDefRowHeight.java31 import org.openoffice.xmerge.util.EndianConverter;
70 Debug.log(Debug.TRACE,"\tunknown1 : "+ EndianConverter.readShort(unknown1) + in read()
71 " unknown2 : " + EndianConverter.readShort(unknown2)); in read()
H A DBlankCell.java31 import org.openoffice.xmerge.util.EndianConverter;
94 Debug.log(Debug.TRACE, "\tRow : "+ EndianConverter.readShort(rw) + in read()
96 " ixfe : " + EndianConverter.readShort(ixfe)); in read()
H A DFloatNumber.java31 import org.openoffice.xmerge.util.EndianConverter;
65 num = EndianConverter.writeDouble(cellLong); in FloatNumber()
111 double value = EndianConverter.readDouble(num); in getString()
H A DStringValue.java32 import org.openoffice.xmerge.util.EndianConverter;
51 cch = EndianConverter.writeShort((short) str.length()); in StringValue()
85 int strlen = EndianConverter.readShort(cch)*2; in read()
/aoo4110/main/xmerge/source/pexcel/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/formula/
H A DTokenDecoder.java31 import org.openoffice.xmerge.util.EndianConverter;
219 int nameIndex = EndianConverter.readShort(buffer); in readNameToken()
247 int formulaRow = EndianConverter.readShort(buffer); in readCellRefToken()
273 int Sheet1 = EndianConverter.readShort(buffer); in read3DCellRefToken()
276 int Sheet2 = EndianConverter.readShort(buffer); in read3DCellRefToken()
280 int formulaRow = EndianConverter.readShort(buffer); in read3DCellRefToken()
310 int Sheet1 = EndianConverter.readShort(buffer); in read3DCellAreaRefToken()
313 int Sheet2 = EndianConverter.readShort(buffer); in read3DCellAreaRefToken()
396 formulaRow1 = EndianConverter.readShort(buffer); in readCellAreaRefToken()
401 formulaRow2 = EndianConverter.readShort(buffer); in readCellAreaRefToken()
[all …]
H A DTokenEncoder.java31 import org.openoffice.xmerge.util.EndianConverter;
178 byte[] tempByte = EndianConverter.writeDouble(cellLong); in numEncoder()
/aoo4110/main/xmerge/source/xmerge/java/org/openoffice/xmerge/util/
H A DEndianConverter.java38 public class EndianConverter { class

Completed in 106 milliseconds