Richard Cleaveland wrote:
Andrew Douglas Pitonyak wrote:
Richard Cleaveland wrote:
Andrew Douglas Pitonyak wrote:
Still no graphics. Remember, if this uses anything other than
relative references, the images are not likely to show....
Indeed, the links are absolute. Perhaps I can work on making them
relative. "..\<name>" should do it, right? Or does Linux want "/"
rather than "\"?
Dick
Unsure if it will matter. Use "/" if you can.
Unfortunately, there is no way I can get the 3rd party application to
put relative paths into the generated WORD document, so I guess we're
stuck. Perhaps you can take any oOO write document with graphics (.jpg
is what I use) and make a macro which will demonstrate how to modify
the properties of the graphic; that would be a helpful start.
I am baffled by the macro recording system not recording the procedure
I used to change to picture properties. If it worked i could generate
a macro that way.
Sub DoGraph()
Dim i As Integer
Dim oGraph
Dim oBorder
Dim oDrawPage
oDrawPage = ThisComponent.Drawpage
For i=0 To oDrawPage.getCount()-1
oGraph = ThisComponent.Drawpage.getByIndex(i)
oBorder = oGraph.BottomBorder
oBorder.Color = 0
oBorder.InnerLineWidth = 10
oGraph.BottomBorder = oBorder
oGraph.TopBorder = oBorder
oGraph.RightBorder = oBorder
oGraph.LeftBorder = oBorder
'oGraph.AnchorType = com.sun.star.text.TextContentAnchorType.<insert
your type here>
Next i
End Sub
--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
My Book: http://www.hentzenwerke.com/catalog/oome.htm
Info: http://www.pitonyak.org/oo.php
See Also: http://documentation.openoffice.org/HOW_TO/index.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]