Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

When you import data to a table in your document, you can use the AutoFormatter interface to specify how the imported data should be formatted in the table. AutoFormatter contains a single method - FormatCell - which must be implemented in a class that you will use as an AutoFormatter. When you import data, set DataImportProperties.AutoFormatter to the class that you created.

Signature
C#C#
Wiki Markup
{description}
{excerpt}When you import data to a table in your document, you can use the [AutoFormatter|AutoFormatter]  interface to specify how the imported data should be formatted in the table.  {{AutoFormatter}}  contains a single method \- [FormatCell|AutoFormatter.FormatCell(TableCell, Int32, Int32, AutoFormatter.Edge)] \- which must be implemented in a class that you will use as an AutoFormatter. When you import data, set [DataImportProperties.AutoFormatter|DataImportProperties.AutoFormatter] to the class that you created.{excerpt}
{signature:C#}
 public abstract class AutoFormatter
Signature
{signature}{signature:vb.net
vb.net
}
Public MustInherit Class AutoFormatter
Methods

...

Name

...

Description

{signature}
{methods}
||Name||Description||
|[FormatCell(TableCell, Int32, Int32, AutoFormatter.Edge)

...

|AutoFormatter.FormatCell(TableCell, Int32, Int32, AutoFormatter.Edge)

...

]|{excerpt-include:AutoFormatter.FormatCell(TableCell, Int32, Int32, AutoFormatter.Edge)

...

|nopanel

...

Classes

...

Name

...

Description

...

Edge

...

=true}|
{classes}
||Name||Description||
|[Edge|AutoFormatter.Edge]|{excerpt-include:AutoFormatter.Edge

...

|nopanel=true}|