| View previous topic :: View next topic |
| Author |
Message |
myoper General User

Joined: 13 Jun 2011 Posts: 25
|
Posted: Wed Jul 20, 2011 11:17 pm Post subject: Delphi: set picture style |
|
|
I m in trouble!
I wrote a code to set picture styles, like that
open *.odt file, then ,select a picturer, rigth button ,on menu ,select surround->As for the background!
can anybody help me!
i use delphi 7 ,openoffice 3.3 win xp
thaks a lot!
Moderation probe1: set descriptive subject |
|
| Back to top |
|
 |
floris_v Moderator


Joined: 12 Jul 2007 Posts: 4619 Location: Netherlands
|
Posted: Wed Jul 20, 2011 11:41 pm Post subject: |
|
|
Moved to appropriate forum. _________________ LibreOffice 3.6.3; OOo 3.4.1 on Windows Vista
Join the Official community forum - in several languages, including Nederlandstalig forum |
|
| Back to top |
|
 |
myoper General User

Joined: 13 Jun 2011 Posts: 25
|
Posted: Thu Jul 21, 2011 1:55 am Post subject: |
|
|
| floris_v wrote: | | Moved to appropriate forum. |
Thaks !
I wrote a post in appropriate forum |
|
| Back to top |
|
 |
DVezina OOo Advocate

Joined: 29 Sep 2006 Posts: 248 Location: Orlando
|
Posted: Tue Jul 26, 2011 9:25 am Post subject: |
|
|
Are you asking for a macro?
| Code: |
Sub setGraphicProperties
oGraphs = thisComponent.getGraphicObjects
iCount = oGraphs.Count - 1
For i = 0 to iCount
oGraph = oGraphs.getByIndex(i)
oGraph.Surround = 1
oGraph.TextWrap = 1
oGraph.Opaque = false
Next
End Sub
|
[/code] |
|
| Back to top |
|
 |
floris_v Moderator


Joined: 12 Jul 2007 Posts: 4619 Location: Netherlands
|
Posted: Tue Jul 26, 2011 10:13 am Post subject: |
|
|
No, he wants code for Delphi 7. _________________ LibreOffice 3.6.3; OOo 3.4.1 on Windows Vista
Join the Official community forum - in several languages, including Nederlandstalig forum |
|
| Back to top |
|
 |
myoper General User

Joined: 13 Jun 2011 Posts: 25
|
Posted: Wed Jul 27, 2011 5:18 pm Post subject: |
|
|
Thaks everyone !
I now to do try a again!
Can you say more under it? I do not know the type of object you said! |
|
| Back to top |
|
 |
floris_v Moderator


Joined: 12 Jul 2007 Posts: 4619 Location: Netherlands
|
Posted: Wed Jul 27, 2011 11:56 pm Post subject: |
|
|
As there's another subject on this topic, I'll close this one. _________________ LibreOffice 3.6.3; OOo 3.4.1 on Windows Vista
Join the Official community forum - in several languages, including Nederlandstalig forum |
|
| Back to top |
|
 |
|