https://bugs.freedesktop.org/show_bug.cgi?id=81413
Priority: medium
Bug ID: 81413
Assignee: [email protected]
Summary: Unable to export a document with the
'writer_pdf_Export' filter in LANDSCAPE mode
Severity: normal
Classification: Unclassified
OS: Windows (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: UNCONFIRMED
Version: 4.2.5.2 release
Component: BASIC
Product: LibreOffice
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
Jacques
=============================================================================
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()
.Execute(Array())
.Dispose()
End with
=============================================================================
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs