Bug 81413 - Unable to export a document with the 'writer_pdf_Export' filter in LANDSCAPE mode
Summary: Unable to export a document with the 'writer_pdf_Export' filter in LANDSCAPE ...
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
Depends on:
Reported: 2014-07-16 06:35 UTC by ferre-jacques
Modified: 2014-07-23 15:01 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:
Regression By:


Note You need to log in before you can comment on or make changes to this bug.
Description ferre-jacques 2014-07-16 06:35:23 UTC
Sorry for my english.
I have a document (ODT) with a page formated in landscape mode.
If I export this page directly from Writer, the PDF export is in landscape mode.
It's also OK if I use a macro registered with the recorder in the ODT document.

If I use 'writer_pdf_Export' in a macro, the PDF file is always on portrait mode.
I have used variants like 'PaperOrientation' or 'IsLandscape' with no success.

The same code was OK in release 3.5.

Thank you for his very good application


Part of the macro used :
oPublipostage = createUnoService("com.sun.star.text.MailMerge")
FilterData(0).Name = "IsAddStream"
FilterData(0).Value = False ' ne pas incorporer le fichier OpenDocument
FilterData(1).Name = "IsSkipEmptyPages"
FilterData(1).Value = True ' ne pas séparer les pages du fichier en sortie
ArgsProprietes(0).Name = "FilterData"
ArgsProprietes(0).Value = FilterData()
With oPublipostage
	.DataSourceName = sSource
	.CommandType = TypeCmde
	.Command = sQuery
	.OutputType = com.sun.star.text.MailMergeType.FILE
	.FileNameFromColumn = False
	.SaveAsSinglefile = True
	.SaveFilter = "writer_pdf_Export"
	.FilenamePrefix = sPrefixe
	.DocumentURL = ConvertToURL(sModele)
	.OutputURL = ConvertToURL(sRepTemp)
	.PrintOptions = ArgsProprietes()
End with
Comment 1 Jean-Baptiste Faure 2014-07-23 15:01:47 UTC
This bug tracker is not an helpdesk. Please could you ask for help on the FR users mailing-list or via https://fr.libreoffice.org/get-help/poser-une-question

There was changes in the API after version 3.5 so perhaps you should update your macro.

Closing as INVALID. Feel free to reopen if discussion on users mailing-list make you pretty sure that there is a bug there. Thank you for your understanding.

Best regards. JBF