Hallo *,
ich verwende ein Makro (s. weiter unten), das seit dem Wechsel von LO 
3.3.3 auf 3.4.4 einen unerwünschten Effekt hat - und zwar werden durch 
das Ablaufen des Makros die Steuerzeichen ausgeblendet.
Kann das jemand nachvollziehen?
Und v.a. hat jemand einen Lösungsvorschlag, um dieses Verhalten zu 
verhindern?
Sub AktuelleSeiteDrucken
rem eingestellten Drucker anzeigen lassen
   oDoc = ThisComponent
   aPrinterProperties = oDoc.getPrinter()
   oPrinterName = aPrinterProperties(0)
   If IsNull( oPrinterName ) Then
      MsgBox( "Kein Drucker gefunden" )
   Else
      if MsgBox( "Der aktuelle Drucker ist: " & oPrinterName.Value, 
1,"Hinweis") = 2 then
                        exit sub
                else
                        rem Aufruf des Druckvorgangs
                        dim aPrintOps(0) as new com.sun.star.beans.PropertyValue
                        oDoc = ThisComponent
                        oViewCursor = oDoc.CurrentController.getViewCursor()
                        aPrintOps(0).Name = "Pages"
                        aPrintOps(0).Value = trim(str(oViewCursor.getPage()))
                        oDoc.print(aPrintOps())
                endif
        EndIf
end sub
LO: LibreOffice 3.4.4 OOO340m1 (Build:402)
OS: Windows 7 Prof 64 Bit
Gruß
Jochen
--
Informationen zum Abmelden: E-Mail an users+help@de.libreoffice.org
Probleme? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Tipps zu Listenmails: http://wiki.documentfoundation.org/Netiquette/de
Listenarchiv: http://listarchives.libreoffice.org/de/users/
Alle E-Mails an diese Liste werden unlöschbar öffentlich archiviert
Context
- [de-users] LO 3.4.4 -> Makro blendet Steuerzeichen aus · Jochen
 
  Privacy Policy |
  
Impressum (Legal Info) |
  
Copyright information: Unless otherwise specified, all text and images
  on this website are licensed under the
  
Creative Commons Attribution-Share Alike 3.0 License.
  This does not include the source code of LibreOffice, which is
  licensed under the Mozilla Public License (
MPLv2).
  "LibreOffice" and "The Document Foundation" are
  registered trademarks of their corresponding registered owners or are
  in actual use as trademarks in one or more countries. Their respective
  logos and icons are also subject to international copyright laws. Use
  thereof is explained in our 
trademark policy.