Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

odfhighlight(1p) [debian man page]

ODFHIGHLIGHT(1p)					User Contributed Perl Documentation					  ODFHIGHLIGHT(1p)

NAME
odfhighlight - search, replace and highlight text in a document SYNOPSIS
odfhighlight "source.odt" "search string" -r "replacement" -o "target.odt" replaces "search string" by "replacement" in the file "source.odt", highlights each replacement with a yellow (default) backgound, then writes the resulting document as "target.odt" odfhighlight "myfile.odt" "search string" -color "green" highlights each occurrence of "search string" in "myfile.odt" with a green background color, without changing the text (without "-o" option, the changes apply to "myfile.odt" ARGUMENTS AND OPTIONS
Default behaviour With the "minimal" command line, with only a filename and a string as arguments, each matching string is highlighted with a yellow background and represented with the "Standard" style. Options -e --encoding "xxxxxx" character set to use, if different from the default -r --replacement "new string" "new string" is used as a replacement for "search string" -c --color "code" an RGB color code, expressed either as the concatenation of 3 comma-separated decimal values (each one in the range 0..255, ex: "72,61,139" for a dark slate blue), or a 6-digit hexadecimal number, preceded by a "#" (ex: #00ff00 for green) or, if a colormap is available and known in your OpenOffice::OODoc installation, a symbolic color name (ex: "sky blue") -s --stylename "name" the name of the color style (default: "MyHighlight"); the user must provide a style name that is not already in use in the document -p --property "property=value" This option can be repeated; each occurrence gives an additional property for the highlight style (font name, size, foreground color, ...). For example, with the combination of -p 'fo:color=#ff0000' and -p 'fo:font-size=18pt', the highlighted text will be made of 18pt-sized, red characters. In order to master these options, you should have some knowledge of the Form Objects (FO) vocabulary that is used in the OpenDocument specification. -o --output "filename" -t --target "filename" an alternative filename to save the modified document, when the source document must remain unchanged perl v5.14.2 2010-01-11 ODFHIGHLIGHT(1p)

Check Out this Related Man Page

Imager::Color::Float(3pm)				User Contributed Perl Documentation				 Imager::Color::Float(3pm)

NAME
Imager::Color::Float - Rough floating point sample color handling SYNOPSIS
$color = Imager::Color->new($red, $green, $blue); $color = Imager::Color->new($red, $green, $blue, $alpha); $color = Imager::Color->new("#C0C0FF"); # html color specification $color->set($red, $green, $blue); $color->set($red, $green, $blue, $alpha); $color->set("#C0C0FF"); # html color specification ($red, $green, $blue, $alpha) = $color->rgba(); @hsv = $color->hsv(); # not implemented but proposed $color->info(); DESCRIPTION
This module handles creating color objects used by Imager. The idea is that in the future this module will be able to handle color space calculations as well. A floating point Imager color consists of up to four components, each in the range 0.0 to 1.0. Unfortunately the meaning of the components can change depending on the type of image you're dealing with: o for 3 or 4 channel images the color components are red, green, blue, alpha. o for 1 or 2 channel images the color components are gray, alpha, with the other two components ignored. An alpha value of zero is fully transparent, an alpha value of 1.0 is fully opaque. METHODS
new This creates a color object to pass to functions that need a color argument. set This changes an already defined color. Note that this does not affect any places where the color has been used previously. rgba() This returns the red, green, blue and alpha channels of the color the object contains. info Calling info merely dumps the relevant color to the log. AUTHOR
Arnar M. Hrafnkelsson, addi@umich.edu And a great deal of help from others - see the "README" for a complete list. SEE ALSO
Imager(3), Imager::Color. http://imager.perl.org/ perl v5.14.2 2011-06-06 Imager::Color::Float(3pm)
Man Page