color,bold


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting color,bold
# 1  
Old 04-07-2008
color,bold

hi friend ,

I am generating a csv file i,e output file

E104|0|06/04/1994|The values E005 and E001 are not equal.
E106|0|01/09/1993|The values E001 and E002 are not equal.
E106|0|01/09/1993|The values E003 and E002 are not equal.
E108|0|02/30/1995|The values R001 and E001 are not equal.
E111|0|09/15/1996|The values E004 and E001 are not equal.
E111|0|09/15/1996|The values E004 and E001 are not equal.


I am sending this output file to excel sheet.......

and i need to bold or make color to the last column.......in the excel sheet..
ie....

E104|0|06/04/1994|The values E005 and E001 are not equal.
E106|0|01/09/1993|The values E001 and E002 are not equal.
E106|0|01/09/1993|The values E003 and E002 are not equal.

Please send me asap.........

Thanks in advance
cherry
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to change the background color in the init 3 mode(not line color)

Hello, I am using RHEL 6.1 on VMware I am searching for a way to change background color (not line by line color wich one can using tput command) basically changing the color of the whole screen to white instead of the default black and changing font color to black and alos would like to... (2 Replies)
Discussion started by: Dexobox
2 Replies

2. Shell Programming and Scripting

Color Underline and Bold letter in shell script

Hi All, This is my first port..... I am using AIX 5L, installed 10g database. On daily basis we takes rman backup. This backup status info strored in a log file. I write a script to know the status of back means I will fire this script and this script will send a mail to me. #!/bin/bash... (16 Replies)
Discussion started by: mcagaurav
16 Replies

3. Shell Programming and Scripting

ksh - how to echo something in color and bold

Hi all, I was to echo Hi in Red and Bold ; and echo There is in Green and bold I got bold to working using tput bold but i am having hard time getting the color. Any help is appreciated, jak (4 Replies)
Discussion started by: jakSun8
4 Replies
Login or Register to Ask a Question
SbColor4f(3)							       Coin							      SbColor4f(3)

