how I can use Aspose.word in Symfony2 ???
Hi Hrizi,
Aspose.Words for .NET
http://www.aspose.com/docs/display/wordsnet/PHP+and+Aspose.Words+for+.NET
Aspose.Words for Java
http://www.aspose.com/docs/display/wordsjava/PHP+and+Aspose.Words+for+Java
You can also use Aspose.Words for Cloud which are REST APIs to use in Cloud environment. Please read following documentation link for your kind reference.
http://www.aspose.com/docs/display/wordscloud/Getting+Started
thank you how can I convert word file to pdf Symfony2
Hi Hrizi,
for your inquiry. Please check the code examples at following documentation links. You just need to change the extension of output file name in Document.Save method.
http://www.aspose.com/docs/display/wordsnet/PHP+and+Aspose.Words+for+.NET
http://www.aspose.com/docs/display/wordsjava/PHP+and+Aspose.Words+for+Java
<?php
// Open template file
$doc = new Java("com.aspose.words.Document", "C:\\Temp\\in.doc");
// Save document to Pdf
$doc->save("C:\\Temp\\out.pdf");
?>
Hi Thans you, here is what is my code source in Symfony2 but the pdf file is not created
/********************************************************/
class WelcomeController extends Controller
{
public function indexAction()
{
$doc = new \Java("com.aspose.words.Document", "C:\\Users\\Downloads\\license-agreement.doc");
// Save document to Pdf
$doc->save("C:\\Users\\help.pdf");
/*
* The action's view can be rendered using render() method
* or @Template annotation as demonstrated in DemoController.
*
*/
return $this->render('AcmeDemoBundle:Welcome:index.html.twig');
}
Hi Hrizi,
Are you analyzing Aspose for Cloud now? If yes, please follow your latest thread at http://www.aspose.com/community/forums/543385/symfony2/showthread.aspx#543385
Best Regards,