OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Delphi: set picture style

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
myoper
General User
General User


Joined: 13 Jun 2011
Posts: 25

PostPosted: Wed Jul 20, 2011 11:17 pm    Post subject: Delphi: set picture style Reply with quote

Sad
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
View user's profile Send private message
floris_v
Moderator
Moderator


Joined: 12 Jul 2007
Posts: 4791
Location: Netherlands

PostPosted: Wed Jul 20, 2011 11:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
myoper
General User
General User


Joined: 13 Jun 2011
Posts: 25

PostPosted: Thu Jul 21, 2011 1:55 am    Post subject: Reply with quote

floris_v wrote:
Moved to appropriate forum.


Thaks !
I wrote a post in appropriate forum
Back to top
View user's profile Send private message
DVezina
OOo Advocate
OOo Advocate


Joined: 29 Sep 2006
Posts: 248
Location: Orlando

PostPosted: Tue Jul 26, 2011 9:25 am    Post subject: Reply with quote

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
View user's profile Send private message
floris_v
Moderator
Moderator


Joined: 12 Jul 2007
Posts: 4791
Location: Netherlands

PostPosted: Tue Jul 26, 2011 10:13 am    Post subject: Reply with quote

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
View user's profile Send private message
myoper
General User
General User


Joined: 13 Jun 2011
Posts: 25

PostPosted: Wed Jul 27, 2011 5:18 pm    Post subject: Reply with quote

Thaks everyone !
I now to do try a again! Very Happy

Can you say more under it? I do not know the type of object you said!
Back to top
View user's profile Send private message
floris_v
Moderator
Moderator


Joined: 12 Jul 2007
Posts: 4791
Location: Netherlands

PostPosted: Wed Jul 27, 2011 11:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group