Re: HSSFSerializer mime-type

2002-12-03 Thread neil
No, although the example sitemap includes config that looks like its setting the 
mime-type
HSSFSerializer.java doesn't actually use it. Its hardcoded - and I think its 
reasonable to
hardcode it as there is only one correct value (its just that the current hardcoded 
value
isn't it).

Andrew C. Oliver [EMAIL PROTECTED] wrote:
 IIRC this is configurable...  

 neil wrote:

 The HSSFSerializer hardcodes the mime-type as vnd.ms-excel whereas I think it \
 should be application/vnd.ms-excel (at lease that works better for me). Without \
 this I got erratic behavior with IE/Excel - sometimes the spreadsheet would appear \
 inside the IE window (excel inside IE) and othertimes it would appear inside a \
 separate Excel window. 


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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




Re: HSSFSerializer

2002-07-16 Thread robert_kuzelj

hallo sven,

i tried it. works very well. thanks.
just one more question: how can i deactivate
the log-msgs?

ciao robertj

Robert Kuzelj
Gaissacherstrasse 7   email: [EMAIL PROTECTED]
81371 Muenchentel:   0177/5302230

the trinity of desirables of (software) architecture:
Firmitas, Utilitas, Venustas (marcus vitruvius 20 BC)
strength, utility, beauty

- Original Message -
From: Sven Kuenzler [EMAIL PROTECTED]
Newsgroups: gmane.text.xml.cocoon.user
To: [EMAIL PROTECTED]
Sent: Monday, July 15, 2002 5:00 PM
Subject: Re: HSSFSerializer


 Sven Kuenzler schrieb:


  [EMAIL PROTECTED] wrote:
 
  i want to use the HSSFSerializer which if i have understood
  correctly serializes an gnumeric (xml) - document into
  a excel-file.
 
  the problem is that i solely want to use this class without
  all the other cocoon-stuff. is that possible?
 
 
  I have done this. If you can wait until tuesday, I could post a code
  snippet. Otherwise, search the dev-list for the away mission thread
;-)

 I have uploaded

 http://www.tzi.de/~svenk/poimorpher.zip

 The project structure was ripped of an old project of mine, so it may
 need some adjustments.

 Normally, build test should generate a poimorpher.jar and  two test
 Excel files in a work directory. If so, have a look at
 morphos.poi.test.HSSF to learn how this can be deployed in your app.

 This package was done to prepare migration of the Gnumeric2Excel stuff
 into a Jakarta commons project. As it stands, I only stripped off the
 Cocoon interfaces and removed some of the Avalon contracts (which mostly
 weren't executed anyway).

 Let me know if this works for you.

 Sven




 -
 Please check that your question  has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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




Re: HSSFSerializer

2002-07-16 Thread Andrew C. Oliver

Yes...note HSSF logging decreases performance by at least 100x

[EMAIL PROTECTED] wrote:

hallo sven,

i tried it. works very well. thanks.
just one more question: how can i deactivate
the log-msgs?

ciao robertj

Robert Kuzelj
Gaissacherstrasse 7   email: [EMAIL PROTECTED]
81371 Muenchentel:   0177/5302230

the trinity of desirables of (software) architecture:
Firmitas, Utilitas, Venustas (marcus vitruvius 20 BC)
strength, utility, beauty

- Original Message -
From: Sven Kuenzler [EMAIL PROTECTED]
Newsgroups: gmane.text.xml.cocoon.user
To: [EMAIL PROTECTED]
Sent: Monday, July 15, 2002 5:00 PM
Subject: Re: HSSFSerializer


  

Sven Kuenzler schrieb:




[EMAIL PROTECTED] wrote:

  

i want to use the HSSFSerializer which if i have understood
correctly serializes an gnumeric (xml) - document into
a excel-file.

the problem is that i solely want to use this class without
all the other cocoon-stuff. is that possible?


I have done this. If you can wait until tuesday, I could post a code
snippet. Otherwise, search the dev-list for the away mission thread
  

;-)
  

I have uploaded

http://www.tzi.de/~svenk/poimorpher.zip

The project structure was ripped of an old project of mine, so it may
need some adjustments.

Normally, build test should generate a poimorpher.jar and  two test
Excel files in a work directory. If so, have a look at
morphos.poi.test.HSSF to learn how this can be deployed in your app.

