User Guide > How to Work with... > Office Formats > Working with Excel Documents > SpreadsheetML Groups Supported by ImageGear > Styles |
The following style attributes are supported by ImageGear:
Feature |
Description |
Comment |
Alignment |
This element describes the text alignment in cells. There are a variety of choices for how text is aligned both horizontal and vertically, as well as indentation settings, rotation, and so on. |
ImageGear supports only the following alignment attributes:
Other alignment properties not mentioned here are not supported and will be ignored. |
Background Color |
This element describes the background color of the cell fill pattern. Cell fill patterns operate with two colors: a background color and a foreground color. These combine to make a patterned cell fill. |
ImageGear only supports the solid fill pattern. In this case, only the foreground color is used to produce the fill effect. This means that the background color is, effectively, ignored. |
Borders |
The border element expresses a single set of cell border formats (left, right, top, bottom, diagonal). Color is optional. When missing, ‘automatic’ is implied. |
ImageGear supports all border sides, including both diagonal directions. The following border types are supported:
The SlantDashDot is not supported and will be rendered as the regular DashDot border type. |
Fills |
This element defines the cell, which consists of a background color, foreground color, and pattern to be applied across the cell. |
ImageGear only supports the Solid pattern fill. Other fill types, like gradients, are ignored. |
Fonts |
This element defines the properties for one of the fonts used in a workbook. |
The following font attributes are supported:
|
Foreground Color |
This element describes the foreground color of the cell fill pattern. Cell fill patterns operate with two colors: a background color and a foreground color. These combine to make a patterned cell fill. |
ImageGear supports the following foreground color sources and effects:
|
Indexed Colors |
This element collection defines the legacy indexing scheme for colors that are still required for some records, and for backwards compatibility with legacy formats. |
All indexed colors are fully supported. Specifically, the colors are:
|
Number Format |
This element defines the number formats in a workbook, consisting of a sequence of numFmt records, where each numFmt record defines a particular number format, indicating how to format and render the numeric value of a cell. |
The number formatting system of the SpreadsheetML defines an extensive architecture for formatting numbers. ImageGear currently only support a small subset of number formats. These include all of the built-in formats, which are:
In additional to the built-in formats, ImageGear also supports a handful of special case formats, which are:
|