Hi Yuhua,

you asked on the irc chat what is the difference between the
OutlinerView and the OutlineView.

The OutlinerView is a class from the Svx project. It is used as
a view when the Outliner (the text engine used in Impress/Draw)
is actually editing text. So basically it handles text input from
the user.

The OutlineView is a class from the sd project. It is used as
the main view when impress is in the Outline Mode (Menu: View->Outline).
This is needed because in the current draw/impress framework for
each document window there is a SfxViewShell that handles the slots
and connection to the document model and there is a view that handles
the drawing and user interactions. The OutlineView actually has a
OutlinerView and let it handle the text input stuff.

You might wonder why I said the OutlineView has a OutlinerView when
it only has a pointer to the EditView. As you may already know the
EditEngine is the text engine used by calc. It has a EditView the
same way that the Outliner has a OutlinerView. Since the Outliner
internally uses the EditEngine and enhance it with the feature to
support bullets, the OutlinerView also uses the EditView. For some
historically reasons the OutlinerView only need the featureset from
the EditView. But the EditView from the OutlineView is actually an
EditView used by an OutlinerView.

I know its confusing, I get headaches from it myself :)

Hope that helps,
Christian


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to