[api-issues] [Issue 76752] Bug with polylineshape wit h OOo2.2 under linux

2008-04-28 Thread od
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=76752


User od changed the following:

What|Old value |New value

Target milestone|OOo 3.0   |OOo 3.x





--- Additional comments from [EMAIL PROTECTED] Mon Apr 28 10:35:28 + 
2008 ---
Due to limited resources re-target to OOo 3.x

-
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]



[api-issues] [Issue 76752] Bug with polylineshape wit h OOo2.2 under linux

2008-01-11 Thread od
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=76752


User od changed the following:

What|Old value |New value

Target milestone|OOo 2.x   |OOo 3.0





--- Additional comments from [EMAIL PROTECTED] Fri Jan 11 14:23:58 + 
2008 ---
Due to lack of resources retarget to OOo 3.0

-
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]



[api-issues] [Issue 76752] Bug with polylineshape wit h OOo2.2 under linux

2007-11-04 Thread roadrunner0
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=76752





--- Additional comments from [EMAIL PROTECTED] Sun Nov  4 19:16:36 + 
2007 ---
I tested with Nov. 3rd ddorange's code and worked.
Left anchored objects with polylines did appear, and were re-sizable.

I am using OOo 2.3 in OpenSUSE 10.2.

(sorry, but don't use OOo2.2 anymore)

-
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]



[api-issues] [Issue 76752] Bug with polylineshape wit h OOo2.2 under linux

2007-11-04 Thread pitonyak
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=76752


User pitonyak changed the following:

What|Old value |New value

  CC|''|'pitonyak'





--- Additional comments from [EMAIL PROTECTED] Sun Nov  4 20:13:42 + 
2007 ---
First of all, you do not declare your variables. OK, it works fine, but it
really bothers me...

Does this version work for you?

Sub LigneBrisee_new()
Dim monDocument As Object, maPage As Object
Dim maForme As Object
Dim lesPoints(4) As New com.sun.star.awt.Point  
monDocument = thisComponent
monTexte = monDocument.Text
monCurseur = monTexte.createTextCursor  
maPage = monDocument.DrawPage
maForme = 
monDocument.createInstance(com.sun.star.drawing.PolyLineShape)
maForme.AnchorType = com.sun.star.text.TextContentAnchorType.AT_PAGE
maForme.HoriOrientRelation = com.sun.star.text.RelOrientation.FRAME
maForme.VertOrientRelation = com.sun.star.text.RelOrientation.FRAME
lesPoints(0).X =  2100 : lesPoints(0).Y =  2100
lesPoints(1).X =  4500 : lesPoints(1).Y =  4000
lesPoints(2).X = 2200  : lesPoints(2).Y = 3000
lesPoints(3).X = 2500  : lesPoints(3).Y = 4000
lesPoints(4).X = 4000  : lesPoints(4).Y =  4000

monTexte.insertTextContent(monCurseur, maForme, false)

maForme.LineWidth = 80
maForme.PolyPolygon = Array(lesPoints())


Print maForme.VertOrientPosition
'   maForme.VertOrientRelation = 0 'relative to page area
'   maForme.HoriOrientRelation = 0 'relative to page area


Print maForme.HoriOrientPosition
maForme2 = 
monDocument.createInstance(com.sun.star.drawing.PolyLineShape)
maForme2.AnchorType = com.sun.star.text.TextContentAnchorType.AT_PAGE
maForme2.HoriOrientRelation = com.sun.star.text.RelOrientation.FRAME
maForme2.VertOrientRelation = com.sun.star.text.RelOrientation.FRAME
lesPoints(0).X =  2000 : lesPoints(0).Y =  2000
lesPoints(1).X =  3000 : lesPoints(1).Y =  2500
lesPoints(2).X = 2500  : lesPoints(2).Y = 3000
lesPoints(3).X = 3000  : lesPoints(3).Y = 6000
lesPoints(4).X = 4000  : lesPoints(4).Y =  4000
monTexte.insertTextContent(monCurseur, maForme2, false)
maForme2.LineWidth = 60
maForme2.PolyPolygon = Array(lesPoints())
Print maForme2.VertOrientPosition
'   maForme2.VertOrientRelation = 0 'relative to page area
'   maForme2.HoriOrientRelation = 0 'relative to page area
Print maForme2.HoriOrientPosition   
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 76752] Bug with polylineshape wit h OOo2.2 under linux

2007-11-04 Thread od
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=76752


User od changed the following:

What|Old value |New value

Target milestone|OOo 2.3   |OOo 2.x





--- Additional comments from [EMAIL PROTECTED] Mon Nov  5 07:34:31 + 
2007 ---
OD-ddorange:
Target milestone = OOo 2.3 does not make sense, because OOo 2.3 is already
released. Thus, this version of OOo can not be changed.
I've reset Target milestone back to OOo 2.x

-
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]



[api-issues] [Issue 76752] Bug with polylineshape wit h OOo2.2 under linux

2007-11-03 Thread ddorange
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=76752


User ddorange changed the following:

What|Old value |New value

Target milestone|OOo 2.x   |OOo 2.3





--- Additional comments from [EMAIL PROTECTED] Sat Nov  3 22:39:00 + 
2007 ---
Hello, what can I do now ?

The following code works under windows and do'nt underlinux.
It's now impossible to insert PolylineShape.

We cannot plot curves with dmaths ...



code
Sub LigneBrisee()
Dim monDocument As Object, maPage As Object
Dim maForme As Object
Dim lesPoints(4) As New com.sun.star.awt.Point  
monDocument = thisComponent
monTexte = monDocument.Text
monCurseur = monTexte.createTextCursor  
maPage = monDocument.DrawPage
maForme = 
monDocument.createInstance(com.sun.star.drawing.PolyLineShape)
maForme.AnchorType = com.sun.star.text.TextContentAnchorType.AT_PAGE
lesPoints(0).X =  2100 : lesPoints(0).Y =  2100
lesPoints(1).X =  4500 : lesPoints(1).Y =  4000
lesPoints(2).X = 2200  : lesPoints(2).Y = 3000
lesPoints(3).X = 2500  : lesPoints(3).Y = 4000
lesPoints(4).X = 4000  : lesPoints(4).Y =  4000

monTexte.insertTextContent(monCurseur, maForme, false)

maForme.LineWidth = 80
maForme.PolyPolygon = Array(lesPoints())


Print maForme.VertOrientPosition
maForme.VertOrientRelation = 0 'relative to page area
maForme.HoriOrientRelation = 0 'relative to page area


Print maForme.HoriOrientPosition
maForme2 = 
monDocument.createInstance(com.sun.star.drawing.PolyLineShape)
maForme2.AnchorType = com.sun.star.text.TextContentAnchorType.AT_PAGE
lesPoints(0).X =  2000 : lesPoints(0).Y =  2000
lesPoints(1).X =  3000 : lesPoints(1).Y =  2500
lesPoints(2).X = 2500  : lesPoints(2).Y = 3000
lesPoints(3).X = 3000  : lesPoints(3).Y = 6000
lesPoints(4).X = 4000  : lesPoints(4).Y =  4000
monTexte.insertTextContent(monCurseur, maForme2, false)
maForme2.LineWidth = 60
maForme2.PolyPolygon = Array(lesPoints())
Print maForme2.VertOrientPosition
maForme2.VertOrientRelation = 0 'relative to page area
maForme2.HoriOrientRelation = 0 'relative to page area
Print maForme2.HoriOrientPosition   
End Sub
/code



-
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]



[api-issues] [Issue 76752] Bug with polylineshape wit h OOo2.2 under linux

2007-05-09 Thread os
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=76752


User os changed the following:

What|Old value |New value

 Assigned to|os|od

  Status|STARTED   |NEW





--- Additional comments from [EMAIL PROTECTED] Wed May  9 06:45:42 + 
2007 ---
Reassigned to od