NAME
SbColor4f - The SbColor4f class contains the red, green, blue and alpha components which make up a color value. This class is used internally within other classes in Coin. It contains a 4 component vector as a position in the RGB cube with an additional transparency value. SYNOPSIS
#include <Inventor/SbColor4f.h> Inherits SbVec4f. Public Member Functions SbColor4f (void) SbColor4f (const SbColor &rgb, const float alpha) SbColor4f (const SbVec4f &v) SbColor4f (const float *const rgba) SbColor4f (const float r, const float g, const float b, const float a=1.0f) void setValue (const float r, const float g, const float b, const float a=1.0f) void setValue (const float col[4]) const float * getValue () const void getValue (float &r, float &g, float &b, float &a) SbColor4f & setRGB (const SbColor &col) void getRGB (SbColor &color) SbColor4f & setHSVValue (float h, float s, float v, float a=1.0f) SbColor4f & setHSVValue (const float hsv[3], float alpha=1.0f) void getHSVValue (float &h, float &s, float &v) const void getHSVValue (float hsv[3]) const SbColor4f & setPackedValue (const uint32_t rgba) uint32_t getPackedValue () const float operator[] (const int idx) const float & operator[] (const int idx) SbColor4f & operator*= (const float d) SbColor4f & operator/= (const float d) SbColor4f & operator+= (const SbColor4f &c) SbColor4f & operator-= (const SbColor4f &c) Friends SbColor4f operator* (const SbColor4f &c, const float d) SbColor4f operator* (const float d, const SbColor4f &c) SbColor4f operator/ (const SbColor4f &c, const float d) SbColor4f operator+ (const SbColor4f &v1, const SbColor4f &v2) SbColor4f operator- (const SbColor4f &v1, const SbColor4f &v2) int operator== (const SbColor4f &v1, const SbColor4f &v2) int operator!= (const SbColor4f &v1, const SbColor4f &v2) Additional Inherited Members Detailed Description The SbColor4f class contains the red, green, blue and alpha components which make up a color value. This class is used internally within other classes in Coin. It contains a 4 component vector as a position in the RGB cube with an additional transparency value. The red, green and blue values should be between 0.0 and 1.0, where 0.0 is interpreted as minimum intensity, and 1.0 is maximum intensity. The transparency value is also between 0.0 and 1.0. SbColor4f contains methods for convenient handling of setting and getting color values as 32 bit packed values or as HSV values. Note: this class is not part of Open Inventor, but is an extension to the API. Don't use it if you want your code to be compatible with Open Inventor. See also: SbColor Constructor &; Destructor Documentation SbColor4f::SbColor4f (void) Default constructor. The color value will be uninitialized until explicitly set. SbColor4f::SbColor4f (const SbColor &rgb, const floatalpha) Construct and initialize an SbColor4f with the red, green and blue components from the SbColor rgb, and the alpha value from the supplied alpha argument. SbColor4f::SbColor4f (const SbVec4f &v) Construct and initialize an SbColor4f with the red, green, blue and alpha values given by the v vector. SbColor4f::SbColor4f (const float *constrgba) Construct and initialize an SbColor4f with the red, green, blue and alpha taken from given rgba array SbColor4f::SbColor4f (const floatr, const floatg, const floatb, const floata = 1.0f) Construct and initialize an SbColor4f with the given red, green, blue and alpha values. Member Function Documentation void SbColor4f::setValue (const floatr, const floatg, const floatb, const floata = 1.0f) Set a new color. Reimplemented from SbVec4f. void SbColor4f::setValue (const floatcol[4]) Set a new color. The elements of the array will be read in turned as red, green, blue and transparency. Reimplemented from SbVec4f. const float * SbColor4f::getValue (void) const Return pointer to array of 4 float values representing the red, green, blue and transparency values of the color. Reimplemented from SbVec4f. void SbColor4f::getValue (float &r, float &g, float &b, float &a) Return components of the stored color. SbColor4f & SbColor4f::setRGB (const SbColor &col) Sets the RGB components of the color. The alpha component is left unchanged. void SbColor4f::getRGB (SbColor &color) Returns the RGB components of this color. SbColor4f & SbColor4f::setHSVValue (floathue, floatsaturation, floatvalue, floatalpha = 1.0f) Set the color as a hue, saturation, value triplet. The hue component should be normalized to within [0, 1] before you call this method, where 0 is equal to 0o and 1 is equal to 360o. See also: getHSVValue(). SbColor4f & SbColor4f::setHSVValue (const floathsv[3], floata = 1.0f) Set the color as a hue, saturation, value triplet. The hue component should be normalized to within [0, 1] before you call this method, where 0 is equal to 0o and 1 is equal to 360o. See also: getHSVValue(). void SbColor4f::getHSVValue (float &h, float &s, float &v) const Return the color as a hue, saturation, value triplet. Alpha component is ignored. See also: setHSVValue(). void SbColor4f::getHSVValue (floathsv[3]) const Return the color as a hue, saturation, value triplet. Alpha component is ignored. See also: setHSVValue(). SbColor4f & SbColor4f::setPackedValue (const uint32_trgba) Set the color value as a 32 bit combined red/green/blue/alpha value. Each component is 8 bit wide (i.e. from 0x00 to 0xff), and the red value should be stored leftmost, like this: 0xRRGGBBAA. See also: getPackedValue(). uint32_t SbColor4f::getPackedValue () const Return color as a 32 bit packed integer in the form 0xRRGGBBAA. See also: setPackedValue(). float SbColor4f::operator[] (const intidx) const Returns the color component represented by the given index idx. 0 is red, 1 is green, 2 is blue and 3 is the transparency value. Reimplemented from SbVec4f. float & SbColor4f::operator[] (const intidx) Returns the color component represented by the given index idx. 0 is red, 1 is green, 2 is blue and 3 is the transparency value. Reimplemented from SbVec4f. SbColor4f & SbColor4f::operator*= (const floatd) Multiplies the RGB components by d. The alpha component is left unchanged. Reimplemented from SbVec4f. SbColor4f & SbColor4f::operator/= (const floatd) Divides the RGB components by d. The alpha component is left unchanged. Reimplemented from SbVec4f. SbColor4f & SbColor4f::operator+= (const SbColor4f &c) Adds the RGB components. Alpha is ignored. SbColor4f & SbColor4f::operator-= (const SbColor4f &c) Subtracts the RGB components. Alpha is ignored. Friends And Related Function Documentation SbColor4f operator* (const SbColor4f &c, const floatd) [friend] Multiplies the RGB components by d. Alpha is left unchanged. SbColor4f operator* (const floatd, const SbColor4f &c) [friend] Multiplies the RGB components by d. Alpha is left unchanged. SbColor4f operator/ (const SbColor4f &c, const floatd) [friend] Divides the RGB components by d. Alpha is left unchanged. SbColor4f operator+ (const SbColor4f &v1, const SbColor4f &v2) [friend] Adds the RGB components of the two colors. Alpha is taken from the first color (v1). SbColor4f operator- (const SbColor4f &v1, const SbColor4f &v2) [friend] Subtracts the RGB components of the two colors. Alpha is taken from the first color (v1). int operator== (const SbColor4f &v1, const SbColor4f &v2) [friend] Check if two colors are equal. Returns 1 if equal, 0 if unequal. int operator!= (const SbColor4f &v1, const SbColor4f &v2) [friend] Check if two colors are unequal. Returns 0 if equal, 1 if unequal. Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SbColor4f(3)