Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
e69c016b
Commit
e69c016b
authored
Aug 18, 2018
by
Elias Villiger
Browse files
Fix Excel Export
parent
fc36c9fd
Pipeline
#730
passed with stage
in 1 minute and 55 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/Documentation/Manual.rst
View file @
e69c016b
...
...
@@ -6380,11 +6380,11 @@ Setup
+-------------+----------------+---------------------------------------------------------------------------------------------------+
| 'newline' | newline | Start a new row. The column will be the one of the last 'position' statement. |
+-------------+----------------+---------------------------------------------------------------------------------------------------+
| 'str', 's' | s=hello world | Set the given string on the given position. The current position will be shifte
t
one to the right |
| 'str', 's' | s=hello world | Set the given string on the given position. The current position will be shifte
d
one to the right |
+-------------+----------------+---------------------------------------------------------------------------------------------------+
| 'f' | f==SUM(A5:C6) | Set a formula
r
on the given position. The current position will be shifte
t
one to the right |
| 'f' | f==SUM(A5:C6) | Set a formula on the given position. The current position will be shifte
d
one to the right
|
+-------------+----------------+---------------------------------------------------------------------------------------------------+
| 'n' | n=123 | Set number on the given position. The current position will be shifte
t
one to the right |
| 'n' | n=123 | Set number on the given position. The current position will be shifte
d
one to the right |
+-------------+----------------+---------------------------------------------------------------------------------------------------+
Create a output like this: ::
...
...
@@ -6407,7 +6407,7 @@ In Report Syntax: ::
's=First Line' AS _XLS,
'newline' AS _XLS,
's=Second line' AS _XLS,
'n=123' AS _XLS
,
'n=123' AS _XLS
.. _drag_and_drop:
...
...
extension/qfq/qfq/helper/OnString.php
View file @
e69c016b
...
...
@@ -96,7 +96,7 @@ class OnString {
*/
public
static
function
splitExcelPos
(
$pos
,
&
$column
,
&
$row
){
preg_match_all
(
'/
(\w)|(
\d
)
/'
,
$pos
,
$matches
);
preg_match_all
(
'/
[A-Z]+|
\d
+
/'
,
$pos
,
$matches
);
if
(
count
(
$matches
[
0
])
!=
2
)
{
return
false
;
...
...
extension/qfq/qfq/report/Excel.php
View file @
e69c016b
...
...
@@ -25,7 +25,7 @@ require_once(__DIR__ . '/../helper/HelperFile.php');
require_once
(
__DIR__
.
'/../exceptions/DownloadException.php'
);
//require_once(__DIR__ . '/../Evaluate.php');
//require_once(__DIR__ . '/../helper/KeyValueStringParser.php');
//
require __DIR__ . '/../../../Resources/Private/vendor/autoload.php';
require
__DIR__
.
'/../../../Resources/Private/vendor/autoload.php'
;
use
PhpOffice\PhpSpreadsheet\Spreadsheet
;
use
PhpOffice\PhpSpreadsheet\Writer\Xlsx
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment