|
Moodle PHP Documentation 4.4
Moodle 4.4.9+ (Build: 20250711) (4ea86454947)
|
Public Member Functions | |
| applyExtraStylesIfNeeded (Cell $cell) | |
| Apply additional styles if the given row needs it. | |
| registerStyle (Style $style) | |
| Registers the given style as a used style. | |
| OpenSpout\Writer\Common\Manager\Style\StyleManagerInterface::applyExtraStylesIfNeeded | ( | Cell | $cell | ) |
Apply additional styles if the given row needs it.
Typically, set "wrap text" if a cell contains a new line.
| PossiblyUpdatedStyle | The eventually updated style |
Implemented in OpenSpout\Writer\Common\Manager\Style\AbstractStyleManager.
| OpenSpout\Writer\Common\Manager\Style\StyleManagerInterface::registerStyle | ( | Style | $style | ) |
Registers the given style as a used style.
Duplicate styles won't be registered more than once.
| Style | $style | The style to be registered |
| Style | the registered style, updated with an internal ID |
Implemented in OpenSpout\Writer\Common\Manager\Style\AbstractStyleManager.