LibreOffice / OpenOffice don't support VBA.
Conversion is done by the appropriate filter when storing TO (Not As!) a file.
The document itself remains unchanged and associated with the file it was loaded from (or used with stroeAs previously).
See
https://stackoverflow.com/questions/305 ... o-pdf-file for an example.
It's basically the same with both branches though LibreOffice seems to be more active in developing/enhancing filters.
===Editing===
I just explored Q&D the names of arguments that were set for the respective
.uno:ExportTo command used with the "calc_pdf_Export" filter of current LibreOffice (6.1.3). There were 52:
"UseLosslessCompression", "Quality", "ReduceImageResolution", "MaxImageResolution", "UseTaggedPDF", "SelectPdfVersion", "ExportNotes", "ViewPDFAfterExport", "ExportBookmarks", "OpenBookmarkLevels", "UseTransitionEffects", "IsSkipEmptyPages", "ExportPlaceholders", "IsAddStream", "FormsType", "ExportFormFields", "AllowDuplicateFieldNames", "HideViewerToolbar", "HideViewerMenubar", "HideViewerWindowControls", "ResizeWindowToInitialPage", "CenterWindow", "OpenInFullScreenMode". "DisplayPDFDocumentTitle", "InitialView", "Magnification", "Zoom", "PageLayout", "FirstPageOnLeft", "InitialPage", "Printing", "Changes", "EnableCopyingOfContent", "EnableTextAccessForAccessibilityTools", "ExportLinksRelativeFsys", "PDFViewSelection", "ConvertOOoTargetToPDFTarget", "ExportBookmarksToPDFDestination", "SignPDF", "_OkButtonString", "Watermark", "EncryptFile", "PreparedPasswords", "RestrictPermissions", "PreparedPermissionPassword", "SignatureLocation", "SignatureReason", "SignatureContactInfo", "SignaturePassword", "SignatureCertificate", "SignatureTSA", "UseReferenceXObject"
Probably there exist additional ones.
On Windows 10: LibreOffice 24.2 (new numbering) and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München