This package was done to prepare migration of the Gnumeric2Excel stuff
into a Jakarta commons project. As it stands, I only stripped off the
Cocoon interfaces and removed some of the Avalon contracts (which mostly
weren't executed anyway).

Let me know if this works for you.

Sven




-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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




-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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


  





-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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




Re: HSSFSerializer

2002-07-16 Thread Sven Kuenzler

[EMAIL PROTECTED] schrieb:

  [Gnumeric-Excel]
 i tried it. works very well. thanks.
 just one more question: how can i deactivate
 the log-msgs?

Replace Priority.DEBUG with something like Priority.ERROR or .FATAL(?). 
Have a look at LogKits JavaDoc to learn about the log levels 
available. Maybe there's also a null logger which turns logging off 
completely.

Sven




-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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




Re: HSSFSerializer

2002-07-15 Thread Sven Kuenzler

Sven Kuenzler schrieb:


 [EMAIL PROTECTED] wrote:
 
 i want to use the HSSFSerializer which if i have understood
 correctly serializes an gnumeric (xml) - document into
 a excel-file.

 the problem is that i solely want to use this class without
 all the other cocoon-stuff. is that possible?
 
 
 I have done this. If you can wait until tuesday, I could post a code 
 snippet. Otherwise, search the dev-list for the away mission thread ;-)

I have uploaded

http://www.tzi.de/~svenk/poimorpher.zip

The project structure was ripped of an old project of mine, so it may 
need some adjustments.

Normally, build test should generate a poimorpher.jar and  two test 
Excel files in a work directory. If so, have a look at 
morphos.poi.test.HSSF to learn how this can be deployed in your app.

This package was done to prepare migration of the Gnumeric2Excel stuff 
into a Jakarta commons project. As it stands, I only stripped off the 
Cocoon interfaces and removed some of the Avalon contracts (which mostly 
weren't executed anyway).

Let me know if this works for you.

Sven




-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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




Re: HSSFSerializer

2002-07-15 Thread robert_kuzelj

hi sven,

thanks. thou i havent had a closer look
on it. i'll try it right tomorrow and tell
you how it worked out.

ciao robertj

Robert Kuzelj
Gaissacherstrasse 7   email: [EMAIL PROTECTED]
81371 Muenchentel:   0177/5302230

the trinity of desirables of (software) architecture:
Firmitas, Utilitas, Venustas (marcus vitruvius 20 BC)
strength, utility, beauty

- Original Message -
From: Sven Kuenzler [EMAIL PROTECTED]
Newsgroups: gmane.text.xml.cocoon.user
To: [EMAIL PROTECTED]
Sent: Monday, July 15, 2002 5:00 PM
Subject: Re: HSSFSerializer


 Sven Kuenzler schrieb:


  [EMAIL PROTECTED] wrote:
 
  i want to use the HSSFSerializer which if i have understood
  correctly serializes an gnumeric (xml) - document into
  a excel-file.
 
  the problem is that i solely want to use this class without
  all the other cocoon-stuff. is that possible?
 
 
  I have done this. If you can wait until tuesday, I could post a code
  snippet. Otherwise, search the dev-list for the away mission thread
;-)

 I have uploaded

 http://www.tzi.de/~svenk/poimorpher.zip

 The project structure was ripped of an old project of mine, so it may
 need some adjustments.

 Normally, build test should generate a poimorpher.jar and  two test
 Excel files in a work directory. If so, have a look at
 morphos.poi.test.HSSF to learn how this can be deployed in your app.

 This package was done to prepare migration of the Gnumeric2Excel stuff
 into a Jakarta commons project. As it stands, I only stripped off the
 Cocoon interfaces and removed some of the Avalon contracts (which mostly
 weren't executed anyway).

 Let me know if this works for you.

 Sven




 -
 Please check that your question  has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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




Re: HSSFSerializer

2002-07-13 Thread Sven Kuenzler

[EMAIL PROTECTED] wrote:

 i want to use the HSSFSerializer which if i have understood
 correctly serializes an gnumeric (xml) - document into
 a excel-file.
 
 the problem is that i solely want to use this class without
 all the other cocoon-stuff. is that possible?

I have done this. If you can wait until tuesday, I could post a code 
snippet. Otherwise, search the dev-list for the away mission thread ;-)

Sven




-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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




Re: HSSFSerializer

2002-07-13 Thread robert_kuzelj

hi sven,

 I have done this. If you can wait until tuesday, I could post a code 
 snippet. Otherwise, search the dev-list for the away mission thread ;-)
i looked for that thread but it was not very enlightning since
i dont have any expirience with cocoon.

so i'll have to wait till tuesday sigh

ciao robertj

Robert Kuzelj  
Gaissacherstrasse 7   email: [EMAIL PROTECTED]
81371 Muenchentel:   0177/5302230

the trinity of desirables of (software) architecture:
Firmitas, Utilitas, Venustas (marcus vitruvius 20 BC)
strength, utility, beauty

- Original Message - 
From: Sven Kuenzler [EMAIL PROTECTED]
Newsgroups: gmane.text.xml.cocoon.user
To: [EMAIL PROTECTED]
Sent: Saturday, July 13, 2002 3:35 PM
Subject: Re: HSSFSerializer


 [EMAIL PROTECTED] wrote:
 
  i want to use the HSSFSerializer which if i have understood
  correctly serializes an gnumeric (xml) - document into
  a excel-file.
  
  the problem is that i solely want to use this class without
  all the other cocoon-stuff. is that possible?
 
 
 Sven
 
 
 
 
 -
 Please check that your question  has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faq/index.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:   [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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