Yes it does....

Please, Send us a patch:

http://jakarta.apache.org/poi/getinvolved/index.html

-Andy

Christian Del Mar Zarate wrote:

Hi,
A few days ago I wrote:
I've tried to use a template that has the option "File/Page
Setup/Sheet tab/Repeat row" set but when I read this template using POI and
rewrite it in another file, I loose this option.

So I started investigating how to do that and I found that in the class
org.apache.poi.hssf.record.NameRecord, the method getIndexToSheet() says:
return field_5_index_to_sheet;
and it must say:
return field_6_equals_to_index_to_sheet;

This is because the method setIndexToSheet says:
field_5_index_to_sheet = index;
field_6_equals_to_index_to_sheet = index;

Just making these changes I was able to read a template and keep the option.

I hope this helps.

Christian Del Mar

-----------------------------------------------------------------------
Este mensaje y los documentos, que en su caso, lleve anexos, pueden
contener informacion confidencial y ata�e exclusivamente a las personas
a las que va dirigido. Cualquier opinion en el contenida, es exclusiva de
su autor y no representa necesariamente la opinion de AZERTIA.
Si usted no es el destinatario de este mensaje, considerese advertido de
que lo ha recibido por error y que cualquier uso, difusion o copia estan
prohibidos legalmente. Si ha recibido este mensaje por error, le rogamos
que nos lo comunique por la misma via o al telefono 93 207 55 11 y proceda
a destruirlo inmediatamente.
This email is confidential and intended solely for the use of the individual
to whom it is addressed. Any views or opinions presented are solely those
of the author and do not necessarily represent those of AZERTIA.
If you are not the intended recipient, be advised that you have received
this email in error and that any use, dissemination, forwarding, printing,
or copying of this email is strictly prohibited.
If you have received this email in error please notify it to AZERTIA
by telephone on number +34 93 207 55 11.
-----------------------------------------------------------------------

--
To unsubscribe, e-mail: <mailto:poi-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:poi-user-help@;jakarta.apache.org>





--
To unsubscribe, e-mail:   <mailto:poi-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:poi-user-help@;jakarta.apache.org>

Reply via email to