-
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]



[api-issues] [Issue 76752] Bug with polylineshape wit h OOo2.2 under linux

2007-05-08 Thread ddorange
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=76752





--- Additional comments from [EMAIL PROTECTED] Tue May  8 18:59:38 + 
2007 ---
Hello,

I'm sorry but I can't put the shape at the right. For example I can't plot 
curves.

Try this addon : http://ddorange.free.fr/DmathsAddon.oxt

The plotting curves works perfectly with all OOo under windows and with OOo=2.1
under Linux.

Thanks for 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 76752] Bug with polylineshape wit h OOo2.2 under linux

2007-05-04 Thread os
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=76752


User os changed the following:

What|Old value |New value

  Ever confirmed|  |1

  Status|UNCONFIRMED   |STARTED

Target milestone|---   |OOo 2.x





--- Additional comments from [EMAIL PROTECTED] Fri May  4 07:23:59 + 
2007 ---
Target set to OOo 2.x

To workaround the problem put the following lines at the end of your macro:

maForme.VertOrientRelation = 7 'relative to page area
maForme.HoriOrientRelation = 7 'relative to page area
maForme.VertOrientPosition = 0
maForme.HoriOrientPosition = 0

BTW I'd also propose not to use page anchored objects para paragraph anchored
objects.


-
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]



[api-issues] [Issue 76752] Bug with polylineshape wit h OOo2.2 under linux

2007-05-03 Thread ddorange
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=76752





--- Additional comments from [EMAIL PROTECTED] Thu May  3 13:40:43 + 
2007 ---
Hello everybody.

Is that issue assigned to the right people ?

-
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]



[api-issues] [Issue 76752] Bug with polylineshape wit h OOo2.2 under linux

2007-04-27 Thread ddorange
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=76752
 Issue #|76752
 Summary|Bug with polylineshape with OOo2.2 under linux
   Component|api
 Version|OOo 2.2
Platform|All
 URL|
  OS/Version|Linux
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|code
 Assigned to|jsc
 Reported by|ddorange





--- Additional comments from [EMAIL PROTECTED] Fri Apr 27 09:31:17 + 
2007 ---
Hello,

I found a bug in OOo2.2 (under Linux only)

code
Sub LigneBrisee()
Dim monDocument As Object, maPage As Object
Dim maForme As Object
Dim lesPoints(4) As New com.sun.star.awt.Point
monDocument = thisComponent
maPage = monDocument.DrawPage
maForme = monDocument.createInstance(com.sun.star.drawing.PolyLineShape)
maforme.AnchorType = com.sun.star.text.TextContentAnchorType.AT_PAGE
lesPoints(0).X =  4000 : lesPoints(0).Y =  2000
lesPoints(1).X =  4500 : lesPoints(1).Y =  4000
lesPoints(2).X = 2500  : lesPoints(2).Y = 3000
lesPoints(3).X = 2500  : lesPoints(3).Y = 4000
lesPoints(4).X = 4000  : lesPoints(4).Y =  4000
maPage.add(maForme)
maForme.LineWidth = 80
maForme.PolyPolygon = Array(lesPoints())
End Sub
/code

In a swriter document I get a stuck shape at the left border of the page. I
can't change its position using the mouse.
 
Print maForme.HoriOrientPosition  gives a surprising result : -29822752 instead
of 0 or 2000.

I'm dmaths developper (www.dmaths.org)
For me it's a big problem, because we can't plot curves under linux with OOo2.2.

Thanks for your answer.

-
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]



[api-issues] [Issue 76752] Bug with polylineshape wit h OOo2.2 under linux

2007-04-27 Thread jsc
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=76752


User jsc changed the following:

What|Old value |New value

 Assigned to|jsc   |os





--- Additional comments from [EMAIL PROTECTED] Fri Apr 27 10:59:10 + 
2007 ---
jsc - os: after a short discussion with sj, we think it's more a writer issue.
Can you check it or can you assign it to the appropriate developer

-
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]