Differences Between: [Versions 310 and 400] [Versions 39 and 400]
(no description)
File Size: | 384 lines (13 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
StyleManager:: (17 methods):
getStylesXMLFileContent()
getFontFaceSectionContent()
getStylesSectionContent()
getAutomaticStylesSectionContent()
getMasterStylesSectionContent()
getContentXmlFontFaceSectionContent()
getContentXmlAutomaticStylesSectionContent()
getStyleSectionContent()
getTextPropertiesSectionContent()
getFontSectionContent()
getParagraphPropertiesSectionContent()
getCellAlignmentSectionContent()
transformCellAlignment()
getTableCellPropertiesSectionContent()
getWrapTextXMLContent()
getBorderXMLContent()
getBackgroundColorXMLContent()
Class: StyleManager - X-Ref
Class StyleManagergetStylesXMLFileContent($numWorksheets) X-Ref |
Returns the content of the "styles.xml" file, given a list of styles. return: string param: int $numWorksheets Number of worksheets created |
getFontFaceSectionContent() X-Ref |
Returns the content of the "<office:font-face-decls>" section, inside "styles.xml" file. return: string |
getStylesSectionContent() X-Ref |
Returns the content of the "<office:styles>" section, inside "styles.xml" file. return: string |
getAutomaticStylesSectionContent($numWorksheets) X-Ref |
Returns the content of the "<office:automatic-styles>" section, inside "styles.xml" file. return: string param: int $numWorksheets Number of worksheets created |
getMasterStylesSectionContent($numWorksheets) X-Ref |
Returns the content of the "<office:master-styles>" section, inside "styles.xml" file. return: string param: int $numWorksheets Number of worksheets created |
getContentXmlFontFaceSectionContent() X-Ref |
Returns the contents of the "<office:font-face-decls>" section, inside "content.xml" file. return: string |
getContentXmlAutomaticStylesSectionContent($worksheets) X-Ref |
Returns the contents of the "<office:automatic-styles>" section, inside "content.xml" file. return: string param: Worksheet[] $worksheets |
getStyleSectionContent($style) X-Ref |
Returns the contents of the "<style:style>" section, inside "<office:automatic-styles>" section return: string param: \Box\Spout\Common\Entity\Style\Style $style |
getTextPropertiesSectionContent($style) X-Ref |
Returns the contents of the "<style:text-properties>" section, inside "<style:style>" section return: string param: \Box\Spout\Common\Entity\Style\Style $style |
getFontSectionContent($style) X-Ref |
Returns the contents of the fonts definition section, inside "<style:text-properties>" section return: string param: \Box\Spout\Common\Entity\Style\Style $style |
getParagraphPropertiesSectionContent($style) X-Ref |
Returns the contents of the "<style:paragraph-properties>" section, inside "<style:style>" section return: string param: \Box\Spout\Common\Entity\Style\Style $style |
getCellAlignmentSectionContent($style) X-Ref |
Returns the contents of the cell alignment definition for the "<style:paragraph-properties>" section return: string param: \Box\Spout\Common\Entity\Style\Style $style |
transformCellAlignment($cellAlignment) X-Ref |
Even though "left" and "right" alignments are part of the spec, and interpreted respectively as "start" and "end", using the recommended values increase compatibility with software that will read the created ODS file. return: string param: string $cellAlignment |
getTableCellPropertiesSectionContent($style) X-Ref |
Returns the contents of the "<style:table-cell-properties>" section, inside "<style:style>" section return: string param: \Box\Spout\Common\Entity\Style\Style $style |
getWrapTextXMLContent() X-Ref |
Returns the contents of the wrap text definition for the "<style:table-cell-properties>" section return: string |
getBorderXMLContent($style) X-Ref |
Returns the contents of the borders definition for the "<style:table-cell-properties>" section return: string param: \Box\Spout\Common\Entity\Style\Style $style |
getBackgroundColorXMLContent($style) X-Ref |
Returns the contents of the background color definition for the "<style:table-cell-properties>" section return: string param: \Box\Spout\Common\Entity\Style\Style $style |