Hallo, ich habe eine ganze Zeit rumprobiert mit dem Export als pdf, aber jetzt glaube ich, dass das ein Problem im Programm sein muss:
1. Ich habe eine Calc-Datei mit mehreren Tabellen, in denen jeweils ein Bereich zum Drucken ausgewählt ist. 2. Ich mache den Makro-rekorder an 3. Ich gehe zu Tabelle1 und exportiere mit der Einstellung Auswahl 4. Ebenso bei zwei weiteren Tabellen. 5. Ich speichere das als Marko 6. Die Ergebnis-pdf enthalten nur die Werte der Tabelle. 7. Jetzt rufe ich das Makro auf und es speichert mir in allen drei pdfs jeweils die gesamte Auswahl. Frage: Ist das nur bei mir der Fall oder nachvollziehbar? Kann man das irgendwie vermeiden? Gibt es eine andere Möglichkeit per Makro zu exportieren? Die Druckbereiche einzeln auszuwählen habe ich auch versucht, geht auch nicht. Ich muss sagen, dass ich den code, den der Recorder in argsX(2).Value schreibt nicht wirklich durchblicke. Unten ist er angehangen. Aber eigentlich müsste doch das gleiche herauskommen wie bei der Aufzeichnung. Vielen Dank schon mal. Horst Schulze Array(Array("UseLosslessCompression",0,false,com.sun.star.beans.PropertyStat e.DIRECT_VALUE),Array("Quality",0,97,com.sun.star.beans.PropertyState.DIRE CT_VALUE),Array("ReduceImageResolution",0,true,com.sun.star.beans.Property State.DIRECT_VALUE),Array("MaxImageResolution",0,150,com.sun.star.beans. PropertyState.DIRECT_VALUE),Array("UseTaggedPDF",0,true,com.sun.star.bea ns.PropertyState.DIRECT_VALUE),Array("SelectPdfVersion",0,1,com.sun.star.be ans.PropertyState.DIRECT_VALUE),Array("ExportNotes",0,false,com.sun.star.be ans.PropertyState.DIRECT_VALUE),Array("ExportBookmarks",0,true,com.sun.st ar.beans.PropertyState.DIRECT_VALUE),Array("OpenBookmarkLevels",0,- 1,com.sun.star.beans.PropertyState.DIRECT_VALUE),Array("UseTransitionEffec ts",0,true,com.sun.star.beans.PropertyState.DIRECT_VALUE),Array("IsSkipEmpt yPages",0,true,com.sun.star.beans.PropertyState.DIRECT_VALUE),Array("IsAdd Stream",0,false,com.sun.star.beans.PropertyState.DIRECT_VALUE),Array("Form sType",0,0,com.sun.star.beans.PropertyState.DIRECT_VALUE),Array("ExportFor mFields",0,false,com.sun.star.beans.PropertyState.DIRECT_VALUE),Array("Hide ViewerToolbar",0,false,com.sun.star.beans.PropertyState.DIRECT_VALUE),Arra y("HideViewerMenubar",0,false,com.sun.star.beans.PropertyState.DIRECT_VAL UE),Array("HideViewerWindowControls",0,false,com.sun.star.beans.PropertyStat e.DIRECT_VALUE),Array("ResizeWindowToInitialPage",0,true,com.sun.star.bea ns.PropertyState.DIRECT_VALUE),Array("CenterWindow",0,false,com.sun.star.b eans.PropertyState.DIRECT_VALUE),Array("OpenInFullScreenMode",0,false,co m.sun.star.beans.PropertyState.DIRECT_VALUE),Array("DisplayPDFDocumentT itle",0,true,com.sun.star.beans.PropertyState.DIRECT_VALUE),Array("InitialView" ,0,0,com.sun.star.beans.PropertyState.DIRECT_VALUE),Array("Magnification",0, 0,com.sun.star.beans.PropertyState.DIRECT_VALUE),Array("Zoom",0,100,com.s un.star.beans.PropertyState.DIRECT_VALUE),Array("PageLayout",0,0,com.sun.s tar.beans.PropertyState.DIRECT_VALUE),Array("FirstPageOnLeft",0,false,com.s un.star.beans.PropertyState.DIRECT_VALUE),Array("InitialPage",0,1,com.sun.st ar.beans.PropertyState.DIRECT_VALUE),Array("Printing",0,2,com.sun.star.bean s.PropertyState.DIRECT_VALUE),Array("Changes",0,4,com.sun.star.beans.Prop ertyState.DIRECT_VALUE),Array("EnableCopyingOfContent",0,true,com.sun.star .beans.PropertyState.DIRECT_VALUE),Array("EnableTextAccessForAccessibility Tools",0,true,com.sun.star.beans.PropertyState.DIRECT_VALUE),Array("ExportL inksRelativeFsys",0,false,com.sun.star.beans.PropertyState.DIRECT_VALUE),Ar ray("PDFViewSelection",0,0,com.sun.star.beans.PropertyState.DIRECT_VALUE), Array("ConvertOOoTargetToPDFTarget",0,false,com.sun.star.beans.PropertyStat e.DIRECT_VALUE),Array("ExportBookmarksToPDFDestination",0,false,com.sun. star.beans.PropertyState.DIRECT_VALUE),Array("_OkButtonString",0,"",com.sun .star.beans.PropertyState.DIRECT_VALUE),Array("EncryptFile",0,false,com.sun. star.beans.PropertyState.DIRECT_VALUE),Array("DocumentOpenPassword",0,"" ,com.sun.star.beans.PropertyState.DIRECT_VALUE),Array("RestrictPermissions" ,0,false,com.sun.star.beans.PropertyState.DIRECT_VALUE),Array("PermissionP assword",0,"",com.sun.star.beans.PropertyState.DIRECT_VALUE),Array("Selecti on",0,,com.sun.star.beans.PropertyState.DIRECT_VALUE)) --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@de.openoffice.org For additional commands, e-mail: users-h...@de.openoffice.org