[sw-issues] [Issue 97840] UserdefinedAttributes of T ableCells are dropped after reopen document

2009-01-07 Thread arkas
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=97840
 Issue #|97840
 Summary|UserdefinedAttributes of TableCells are dropped after 
|reopen document
   Component|Word processor
 Version|OOO300m9
Platform|PC
 URL|
  OS/Version|Windows XP
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|save-export
 Assigned to|writerneedsconfirm
 Reported by|arkas





--- Additional comments from ar...@openoffice.org Wed Jan  7 14:16:56 + 
2009 ---
Hi,

i create some extensions for internal use in our company. In the line with the
implementation of these extensions i noticed a bug at the
UserdefinedAttibutes-feature of the texttable-cells. That bug drops the
automatic-style of the 2+n row of a texttable and use the automatic-style of the
second row, also if every cell have a unique element add by the
UserdefinedAttributes.

Please take a look at that bug, cause its important for our extension to store
own data at the table cells without display them.

To get you a easy entry, i 've created a little document with discribe and show
you the porblem.

Thx

-
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 97840] UserdefinedAttributes of T ableCells are dropped after reopen document

2009-01-07 Thread arkas
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=97840





--- Additional comments from ar...@openoffice.org Wed Jan  7 14:17:39 + 
2009 ---
Created an attachment (id=59216)
the example, containing the needed macros


-
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 97840] UserdefinedAttributes of T ableCells are dropped after reopen document

2009-01-07 Thread arkas
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=97840





--- Additional comments from ar...@openoffice.org Wed Jan  7 14:19:33 + 
2009 ---
Cause its impossible to multiselect: That bug could be reproduced and was tested
in the OOo-versions: 2.4.0, 2.4.1, 2.4.2, 3.0.0 (OOO300m9)

-
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 85332] Wrong displayed Text in co nditional Text

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





--- Additional comments from [EMAIL PROTECTED] Thu Jan 17 14:10:38 + 
2008 ---
Created an attachment (id=50942)
example of doted conditional-text-fields


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



[sw-issues] [Issue 85332] Wrong displayed Text in co nditional Text

2008-01-17 Thread arkas
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=85332
 Issue #|85332
 Summary|Wrong displayed Text in conditional Text
   Component|Word processor
 Version|OOo 2.3.1
Platform|PC
 URL|
  OS/Version|Windows XP
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|editing
 Assigned to|mru
 Reported by|arkas





--- Additional comments from [EMAIL PROTECTED] Thu Jan 17 14:09:28 + 
2008 ---
Insert a condtional-text-userfield with the following params:
- condition = true
- True = Foo.foo.foo
- False = Bar.bar.bar

The inserted field shown no value only an empty field.

The dots seem to be the problem. If you edit the True or False-Part of the field
an removed on of the dots al works fine.

The attached document shows the different cases. I've tested some other values,
but only the dots have that effect.

-
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 58667] Alien attributes get lost in a TextDocument when saving the document

2007-06-22 Thread arkas
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=58667





--- Additional comments from [EMAIL PROTECTED] Fri Jun 22 12:26:12 + 
2007 ---
Hi,

i've got the same problem using the property TextUserDefinedAttributes of a
selected Text.

i'm using the following macro to store and read an attribute.
there is NO problem if i don't close the document. but if you take look in
content.xml of a close document, you could see that there is an
automatic-sytle withe the added attribute, but no reference from the selected 
text.

Sub Main
Dim oDoc : oDoc = ThisComponent
Dim oText : oText = oDoc.getText()
Dim oTextCursor : oTextCursor = oText.createTextCursor()
Dim oVisibleCursor : oVisibleCursor = 
oDoc.getCurrentcontroller().getViewCursor()

Dim oSels : oSels = ThisComponent.CurrentSelection

If Not IsNull(oSels) Then
Dim lSelCount : lSelCount = oSels.getCount()

Dim lWhichSelection

For lWhichSelection = 0 To lSelCount - 1
Dim oSel : oSel = oSels.getByIndex(lWhichSelection)
oSel.TextUserDefinedAttributes = 
AddAttribute(oSel.TextUserDefinedAttributes
, foo, bar)
'MsgBox 
GetAttributeValue(oSel.TextUserDefinedAttributes , foo)
Next
End If
End Sub

