| /trunk/main/connectivity/java/dbtools/src/org/apache/openoffice/comp/sdbc/dbtools/util/ |
| H A D | ORowSetValue.java | 44 private Object value; field in ORowSetValue 57 public ORowSetValue(boolean value) { in ORowSetValue() argument 59 setBoolean(value); in ORowSetValue() 62 public ORowSetValue(Date value) { in ORowSetValue() argument 64 setDate(value); in ORowSetValue() 67 public ORowSetValue(DateTime value) { in ORowSetValue() argument 69 setDateTime(value); in ORowSetValue() 72 public ORowSetValue(double value) { in ORowSetValue() argument 74 setDouble(value); in ORowSetValue() 77 public ORowSetValue(float value) { in ORowSetValue() argument [all …]
|
| /trunk/main/javaunohelper/test/com/sun/star/lib/uno/helper/ |
| H A D | PropertySet_Test.java | 107 Object value; in setPropertyValue() local 109 value= new Boolean(true); in setPropertyValue() 110 cl.setPropertyValue("PropBoolA", value); in setPropertyValue() 112 r[i++]= ((Boolean) ret).equals( (Boolean) value); in setPropertyValue() 113 value= new Character('A'); in setPropertyValue() 114 cl.setPropertyValue("PropCharA",value); in setPropertyValue() 116 r[i++]= ((Character) ret).equals((Character) value); in setPropertyValue() 117 value= new Byte((byte) 111); in setPropertyValue() 118 cl.setPropertyValue("PropByteA",value); in setPropertyValue() 120 r[i++]= ((Byte) ret).equals((Byte) value); in setPropertyValue() [all …]
|
| /trunk/main/solenv/bin/modules/installer/ |
| H A D | xpdinstaller.pm | 208 my ( $indent, $name, $value ) = @_; 209 $value = '' unless defined $value; 211 my $line = $indent . "<" . $name . ">" . $value . "</" . $name . ">" . "\n"; 223 my $value = "9999"; 225 if ( $module->{'Sortkey'} ) { $value = $module->{'Sortkey'}; } 227 return $value; 238 my $value = ""; 240 if ( $module->{'Default'} ) { $value = $module->{'Default'}; } # is YES or NO 242 if ( $value =~ /\bNO\b/i ) { $value = "false"; } 243 else { $value = "true"; } [all …]
|
| H A D | setupscript.pm | 98 my ($key, $value) = ($1, $2); 100 $installobjectvariables->{uc($key)} = $value; 118 while (my ($key, $value) = each %$variablesref) 122 $additional_variables{"LCPRODUCTNAME"} = lc($value); 123 my $original = $value; 124 $value =~ s/\s+//g; 125 $additional_variables{"ONEWORDPRODUCTNAME"} = $value; 126 $additional_variables{"LCONEWORDPRODUCTNAME"} = lc($value); 127 $value = $original; 128 $value =~ s/(^\s+|\s+$)//g; [all …]
|
| H A D | followme.pm | 159 my $value = $2; 160 if ( $name eq "updatepack" ) { $installer::globals::updatepack = $value; } 161 if ( $name eq "added_english" ) { $installer::globals::added_english = $value; } 162 if ( $name eq "iswindowsbuild" ) { $installer::globals::iswindowsbuild = $value; } 163 if ( $name eq "issolarisbuild" ) { $installer::globals::issolarisbuild = $value; } 164 if ( $name eq "issolarispkgbuild" ) { $installer::globals::issolarispkgbuild = $value; } 165 … if ( $name eq "issolarissparcbuild" ) { $installer::globals::issolarissparcbuild = $value; } 166 if ( $name eq "issolarisx86build" ) { $installer::globals::issolarisx86build = $value; } 167 if ( $name eq "isfreebsdpkgbuild" ) { $installer::globals::isfreebsdpkgbuild = $value; } 168 if ( $name eq "islinuxbuild" ) { $installer::globals::islinuxbuild = $value; } [all …]
|
| /trunk/main/cppu/inc/com/sun/star/uno/ |
| H A D | Any.hxx | 50 inline Any::Any( T const & value ) in Any() argument 53 this, const_cast<T *>(&value), in Any() 54 ::cppu::getTypeFavourUnsigned(&value).getTypeLibType(), in Any() 58 inline Any::Any( bool value ) in Any() argument 60 sal_Bool b = value; in Any() 180 inline Any SAL_CALL makeAny( const C & value ) SAL_THROW( () ) in makeAny() argument 182 return Any( &value, ::cppu::getTypeFavourUnsigned(&value) ); in makeAny() 188 inline Any SAL_CALL makeAny( bool const & value ) SAL_THROW( () ) in makeAny() argument 190 const sal_Bool b = value; in makeAny() 196 inline void SAL_CALL operator <<= ( Any & rAny, const C & value ) SAL_THROW( () ) in operator <<=() argument [all …]
|
| /trunk/main/jurt/java/jurt/src/main/java/com/sun/star/lib/uno/protocols/urp/ |
| H A D | Marshal.java | 50 public void write8Bit(int value) { in write8Bit() argument 52 output.writeByte(value); in write8Bit() 58 public void write16Bit(int value) { in write16Bit() argument 60 output.writeShort(value); in write16Bit() 110 public void writeValue(TypeDescription type, Object value) { in writeValue() argument 116 writeBooleanValue((Boolean) value); in writeValue() 120 writeByteValue((Byte) value); in writeValue() 125 writeShortValue((Short) value); in writeValue() 130 writeLongValue((Integer) value); in writeValue() 135 writeHyperValue((Long) value); in writeValue() [all …]
|
| /trunk/main/vos/inc/vos/ |
| H A D | stream.hxx | 99 inline sal_Bool SAL_CALL read(sal_Int32& value) const; 102 inline sal_Bool SAL_CALL read(sal_Int16& value) const; 105 inline sal_Bool SAL_CALL read(sal_Char& value) const; 108 inline sal_Bool SAL_CALL read(sal_uInt8& value) const; 120 inline sal_Bool SAL_CALL write(sal_Int32 value); 123 inline sal_Bool SAL_CALL write(sal_Int16 value); 126 inline sal_Bool SAL_CALL write(sal_Char value); 129 inline sal_Bool SAL_CALL write(sal_uInt8 value); 167 friend const OStream& operator>> (OStream& rStream, sal_Int32& value); 168 friend const OStream& operator>> (OStream& rStream, sal_Int16& value); [all …]
|
| /trunk/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/converter/xml/ |
| H A D | ParaStyle.java | 44 int I(String value) { in I() argument 45 if (value.endsWith("mm")) { in I() 47 String num = value.substring(0, value.length() - 2); in I() 51 Debug.log(Debug.ERROR, "Error parsing " + value, e); in I() 56 Debug.log(Debug.ERROR, "Unexpected value (" + value in I() 69 int I(String value) { in I() argument 70 if (value.endsWith("mm")) { in I() 72 String num = value.substring(0, value.length() - 2); in I() 76 Debug.log(Debug.ERROR, "Error parsing " + value, e); in I() 80 } else if (value.endsWith("%")) { in I() [all …]
|
| /trunk/main/offapi/com/sun/star/presentation/ |
| H A D | AnimationEffect.idl | 42 // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::NONE 50 // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::FADE_FROM_LEFT 58 // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::FADE_FROM_TOP 66 // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::FADE_FROM_RIGHT 74 // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::FADE_FROM_BOTTOM 82 // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::FADE_TO_CENTER 90 // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::FADE_FROM_CENTER 98 // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_FROM_LEFT 106 // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_FROM_TOP 114 // DocMerge from xml: value com::sun::star::presentation::AnimationEffect::MOVE_FROM_RIGHT [all …]
|
| /trunk/main/binaryurp/source/ |
| H A D | marshal.cxx | 59 void write64(std::vector< unsigned char > * buffer, sal_uInt64 value) { in write64() argument 60 Marshal::write8(buffer, value >> 56); in write64() 61 Marshal::write8(buffer, (value >> 48) & 0xFF); in write64() 62 Marshal::write8(buffer, (value >> 40) & 0xFF); in write64() 63 Marshal::write8(buffer, (value >> 32) & 0xFF); in write64() 64 Marshal::write8(buffer, (value >> 24) & 0xFF); in write64() 65 Marshal::write8(buffer, (value >> 16) & 0xFF); in write64() 66 Marshal::write8(buffer, (value >> 8) & 0xFF); in write64() 67 Marshal::write8(buffer, value & 0xFF); in write64() 70 void writeCompressed(std::vector< unsigned char > * buffer, sal_uInt32 value) { in writeCompressed() argument [all …]
|
| /trunk/main/pyuno/source/module/ |
| H A D | uno.py | 119 def __init__(self,typeName, value): argument 121 self.value = value 125 return "<uno.Enum %s (%r)>" % (self.typeName, self.value) 130 return (self.typeName == that.typeName) and (self.value == that.value) 156 def __new__(cls, value): argument 157 if isinstance(value, (str, unicode)) and value == "true": 159 if isinstance(value, (str, unicode)) and value == "false": 161 if value: 168 def __init__(self,value): argument 169 assert isinstance(value, unicode) [all …]
|
| /trunk/main/javainstaller2/src/JavaSetup/org/openoffice/setup/SetupData/ |
| H A D | ProductDescription.java | 44 public Pair(Pattern key, String value) { in Pair() argument 46 replacement = value; in Pair() 68 public void setNewMacro(String key, String value) { in setNewMacro() argument 69 if ((key != null) && (value != null)) { in setNewMacro() 73 map.put(key, value); in setNewMacro() 88 macro.add(new Pair(pattern, value)); in setNewMacro() 172 String value = section.getValue(); in parse() local 173 if (value != null) { in parse() 174 installData.setDefaultDir(value); in parse() 182 String value = section.getValue(); in parse() local [all …]
|
| /trunk/main/configmgr/source/ |
| H A D | writemodfile.cxx | 128 void writeAttributeValue(oslFileHandle handle, rtl::OUString const & value) { in writeAttributeValue() argument 131 for (; j < value.getLength(); ++j) { in writeAttributeValue() 133 value[j] == 0x0009 || value[j] == 0x000A || value[j] == 0x000D || in writeAttributeValue() 134 (value[j] >= 0x0020 && value[j] != 0xFFFE && value[j] != 0xFFFF)); in writeAttributeValue() 135 switch(value[j]) { in writeAttributeValue() 137 writeData(handle, convertToUtf8(value, i, j - i)); in writeAttributeValue() 142 writeData(handle, convertToUtf8(value, i, j - i)); in writeAttributeValue() 147 writeData(handle, convertToUtf8(value, i, j - i)); in writeAttributeValue() 152 writeData(handle, convertToUtf8(value, i, j - i)); in writeAttributeValue() 157 writeData(handle, convertToUtf8(value, i, j - i)); in writeAttributeValue() [all …]
|
| H A D | valueparser.cxx | 57 bool parseHexDigit(char c, int * value) { in parseHexDigit() argument 58 OSL_ASSERT(value != 0); in parseHexDigit() 60 *value = c - '0'; in parseHexDigit() 64 *value = c - 'A' + 10; in parseHexDigit() 68 *value = c - 'a' + 10; in parseHexDigit() 74 bool parseValue(xmlreader::Span const & text, sal_Bool * value) { in parseValue() argument 75 OSL_ASSERT(text.is() && value != 0); in parseValue() 79 *value = true; in parseValue() 85 *value = false; in parseValue() 91 bool parseValue(xmlreader::Span const & text, sal_Int16 * value) { in parseValue() argument [all …]
|
| /trunk/main/xsltml/ |
| H A D | xsltml_2.1.2.patch | 62 <xsl:value-of select="count(m:bvar[not(m:degree)])"/> 68 + <xsl:value-of select="sum(m:bvar/m:degree)+count(m:bvar[not(m:degree)])"/> 72 - <xsl:value-of select="sum(m:bvar/m:degree)+count(m:bvar[not(m:degree)])"/> 139 …<xsl:when test="starts-with($content,' ')"><xsl:value-of select="'\; '" /><xsl:call-template name=… 140 + <xsl:when test="starts-with($content,'   ')"><xsl:value-of select="… 141 + <xsl:when test="starts-with($content,'#')"><xsl:value-of select="'\# '" /><xsl:call… 142 + <xsl:when test="starts-with($content,'$')"><xsl:value-of select="'\$ '" /><xsl:call… 143 + <xsl:when test="starts-with($content,'%')"><xsl:value-of select="'\% '" /><xsl:call… 144 + <xsl:when test="starts-with($content,'&')"><xsl:value-of select="'\& '" /><xsl:… 145 + <xsl:when test="starts-with($content,'*')"><xsl:value-of select="'\ast '" /><xsl:ca… [all …]
|
| /trunk/main/offapi/com/sun/star/sdbc/ |
| H A D | XRow.idl | 71 /** reports whether the last column read had a value of SQL NULL. 73 its value and then call wasNull() to see if the value read was 84 /** gets the value of a column in the current row as a string. 88 the column value; if the value is SQL NULL, the result is null 95 /** gets the value of a column in the current row as boolean. 99 the column value; if the value is SQL NULL, the result is null 106 /** get the value of a column in the current row as a byte. 110 the column value; if the value is SQL NULL, the result is null 117 /** gets the value of a column in the current row as a short. 121 the column value; if the value is SQL NULL, the result is null [all …]
|
| /trunk/main/filter/source/xslt/import/wordml/ |
| H A D | wordml2ooo_props.xsl | 37 <xsl:value-of select="w:pgMar/@w:header"/> 47 <xsl:value-of select="$header-margin"/> 50 <xsl:value-of select="w:pgMar/@w:top"/> 55 <xsl:value-of select="w:pgMar/@w:top"/> 59 <xsl:value-of select="concat($margin-top div 567.0, 'cm')"/> 65 <xsl:value-of select="w:pgMar/@w:footer"/> 73 <xsl:value-of select="$footer-margin"/> 76 <xsl:value-of select="w:pgMar/@w:bottom"/> 80 <xsl:value-of select="concat($margin-bottom div 567.0, 'cm')"/> 83 <xsl:value-of select="concat(w:pgMar/@w:left div 567.0, 'cm')"/> [all …]
|
| /trunk/main/rsc/source/rscpp/ |
| H A D | cpp5.c | 232 int value[NEXP]; /* Value stack */ in eval() local 237 valp = value; in eval() 263 else if (valp >= &value[NEXP-1]) { in eval() 270 evalue, valp - value); in eval() 329 dumpstack(opstack, opp, value, valp); in eval() 369 dumpstack(opstack, opp, value, valp); in eval() 374 dumpstack(opstack, opp, value, valp); in eval() 606 bittest(int value) in bittest() argument 612 return ((value & ~(-value)) == 0); in bittest() 617 return (value == 0 || value ^ (value - 1) == (value * 2 - 1)); in bittest() [all …]
|
| /trunk/main/vcl/unx/gtk/a11y/ |
| H A D | atktextattributes.cxx | 55 typedef bool (* TextPropertyValueFunc) ( uno::Any& rAny, const gchar * value ); 251 String2Float( uno::Any& rAny, const gchar * value ) in String2Float() argument 255 if( 1 != sscanf( value, "%g", &fval ) ) in String2Float() 382 String2Color( uno::Any& rAny, const gchar * value ) in String2Color() argument 386 if( 3 != sscanf( value, "%d,%d,%d", &red, &green, &blue ) ) in String2Color() 399 const gchar * value = NULL; in FontSlant2Style() local 404 value = "normal"; in FontSlant2Style() 408 value = "oblique"; in FontSlant2Style() 412 value = "italic"; in FontSlant2Style() 416 value = "reverse oblique"; in FontSlant2Style() [all …]
|
| /trunk/main/wizards/com/sun/star/wizards/ui/event/ |
| H A D | DataAwareFields.java | 53 public static DataAware.Value getFieldValueFor(Object owner, String fieldname, Object value) in getFieldValueFor() argument 60 Class c2 = value.getClass(); in getFieldValueFor() 156 public void set(Object value, Object target) in set() argument 160 field.setBoolean(target, toBoolean(value)); in set() 216 public void set(Object value, Object target) in set() argument 220 field.setInt(target, (int) toDouble(value)); in set() 276 public void set(Object value, Object target) in set() argument 280 field.setDouble(target, toDouble(value)); in set() 347 public void set(Object value, Object target) in set() argument 351 …field.set(target, value == null || (value.equals(Any.VOID)) ? PropertyNames.EMPTY_STRING : value.t… in set() [all …]
|
| /trunk/main/reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/ |
| H A D | FormatValueUtility.java | 65 … public static String applyValueForVariable(final Object value, final AttributeMap variableSection) in applyValueForVariable() argument 68 if (value instanceof Time) in applyValueForVariable() 71 ret = formatTime((Time) value); in applyValueForVariable() 74 else if (value instanceof java.sql.Date) in applyValueForVariable() 77 ret = formatDate((Date) value); in applyValueForVariable() 80 else if (value instanceof Date) in applyValueForVariable() 83 ret = HSSFDateUtil.getExcelDate((Date) value, false, 2).toString(); in applyValueForVariable() 86 else if (value instanceof Number) in applyValueForVariable() 89 variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, VALUE, String.valueOf(value)); in applyValueForVariable() 91 else if (value instanceof Boolean) in applyValueForVariable() [all …]
|
| /trunk/main/connectivity/java/sdbc_jdbc/src/com/sun/star/comp/sdbc/ |
| H A D | JavaSQLStatementBase.java | 101 …public void setValue(Object value) throws PropertyVetoException, IllegalArgumentException, Wrapped… in registerProperties() 102 setCursorName((String)value); in registerProperties() 115 …public void setValue(Object value) throws PropertyVetoException, IllegalArgumentException, Wrapped… in registerProperties() 116 setEscapeProcessing((boolean)value); in registerProperties() 129 …public void setValue(Object value) throws PropertyVetoException, IllegalArgumentException, Wrapped… in registerProperties() 130 setFetchDirection((int)value); in registerProperties() 143 …public void setValue(Object value) throws PropertyVetoException, IllegalArgumentException, Wrapped… in registerProperties() 144 setFetchSize((int)value); in registerProperties() 157 …public void setValue(Object value) throws PropertyVetoException, IllegalArgumentException, Wrapped… in registerProperties() 158 setMaxFieldSize((int)value); in registerProperties() [all …]
|
| /trunk/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/converter/xml/sxc/ |
| H A D | CellStyle.java | 127 private Color parseColorString(String value) { in parseColorString() argument 129 String r = value.substring(1, 3); in parseColorString() 130 String g = value.substring(3, 5); in parseColorString() 131 String b = value.substring(5, 7); in parseColorString() 152 private void handleAttribute(String attr, String value) { in handleAttribute() argument 155 fmt.setAttribute(Format.BOLD, value.equals("bold")); in handleAttribute() 159 if (value.equals("italic") || value.equals("oblique")) in handleAttribute() 161 else if (value.equals("normal")) in handleAttribute() 166 fmt.setAttribute(Format.UNDERLINE, !value.equals("none")); in handleAttribute() 170 fmt.setAttribute(Format.STRIKETHRU, !value.equals("none")); in handleAttribute() [all …]
|
| /trunk/main/oox/source/export/ |
| H A D | preset-definitions-to-shape-types.pl | 299 my ( $level, $value ) = @_; 304 return ( $#levels + $level > 0 ) && ( $levels[$#levels + $level] eq $value ); 383 sub value( $ ) subroutine 409 my ( $value ) = @_; 411 return "" if ( $value eq "" ); 413 return $value if ( $value =~ /^@/ ); 415 my $command_val = $command_variables{$value}; 420 return value( $value ); 499 $p1 = value( 'w' ); 515 $val3 *= ( value( 'w' ) / value( $p1 ) ); [all …]
|