[sw-issues] [Issue 57493] New - TextPageStyle

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[sw-issues] [Issue 57493] New - TextPageStyle

To comment on the following update, log in, then open the issue:
                  Issue #:|57493
                Component:|Word processor
        Status whiteboard:|
               Issue type:|DEFECT
              Assigned to:|mru
              Reported by:|cseownga

------- Additional comments from [hidden email] Mon Nov  7 22:50:51 -0800 2005 -------
I have a visual basic program that loads the a openoffice document, but when i
have successfully use the createInstance for the pagestyle

Set oPage = oDoc.createInstance("com.sun.star.style.PageStyle")
oPage.FooterIsOn = True
oPage.FooterIsShared = True

When I looked through the PageStyle service, it said that this service extends
to com.sun.star.text.TextPageStyle, there is a property call Footertext which
is what i needed. But when I use the create instance again as belows:

Set oProperty = oPage.createInstance("com.sun.star.text.TextPageStyle")

it gives "Run-time error 438 Object doesn't support this property or method",
may I know how should this be resolved, so that I can successfully input a
footer text into an existing OpenOffice Document?

Thanks !

Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.

To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]