[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

cseownga
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=57493
                  Issue #:|57493
                  Summary:|TextPageStyle
                Component:|Word processor
                  Version:|1.0.0
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P1
             Subcomponent:|code
              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.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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