Re: Tabular code question

2010-03-12 Thread Uwe Stöhr
Vincent van Ravesteijn - TNW schrieb: Ah.. You don't have MSVC project files because you're using scons right? Yes. Why don't you use Cmake as well. It generates a MSVC project for you, with all the benefits :) Last developer meeting Peter kindly showed my CMake. I wanted to switch to CMa

Re: Tabular code question

2010-03-12 Thread Uwe Stöhr
Vincent van Ravesteijn - TNW schrieb: Well, that's the point. I did this intensively several times but the tabular code simply miss any comment. MSCV comes with a beautiful search engine but when it comes to search more than one file I have to use a desktop search. But even this brings often no

RE: Tabular code question

2010-03-12 Thread Vincent van Ravesteijn - TNW
>>Well, that's the point. I did this intensively several times but the >>tabular code simply miss any comment. MSCV comes with a beautiful >>search engine but when it comes to search more than one file I have to >>use a desktop search. But even this brings often no results. > >Huh.. I can use Ct

RE: Tabular code question

2010-03-12 Thread Vincent van Ravesteijn - TNW
>>> p.s. I still don't understand how exactly dim.asc is calculated. >>> Where in the code is this done? >> >> Well. Have a look in the code then :S ? > >Well, that's the point. I did this intensively several >times but the tabular code simply miss any comment. MSCV >comes with a beautiful search

Re: Tabular code question

2010-03-12 Thread Uwe Stöhr
Vincent van Ravesteijn - TNW schrieb: Is there a way to access the metrics? 1. You can store all the asc en desc of the cells in CellData. This can be done in InsetTabular::metrics. This is now also done for the rows. (cell_info[row][col].asc = ...). 2. Or, maybe you can call something like

RE: Tabular code question

2010-03-12 Thread Vincent van Ravesteijn - TNW
>The problem is that it doesn't compile because of an >unresolved external: > >InsetTabular.obj : error LNK2019: unresolved external >symbol "public: __thiscall lyx::MetricsInfo::MetricsInfo >(void)" (??0metricsi...@lyx@@q...@xz) referenced in >function "public: virtual void __thiscall lyx:: >Inse

Re: Tabular code question

2010-03-11 Thread Uwe Stöhr
> I assume Uwe wanted the height of the cell content *in the output* No, I want to calculate the cell height as drawn in LyX. (Exactly as Vincent replied me) thanks and regards Uwe

Re: Tabular code question

2010-03-11 Thread Uwe Stöhr
Am 11.03.2010 21:25, schrieb Vincent van Ravesteijn: I want to fix the vertical alignment bugs in LyX 1.6 and also trunk. To be able to do this, I need to calculate the height of the content of the current cell (not the height of the row). How is this done? tabular.cellInset(cell)->metrics(m,

Re: Tabular code question

2010-03-11 Thread Guenter Milde
On 2010-03-11, Vincent van Ravesteijn wrote: > Uwe Stöhr schreef: >> > I want to fix the vertical alignment bugs in LyX 1.6 and also trunk. >> > To be able to do this, I need to calculate the height of the content >> > of the current cell (not the height of the row). How is this done? >> Edwin, A

Re: Tabular code question

2010-03-11 Thread Vincent van Ravesteijn
Uwe Stöhr schreef: > I want to fix the vertical alignment bugs in LyX 1.6 and also trunk. > To be able to do this, I need to calculate the height of the content > of the current cell (not the height of the row). How is this done? Edwin, Abdel, Vincent, do you have any hint for me how this can b

Re: Tabular code question

2010-03-11 Thread Uwe Stöhr
> I want to fix the vertical alignment bugs in LyX 1.6 and also trunk. > To be able to do this, I need to calculate the height of the content > of the current cell (not the height of the row). How is this done? Edwin, Abdel, Vincent, do you have any hint for me how this can be done? thanks and r