180 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-1
votes
1
answer
64
views
When parsing docx file give error The tag `m:f` has no numerator defined
When parsing docx file gives me error: PhpOffice\Math\Reader\OfficeMathML::getElement : The tag m:f has no numerator defined
PhpWord libary user phpoffice/math libary and i think getting error because ...
0
votes
1
answer
106
views
When i Try to reverse the Axis with the following code i do not obtain the reverse orientation
When I try to reverse the axis with the following code I do not obtain the reverse orientation
$chart1->getChartAxisX()->setAxisOrientation(Axis::ORIENTATION_REVERSED);
How to change the ...
1
vote
0
answers
345
views
Change the text size in a Phpoffice/PhpPresentation AutoShape
I want to change the default text size of a AutoShape in PhpOffice/PhpPresentation
Following the example of :[https://github.com/PHPOffice/PHPPresentation/blob/develop/samples/Sample_21_AutoShape.php]
...
0
votes
1
answer
772
views
Excel Spreadsheet with Data Filters. PhpSpreadsheet Laravel
I am currently generating an Excel spreadsheet with the result of a Query:
if($request->get('excel')){
return Excel::download(new RsestagiosExcel($dados,$campos,$nomeCampos), '...
1
vote
0
answers
84
views
How to make overlapping image in PhpOffice\PhpWord?
I have a document with verious variables in it. Need to put a .png stamp that'll be right on top on them. Is it possible?
0
votes
1
answer
577
views
Imported excel null date inputted as 1970年01月01日
I'm using phpoffice/phpspreadsheet as the packages. When im testing the function of importing excel into database. I noticed all the null dates are now 1970年01月01日. How do I fix it?
Following is the ...
0
votes
1
answer
297
views
PHPOffice/PHPPresentation (PowerPoint): how to use setDisplayBlankAs() Chart method?
I tried to use setDisplayBlankAs() method as shown in documentation at:
https://phpoffice.github.io/PHPPresentation/usage/shapes/chart.html#customization
but I got an error:
PhpOffice\PhpPresentation\...
1
vote
1
answer
466
views
How to set cell as percentage in xls - phpoffice
Hey all I want to set the format of a cell in xls to percentage.
I am using phpoffice.
the value that I want is 0.04% as percentage.
the problem the origin $innervalue is 0.04% as string.
this is my ...
1
vote
0
answers
228
views
How to get multiple colors in a cell
Currently I'm using PHPOffice library for importing my data from a excel spreadsheet.
My excel spreadsheet is a little special, there is a cell having multiple styles.
I can get styles like font-size, ...
0
votes
0
answers
215
views
How to sum value of column form row Excel with PHP office
I have an Excel file that I want to upload it with Phpoffice, and preview on web application
everything works fine and success with this code:
if(isset($_POST['submit'])){
$err ="";
...
0
votes
2
answers
753
views
PhpWord 0.18 not saving and code throws an internal sever error [duplicate]
I am trying to create a Word doc in php (7.4) and am using PhpWord 0.18.2. All goes fine right up until I save the document. The system throws an HTTP 500 (Internal sever error). I have searched ...
2
votes
1
answer
3k
views
Convert doc or docx to pdf use tcpdf not matched [duplicate]
I trying to convert file doc or docx to pdf but the result doesn't match with the origin file doc/docx and also there is no style in file pdf. I don't know why, because here i'm using tcpdf and ...
1
vote
0
answers
86
views
phpOffice is not converting .docx file to pdf. it shows error DOMXPath::query(): Undefined namespace prefix in Laravel
hello guys i am working in laravel 5 and trying to convert my .docx files to pdf files. If there is only text in .docx file it converts successfully. But if there is any image in .docx file it shows ...
1
vote
0
answers
250
views
Server error downloading / generating Excel file in PHP
I am generating an Excel file with an sql query, this so that it shows me all the records, the problem is that it works correctly locally, the excel is generated and downloaded, but when uploading it ...
0
votes
0
answers
408
views
Generate PDF from .docx file. ERROR Cannot add Title in Header -PHPOffice
Im trying to convert a word file using PHPWORD library in PHP Laravel. Actually everything is fine with all of the files. BUt there are few files making such issues. I debugged it and dont know.
Here ...