home *** CD-ROM | disk | FTP | other *** search
- ' styles are stored in a collection
- ' the collection is accessible through the foundry at the division level
-
- Dim MyStyles As ParagraphStyleCollection
- Set MyStyles = .Division.Foundry.ParagraphStyles
- NumberStyles = MyStyles.Count
-
- Forall Style In MyStyles
-
- Print "Name : "Style.Name
- Print "Beschreibung: "Style.Description
- Print "Schriftart - Schriftartenname "Style.Font.ActualName
- Print "Schriftart - Schriftgrad " Style.Font.Size
- Print "Schriftart - IsBold "Style.Font.Bold
- Print "Schriftart - Is TrueType "Style.Font.FontMetrics.IsTrueType
- Print " --------------------------"
-
- End Forall
-