[api-issues] [Issue 58646] xTableRows insertByIndex() method fails inserting new row to blank table

2006-10-09 Thread mr_than
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=58646





--- Additional comments from [EMAIL PROTECTED] Mon Oct  9 17:16:17 -0700 
2006 ---
issue 59143 also shows an error with this API

-
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 58646] xTableRows insertByIndex() method fails inserting new row to blank table

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





--- Additional comments from [EMAIL PROTECTED] Sun Aug  6 20:52:27 -0700 
2006 ---
This is on Windows XP BTW

-
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 58646] xTableRows insertByIndex() method fails inserting new row to blank table

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


User mr_than changed the following:

What|Old value |New value

  Status|CLOSED|UNCONFIRMED

  Resolution|WORKSFORME|





--- Additional comments from [EMAIL PROTECTED] Sun Aug  6 20:43:58 -0700 
2006 ---
I've tracked the problem down to the xTableRows.insertByIndex method. It now
requires two longs as it's arguments, but I think it must have taken two ints in
the past.

The documentation
(http://api.openoffice.org/docs/common/ref/com/sun/star/table/XTableRows.html)
now says two longs, but it will not compile against recent builds (currently
608_b180) but is still OK on the 2.0 release version.

I've tried this in Jdeveloper and now Eclipse and both show the same in content
assist (ints) and neither will compile it with longs.

If I run it with ints, OpenOffice gives the same fatal error.

-
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 58648] imported Word document wi th landscape pages from continuous section bre ak are incorrectly imported as portrait

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


User mr_than changed the following:

  What|Old value |New value

   Attachment data|  |Created an attachment
  |  |(id=31928) document with
  |  |continuos section break
  |  |and landscape formatting





--- Additional comments from [EMAIL PROTECTED] Tue Nov 29 21:20:53 -0800 
2005 ---
Created an attachment (id=31928)
document with continuos section break and landscape formatting


-
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 58648] New - imported Word docume nt with landscape pages from continuous sectio n break are incorrectly imported as portrait

2005-11-29 Thread mr_than
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=58648
  Issue #:|58648
  Summary:|imported Word document with landscape pages from
  |continuous section break are incorrectly imported as
  |portrait
Component:|Word processor
  Version:|OOo 2.0.1
 Platform:|All
  URL:|
   OS/Version:|All
   Status:|UNCONFIRMED
Status whiteboard:|
 Keywords:|
   Resolution:|
   Issue type:|DEFECT
 Priority:|P3
 Subcomponent:|open-import
  Assigned to:|mru
  Reported by:|mr_than





--- Additional comments from [EMAIL PROTECTED] Tue Nov 29 21:20:07 -0800 
2005 ---
Finally found what's causing this issue, which seems to be present in OOo 1.1.4
as well. At the end of page 4 there is a Section Break (Continuous) and that
section is formatted with landscape pages which are imported as portrait pages.

If there is a page break after the section break or the section break is made
into a Section Break (New Page) the landscape formatting is imported correctly.

-
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 58646] New - xTableRows insertByI ndex() method fails inserting new row to blank table

2005-11-29 Thread mr_than
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=58646
  Issue #:|58646
  Summary:|xTableRows insertByIndex() method fails inserting new
  |row to blank table
Component:|Word processor
  Version:|OOo 2.0.1
 Platform:|All
  URL:|
   OS/Version:|All
   Status:|UNCONFIRMED
Status whiteboard:|
 Keywords:|
   Resolution:|
   Issue type:|DEFECT
 Priority:|P3
 Subcomponent:|programming
  Assigned to:|mru
  Reported by:|mr_than





--- Additional comments from [EMAIL PROTECTED] Tue Nov 29 21:02:57 -0800 
2005 ---
I just updated to OOo version 2.0.m142/2.0.1rc from the 2.0 release version and
the insertByIndex( ) method which is being used in the following to create one
or more tables and insert rows into them. It still works fine on another machine
running OOo 2.0 release and has since I started using it on 1.1.2/3.

The exception thrown is:

com.sun.star.uno.RuntimeException: Illegal arguments

at
com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:275)

at com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:141)

at 
com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:377)

at 
com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:346)

at
com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java:106)

at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:860)

at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:809)

at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:154)

at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:140)

at $Proxy23.insertByIndex(Unknown Source)

at convert.DocumentCreator.createPartA(DocumentCreator.java:491)

at convert.DocumentCreator.createDocs(DocumentCreator.java:132)

done

at 
convert.CourseProfileGenerator.(CourseProfileGenerator.java:254)

at 
convert.CourseProfileGenerator.Process(CourseProfileGenerator.java:88)

at convert.CourseProfileGenerator.main(CourseProfileGenerator.java:55)



