To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=50579
------- Additional comments from [EMAIL PROTECTED] Tue Jul 26 09:27:40 -0700
2005 -------
byl->sw
'I tried your solution using
'your code
'drawpage = thisComponent.Drawpages(0)
' shape = drawpage.getByIndex(0)
' shape.FillStyle = com.sun.star.drawing.FillStyle.NONE
'my code
drawobjs=thiscomponent.drawpage
for i=0 to drawobjs.count-1
drawobj=drawobjs.getbyindex(i)
drawobjname=drawobj.name
if drawobjname="TEXT_FILE" then
document.select(drawobj)
' tried this
drawobj.FillStyle=com.sun.star.drawing.FillStyle.SOLID
drawobj.FillColor=RGB(231,231,231)
'however the shape object does not expose the FillStyle or FillColor as a
property in a 'writer document.
' then I tried this
drawobj.setPropertyValue("FillStyle","SOLID")
drawobj.setPropertyValue("FillColor",RGB(231,231,231))
'I get an Unknown Property exception
end if
Next i
You can insert my attempts into the previously posted macro
Any help would be appreciated.
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]