fuchar.cxx (da72173f) fuchar.cxx (c55fa23c)
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

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

21
22
23
24// MARKER(update_precomp.py): autogen include statement, do not remove
25#include "precompiled_sd.hxx"
26
27
28#include "fuchar.hxx"
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

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

21
22
23
24// MARKER(update_precomp.py): autogen include statement, do not remove
25#include "precompiled_sd.hxx"
26
27
28#include "fuchar.hxx"
29
29#include <svx/dialogs.hrc>
30#include <sfx2/viewfrm.hxx>
31
32#include <editeng/editdata.hxx>
33#include <svx/svxids.hrc>
34#include <editeng/eeitem.hxx>
35#include <vcl/msgbox.hxx>
36#include <sfx2/bindings.hxx>
37#include <sfx2/request.hxx>

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

82 SfxItemSet aNewAttr( mpViewShell->GetPool(),
83 EE_ITEMS_START, EE_ITEMS_END );
84 aNewAttr.Put( aEditAttr, sal_False );
85
86 SdAbstractDialogFactory* pFact = SdAbstractDialogFactory::Create();
87 SfxAbstractTabDialog* pDlg = pFact ? pFact->CreateSdTabCharDialog( NULL, &aNewAttr, mpDoc->GetDocSh() ) : 0;
88 if( pDlg )
89 {
30#include <sfx2/viewfrm.hxx>
31
32#include <editeng/editdata.hxx>
33#include <svx/svxids.hrc>
34#include <editeng/eeitem.hxx>
35#include <vcl/msgbox.hxx>
36#include <sfx2/bindings.hxx>
37#include <sfx2/request.hxx>

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

82 SfxItemSet aNewAttr( mpViewShell->GetPool(),
83 EE_ITEMS_START, EE_ITEMS_END );
84 aNewAttr.Put( aEditAttr, sal_False );
85
86 SdAbstractDialogFactory* pFact = SdAbstractDialogFactory::Create();
87 SfxAbstractTabDialog* pDlg = pFact ? pFact->CreateSdTabCharDialog( NULL, &aNewAttr, mpDoc->GetDocSh() ) : 0;
88 if( pDlg )
89 {
90 if (rReq.GetSlot() == SID_CHAR_DLG_EFFECT)
91 {
92 pDlg->SetCurPageId(RID_SVXPAGE_CHAR_EFFECTS);
93 }
90 sal_uInt16 nResult = pDlg->Execute();
91
92 if( nResult == RET_OK )
93 {
94 rReq.Done( *( pDlg->GetOutputItemSet() ) );
95 pArgs = rReq.GetArgs();
96 }
97

--- 46 unchanged lines hidden ---
94 sal_uInt16 nResult = pDlg->Execute();
95
96 if( nResult == RET_OK )
97 {
98 rReq.Done( *( pDlg->GetOutputItemSet() ) );
99 pArgs = rReq.GetArgs();
100 }
101

--- 46 unchanged lines hidden ---