itemwin.cxx (f6e50924) itemwin.cxx (97e8a929)
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

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

47#include <svx/xtable.hxx>
48#include "svx/drawitem.hxx"
49#include <svx/dialmgr.hxx>
50#include "svx/dlgutil.hxx"
51#include <svx/itemwin.hxx>
52#include "svx/linectrl.hxx"
53#include <svtools/colorcfg.hxx>
54
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

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

47#include <svx/xtable.hxx>
48#include "svx/drawitem.hxx"
49#include <svx/dialmgr.hxx>
50#include "svx/dlgutil.hxx"
51#include <svx/itemwin.hxx>
52#include "svx/linectrl.hxx"
53#include <svtools/colorcfg.hxx>
54
55#include "linectrl.hrc"
56
57using namespace ::com::sun::star::uno;
58using namespace ::com::sun::star::frame;
59using namespace ::com::sun::star::util;
60using namespace ::com::sun::star::lang;
61using namespace ::com::sun::star::beans;
62
63#define LOGICAL_EDIT_HEIGHT 12
64//========================================================================

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

267 meBmpMode = eMode;
268 FillControl();
269 }
270 }
271}
272
273void SvxLineBox::FillControl()
274{
55using namespace ::com::sun::star::uno;
56using namespace ::com::sun::star::frame;
57using namespace ::com::sun::star::util;
58using namespace ::com::sun::star::lang;
59using namespace ::com::sun::star::beans;
60
61#define LOGICAL_EDIT_HEIGHT 12
62//========================================================================

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

265 meBmpMode = eMode;
266 FillControl();
267 }
268 }
269}
270
271void SvxLineBox::FillControl()
272{
275 FillStyles();
273 // FillStyles();
276 if ( !mpSh )
277 mpSh = SfxObjectShell::Current();
278
279 if( mpSh )
280 {
281 const SvxDashListItem* pItem = (const SvxDashListItem*)( mpSh->GetItem( SID_DASH_LIST ) );
282 if ( pItem )
283 Fill( pItem->GetDashList() );

--- 538 unchanged lines hidden ---
274 if ( !mpSh )
275 mpSh = SfxObjectShell::Current();
276
277 if( mpSh )
278 {
279 const SvxDashListItem* pItem = (const SvxDashListItem*)( mpSh->GetItem( SID_DASH_LIST ) );
280 if ( pItem )
281 Fill( pItem->GetDashList() );

--- 538 unchanged lines hidden ---