Function GetAttributeValue(AttributeContainer As
com.sun.star.xml.AttributeContainer, AttributeName As String) As String
  Dim Attribute As Object

  GetAttributeValue = 

  If AttributeContainer.hasByName(AttributeName) Then
Attribute = AttributeContainer.getByName(AttributeName)
GetAttributeValue = Attribute.Value
  End If
End Function

Function AddAttribute(AttributeContainer As com.sun.star.xml.AttributeContainer,
AttributeName As String, AttributeValue As String)
  Dim oMyAttribute As Object

  oMyAttribute = createUnoStruct(com.sun.star.xml.AttributeData)

  With oMyAttribute
.Namespace = 
.Type = CDATA
.Value = AttributeValue
  End With

  If AttributeContainer.hasByName(AttributeName) Then
AttributeContainer.removeByName(AttributeName, oMyAttribute)
AttributeContainer.insertByName(AttributeName, oMyAttribute)
  Else
AttributeContainer.insertByName(AttributeName, oMyAttribute)
  End If

  AddAttribute = AttributeContainer
End Function

-
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 58667] Alien attributes get lost in a TextDocument when saving the document

2007-06-22 Thread arkas
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=58667





--- Additional comments from [EMAIL PROTECTED] Fri Jun 22 12:30:21 + 
2007 ---
Created an attachment (id=46180)
Document include the macro to reproduce


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



[sw-issues] [Issue 78401] Hidden/additional page aft er table of content

2007-06-13 Thread arkas
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=78401
 Issue #|78401
 Summary|Hidden/additional page after table of content
   Component|Word processor
 Version|OOo 2.2
Platform|PC
 URL|
  OS/Version|Windows XP
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|printing
 Assigned to|mru
 Reported by|arkas





--- Additional comments from [EMAIL PROTECTED] Wed Jun 13 15:22:06 + 
2007 ---
There is an additional/hidden page after table of contents, if there is a
page-break with a page-formatting which change the page-numbers.

To reproduce do the following steps:
1. add a toc
2. add a page-break after the toc. that page-break has to change the page-number

If you look at the displayed page-numbers in the status-bar, you would see
3/3, but there are only two pages displayed in the app.

If you print the doc or export it to pdf, there is the magical second page.
I attached two documents, the odt and the corresponding pdf, where you should be
able to see the problem

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



[sw-issues] [Issue 78401] Hidden/additional page aft er table of content

2007-06-13 Thread arkas
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=78401





--- Additional comments from [EMAIL PROTECTED] Wed Jun 13 15:23:26 + 
2007 ---
Created an attachment (id=45881)
odt with 2 displayed pages


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



[sw-issues] [Issue 78401] Hidden/additional page aft er table of content

2007-06-13 Thread arkas
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=78401





--- Additional comments from [EMAIL PROTECTED] Wed Jun 13 15:24:14 + 
2007 ---
Created an attachment (id=45882)
the corresponding pdf with 3 pages


-
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 53001] Loss text while grouping shapes with OOoBasic

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


User arkas changed the following:

  What|Old value |New value

   Attachment data|  |Created an attachment
  |  |(id=28564) Relevant Macros





--- Additional comments from [EMAIL PROTECTED] Mon Aug  8 00:07:18 -0700 
2005 ---
Created an attachment (id=28564)
Relevant Macros


-
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 53001] Loss text while grouping shapes with OOoBasic

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





--- Additional comments from [EMAIL PROTECTED] Mon Aug  8 00:09:29 -0700 
2005 ---
Hi,

i have added the relevant macro-code. 
notice, you have to do a few steps by hand descriped in the first comment of
this issue.

Jan

-
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 53001] New - Loss text while grou ping shapes with OOoBasic

2005-08-07 Thread arkas
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=53001
  Issue #:|53001
  Summary:|Loss text while grouping shapes with OOoBasic
Component:|api
  Version:|OOo 1.1.4
 Platform:|PC
  URL:|
   OS/Version:|Windows XP
   Status:|UNCONFIRMED
Status whiteboard:|
 Keywords:|
   Resolution:|
   Issue type:|DEFECT
 Priority:|P2
 Subcomponent:|code
  Assigned to:|sw
  Reported by:|arkas





