Strict Standards: Declaration of action_plugin_importoldindex::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/html/lib/plugins/importoldindex/action.php on line 8

Strict Standards: Declaration of action_plugin_popularity::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/html/lib/plugins/popularity/action.php on line 57

Strict Standards: Declaration of action_plugin_safefnrecode::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/html/lib/plugins/safefnrecode/action.php on line 66

Strict Standards: Declaration of action_plugin_importoldchangelog::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/html/lib/plugins/importoldchangelog/action.php on line 182

Strict Standards: Declaration of Doku_Renderer_metadata::table_open() should be compatible with Doku_Renderer::table_open($maxcols = NULL, $numrows = NULL, $pos = NULL) in /var/www/html/inc/parser/metadata.php on line 24

Strict Standards: Declaration of Doku_Renderer_metadata::table_close() should be compatible with Doku_Renderer::table_close($pos = NULL) in /var/www/html/inc/parser/metadata.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/lib/plugins/importoldindex/action.php:8) in /var/www/html/inc/actions.php on line 180
 cor4:app:objects:cexcelrange [Cor4 WIki]

A CExcelRange osztály nem példányosítható, csak a CExcel osztály Range metódusával hozható létre. Célja, hogy a Range metódusban definiált tartományon műveleteket hajtson végre.

Metódusok

merge

void merge()

A megadott tartományt egy cellává egyesíti.

string getNumberFormat()

A megadott tartomány szám formátumát adja vissza.

void setNumberFormat(string format)

A megadott tartomány szám formátumát lehet vele megadni. Rengeteg formázási szabály van, néhány példa:

  • @: szöveg formátum
  • #.00: két tizedes jegyre kerekített szám

Részletesebben lásd a Excel help megfelelő részének Custom number formats bekezdését.

setalign

void setalign(string halign,string valign)

A megadott paraméterek alapján a cellán belüli igazítást állítja át. A halign paraméter left, right és center lehet, amikor értelemszerűen balra, jobbra illetve középre igazítja a cellát. Ha nem ezek közül egy a paraméter, akkor nem történik változás. A valign paraméter top, bottom és center lehet, amikor értelemszerűen fel, le illetve középre igazítja a cellát. Ha nem ezek közül egy a paraméter, akkor nem történik változás.

setfontstyle

void setfontstyle(string style)

A megadott stílusra állítja a range font stílusát.


cor4/app/objects/cexcelrange.txt · Last modified: 2021/01/05 11:39 (external edit)