Kaydet (Commit) 76122d59 authored tarafından Michael Stahl's avatar Michael Stahl Kaydeden (comit) Michael Meeks

try to translate comic writer comment

üst 10acafe2
...@@ -114,29 +114,28 @@ class SwRootFrm: public SwLayoutFrm ...@@ -114,29 +114,28 @@ class SwRootFrm: public SwLayoutFrm
//Die letzte Seite wollen wir uns nicht immer muehsam zusammensuchen. //Die letzte Seite wollen wir uns nicht immer muehsam zusammensuchen.
SwPageFrm *pLastPage; SwPageFrm *pLastPage;
//Die Root kuemmert sich nun auch um den Shell-Zugriff. Ueber das Dokument 2
//sollte man auch immer an die Root herankommen und somit auch immer // [ Comment from the original StarOffice checkin ]:
//einen Zugriff auf die Shell haben. // The root takes care of the shell access. Via the document
//Der Pointer pCurrShell ist der Pointer auf irgendeine der Shells fuer // it should be possible to get at the root frame, and thus always
//das Dokument // have access to the shell.
//Da es durchaus nicht immer egal ist, auf welcher Shell gearbeitet wird, // the pointer pCurrShell is the pointer to any of the shells for
//ist es notwendig die aktive Shell zu kennen. Das wird dadurch angenaehert, // the document.
//dass der Pointer pCurrShell immer dann umgesetzt wird, wenn eine // Because sometimes it matters which shell is used, it is necessary to
//Shell den Fokus erhaelt (FEShell). Zusaetzlich wird der Pointer // know the active shell.
//Temporaer von SwCurrShell umgesetzt, dieses wird typischerweise // this is approximated by setting the pointer pCurrShell when a
//ueber das Macro SET_CURR_SHELL erledigt. Makro + Klasse sind in der // shell gets the focus (FEShell). Acditionally the pointer will be
//ViewShell zu finden. Diese Objekte koennen auch verschachtelt (auch fuer // set temporarily by SwCurrShell typically via SET_CURR_SHELL
//unterschiedliche Shells) erzeugt werden. Sie werden im Array pCurrShells // The macro and class can be found in the ViewShell. These object can
//gesammelt. // be created nested (also for different kinds of Shells). They are
//Weiterhin kann es noch vorkommen, dass eine Shell aktiviert wird, // collected into the Array pCurrShells.
//waehrend noch ein CurrShell-Objekt "aktiv" ist. Dieses wird dann in // Futhermore it can happen that a shell is activated while a curshell
//pWaitingCurrShell eingetragen und vom letzten DTor der CurrShell // object is still 'active'. This one will be entered into pWaitingCurrShell
//"aktiviert". // and will be activated by the last d'tor of CurrShell.
//Ein weiteres Problem ist dass Zerstoeren einer Shell waehrend sie aktiv // One other problem is the destruction of a shell while it is active.
//ist. Der Pointer pCurrShell wird dann auf eine beliebige andere Shell // The pointer pCurrShell is then reset to an arbitrary other shell.
//umgesetzt. // If at the time of the destruction of a shell, which is still referneced
//Wenn zum Zeitpunkt der zerstoerung einer Shell diese noch in irgendwelchen // by a curshell object, that will be cleaned up as well.
//CurrShell-Objekten referenziert wird, so wird auch dies aufgeklart.
friend class CurrShell; friend class CurrShell;
friend void SetShell( ViewShell *pSh ); friend void SetShell( ViewShell *pSh );
friend void InitCurrShells( SwRootFrm *pRoot ); friend void InitCurrShells( SwRootFrm *pRoot );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment