Andreas Martens wrote:
I see, SwDoc::GetEditShell(..) is the problem. Sometimes the Writer
model (SwDoc) needs to broadcast an event to all controllers
(ViewShell), e.g. if a part of the model is deleted.
The controller could have cursor pointing into this deleted area and
these cursors
Andreas Martens Malte will discuss it, after the discuss Andreas Malte will
tell me how to solve it.
Malte told me to go on my work just to assure which files should be modified.
Best Regards,
LiuTao
Andreas Martens wrote:
I see, SwDoc::GetEditShell(..) is the problem. Sometimes the Writer
Hi,
liutao wrote:
Hi Malte,Andreas
Andreas Martens wrote:
That's what I meant. My question was: why do we need this parameter
in SwDoc::DeleteSection(..)?
because the function GetEditShell() need this parameter and it is called by the
function PaMCorrAbs() then CorrAbs()
Hi Malte,
Malte Timmermann wrote:
IMHO there should be some notification, so the Layouts are simply
listeners and we don't need the parameter.
That's what I meant. My question was: why do we need this parameter in
SwDoc::DeleteSection(..)?
But I am not sure - you are the expert ;)
So if a
Andreas...
Andreas Martens wrote:
Hi Malte,
Malte Timmermann wrote:
IMHO there should be some notification, so the Layouts are simply
listeners and we don't need the parameter.
That's what I meant. My question was: why do we need this parameter in
SwDoc::DeleteSection(..)?
But I am not
Hi Malte,
Malte Timmermann wrote:
Andreas...
Andreas Martens wrote:
Hi Malte,
Malte Timmermann wrote:
IMHO there should be some notification, so the Layouts are simply
listeners and we don't need the parameter.
That's what I meant. My question was: why do we need this parameter
in
IMHO there should be some notification, so the Layouts are simply
listeners and we don't need the parameter.
But I am not sure - you are the expert ;)
So if a broadcast is used, no Layout access is needed.
But if the layouts have to be notified directly, you are right and we
might need a list
Hello all,
I am absorbed in modularization of ODFToolkit project about 2 months.
But now I face a question as follows:
SwRedline::~SwRedline()
{
..
if( !GetDoc()-IsInDtor() )
GetDoc()-DeleteSection( pCntntSect-GetNode(),rLayout );
..
}
The parameter rLayout in function DeleteSection
Hi LiuTao,
liutao wrote:
Hello all,
I am absorbed in modularization of ODFToolkit project about 2 months.
But now I face a question as follows:
SwRedline::~SwRedline()
{
..
if( !GetDoc()-IsInDtor() )
GetDoc()-DeleteSection( pCntntSect-GetNode(),rLayout );
..
}
The parameter