I'll include a full working sample tomorrow.

//break process through data and add tables with item headings as required
  String prevAssessmentType = "";
  XTextTable xTable = null;
  String assessText = "";  
int rowNum = 1; //iterate DOWN 
rows by rownum counter
  boolean firstItem = true;
  XTableRows xTableRows = null; //XIndexAccess of the table rows for
adding table rows
  XPropertySet xTableProps = null;  //XTextTable properties
  TableColumnSeparator[] colWidth = { new TableColumnSeparator(
(short)8000, true) }; //set width of column to 80% - relative numbers of 1

  Row aRow = assessment.next();
  do { //if first item of a type or last item altogether
if (!prevAssessmentType.equals(
aRow.getAttribute("AssessmentType").toString() ) ) {

  //add a new title to the page showing the assessment type
  // Insert the table into the document at the bookmark cursor's
location
  if (aRow.getAttribute("LongName") != null) {
xtext.insertString(assessmentCursor,
aRow.getAttribute("LongName").toString(), true );
  }
  //set new title para style to "Item Subheading" style defined in
document
  XPropertySet xTitleProps = 
(XPropertySet)UnoRuntime.queryInterface(
  XPropertySet.class, assessmentCursor );
  xTitleProps.setPropertyValue("ParaStyleName", "Item Subheading" );
  //deselect title and write table to document
  assessmentCursor.collapseToEnd();

  //create a new table and add it to the page
  xTable = (XTextTable) UnoRuntime.queryInterface(XTextTable.class,
mxBaseDocFactory.createInstance("com.sun.star.text.TextTable" ) );
  xTable.initialize( 1, 2); 
  xtext.insertTextContent( assessmentCursor, xTable, false);

  // Get an XIndexAccess of the table rows for adding table rows
  xTableRows = xTable.getRows();

  // Access the XPropertySet of the table
  xTableProps = (XPropertySet)UnoRuntime.queryInterface(
XProper

[sw-issues] =?UTF-8?B?W0lzc3VlIDUwNjQyXSAgQWxsb3cgQWRkU3BhY2luZ0F0UGFnZXMgdA==?= =?UTF-8?B?byBiZSBvdmVycmlkZGVuIGZvciB3b3JkIGRvY3M=?=

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


User mr_than changed the following:

  What|Old value |New value

   Attachment data|  |Created an attachment
  |  |(id=27118) Page 3
  |  |demonstrated the issue -
  |  |this is a trivial example,
  |  |but indicative of the
  |  |issue





--- Additional comments from [EMAIL PROTECTED] Sun Jun 12 20:26:47 -0700 
2005 ---
Created an attachment (id=27118)
Page 3 demonstrated the issue - this is a trivial example, but indicative of 
the issue


-
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] =?UTF-8?B?W0lzc3VlIDUwNjQyXSBOZXcgLSBBbGxvdyBBZGRTcGFjaW5nQXRQYQ==?= =?UTF-8?B?Z2VzIHRvIGJlIG92ZXJyaWRkZW4gZm9yIHdvcmQgZG9jcw==?=

2005-06-12 Thread mr_than
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=50642
  Issue #:|50642
  Summary:|Allow AddSpacingAtPages to be overridden for word
  |docs
Component:|Word processor
  Version:|OOo 2.0 Beta
 Platform:|All
  URL:|
   OS/Version:|All
   Status:|UNCONFIRMED
Status whiteboard:|
 Keywords:|
   Resolution:|
   Issue type:|ENHANCEMENT
 Priority:|P3
 Subcomponent:|open-import
  Assigned to:|mru
  Reported by:|mr_than





--- Additional comments from [EMAIL PROTECTED] Sun Jun 12 20:11:37 -0700 
2005 ---
The docs say "If you import an MS Word document, the spaces are automatically
added during the conversion."

However I'm finding that this setting always being true for word documents
causes incompatibilties with the imported docs. The atttached files show this.
The OOo file shows the results of importing the doc file, if the compatibility
option is manually turned off it'll remove the spacing and the last page with
one lin of text on it will be removed.

I run the conversion using java java UNO and I can find no programmatic (or
otherwise via registry, etc) way of overriding this behaviour. If I manually
open the document, open Tools->options->Compatibilty and uncheck the the
document is re-flowed without the top spacing and fits properly.

Can the UNO interface be extended or altered in some way to allow this setting
to be changed for the currect page to address this compatibility issue?
Alternatively, can some configuration option be set to override the default
behaviour of setting this option to true when importing word docs.

Compatibilty.xcu

  false


-
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 48989] New - Export to PDF fails when domument loaded Hidden

2005-05-09 Thread mr_than
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=48989
  Issue #:|48989
  Summary:|Export to PDF fails when domument loaded Hidden
Component:|Word processor
  Version:|680m95
 Platform:|All
  URL:|
   OS/Version:|All
   Status:|UNCONFIRMED
Status whiteboard:|
 Keywords:|
   Resolution:|
   Issue type:|DEFECT
 Priority:|P3
 Subcomponent:|save-export
  Assigned to:|mru
  Reported by:|mr_than





--- Additional comments from [EMAIL PROTECTED] Mon May  9 23:03:27 -0700 
2005 ---
When the following loader properties are used to create a document from a 
template

PropertyValue[] loadProps = new PropertyValue[2];
loadProps[0] = new PropertyValue();
loadProps[0].Name = "AsTemplate";
loadProps[0].Value = new Boolean(true);
loadProps[1] = new PropertyValue();
loadProps[1].Name = "Hidden";
loadProps[1].Value = new Boolean(true);

It will often fail to export the document to PDF successfully. Many times
soffice will hang and eventually recovery will commence. I don't get and
exception or error message most times however ccassionally it will end with 
error:

Error 2625 in soffice.BIN

Pure virtual function call

Most times the PDF *is* produced and opens correctly but OOo crashes anyway.

If I comment out the Hidden = true loader property it runs successfully without
error. I've found this is occurring with 68m91, 3, 95 and 100 at this stage. I
didn't have this problem with earlier milestones.

-
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 42169] Drawing object misplaced with optimal text wrap

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





--- Additional comments from [EMAIL PROTECTED] Sun Feb  6 20:30:35 -0800 
2005 ---
And also some of the dimensions on the left - each of which is in their own text
box - the text color is interpretted as colour pink. I can't see that setting in
the source doc.

-
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 42169] Drawing object misplaced with optimal text wrap

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


User mr_than changed the following:

  What|Old value |New value

   Attachment data|  |Created an attachment
  |  |(id=22277) Openoffice
  |  |interpretation and export





--- Additional comments from [EMAIL PROTECTED] Sun Feb  6 20:28:09 -0800 
2005 ---
Created an attachment (id=22277)
Openoffice interpretation and export


-
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 42169] Drawing object misplaced with optimal text wrap

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


User mr_than changed the following:

  What|Old value |New value

   Attachment data|  |Created an attachment
  |  |(id=22276) source word
  |  |file - page 5 has drawing
  |  |object





--- Additional comments from [EMAIL PROTECTED] Sun Feb  6 20:27:44 -0800 
2005 ---
Created an attachment (id=22276)
source word file - page 5 has drawing object


-
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 42169] New - Drawing object misplaced with optimal text wrap

2005-02-06 Thread mr_than
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=42169
  Issue #:|42169
  Summary:|Drawing object misplaced with optimal text wrap
Component:|Word processor
  Version:|680m77
 Platform:|PC
  URL:|
   OS/Version:|Windows XP
   Status:|UNCONFIRMED
Status whiteboard:|
 Keywords:|
   Resolution:|
   Issue type:|DEFECT
 Priority:|P3
 Subcomponent:|open-import
  Assigned to:|mru
  Reported by:|mr_than





--- Additional comments from [EMAIL PROTECTED] Sun Feb  6 20:27:06 -0800 
2005 ---
Page 5 of the attached word doc shows the drawing object which is made up of
quite a number of lines and text boxes with dimensions. The entire object is
placed between two paras of text.

When opened in OOo and exported (see PDF page) the placement of the object group
overlaps the text and is placed over the top of some of the text - rather than
pushing the text paras apart. After import the the obejct's wrapping is set to
"Optimal Page Wrap". Changing it to "No Wrap" seems to be slightly better and
moving it down slightly gets it to look the same as the word doc.

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



[sc-issues] [Issue 40445] Attempts to export .xls file to PDF causes Writer to crash (Credit Card Authorization Form.xls)

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





--- Additional comments from [EMAIL PROTECTED] Thu Feb  3 21:44:32 -0800 
2005 ---
I'm still having this issue with 680m74 (and 71.x before that). Attached word
doc to demonstrate. It was a few OLE objects - MS Excel chart and MathType
objects. The PDF is created but an the error listed is still thrown.

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



[sc-issues] [Issue 40445] Attempts to export .xls file to PDF causes Writer to crash (Credit Card Authorization Form.xls)

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


User mr_than changed the following:

  What|Old value |New value

   Attachment data|  |Created an attachment
  |  |(id=22178) One of several
  |  |items with OLE objects
  |  |which cause error when
  |  |exporting to PDF





--- Additional comments from [EMAIL PROTECTED] Thu Feb  3 21:43:12 -0800 
2005 ---
Created an attachment (id=22178)
One of several items with OLE objects which cause error when exporting to PDF


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