Add a table style

@param string $styleName
@param array $styles
355098
public static function addTableStyle($styleName, $styleTable, $styleFirstRow = null, $styleLastRow = null) {
		if(!array_key_exists($styleName, self::$_styleElements)) {
			$style = new PHPWord_Style_TableFull($styleTable, $styleFirstRow, $styleLastRow);
			
			self::$_styleElements[$styleName] = $style;
		}
	}
795121
public function styleColumn($char, Array $style) {
    $this->sheet->getStyle($char.'1:'.$char.max(2,$this->row->getRowIndex()))
      ->applyFromArray($style);
  }
350866
public function addRow(array $row, Style $style)
    {
        $columnCount = count($row);
        $this->updateMaxColumnCount($columnCount);
        $cellXml = $this->getCellXml($row, $style);

        return $this->getRowXml($columnCount, $cellXml);
    }
488946
public function addTextStyle(string $style)
    {
        if (!isset(self::$supportedTextStyles[$style])) {
            throw new InvalidArgumentException("Invalid text style \"$style\"");
        }

        // Don't double-add a style
        if (!in_array($style, $this->textStyles)) {
            $this->textStyles[] = $style;
        }
    }
158758
public function addRow(array $row, Style $style = null)
    {
        if (!empty($row)) {
            $style = $style instanceof Style ? $style : $this->styler->getDefaultStyle();
            $this->styler->addStyle($style);
            $this->sheetFile->fwrite($this->sheet->addRow($row, $style));
        }
    }
1220401
public boolean addNewDataStyleFromCellStyle(final TableCellStyle style) {
        final boolean ret = this.addContentStyle(style);
        return this.addDataStyle(style.getDataStyle()) && ret;
    }
7764
public function addStyle($styles)
    {
        foreach ((array) $styles as $style) {
            $this->escapeSequence .= Chalk::getEscapeSequence($style);
        }
    }
303212
public function addLink($linkSrc, $linkName = null, $style = null) {
		if($this->_insideOf == 'section') {
			
			$link = new PHPWord_Section_Link($linkSrc, $linkName, $style);
			$rID = PHPWord_Media::addSectionLinkElement($linkSrc);
			$link->setRelationId($rID);
			
			$this->_elementCollection[] = $link;
			return $link;
		} else {
			trigger_error('Unsupported Link header / footer reference');
			return false;
		}
	}
1037475
public function addCellStyleXf(PHPExcel_Style $pStyle)
    {
        $this->_cellStyleXfCollection[] = $pStyle;
        $pStyle->setIndex(count($this->_cellStyleXfCollection) - 1);
    }
1068421
public function addTextStyle($name, TextStyle $text_style) {
    $this->textStyles[(string) $name] = $text_style;
    return $this;
  }
219482
public function withStyles(array $styles)
    {
        foreach ($styles as $name => $args) {
            $this->formatter()->setStyle($name, new OutputFormatterStyle(...$args));
        }

        return $this;
    }
219847
public static boolean containsStyle(final String styleNames,
                                        final String style) {
        if (styleNames == null || style == null) {
            return false;
        }

        final String[] styles = styleNames.split("\\s");

        for (final String s : styles) {
            if (style.equals(s)) {
                return true;
            }
        }

        return false;
    }
294059
public void addRow(String leftText, String rightText, String styleName) {

        ensureTable();
        ensureNoEmptyLabel();
        int row = m_table.getRowCount();
        m_table.setWidget(row, 0, new Label(leftText));
        Label rightLabel = new Label(rightText);
        rightLabel.addStyleName(styleName);
        rightLabel.addStyleName(RESOURCES.css().rightLabel());
        m_table.setWidget(row, 1, rightLabel);
    }
1185500
private function setStyle($media, $style, $title)
    {
        $this->assets[$this->tag[$this->where]][strtolower(__FUNCTION__)][] = (string)
            static::$stylesheet.' '.$media.'
                    '.$title.' href="'.$this->getBaseUrl().$style.'" >'.PHP_EOL;
    }
1213787
public static function setStyleDefinition($name, TableStyle $style)
    {
        if (!self::$styles) {
            self::$styles = self::initStyles();
        }

        self::$styles[$name] = $style;
    }
1299908
public static function setStyleDefinition($name, Style $style) {
        if (!self::$styles) {
            self::$styles = self::initStyles();
        }

        self::$styles[$name] = $style;
    }
401321
public function addCellXf(PHPExcel_Style $style)
    {
        $this->_cellXfCollection[] = $style;
        $style->setIndex(count($this->_cellXfCollection) - 1);
    }