outlvw.cxx (79aad27f) outlvw.cxx (a56bd57b)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 73 unchanged lines hidden (view full) ---

82}
83
84OutlinerView::~OutlinerView()
85{
86 DBG_DTOR(OutlinerView,0);
87 delete pEditView;
88}
89
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 73 unchanged lines hidden (view full) ---

82}
83
84OutlinerView::~OutlinerView()
85{
86 DBG_DTOR(OutlinerView,0);
87 delete pEditView;
88}
89
90void OutlinerView::Paint( const Rectangle& rRect )
90void OutlinerView::Paint( const Rectangle& rRect, OutputDevice* pTargetDevice )
91{
92 DBG_CHKTHIS(OutlinerView,0);
93
94 // beim ersten Paint/KeyInput/Drop wird aus einem leeren Outliner ein
95 // Outliner mit genau einem Absatz
96 if( pOwner->bFirstParaIsEmpty )
97 pOwner->Insert( String() );
98
91{
92 DBG_CHKTHIS(OutlinerView,0);
93
94 // beim ersten Paint/KeyInput/Drop wird aus einem leeren Outliner ein
95 // Outliner mit genau einem Absatz
96 if( pOwner->bFirstParaIsEmpty )
97 pOwner->Insert( String() );
98
99 pEditView->Paint( rRect );
99 pEditView->Paint( rRect, pTargetDevice );
100}
101
102sal_Bool OutlinerView::PostKeyEvent( const KeyEvent& rKEvt )
103{
104 DBG_CHKTHIS( OutlinerView, 0 );
105
106 // beim ersten Paint/KeyInput/Drop wird aus einem leeren Outliner ein
107 // Outliner mit genau einem Absatz

--- 1623 unchanged lines hidden ---
100}
101
102sal_Bool OutlinerView::PostKeyEvent( const KeyEvent& rKEvt )
103{
104 DBG_CHKTHIS( OutlinerView, 0 );
105
106 // beim ersten Paint/KeyInput/Drop wird aus einem leeren Outliner ein
107 // Outliner mit genau einem Absatz

--- 1623 unchanged lines hidden ---