1efeef26fSAndrew Rist /**************************************************************
2cdf0e10cSrcweir *
3efeef26fSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4efeef26fSAndrew Rist * or more contributor license agreements. See the NOTICE file
5efeef26fSAndrew Rist * distributed with this work for additional information
6efeef26fSAndrew Rist * regarding copyright ownership. The ASF licenses this file
7efeef26fSAndrew Rist * to you under the Apache License, Version 2.0 (the
8efeef26fSAndrew Rist * "License"); you may not use this file except in compliance
9efeef26fSAndrew Rist * with the License. You may obtain a copy of the License at
10cdf0e10cSrcweir *
11efeef26fSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
13efeef26fSAndrew Rist * Unless required by applicable law or agreed to in writing,
14efeef26fSAndrew Rist * software distributed under the License is distributed on an
15efeef26fSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16efeef26fSAndrew Rist * KIND, either express or implied. See the License for the
17efeef26fSAndrew Rist * specific language governing permissions and limitations
18efeef26fSAndrew Rist * under the License.
19cdf0e10cSrcweir *
20efeef26fSAndrew Rist *************************************************************/
21efeef26fSAndrew Rist
22cdf0e10cSrcweir // MARKER(update_precomp.py): autogen include statement, do not remove
23cdf0e10cSrcweir #include "precompiled_sw.hxx"
24cdf0e10cSrcweir
25cdf0e10cSrcweir #include <svx/svdmodel.hxx>
26cdf0e10cSrcweir #include <svx/svdpage.hxx>
27cdf0e10cSrcweir #include <tools/shl.hxx>
28cdf0e10cSrcweir #include <swmodule.hxx>
29cdf0e10cSrcweir #include <svtools/accessibilityoptions.hxx>
30cdf0e10cSrcweir #include <svx/svdpagv.hxx>
31cdf0e10cSrcweir #include <fmtanchr.hxx>
32cdf0e10cSrcweir #include <frmfmt.hxx>
33cdf0e10cSrcweir #include <svx/svdoutl.hxx>
34cdf0e10cSrcweir #ifdef DBG_UTIL
35cdf0e10cSrcweir #include <svx/fmglob.hxx>
36cdf0e10cSrcweir #endif
37cdf0e10cSrcweir #include "fesh.hxx"
38cdf0e10cSrcweir #include "pagefrm.hxx"
39cdf0e10cSrcweir #include "rootfrm.hxx"
40cdf0e10cSrcweir #include "viewimp.hxx"
41cdf0e10cSrcweir #include "dflyobj.hxx"
42cdf0e10cSrcweir #include "viewopt.hxx"
43cdf0e10cSrcweir #include "printdata.hxx"
44cdf0e10cSrcweir #include "dcontact.hxx"
45cdf0e10cSrcweir #include "dview.hxx"
46cdf0e10cSrcweir #include "flyfrm.hxx"
47cdf0e10cSrcweir #include <vcl/svapp.hxx>
48cdf0e10cSrcweir #include <IDocumentDrawModelAccess.hxx>
4926ea3662SArmin Le Grand #include <drawdoc.hxx>
50cdf0e10cSrcweir
51cdf0e10cSrcweir /*************************************************************************
52cdf0e10cSrcweir |* SwSaveHdl
53cdf0e10cSrcweir |*
54cdf0e10cSrcweir |* Ersterstellung MA 14. Feb. 95
55cdf0e10cSrcweir |* Letzte Aenderung MA 02. Jun. 98
568873b33aSmseidel **************************************************************************/
57cdf0e10cSrcweir //SwSaveHdl::SwSaveHdl( SwViewImp *pI ) :
58cdf0e10cSrcweir // pImp( pI ),
59cdf0e10cSrcweir // bXorVis( sal_False )
60cdf0e10cSrcweir //{
61cdf0e10cSrcweir //if ( pImp->HasDrawView() )
62cdf0e10cSrcweir //{
63cdf0e10cSrcweir // bXorVis = pImp->GetDrawView()->IsShownXorVisible( pImp->GetShell()->GetOut());
64cdf0e10cSrcweir // if ( bXorVis )
65cdf0e10cSrcweir // pImp->GetDrawView()->HideShownXor( pImp->GetShell()->GetOut() );
66cdf0e10cSrcweir //}
67cdf0e10cSrcweir //}
68cdf0e10cSrcweir
69cdf0e10cSrcweir
70cdf0e10cSrcweir //SwSaveHdl::~SwSaveHdl()
71cdf0e10cSrcweir //{
72cdf0e10cSrcweir //if ( bXorVis )
73cdf0e10cSrcweir // pImp->GetDrawView()->ShowShownXor( pImp->GetShell()->GetOut() );
74cdf0e10cSrcweir //}
75cdf0e10cSrcweir
76cdf0e10cSrcweir
77cdf0e10cSrcweir /*************************************************************************
78cdf0e10cSrcweir |* SwViewImp::StartAction(), EndAction()
79cdf0e10cSrcweir |*
80cdf0e10cSrcweir |* Ersterstellung MA 14. Feb. 95
81cdf0e10cSrcweir |* Letzte Aenderung MA 14. Sep. 98
828873b33aSmseidel **************************************************************************/
83cdf0e10cSrcweir
84cdf0e10cSrcweir
StartAction()85cdf0e10cSrcweir void SwViewImp::StartAction()
86cdf0e10cSrcweir {
87cdf0e10cSrcweir if ( HasDrawView() )
88cdf0e10cSrcweir {
89cdf0e10cSrcweir SET_CURR_SHELL( GetShell() );
90cdf0e10cSrcweir if ( pSh->ISA(SwFEShell) )
91cdf0e10cSrcweir ((SwFEShell*)pSh)->HideChainMarker(); //Kann sich geaendert haben
92cdf0e10cSrcweir //bResetXorVisibility = GetDrawView()->IsShownXorVisible( GetShell()->GetOut());
93cdf0e10cSrcweir //GetDrawView()->HideShownXor( GetShell()->GetOut() );
94cdf0e10cSrcweir }
95cdf0e10cSrcweir }
96cdf0e10cSrcweir
97cdf0e10cSrcweir
98cdf0e10cSrcweir
EndAction()99cdf0e10cSrcweir void SwViewImp::EndAction()
100cdf0e10cSrcweir {
101cdf0e10cSrcweir if ( HasDrawView() )
102cdf0e10cSrcweir {
103cdf0e10cSrcweir SET_CURR_SHELL( GetShell() );
104cdf0e10cSrcweir //if ( bResetXorVisibility )
105cdf0e10cSrcweir // GetDrawView()->ShowShownXor( GetShell()->GetOut() );
106cdf0e10cSrcweir if ( pSh->ISA(SwFEShell) )
107cdf0e10cSrcweir ((SwFEShell*)pSh)->SetChainMarker(); //Kann sich geaendert haben
108cdf0e10cSrcweir }
109cdf0e10cSrcweir }
110cdf0e10cSrcweir
111cdf0e10cSrcweir /*************************************************************************
112cdf0e10cSrcweir |* SwViewImp::LockPaint(), UnlockPaint()
113cdf0e10cSrcweir |*
114cdf0e10cSrcweir |* Ersterstellung MA 11. Jun. 96
115cdf0e10cSrcweir |* Letzte Aenderung MA 11. Jun. 96
1168873b33aSmseidel **************************************************************************/
117cdf0e10cSrcweir
118cdf0e10cSrcweir
LockPaint()119cdf0e10cSrcweir void SwViewImp::LockPaint()
120cdf0e10cSrcweir {
121cdf0e10cSrcweir if ( HasDrawView() )
122cdf0e10cSrcweir {
123cdf0e10cSrcweir //HMHbShowHdlPaint = GetDrawView()->IsMarkHdlShown();
124cdf0e10cSrcweir //HMHif ( bShowHdlPaint )
125cdf0e10cSrcweir //HMH GetDrawView()->HideMarkHdl();
126cdf0e10cSrcweir bResetHdlHiddenPaint = !GetDrawView()->areMarkHandlesHidden();
127cdf0e10cSrcweir GetDrawView()->hideMarkHandles();
128cdf0e10cSrcweir }
129cdf0e10cSrcweir else
130cdf0e10cSrcweir {
131cdf0e10cSrcweir //HMHbShowHdlPaint = sal_False;
132cdf0e10cSrcweir bResetHdlHiddenPaint = sal_False;
133cdf0e10cSrcweir }
134cdf0e10cSrcweir }
135cdf0e10cSrcweir
136cdf0e10cSrcweir
137cdf0e10cSrcweir
UnlockPaint()138cdf0e10cSrcweir void SwViewImp::UnlockPaint()
139cdf0e10cSrcweir {
140cdf0e10cSrcweir if ( bResetHdlHiddenPaint )
141cdf0e10cSrcweir GetDrawView()->showMarkHandles();
142cdf0e10cSrcweir //HMHif ( bShowHdlPaint )
143cdf0e10cSrcweir //HMH GetDrawView()->ShowMarkHdl();
144cdf0e10cSrcweir }
145cdf0e10cSrcweir
146cdf0e10cSrcweir
147cdf0e10cSrcweir /*************************************************************************
148cdf0e10cSrcweir |* SwViewImp::PaintLayer(), PaintDispatcher()
149cdf0e10cSrcweir |*
150cdf0e10cSrcweir |* Ersterstellung MA 20. Dec. 94
151cdf0e10cSrcweir |* Letzte Aenderung AMA 04. Jun. 98
1528873b33aSmseidel **************************************************************************/
153cdf0e10cSrcweir // OD 29.08.2002 #102450#
15486e1cf34SPedro Giffuni // add 3rd parameter <const Color* pPageBackgrdColor> for setting this
155cdf0e10cSrcweir // color as the background color at the outliner of the draw view.
156cdf0e10cSrcweir // OD 09.12.2002 #103045# - add 4th parameter for the horizontal text direction
157cdf0e10cSrcweir // of the page in order to set the default horizontal text direction at the
158cdf0e10cSrcweir // outliner of the draw view for painting layers <hell> and <heaven>.
159cdf0e10cSrcweir // OD 25.06.2003 #108784# - correct type of 1st parameter
PaintLayer(const SdrLayerID _nLayerID,SwPrintData const * const pPrintData,const SwRect &,const Color * _pPageBackgrdColor,const bool _bIsPageRightToLeft,sdr::contact::ViewObjectContactRedirector * pRedirector) const160cdf0e10cSrcweir void SwViewImp::PaintLayer( const SdrLayerID _nLayerID,
161cdf0e10cSrcweir SwPrintData const*const pPrintData,
162cdf0e10cSrcweir const SwRect& ,
163cdf0e10cSrcweir const Color* _pPageBackgrdColor,
164cdf0e10cSrcweir const bool _bIsPageRightToLeft,
165cdf0e10cSrcweir sdr::contact::ViewObjectContactRedirector* pRedirector ) const
166cdf0e10cSrcweir {
167cdf0e10cSrcweir if ( HasDrawView() )
168cdf0e10cSrcweir {
169cdf0e10cSrcweir // change the draw mode in high contrast mode
170cdf0e10cSrcweir OutputDevice* pOutDev = GetShell()->GetOut();
171cdf0e10cSrcweir sal_uLong nOldDrawMode = pOutDev->GetDrawMode();
172cdf0e10cSrcweir if( GetShell()->GetWin() &&
173cdf0e10cSrcweir Application::GetSettings().GetStyleSettings().GetHighContrastMode() &&
174cdf0e10cSrcweir (!GetShell()->IsPreView()||SW_MOD()->GetAccessibilityOptions().GetIsForPagePreviews()))
175cdf0e10cSrcweir {
176cdf0e10cSrcweir pOutDev->SetDrawMode( nOldDrawMode | DRAWMODE_SETTINGSLINE | DRAWMODE_SETTINGSFILL |
177cdf0e10cSrcweir DRAWMODE_SETTINGSTEXT | DRAWMODE_SETTINGSGRADIENT );
178cdf0e10cSrcweir }
179cdf0e10cSrcweir
180cdf0e10cSrcweir // OD 29.08.2002 #102450#
181cdf0e10cSrcweir // For correct handling of accessibility, high contrast, the page background
182cdf0e10cSrcweir // color is set as the background color at the outliner of the draw view.
183cdf0e10cSrcweir // Only necessary for the layers hell and heaven
184cdf0e10cSrcweir Color aOldOutlinerBackgrdColor;
185cdf0e10cSrcweir // OD 09.12.2002 #103045# - set default horizontal text direction on
186cdf0e10cSrcweir // painting <hell> or <heaven>.
187cdf0e10cSrcweir EEHorizontalTextDirection aOldEEHoriTextDir = EE_HTEXTDIR_L2R;
188cdf0e10cSrcweir const IDocumentDrawModelAccess* pIDDMA = GetShell()->getIDocumentDrawModelAccess();
189cdf0e10cSrcweir if ( (_nLayerID == pIDDMA->GetHellId()) ||
190cdf0e10cSrcweir (_nLayerID == pIDDMA->GetHeavenId()) )
191cdf0e10cSrcweir {
192cdf0e10cSrcweir ASSERT( _pPageBackgrdColor,
193cdf0e10cSrcweir "incorrect usage of SwViewImp::PaintLayer: pPageBackgrdColor have to be set for painting layer <hell> or <heaven>");
194cdf0e10cSrcweir if ( _pPageBackgrdColor )
195cdf0e10cSrcweir {
196cdf0e10cSrcweir aOldOutlinerBackgrdColor =
197cdf0e10cSrcweir GetDrawView()->GetModel()->GetDrawOutliner().GetBackgroundColor();
198cdf0e10cSrcweir GetDrawView()->GetModel()->GetDrawOutliner().SetBackgroundColor( *_pPageBackgrdColor );
199cdf0e10cSrcweir }
200cdf0e10cSrcweir
201cdf0e10cSrcweir aOldEEHoriTextDir =
202cdf0e10cSrcweir GetDrawView()->GetModel()->GetDrawOutliner().GetDefaultHorizontalTextDirection();
203cdf0e10cSrcweir EEHorizontalTextDirection aEEHoriTextDirOfPage =
204cdf0e10cSrcweir _bIsPageRightToLeft ? EE_HTEXTDIR_R2L : EE_HTEXTDIR_L2R;
205cdf0e10cSrcweir GetDrawView()->GetModel()->GetDrawOutliner().SetDefaultHorizontalTextDirection( aEEHoriTextDirOfPage );
206cdf0e10cSrcweir }
207cdf0e10cSrcweir
208cdf0e10cSrcweir pOutDev->Push( PUSH_LINECOLOR ); // #114231#
209cdf0e10cSrcweir if (pPrintData)
210cdf0e10cSrcweir {
211cdf0e10cSrcweir // hide drawings but not form controls (form controls are handled elsewhere)
212cdf0e10cSrcweir SdrView &rSdrView = const_cast< SdrView & >(GetPageView()->GetView());
213cdf0e10cSrcweir rSdrView.setHideDraw( !pPrintData->IsPrintDraw() );
214cdf0e10cSrcweir }
215cdf0e10cSrcweir GetPageView()->DrawLayer( _nLayerID, pOutDev, pRedirector );
216cdf0e10cSrcweir pOutDev->Pop();
217cdf0e10cSrcweir
218cdf0e10cSrcweir // OD 29.08.2002 #102450#
219cdf0e10cSrcweir // reset background color of the outliner
220cdf0e10cSrcweir // OD 09.12.2002 #103045# - reset default horizontal text direction
221cdf0e10cSrcweir if ( (_nLayerID == pIDDMA->GetHellId()) ||
222cdf0e10cSrcweir (_nLayerID == pIDDMA->GetHeavenId()) )
223cdf0e10cSrcweir {
224cdf0e10cSrcweir GetDrawView()->GetModel()->GetDrawOutliner().SetBackgroundColor( aOldOutlinerBackgrdColor );
225cdf0e10cSrcweir GetDrawView()->GetModel()->GetDrawOutliner().SetDefaultHorizontalTextDirection( aOldEEHoriTextDir );
226cdf0e10cSrcweir }
227cdf0e10cSrcweir
228cdf0e10cSrcweir pOutDev->SetDrawMode( nOldDrawMode );
229cdf0e10cSrcweir }
230cdf0e10cSrcweir }
231cdf0e10cSrcweir
232cdf0e10cSrcweir /*************************************************************************
233cdf0e10cSrcweir |* SwViewImp::IsDragPossible()
234cdf0e10cSrcweir |*
235cdf0e10cSrcweir |* Ersterstellung MA 19. Jan. 93
236cdf0e10cSrcweir |* Letzte Aenderung MA 16. Jan. 95
2378873b33aSmseidel **************************************************************************/
238cdf0e10cSrcweir #define WIEDUWILLST 400
239cdf0e10cSrcweir
IsDragPossible(const Point & rPoint)240cdf0e10cSrcweir sal_Bool SwViewImp::IsDragPossible( const Point &rPoint )
241cdf0e10cSrcweir {
242cdf0e10cSrcweir if ( !HasDrawView() )
243cdf0e10cSrcweir return sal_False;
244cdf0e10cSrcweir
245cdf0e10cSrcweir const SdrMarkList &rMrkList = GetDrawView()->GetMarkedObjectList();
246cdf0e10cSrcweir
247cdf0e10cSrcweir if( !rMrkList.GetMarkCount() )
248cdf0e10cSrcweir return sal_False;
249cdf0e10cSrcweir
250cdf0e10cSrcweir SdrObject *pO = rMrkList.GetMark(rMrkList.GetMarkCount()-1)->GetMarkedSdrObj();
251cdf0e10cSrcweir
252cdf0e10cSrcweir SwRect aRect;
253cdf0e10cSrcweir if( pO && ::CalcClipRect( pO, aRect, sal_False ) )
254cdf0e10cSrcweir {
255cdf0e10cSrcweir SwRect aTmp;
256cdf0e10cSrcweir ::CalcClipRect( pO, aTmp, sal_True );
257cdf0e10cSrcweir aRect.Union( aTmp );
258cdf0e10cSrcweir }
259cdf0e10cSrcweir else
260cdf0e10cSrcweir aRect = GetShell()->GetLayout()->Frm();
261cdf0e10cSrcweir
262cdf0e10cSrcweir aRect.Top( aRect.Top() - WIEDUWILLST );
263cdf0e10cSrcweir aRect.Bottom( aRect.Bottom() + WIEDUWILLST );
264cdf0e10cSrcweir aRect.Left( aRect.Left() - WIEDUWILLST );
265cdf0e10cSrcweir aRect.Right( aRect.Right() + WIEDUWILLST );
266cdf0e10cSrcweir return aRect.IsInside( rPoint );
267cdf0e10cSrcweir }
268cdf0e10cSrcweir
269cdf0e10cSrcweir /*************************************************************************
270cdf0e10cSrcweir |* SwViewImp::NotifySizeChg()
271cdf0e10cSrcweir |*
272cdf0e10cSrcweir |* Ersterstellung MA 23. Jun. 93
273cdf0e10cSrcweir |* Letzte Aenderung MA 05. Oct. 98
2748873b33aSmseidel **************************************************************************/
275cdf0e10cSrcweir
NotifySizeChg(const Size & rNewSz)276cdf0e10cSrcweir void SwViewImp::NotifySizeChg( const Size &rNewSz )
277cdf0e10cSrcweir {
278cdf0e10cSrcweir if ( !HasDrawView() )
279cdf0e10cSrcweir return;
280cdf0e10cSrcweir
281cdf0e10cSrcweir if ( GetPageView() )
282cdf0e10cSrcweir GetPageView()->GetPage()->SetSize( rNewSz );
283cdf0e10cSrcweir
284cdf0e10cSrcweir //Begrenzung des Arbeitsbereiches.
285cdf0e10cSrcweir const Rectangle aRect( Point( DOCUMENTBORDER, DOCUMENTBORDER ), rNewSz );
286cdf0e10cSrcweir const Rectangle &rOldWork = GetDrawView()->GetWorkArea();
287cdf0e10cSrcweir sal_Bool bCheckDrawObjs = sal_False;
288cdf0e10cSrcweir if ( aRect != rOldWork )
289cdf0e10cSrcweir {
290cdf0e10cSrcweir if ( rOldWork.Bottom() > aRect.Bottom() || rOldWork.Right() > aRect.Right())
291cdf0e10cSrcweir bCheckDrawObjs = sal_True;
292cdf0e10cSrcweir GetDrawView()->SetWorkArea( aRect );
293cdf0e10cSrcweir }
294cdf0e10cSrcweir if ( !bCheckDrawObjs )
295cdf0e10cSrcweir return;
296cdf0e10cSrcweir
297cdf0e10cSrcweir ASSERT( pSh->getIDocumentDrawModelAccess()->GetDrawModel(), "NotifySizeChg without DrawModel" );
298cdf0e10cSrcweir SdrPage* pPage = pSh->getIDocumentDrawModelAccess()->GetDrawModel()->GetPage( 0 );
299cdf0e10cSrcweir const sal_uLong nObjs = pPage->GetObjCount();
300cdf0e10cSrcweir for( sal_uLong nObj = 0; nObj < nObjs; ++nObj )
301cdf0e10cSrcweir {
302cdf0e10cSrcweir SdrObject *pObj = pPage->GetObj( nObj );
303cdf0e10cSrcweir if( !pObj->ISA(SwVirtFlyDrawObj) )
304cdf0e10cSrcweir {
305cdf0e10cSrcweir //Teilfix(26793): Objekte, die in Rahmen verankert sind, brauchen
306cdf0e10cSrcweir //nicht angepasst werden.
307cdf0e10cSrcweir const SwContact *pCont = (SwContact*)GetUserCall(pObj);
308cdf0e10cSrcweir //JP - 16.3.00 Bug 73920: this function might be called by the
309cdf0e10cSrcweir // InsertDocument, when a PageDesc-Attribute is
310cdf0e10cSrcweir // set on a node. Then the SdrObject must not have
311cdf0e10cSrcweir // an UserCall.
312cdf0e10cSrcweir if( !pCont || !pCont->ISA(SwDrawContact) )
313cdf0e10cSrcweir continue;
314cdf0e10cSrcweir
315cdf0e10cSrcweir const SwFrm *pAnchor = ((SwDrawContact*)pCont)->GetAnchorFrm();
316cdf0e10cSrcweir if ( !pAnchor || pAnchor->IsInFly() || !pAnchor->IsValid() ||
317cdf0e10cSrcweir !pAnchor->GetUpper() || !pAnchor->FindPageFrm() ||
318cdf0e10cSrcweir (FLY_AS_CHAR == pCont->GetFmt()->GetAnchor().GetAnchorId()) )
319cdf0e10cSrcweir {
320cdf0e10cSrcweir continue;
321cdf0e10cSrcweir }
322cdf0e10cSrcweir
323cdf0e10cSrcweir // OD 19.06.2003 #108784# - no move for drawing objects in header/footer
324cdf0e10cSrcweir if ( pAnchor->FindFooterOrHeader() )
325cdf0e10cSrcweir {
326cdf0e10cSrcweir continue;
327cdf0e10cSrcweir }
328cdf0e10cSrcweir
329cdf0e10cSrcweir const Rectangle aBound( pObj->GetCurrentBoundRect() );
330cdf0e10cSrcweir if ( !aRect.IsInside( aBound ) )
331cdf0e10cSrcweir {
332cdf0e10cSrcweir Size aSz;
333cdf0e10cSrcweir if ( aBound.Left() > aRect.Right() )
334cdf0e10cSrcweir aSz.Width() = (aRect.Right() - aBound.Left()) - MINFLY;
335cdf0e10cSrcweir if ( aBound.Top() > aRect.Bottom() )
336cdf0e10cSrcweir aSz.Height() = (aRect.Bottom() - aBound.Top()) - MINFLY;
337cdf0e10cSrcweir if ( aSz.Width() || aSz.Height() )
338cdf0e10cSrcweir pObj->Move( aSz );
339cdf0e10cSrcweir
340cdf0e10cSrcweir // Notanker: Grosse Objekte nicht nach oben verschwinden lassen.
341cdf0e10cSrcweir aSz.Width() = aSz.Height() = 0;
342cdf0e10cSrcweir if ( aBound.Bottom() < aRect.Top() )
343cdf0e10cSrcweir aSz.Width() = (aBound.Bottom() - aRect.Top()) - MINFLY;
344cdf0e10cSrcweir if ( aBound.Right() < aRect.Left() )
345cdf0e10cSrcweir aSz.Height() = (aBound.Right() - aRect.Left()) - MINFLY;
346cdf0e10cSrcweir if ( aSz.Width() || aSz.Height() )
347cdf0e10cSrcweir pObj->Move( aSz );
348cdf0e10cSrcweir }
349cdf0e10cSrcweir }
350cdf0e10cSrcweir }
351cdf0e10cSrcweir }
352*20a4bcffSmseidel
353*20a4bcffSmseidel /* vim: set noet sw=4 ts=4: */
354