[sw-issues] [Issue 100157] size and link of graphic added by code

2009-03-17 Thread ernst_org
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=100157





--- Additional comments from ernst_...@openoffice.org Tue Mar 17 20:17:05 
+ 2009 ---
No It is/may bee related, the issue is that the graphic are linked as default
and the code I used was a work-around but not in 3.00 . If the graphic isn't
linked I can't see it at all. .

-
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: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[sw-issues] [Issue 100157] size and link of graphic added by code

2009-03-16 Thread mru
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=100157


User mru changed the following:

What|Old value |New value

 Assigned to|writerneedsconfirm|od

Target milestone|---   |OOo 3.x





--- Additional comments from m...@openoffice.org Mon Mar 16 14:43:55 + 
2009 ---
MRU->OD: could you please have a look whether or not this is the same problem as
issue 85105? 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: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[sw-issues] [Issue 100157] size and link of graphic added by code

2009-03-16 Thread ernst_org
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=100157


User ernst_org changed the following:

What|Old value |New value

  Status|CLOSED|UNCONFIRMED

  Resolution|DUPLICATE |





--- Additional comments from ernst_...@openoffice.org Mon Mar 16 08:33:21 
+ 2009 ---
example this code is funcional in 00 2.4.1 but not in 3.00

Sub InsertGraphicObject (grafik as String)
Dim oCursor
Dim oGraph
Dim oText
Dim oViewCursor as Object
Dim oImage as Object
Dim oCell as Object
Dim oPath as String
Dim lFil as String 
   
   oCurSelection = thisComponent.getCurrentSelection()
   oSel = oCurSelection.getByIndex(0)
   oSelText = oSel.getText()
   oStart = oSel.getStart()
   oTextCursor = oSelText.createTextCursorByRange(oStart)
 oTextCursor.goToStart(TRUE)
 oGraph = thisComponent.createInstance("com.sun.star.text.GraphicObject")

  With oGraph
.GraphicURL = graphic
.AnchorType = com.sun.star.text.TextContentAnchorType.AS_CHARACTER
.HyperLinkTarget = "_self"
.width = 4500
.height = 4500
  End With

oSelText.insertTextContent ( oTextCursor, oGraph, False)
wait 500

oDoc = ThisComponent

oViewCursor = oDoc.getCurrentController().getViewCursor()
oText = oDoc.getText()
TextTables = oDoc.getTextTables()
oImage = oDoc.createInstance( "com.sun.star.text.GraphicObject" )
oImage.Graphic= oGraph.Graphic
oImage.size=oGraph.size


oSelText.insertTextContent ( oTextCursor, oImage, False)

otext.removeTextContent(oGraph) 
 

End Sub 



-
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: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[sw-issues] [Issue 100157] size and link of graphic added by code

2009-03-13 Thread mru
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=100157


User mru changed the following:

What|Old value |New value

  Status|RESOLVED  |CLOSED





--- Additional comments from m...@openoffice.org Fri Mar 13 15:49:20 + 
2009 ---
Closing duplicate.

-
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: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[sw-issues] [Issue 100157] size and link of graphic added by code

2009-03-13 Thread mru
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=100157


User mru changed the following:

What|Old value |New value

  Status|UNCONFIRMED   |RESOLVED

  Resolution|  |DUPLICATE





--- Additional comments from m...@openoffice.org Fri Mar 13 15:48:53 + 
2009 ---
Yes, this really sounds like a duplicate.

*** This issue has been marked as a duplicate of 85105 ***

-
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: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[sw-issues] [Issue 100157] size and link of graphic added by code

2009-03-13 Thread os
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=100157





--- Additional comments from o...@openoffice.org Fri Mar 13 08:32:45 + 
2009 ---

The picture size problem might be related to issue 85105

-
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: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[sw-issues] [Issue 100157] size and link of graphic added by code

2009-03-13 Thread mru
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=100157


User mru changed the following:

What|Old value |New value

  CC|''|'os'

Priority|P2|P3

 Summary|graphic size and link adde|size and link of graphic a
|d by code |dded by code





--- Additional comments from m...@openoffice.org Fri Mar 13 08:05:27 + 
2009 ---
Did I get you right? You try to insert a graphic via Macro code?
Could you please add a short sample macro of how you add a graphic?

MRU->OS: do you know if there has been changed something intentionally for OOO3?

-
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: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org