Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hallo Andreas,

in OOo benutzte ich folgendes (Ereignis-)Makro zum Eliminieren des
Postfixes in der Titelzeile.

Sub TitelPostfixAusblenden
  For i = 0 to Stardesktop.Frames.count-1
  titel = stardesktop.Frames(i).title
  If right(titel,24) = " - OpenOffice.org Writer" Then
  stardesktop.Frames(i).title = left(titel,(len(titel)-24))
  End If
  Next i
End sub

" - OpenOffice.org Writer" ist 24 Zeichen lang

In LibreOffice 3.3 funktioniert

Sub TitelPostfixAusblenden
  For i = 0 to Stardesktop.Frames.count-1
  titel = stardesktop.Frames(i).title
  If right(titel,24) = " - LibreOffice Writer" Then
  stardesktop.Frames(i).title = left(titel,(len(titel)-24))
  End If
  Next i
End sub

" - LibreOffice Writer" ist 21 Zeichen lang

Die Bedingung wird also nie erfüllt.

Gruß

Robert

-- 
Informationen zur Abmeldung: E-Mail an users+help@de.libreoffice.org
Listenarchiv: http://listarchives.libreoffice.org/de/users/
Alle E-Mails an diese Liste werden unlöschbar öffentlich archiviert

Context


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.