框架本地无法运行,修复尝试
This commit is contained in:
15
vendor/phpoffice/phpword/src/PhpWord/Style.php
vendored
15
vendor/phpoffice/phpword/src/PhpWord/Style.php
vendored
@@ -1,5 +1,4 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of PHPWord - A pure PHP library for reading and writing
|
||||
* word processing documents.
|
||||
@@ -42,7 +41,7 @@ class Style
|
||||
* @param string $styleName
|
||||
* @param AbstractStyle|array $styles
|
||||
*
|
||||
* @return Paragraph
|
||||
* @return \PhpOffice\PhpWord\Style\Paragraph
|
||||
*/
|
||||
public static function addParagraphStyle($styleName, $styles)
|
||||
{
|
||||
@@ -56,7 +55,7 @@ class Style
|
||||
* @param AbstractStyle|array $fontStyle
|
||||
* @param AbstractStyle|array $paragraphStyle
|
||||
*
|
||||
* @return Font
|
||||
* @return \PhpOffice\PhpWord\Style\Font
|
||||
*/
|
||||
public static function addFontStyle($styleName, $fontStyle, $paragraphStyle = null)
|
||||
{
|
||||
@@ -69,7 +68,7 @@ class Style
|
||||
* @param string $styleName
|
||||
* @param AbstractStyle|array $styles
|
||||
*
|
||||
* @return Font
|
||||
* @return \PhpOffice\PhpWord\Style\Font
|
||||
*/
|
||||
public static function addLinkStyle($styleName, $styles)
|
||||
{
|
||||
@@ -82,7 +81,7 @@ class Style
|
||||
* @param string $styleName
|
||||
* @param AbstractStyle|array $styleValues
|
||||
*
|
||||
* @return Numbering
|
||||
* @return \PhpOffice\PhpWord\Style\Numbering
|
||||
*
|
||||
* @since 0.10.0
|
||||
*/
|
||||
@@ -98,7 +97,7 @@ class Style
|
||||
* @param AbstractStyle|array $fontStyle
|
||||
* @param AbstractStyle|array $paragraphStyle
|
||||
*
|
||||
* @return Font
|
||||
* @return \PhpOffice\PhpWord\Style\Font
|
||||
*/
|
||||
public static function addTitleStyle($depth, $fontStyle, $paragraphStyle = null)
|
||||
{
|
||||
@@ -118,7 +117,7 @@ class Style
|
||||
* @param array $styleTable
|
||||
* @param null|array $styleFirstRow
|
||||
*
|
||||
* @return Table
|
||||
* @return \PhpOffice\PhpWord\Style\Table
|
||||
*/
|
||||
public static function addTableStyle($styleName, $styleTable, $styleFirstRow = null)
|
||||
{
|
||||
@@ -152,7 +151,7 @@ class Style
|
||||
*
|
||||
* @param AbstractStyle|array $styles Paragraph style definition
|
||||
*
|
||||
* @return Paragraph
|
||||
* @return \PhpOffice\PhpWord\Style\Paragraph
|
||||
*/
|
||||
public static function setDefaultParagraphStyle($styles)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user