|
const | CONTENT_XML_FILE_NAME = 'content.xml' |
|
const | MANIFEST_XML_FILE_NAME = 'manifest.xml' |
|
const | META_INF_FOLDER_NAME = 'META-INF' |
|
const | META_XML_FILE_NAME = 'meta.xml' |
|
const | MIMETYPE = 'application/vnd.oasis.opendocument.spreadsheet' |
|
const | MIMETYPE_FILE_NAME = 'mimetype' |
|
const | STYLES_XML_FILE_NAME = 'styles.xml' |
|
◆ __construct()
OpenSpout\Writer\ODS\Helper\FileSystemHelper::__construct |
( |
string | $baseFolderPath, |
|
|
ZipHelper | $zipHelper, |
|
|
string | $creator ) |
- Parameters
-
string | $baseFolderPath | The path of the base folder where all the I/O can occur |
ZipHelper | $zipHelper | Helper to perform tasks with Zip archive |
string | $creator | document creator |
◆ createBaseFilesAndFolders()
OpenSpout\Writer\ODS\Helper\FileSystemHelper::createBaseFilesAndFolders |
( |
| ) |
|
◆ createContentFile()
OpenSpout\Writer\ODS\Helper\FileSystemHelper::createContentFile |
( |
WorksheetManager | $worksheetManager, |
|
|
StyleManager | $styleManager, |
|
|
array | $worksheets ) |
Creates the "content.xml" file under the root folder.
- Parameters
-
◆ createFileWithContents()
OpenSpout\Writer\ODS\Helper\FileSystemHelper::createFileWithContents |
( |
string | $parentFolderPath, |
|
|
string | $fileName, |
|
|
string | $fileContents ) |
Creates a file with the given name and content in the given folder.
The parent folder must exist.
- Parameters
-
string | $parentFolderPath | The parent folder path where the file is going to be created |
string | $fileName | The name of the file to create |
string | $fileContents | The contents of the file to create |
- Return values
-
string | Path of the created file |
- Exceptions
-
Implements OpenSpout\Common\Helper\FileSystemHelperInterface.
◆ createFolder()
OpenSpout\Writer\ODS\Helper\FileSystemHelper::createFolder |
( |
string | $parentFolderPath, |
|
|
string | $folderName ) |
Creates an empty folder with the given name under the given parent folder.
- Parameters
-
string | $parentFolderPath | The parent folder path under which the folder is going to be created |
string | $folderName | The name of the folder to create |
- Return values
-
string | Path of the created folder |
- Exceptions
-
Implements OpenSpout\Common\Helper\FileSystemHelperInterface.
◆ deleteFile()
OpenSpout\Writer\ODS\Helper\FileSystemHelper::deleteFile |
( |
string | $filePath | ) |
|
◆ deleteFolderRecursively()
OpenSpout\Writer\ODS\Helper\FileSystemHelper::deleteFolderRecursively |
( |
string | $folderPath | ) |
|
◆ getRootFolder()
OpenSpout\Writer\ODS\Helper\FileSystemHelper::getRootFolder |
( |
| ) |
|
◆ getSheetsContentTempFolder()
OpenSpout\Writer\ODS\Helper\FileSystemHelper::getSheetsContentTempFolder |
( |
| ) |
|
The documentation for this class was generated from the following file:
- lib/openspout/src/Writer/ODS/Helper/FileSystemHelper.php