thuliobuarque / java2word

Automatically exported from code.google.com/p/java2word
0 stars 0 forks source link

Unable to resize the size of a table #73

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What web framework and version are you using (Struts1, Struts2, Spring,
JBoss Seam)?

N/A

Did you download j2w-ejb-2.0.zip or built from the source code?

YES

Which web server did you deploy your .WAR (Tomcat, JBoss)?

WEBLOGIC

Are you using Maven or Ant?

N/A

What is your Operational System?

WINDOWS VISTA

What steps will reproduce the problem?
1. When I try to create a single column table

Please provide any additional information below.

When I try to create a single column table, it is not creating to the page size 
instead it is creating to its default size. Kindly come out at the earliest 
with the ways in which I could make the table adjust to the full window size. I 
need your help Pleaseeeeeeeee....

Thanks,
Phani. 

Original issue reported on code.google.com by phanindr...@gmail.com on 7 Dec 2011 at 6:26

GoogleCodeExporter commented 8 years ago
table doesn't implement ISuperStylin. It means you can't do style on tables yet.
there is a to do task, issue 20.

there is always a hacky way around. Something like 
myTable.getContent().replace("maybe width", "whatever I want"); 

you have to find out what to replace. Have a look at the page 
http://code.google.com/p/java2word/wiki/How_to_Implement_a_New_Element

sorry can't help you more

Leonardo 

Original comment by leonardo...@gmail.com on 7 Dec 2011 at 7:48

GoogleCodeExporter commented 8 years ago
Hi Leonardo, Please dont feel sorry you are helping me a lot ispite of having 
normal work load. Here is one more issue if I do 
myDoc.getContent().replaceAll("4" ,"10") I can get the tables fit to the full 
window size but if I have 4 in the matter I mean in any of the paragraph or 
sentence that 4 is also getting replaced with 10. Can you kindly look at this 
and please get back at the earliest. 
Thanks,
Phanindra. 

Original comment by phanindr...@gmail.com on 14 Dec 2011 at 1:03

GoogleCodeExporter commented 8 years ago
changes to a task: set up table size

Original comment by leonardo...@gmail.com on 2 Feb 2012 at 12:29

GoogleCodeExporter commented 8 years ago
Hi Leonardo,

Can we resize the table now? Kindly do reply to this.

Regards
Phanindra.

Original comment by phanindr...@gmail.com on 14 Jun 2012 at 6:35

GoogleCodeExporter commented 8 years ago
not yet. I will look at this on the TableV2 which is the latest way to generate 
tables.

TableV2 gives more option for style and better way to add rows and columns. 
More here: http://java2word.blogspot.com.au/

Priority was create a new table that allows style easily.

Leonardo

Original comment by leonardo...@gmail.com on 14 Jun 2012 at 1:56