Re: Parsing of <table> & ICU wordWrap

Robin Becker <[email protected]>
Newsgroups gmane.comp.python.reportlab.user
Message-ID <[email protected]>
On 03/11/2015 14:38, Buganini wrote:
> Hi,
> recently I am adding <table> support to paragraph, I'm not quite
> familiar with hq yet so I directly commit to my default branch:
> https://bitbucket.org/buganini/reportlab/commits/all
> It works pretty well for my use, unless wordWrap=='CJK', since break
>
> I also had my hack to wordWrap using ICU
> https://github.com/buganini/reportlab/commit/b0bb4a8fc4017cb6d671f006afe151c19b9b2df1
> but it leads to extra spaces, I will rewrite it into a breakLinesICU()
> function recently, based on my table changes.
>
> And I may also add more attributes parsing for <table>, but all of
> them will happen on the same branch because I just need them all, this
> will make it harder to merge back to upstream (if that may happen), so
> before that I'd like to hear some ideas from you.
>
> Buganini
........
Hi,

I'm not exactly sure what the use case is here. Form a quick inspection of the 
change sets it looks like you are using the cbDefn stuff to add a flowable 
(table) in the middle of a paragraph like an <img>; is that correct?

I can imagine that people might want to put a table of figures into flowing text 
as a float, but the in line usage kind of escapes me.
-- 
Robin Becker
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.