-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
addImage and addrow #227
Comments
So, combining this code with #224, you have: $table = $section->addTable();
$table->addRow(200,null);
$table->addCell(1300)->addImage("FoyerChart".$ClientID.".png",
array('width'=>600, 'height'=>200, 'align'=>'left')); And $section->addImage("FoyerPEChart".$ClientID.".png",
array('width'=>459, 'height'=>174, 'align'=>'left')); Correct? |
this code $table->addRow(250,array("exactHeight"=>true));
$table->addCell(8000)->addText($libelle,'policetext'); it's for the table $section->addImage("FoyerPEChart".$ClientID.".png",
array('width'=>459, 'height'=>174, 'align'=>'left')); and this $table = $section->addTable();
$table->addRow(200,null);
$table->addCell(1300)->addImage("FoyerChart".$ClientID.".png",
array('width'=>600, 'height'=>200, 'align'=>'left')); for image but I have the same pb .... |
Look at your $section->addImage("FoyerPEChart".$ClientID.".png",
array('width'=>459, 'height'=>174, 'align'=>'left')); And $table = $section->addTable();
$table->addRow(200,null);
$table->addCell(1300)->addImage("FoyerChart".$ClientID.".png",
array('width'=>459, 'height'=>174, 'align'=>'left')); |
No sorry I generate the document with the same instruction $section->addImage("FoyerPEChart".$ClientID.".png", or this one for the 2 documents the images don't look the same 2014-05-06 9:38 GMT+02:00 Ivan Lanin [email protected]:
Cordialement, Corinne Zaoui |
What is the difference between two Words ? Version ? Plugins ? Anything else ? |
One it's Microsoft Office 2010 for windows 2014-05-06 10:05 GMT+02:00 Progi1984 [email protected]:
Cordialement, Corinne Zaoui |
for mac it's 2014-05-06 10:38 GMT+02:00 corinne zaoui [email protected]:
Cordialement, Corinne Zaoui |
Let me clarify. So in MS Office 2010 for Windows the images look the same, but in MS Office 2008 for Mac they don't? I don't think anybody ever test in MS Office for Mac before, so there's a big possibility that the rendering rule is different. |
No exactly I think that when you fixe the height of the row or the size of the image 2014-05-06 11:58 GMT+02:00 Ivan Lanin [email protected]:
Cordialement, Corinne Zaoui |
I'll try to find a Mac to reproduce your problem. |
Thanks a lot 2014-05-06 12:22 GMT+02:00 Ivan Lanin [email protected]:
Cordialement, Corinne Zaoui |
it seems word 2010 for windows doesn't take into consideration the height whatever i specify as heigh, i get the same table format. when opening the table within word, the line heigh is specified as "at 2014-05-06 12:30 GMT+02:00 corinne zaoui [email protected]:
Cordialement, Corinne Zaoui |
Can you run |
I don' t understand that I obtain comparate at the php 2014-05-08 8:04 GMT+02:00 Ivan Lanin [email protected]:
Cordialement, Corinne Zaoui |
I don' t understand that I obtain comparate at the php 2014-05-08 8:49 GMT+02:00 corinne zaoui [email protected]:
Cordialement, Corinne Zaoui |
There's a file named |
In windows the resultat is good 2014-05-08 17:50 GMT+02:00 Ivan Lanin [email protected]:
Cordialement, Corinne Zaoui |
So, the problem you're facing is solved when you're using release 10? |
Yes this one is solved with the release 10 2014-05-09 6:10 GMT+02:00 Ivan Lanin [email protected]:
Cordialement, Corinne Zaoui |
Ok. Thanks for this confirmation. I'll close this issue. Please don't hesitate to submit reports like this since your feedback as a user is very useful for us. |
Hi
I have two view very different of the same document , depending which Word open it
The row of table and the image are not the same
Why ?
Part of my code
$table->addRow(250,array("exactHeight"=>true));
Thanks
$section->addImage("FoyerPEChart".$ClientID.".png", array('width'=>459, 'height'=>174, 'align'=>'left'));
The text was updated successfully, but these errors were encountered: