Re: [dev] How does Crash Reporter work?

2005-06-15 Thread jim
Hi Frank

On Tue, 14 Jun 2005 06:50:39 +0200, Frank Wein wrote
 http://ooo.ximian.com/lxr/source/porting/crashrep/source/ which 

The code you found sends the crashreport email to a server address which is
defined during the build. The server can record and analyse crash reports from
large numbers of users but probably no person looks at the individual emails.
 
http://www.oooforum.org/forum/viewtopic.phtml?p=81013sid=7f6fb44658a485c1aca309fab6f9f397#81013.

   Now how do you get a complete stacktrace out of it (with function
 names, etc.)

Notice the lines starting with ordinal=
You may demangle those symbols with c++filt for example:

[EMAIL PROTECTED]:~/ooo$ c++filt _ZN9ScCellObj13SetValue_ImplEd
ScCellObj::SetValue_Impl(double)

I guess the stacktrace is generated by signal.c see here:
http://ooo.ximian.com/lxr/source/porting/sal/osl/unx/signal.c

hope that helps,
jim


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



[dev] Selecting a row in OOo1.1.3

2005-06-15 Thread Alexis Ledoux

Hi,

I am currently trying to select a full row in a texttable use executeSlot to 
copy it and then use executeSlot to Paste it.

This topic has been asked already but no answer.
I am using goToRange(startcell, false) in combination with 
goToRange(endcell, true) but this seems to crash.


Alexis


Can anyone please tell me how to select TextTableCells?

The only way possible seems to be to use goLeft/Right/Up/Down on the view 
cursor. It seems to be impossible to use


goToRange(startcell, false) in combination with goToRange(endcell, true) in 
order to select.


Since I want to select a whole row, I noticed that it also seems to be 
impossible any of
1) goToStartOfLine(false) goToEndOfLine(true) on a ViewCursor placed in a 
cell. It simply selects the cell's content

2) create a TableCursor (an XCellRange) and use gotoRange(TableCursor)

Has anyone any hint for me?

Regards
	Stephan 



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



[dev] how to extract a cell content via named range out of content.xml using sax parser ...

2005-06-15 Thread Oliver Brinzing
Hi,

I would like to parse spreadsheet documents, to get some information
without opening them with oo ...

For example I would like to get the content of the named range X_INFO

table:named-expressions
table:named-range table:name=X_INFO 
table:base-cell-address=$Sheet1.$A$1
table:cell-range-address=$Sheet1.$B$1/
/table:named-expressions

But how to find the referenced table:table-cell inside the content.xml ?

table:table table:name=Sheet1 table:style-name=ta1 table:print=false
table:table-column table:style-name=co1 
table:default-cell-style-name=Default/
table:table-column table:style-name=co1 
table:default-cell-style-name=ce1/
table:table-row table:style-name=ro1
table:table-cell/
table:table-cell office:value-type=string
text:p
text:span text:style-name=T1Hello 
World/text:span
/text:p
/table:table-cell
/table:table-row
/table:table

regards

Oliver


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



[dev] File format internals...

2005-06-15 Thread suzume
I have been looking at a PPT import and found the following code in the 
corresponding sxi:


text:p text:style-name="P1"
 text:span text:style-name="T1"FIRST STRING/text:span
 text:span text:style-name="T2"SPACE/text:span
 text:span text:style-name="T2"text:line-break//text:span
 text:span text:style-name="T2"SECOND STRING/text:span
 text:span text:style-name="T2"text:line-break//text:span
 text:span text:style-name="T2"THIRD STRING/text:span
 text:span text:style-name="T2"text:line-break//text:span
 text:span text:style-name="T2"FOURTH STRING/text:span
/text:p

and:

text:p text:style-name="P3"
 text:span text:style-name="T3"/
/text:p
text:p text:style-name="P3"
 text:span text:style-name="T3"FIFTH STRING/text:span
/text:p
text:p text:style-name="P3"
 text:span text:style-name="T3"(/text:span
 text:span text:style-name="T3"SIXTH STRING/text:span
 text:span text:style-name="T3")/text:span
/text:p
text:p text:style-name="P3"
 text:span text:style-name="T3"(/text:span
 text:span text:style-name="T3"SEVENTH STRING)/text:span
/text:p


Questions:

1) Is:
 text:span text:style-name="T2"text:line-break//text:span

a standard way to insert a line break (the equivalent of br / in 
html) ?


2) What is the point having the same style split in different parts of 
a single string ? Could not we have the first segment like that  (all 
T2 styled parts into one single string):


text:p text:style-name="P1"
 text:span text:style-name="T1"FIRST STRING/text:span
 text:span text:style-name="T2"SPACE
 text:line-break/SECOND STRINGtext:line-break/
 THIRD STRINGtext:line-break/
 FOURTH STRING/text:span
/text:p

and the others like that:

(text:p text:style-name="P3"
 text:span text:style-name="T3"/
/text:p) - removed since empty

text:p text:style-name="P3"
 text:span text:style-name="T3"FIFTH STRING/text:span
/text:p
text:p text:style-name="P3"
 text:span text:style-name="T3"(SIXTH STRING)/text:span
/text:p
text:p text:style-name="P3"
 text:span text:style-name="T3"(SEVENTH STRING)/text:span
/text:p


Jean-Christophe Helary


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