--- Additional comments from [EMAIL PROTECTED] Sun Aug  7 09:13:33 -0700 
2005 ---
If you group shapes, who are created and filled with text by
OpenOfficeBasic-Makro, save, close and reopen the doc so the text of the last
shape has been removed. But before closing the doc the text was there!!!

I have tested it on few Windows-Systems, XP down to ME.

My code bases on some scripts of DannyB. I think i could say that they are so
simple and so often used that there is no bug in this macros.

Step by Step:
1. Open a new Draw Document
2. Excute Main
3. Switch to Draw
4. Select the 2 shapes
5. right-click the selection and choose the entry Group
6. immediately save the draw document
7. close the doc and open it

' START OF CODE ---
Sub Main
   Dim oShape1 As Object
   Dim oShape2 As Object
   Dim oShape3 As Object
   
   oShape1 = MakeTextShape(ThisComponent, MakePoint_Utils(7*1000, 5*1000),
MakeSize_Utils(5*1000, 1*1000))
   ThisComponent.getCurrentController().getCurrentPage().add( oShape1  )
   oShape1.setString(Foo)
   
   oShape2 = MakeTextShape(ThisComponent, MakePoint_Utils(7*1000, 7*1000),
MakeSize_Utils(5*1000, 1*1000))
   ThisComponent.getCurrentController().getCurrentPage().add( oShape2  )
   oShape2.setString(Foo2)
   
   oShape3 = MakeTextShape(ThisComponent, MakePoint_Utils(7*1000, 9*1000),
MakeSize_Utils(5*1000, 1*1000))
   ThisComponent.getCurrentController().getCurrentPage().add( oShape3  )
   ThisComponent.getCurrentController().getCurrentPage().remove( oShape3  )
End Sub

Function MakeTextShape( oDoc As Object,_
   Optional position As com.sun.star.awt.Point,_
   Optional size As com.sun.star.awt.Size ) As
com.sun.star.drawing.TextShape
   Dim oShape As Object
   oShape = oDoc.createInstance( com.sun.star.drawing.TextShape )
   If Not IsMissing( position ) Then
  oShape.Position = position
   EndIf
   If Not IsMissing( size ) Then
  oShape.Size = size
   EndIf
   MakeTextShape = oShape
End Function

Function MakePoint_Utils(ByVal x As Long, ByVal y As Long) As 
com.sun.star.awt.Point
   Dim oPoint As Object
   
   oPoint = CreateUnoStruct(com.sun.star.awt.Point)
   oPoint.X = x
   oPoint.Y = y
   MakePoint_Utils = oPoint
End Function

Function MakeSize_Utils(ByVal width As Long, ByVal height As Long) As
com.sun.star.awt.Size
   Dim oSize As Object
   
   oSize = CreateUnoStruct(com.sun.star.awt.Size)
   oSize.Width = width
   oSize.Height = height
   MakeSize_Utils = oSize
End Function 
' END OF 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 53001] Loss text while grouping shapes with OOoBasic

2005-08-07 Thread arkas
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=53001





--- Additional comments from [EMAIL PROTECTED] Sun Aug  7 09:17:25 -0700 
2005 ---
Sorry,

the code includes my workaround.
to reproduce the bug comment out the last 3 lines of Sub Main

' START OF CODE ---
Sub Main
   Dim oShape1 As Object
   Dim oShape2 As Object
   Dim oShape3 As Object
   
   oShape1 = MakeTextShape(ThisComponent, MakePoint_Utils(7*1000, 5*1000),
MakeSize_Utils(5*1000, 1*1000))
   ThisComponent.getCurrentController().getCurrentPage().add( oShape1  )
   oShape1.setString(Foo)
   
   oShape2 = MakeTextShape(ThisComponent, MakePoint_Utils(7*1000, 7*1000),
MakeSize_Utils(5*1000, 1*1000))
   ThisComponent.getCurrentController().getCurrentPage().add( oShape2  )
   oShape2.setString(Foo2)
   
   'oShape3 = MakeTextShape(ThisComponent, MakePoint_Utils(7*1000, 9*1000),
MakeSize_Utils(5*1000, 1*1000))
   'ThisComponent.getCurrentController().getCurrentPage().add( oShape3  )
   'ThisComponent.getCurrentController().getCurrentPage().remove( oShape3  )
End Sub
' END OF 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]