Re: tabular.C

2000-05-05 Thread Lars Gullik Bjønnes
Juergen Vigna <[EMAIL PROTECTED]> writes: | TextInset * inset; | | use | | TextInset inset(buffer); Yes. This would be nice. I'll have a quick look at this. | > I can add a copy constructor to cellstruct that does the same as the | > assignment operator. | > | | Ok go for it, I didn't know

Re: tabular.C

2000-05-05 Thread Juergen Vigna
On 05-May-2000 Lars Gullik Bjønnes wrote: > Juergen Vigna <[EMAIL PROTECTED]> writes: > >| Ok if you tell me how to do this with a object and not with a >| constructor > ^ > pointer? > Yes pointer to be clear: Instead of: TextInset * inset; use TextInset inset(buffer); (you know we

Re: tabular.C

2000-05-05 Thread Lars Gullik Bjønnes
Juergen Vigna <[EMAIL PROTECTED]> writes: | Ok if you tell me how to do this with a object and not with a | constructor ^ pointer? | I'm happy to to it as you want (I tried but couldn't figure it out, maybe | you with your C++ books and better knowledge then myself can do it:) So that is

Re: tabular.C

2000-05-05 Thread Juergen Vigna
On 05-May-2000 Lars Gullik Bjønnes wrote: >| But ok I see what you mean the inset is worked with in >| insettabular.C not in tabular.C, tabular.C is just the container. > > But then... why is insetText a pointer? why not the object proper? > (and why copy but not assign?) > Ok if you tell me

Re: tabular.C

2000-05-05 Thread Lars Gullik Bjønnes
Juergen Vigna <[EMAIL PROTECTED]> writes: | Because it would be wrong and it is not needed! See my other mail about why this is questionable. | Well if you think all the work I invested in this till now is nothing it's | your opinion! Hmm...dare I say jumping to conclusions? | But ok I see wh

Re: tabular.C

2000-05-05 Thread Juergen Vigna
On 05-May-2000 Lars Gullik Bjønnes wrote: >| >| Because not all stuff should be assigned (for example the inset)! > > Why not? > Because it would be wrong and it is not needed! >| >| As you'll see there is something done with the inset otherwise it wouldn't > ^^

Re: tabular.C

2000-05-05 Thread Lars Gullik Bjønnes
Juergen Vigna <[EMAIL PROTECTED]> writes: | On 05-May-2000 Lars Gullik Bjønnes wrote: | > [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | > | >| Why isn't all the member in cellstruct copied in operator= ? | > | | Because not all stuff should be assigned (for example the inset)! Why not? |

Re: tabular.C

2000-05-05 Thread Juergen Vigna
On 05-May-2000 Lars Gullik Bjønnes wrote: > [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: > >| Why isn't all the member in cellstruct copied in operator= ? > Because not all stuff should be assigned (for example the inset)! > And why isn't anything done with the inset? > As you'll see the

Re: tabular.C

2000-05-05 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | Why isn't all the member in cellstruct copied in operator= ? And why isn't anything done with the inset? Lgb