2000-09-18 11:07:07 -05:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-10 14:15:05 -05:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2000-09-18 11:07:07 -05:00
|
|
|
*
|
2010-02-12 08:01:35 -06:00
|
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
2000-09-18 11:07:07 -05:00
|
|
|
*
|
2008-04-10 14:15:05 -05:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2000-09-18 11:07:07 -05:00
|
|
|
*
|
2008-04-10 14:15:05 -05:00
|
|
|
* This file is part of OpenOffice.org.
|
2000-09-18 11:07:07 -05:00
|
|
|
*
|
2008-04-10 14:15:05 -05:00
|
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
* only, as published by the Free Software Foundation.
|
2000-09-18 11:07:07 -05:00
|
|
|
*
|
2008-04-10 14:15:05 -05:00
|
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Lesser General Public License version 3 for more details
|
|
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
2000-09-18 11:07:07 -05:00
|
|
|
*
|
2008-04-10 14:15:05 -05:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
|
|
* <http://www.openoffice.org/license.html>
|
|
|
|
* for a copy of the LGPLv3 License.
|
2000-09-18 11:07:07 -05:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
2006-09-16 12:46:59 -05:00
|
|
|
// MARKER(update_precomp.py): autogen include statement, do not remove
|
|
|
|
#include "precompiled_sd.hxx"
|
|
|
|
|
2000-09-18 11:07:07 -05:00
|
|
|
|
2004-01-20 03:56:22 -06:00
|
|
|
#include "fubullet.hxx"
|
|
|
|
|
2005-11-16 02:20:37 -06:00
|
|
|
#ifndef _BINDING_HXX //autogen
|
|
|
|
#include <sfx2/bindings.hxx>
|
|
|
|
#endif
|
2010-01-08 11:32:51 -06:00
|
|
|
#include <editeng/eeitem.hxx>
|
2009-10-15 17:05:16 -05:00
|
|
|
#include <svl/poolitem.hxx>
|
2010-01-08 11:32:51 -06:00
|
|
|
#include <editeng/fontitem.hxx>
|
2004-01-20 03:56:22 -06:00
|
|
|
#include "OutlineViewShell.hxx"
|
|
|
|
#include "DrawViewShell.hxx"
|
|
|
|
#include "Window.hxx"
|
2000-09-18 11:07:07 -05:00
|
|
|
#include "drawdoc.hxx"
|
|
|
|
#include "strings.hrc"
|
|
|
|
#include "sdresid.hxx"
|
|
|
|
#include <svx/svdoutl.hxx>
|
|
|
|
#include <vcl/msgbox.hxx>
|
2005-11-16 02:20:37 -06:00
|
|
|
#include <sfx2/request.hxx>
|
2009-10-15 17:05:16 -05:00
|
|
|
#include <svl/ctloptions.hxx>
|
|
|
|
#include <svl/itempool.hxx>
|
2000-09-18 11:07:07 -05:00
|
|
|
|
2006-12-12 10:14:04 -06:00
|
|
|
#include <svx/svxdlg.hxx>
|
|
|
|
#include <svx/dialogs.hrc>
|
2005-11-16 02:20:37 -06:00
|
|
|
#include "drawview.hxx"
|
|
|
|
|
|
|
|
#include "app.hrc"
|
2000-09-18 11:07:07 -05:00
|
|
|
|
2004-01-20 03:56:22 -06:00
|
|
|
namespace sd {
|
|
|
|
|
2005-11-16 02:20:37 -06:00
|
|
|
const sal_Unicode CHAR_HARDBLANK = ((sal_Unicode)0x00A0);
|
|
|
|
const sal_Unicode CHAR_HARDHYPHEN = ((sal_Unicode)0x2011);
|
|
|
|
const sal_Unicode CHAR_SOFTHYPHEN = ((sal_Unicode)0x00AD);
|
|
|
|
const sal_Unicode CHAR_RLM = ((sal_Unicode)0x200F);
|
|
|
|
const sal_Unicode CHAR_LRM = ((sal_Unicode)0x200E);
|
|
|
|
const sal_Unicode CHAR_ZWSP = ((sal_Unicode)0x200B);
|
|
|
|
const sal_Unicode CHAR_ZWNBSP = ((sal_Unicode)0x2060);
|
|
|
|
|
2000-09-18 11:07:07 -05:00
|
|
|
TYPEINIT1( FuBullet, FuPoor );
|
|
|
|
|
|
|
|
/*************************************************************************
|
|
|
|
|*
|
|
|
|
|* Konstruktor
|
|
|
|
|*
|
|
|
|
\************************************************************************/
|
|
|
|
|
2004-01-20 03:56:22 -06:00
|
|
|
FuBullet::FuBullet (
|
|
|
|
ViewShell* pViewSh,
|
|
|
|
::sd::Window* pWin,
|
2006-12-12 10:14:04 -06:00
|
|
|
::sd::View* _pView,
|
2004-01-20 03:56:22 -06:00
|
|
|
SdDrawDocument* pDoc,
|
|
|
|
SfxRequest& rReq)
|
2006-12-12 10:14:04 -06:00
|
|
|
: FuPoor(pViewSh, pWin, _pView, pDoc, rReq)
|
2000-09-18 11:07:07 -05:00
|
|
|
{
|
2005-12-14 09:54:46 -06:00
|
|
|
}
|
2000-09-18 11:07:07 -05:00
|
|
|
|
2005-12-14 09:54:46 -06:00
|
|
|
FunctionReference FuBullet::Create( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq )
|
|
|
|
{
|
|
|
|
FunctionReference xFunc( new FuBullet( pViewSh, pWin, pView, pDoc, rReq ) );
|
|
|
|
xFunc->DoExecute(rReq);
|
|
|
|
return xFunc;
|
|
|
|
}
|
|
|
|
|
|
|
|
void FuBullet::DoExecute( SfxRequest& rReq )
|
|
|
|
{
|
2009-05-06 05:59:57 -05:00
|
|
|
if( rReq.GetSlot() == SID_CHARMAP )
|
|
|
|
InsertSpecialCharacter(rReq);
|
2005-11-16 02:20:37 -06:00
|
|
|
else
|
|
|
|
{
|
|
|
|
sal_Unicode cMark = 0;
|
|
|
|
switch( rReq.GetSlot() )
|
|
|
|
{
|
|
|
|
case FN_INSERT_SOFT_HYPHEN: cMark = CHAR_SOFTHYPHEN ; break;
|
|
|
|
case FN_INSERT_HARDHYPHEN: cMark = CHAR_HARDHYPHEN ; break;
|
|
|
|
case FN_INSERT_HARD_SPACE: cMark = CHAR_HARDBLANK ; break;
|
|
|
|
case SID_INSERT_RLM : cMark = CHAR_RLM ; break;
|
|
|
|
case SID_INSERT_LRM : cMark = CHAR_LRM ; break;
|
|
|
|
case SID_INSERT_ZWSP : cMark = CHAR_ZWSP ; break;
|
|
|
|
case SID_INSERT_ZWNBSP: cMark = CHAR_ZWNBSP; break;
|
|
|
|
}
|
|
|
|
|
|
|
|
DBG_ASSERT( cMark != 0, "FuBullet::FuBullet(), illegal slot used!" );
|
|
|
|
|
|
|
|
if( cMark )
|
|
|
|
InsertFormattingMark( cMark );
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void FuBullet::InsertFormattingMark( sal_Unicode cMark )
|
|
|
|
{
|
|
|
|
OutlinerView* pOV = NULL;
|
|
|
|
::Outliner* pOL = NULL;
|
|
|
|
|
|
|
|
// depending on ViewShell set Outliner and OutlinerView
|
2006-12-12 10:14:04 -06:00
|
|
|
if (mpViewShell->ISA(DrawViewShell))
|
2005-11-16 02:20:37 -06:00
|
|
|
{
|
2006-12-12 10:14:04 -06:00
|
|
|
pOV = mpView->GetTextEditOutlinerView();
|
2005-11-16 02:20:37 -06:00
|
|
|
if (pOV)
|
2006-12-12 10:14:04 -06:00
|
|
|
pOL = mpView->GetTextEditOutliner();
|
2005-11-16 02:20:37 -06:00
|
|
|
}
|
2006-12-12 10:14:04 -06:00
|
|
|
else if (mpViewShell->ISA(OutlineViewShell))
|
2005-11-16 02:20:37 -06:00
|
|
|
{
|
2006-12-12 10:14:04 -06:00
|
|
|
pOL = static_cast<OutlineView*>(mpView)->GetOutliner();
|
|
|
|
pOV = static_cast<OutlineView*>(mpView)->GetViewByWindow(
|
|
|
|
mpViewShell->GetActiveWindow());
|
2005-11-16 02:20:37 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
// insert string
|
|
|
|
if(pOV && pOL)
|
|
|
|
{
|
|
|
|
// prevent flickering
|
|
|
|
pOV->HideCursor();
|
|
|
|
pOL->SetUpdateMode(FALSE);
|
|
|
|
|
|
|
|
// remove old selected text
|
|
|
|
pOV->InsertText( aEmptyStr );
|
|
|
|
|
|
|
|
// prepare undo
|
|
|
|
SfxUndoManager& rUndoMgr = pOL->GetUndoManager();
|
|
|
|
rUndoMgr.EnterListAction(String(SdResId(STR_UNDO_INSERT_SPECCHAR)),
|
|
|
|
aEmptyStr );
|
|
|
|
|
|
|
|
// insert given text
|
|
|
|
String aStr( cMark );
|
|
|
|
pOV->InsertText( cMark, TRUE);
|
|
|
|
|
|
|
|
ESelection aSel = pOV->GetSelection();
|
|
|
|
aSel.nStartPara = aSel.nEndPara;
|
|
|
|
aSel.nStartPos = aSel.nEndPos;
|
|
|
|
pOV->SetSelection(aSel);
|
|
|
|
|
|
|
|
rUndoMgr.LeaveListAction();
|
|
|
|
|
|
|
|
// restart repainting
|
|
|
|
pOL->SetUpdateMode(TRUE);
|
|
|
|
pOV->ShowCursor();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2009-05-06 05:59:57 -05:00
|
|
|
void FuBullet::InsertSpecialCharacter( SfxRequest& rReq )
|
2005-11-16 02:20:37 -06:00
|
|
|
{
|
2009-05-06 05:59:57 -05:00
|
|
|
const SfxItemSet *pArgs = rReq.GetArgs();
|
|
|
|
const SfxPoolItem* pItem = 0;
|
|
|
|
if( pArgs )
|
|
|
|
pArgs->GetItemState(mpDoc->GetPool().GetWhich(SID_CHARMAP), FALSE, &pItem);
|
2000-09-18 11:07:07 -05:00
|
|
|
|
2009-05-06 05:59:57 -05:00
|
|
|
String aChars, aFontName;
|
|
|
|
Font aFont;
|
|
|
|
if ( pItem )
|
2000-09-18 11:07:07 -05:00
|
|
|
{
|
2009-05-06 05:59:57 -05:00
|
|
|
aChars = ((const SfxStringItem*)pItem)->GetValue();
|
|
|
|
const SfxPoolItem* pFtItem = NULL;
|
|
|
|
pArgs->GetItemState( mpDoc->GetPool().GetWhich(SID_ATTR_SPECIALCHAR), FALSE, &pFtItem);
|
|
|
|
const SfxStringItem* pFontItem = PTR_CAST( SfxStringItem, pFtItem );
|
|
|
|
if ( pFontItem )
|
|
|
|
{
|
|
|
|
aFontName = pFontItem->GetValue();
|
|
|
|
aFont = Font( aFontName, Size(1,1) );
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
SfxItemSet aFontAttr( mpDoc->GetPool() );
|
|
|
|
mpView->GetAttributes( aFontAttr );
|
|
|
|
const SvxFontItem* pFItem = (const SvxFontItem*)aFontAttr.GetItem( SID_ATTR_CHAR_FONT );
|
|
|
|
if( pFItem )
|
|
|
|
aFont = Font( pFItem->GetFamilyName(), pFItem->GetStyleName(), Size( 1, 1 ) );
|
|
|
|
}
|
2000-09-18 11:07:07 -05:00
|
|
|
}
|
|
|
|
|
2009-05-06 05:59:57 -05:00
|
|
|
if (!aChars.Len() )
|
|
|
|
{
|
|
|
|
SfxAllItemSet aSet( mpDoc->GetPool() );
|
|
|
|
aSet.Put( SfxBoolItem( FN_PARAM_1, FALSE ) );
|
|
|
|
|
|
|
|
SfxItemSet aFontAttr( mpDoc->GetPool() );
|
|
|
|
mpView->GetAttributes( aFontAttr );
|
|
|
|
const SvxFontItem* pFontItem = (const SvxFontItem*)aFontAttr.GetItem( SID_ATTR_CHAR_FONT );
|
|
|
|
if( pFontItem )
|
|
|
|
aSet.Put( *pFontItem );
|
|
|
|
|
|
|
|
SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create();
|
|
|
|
SfxAbstractDialog* pDlg = pFact ? pFact->CreateSfxDialog( &mpView->GetViewShell()->GetViewFrame()->GetWindow(), aSet,
|
2009-12-15 16:07:57 -06:00
|
|
|
mpView->GetViewShell()->GetViewFrame()->GetFrame().GetFrameInterface(),
|
2009-05-06 05:59:57 -05:00
|
|
|
RID_SVXDLG_CHARMAP ) : 0;
|
|
|
|
if( !pDlg )
|
|
|
|
return;
|
|
|
|
|
|
|
|
// Wenn Zeichen selektiert ist kann es angezeigt werden
|
|
|
|
// pDLg->SetFont( );
|
|
|
|
// pDlg->SetChar( );
|
|
|
|
USHORT nResult = pDlg->Execute();
|
|
|
|
if( nResult == RET_OK )
|
|
|
|
{
|
|
|
|
SFX_ITEMSET_ARG( pDlg->GetOutputItemSet(), pCItem, SfxStringItem, SID_CHARMAP, FALSE );
|
|
|
|
SFX_ITEMSET_ARG( pDlg->GetOutputItemSet(), pFItem, SvxFontItem, SID_ATTR_CHAR_FONT, FALSE );
|
|
|
|
if ( pFItem )
|
|
|
|
{
|
|
|
|
aFont.SetName( pFItem->GetFamilyName() );
|
|
|
|
aFont.SetStyleName( pFItem->GetStyleName() );
|
|
|
|
aFont.SetCharSet( pFItem->GetCharSet() );
|
|
|
|
aFont.SetPitch( pFItem->GetPitch() );
|
|
|
|
}
|
2000-09-18 11:07:07 -05:00
|
|
|
|
2009-05-06 05:59:57 -05:00
|
|
|
if ( pCItem )
|
|
|
|
aChars = pCItem->GetValue();
|
|
|
|
}
|
2000-09-18 11:07:07 -05:00
|
|
|
|
2009-05-06 05:59:57 -05:00
|
|
|
delete( pDlg );
|
2000-09-18 11:07:07 -05:00
|
|
|
}
|
|
|
|
|
2009-05-06 05:59:57 -05:00
|
|
|
if( aChars.Len() )
|
2000-09-18 11:07:07 -05:00
|
|
|
{
|
|
|
|
OutlinerView* pOV = NULL;
|
2004-01-20 03:56:22 -06:00
|
|
|
::Outliner* pOL = NULL;
|
2000-09-18 11:07:07 -05:00
|
|
|
|
|
|
|
// je nach ViewShell Outliner und OutlinerView bestimmen
|
2006-12-12 10:14:04 -06:00
|
|
|
if(mpViewShell && mpViewShell->ISA(DrawViewShell))
|
2000-09-18 11:07:07 -05:00
|
|
|
{
|
2006-12-12 10:14:04 -06:00
|
|
|
pOV = mpView->GetTextEditOutlinerView();
|
2000-09-18 11:07:07 -05:00
|
|
|
if (pOV)
|
|
|
|
{
|
2006-12-12 10:14:04 -06:00
|
|
|
pOL = mpView->GetTextEditOutliner();
|
2000-09-18 11:07:07 -05:00
|
|
|
}
|
|
|
|
}
|
2006-12-12 10:14:04 -06:00
|
|
|
else if(mpViewShell && mpViewShell->ISA(OutlineViewShell))
|
2000-09-18 11:07:07 -05:00
|
|
|
{
|
2006-12-12 10:14:04 -06:00
|
|
|
pOL = static_cast<OutlineView*>(mpView)->GetOutliner();
|
|
|
|
pOV = static_cast<OutlineView*>(mpView)->GetViewByWindow(
|
|
|
|
mpViewShell->GetActiveWindow());
|
2000-09-18 11:07:07 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// Sonderzeichen einfuegen
|
|
|
|
if (pOV)
|
|
|
|
{
|
|
|
|
// nicht flackern
|
|
|
|
pOV->HideCursor();
|
|
|
|
pOL->SetUpdateMode(FALSE);
|
|
|
|
|
|
|
|
// alte Attributierung merken;
|
|
|
|
// dazu vorher selektierten Bereich loeschen, denn der muss eh weg
|
|
|
|
// und so gibt es immer eine eindeutige Attributierung (und da es
|
|
|
|
// kein DeleteSelected() an der OutlinerView gibt, wird durch
|
|
|
|
// Einfuegen eines Leerstrings geloescht)
|
|
|
|
pOV->InsertText( aEmptyStr );
|
|
|
|
|
2007-05-10 09:29:07 -05:00
|
|
|
SfxItemSet aOldSet( mpDoc->GetPool(), EE_CHAR_FONTINFO, EE_CHAR_FONTINFO, 0 );
|
2000-09-18 11:07:07 -05:00
|
|
|
aOldSet.Put( pOV->GetAttribs() );
|
|
|
|
|
|
|
|
SfxUndoManager& rUndoMgr = pOL->GetUndoManager();
|
|
|
|
rUndoMgr.EnterListAction(String(SdResId(STR_UNDO_INSERT_SPECCHAR)),
|
|
|
|
aEmptyStr );
|
2009-05-06 05:59:57 -05:00
|
|
|
pOV->InsertText(aChars, TRUE);
|
2000-09-18 11:07:07 -05:00
|
|
|
|
|
|
|
// attributieren (Font setzen)
|
|
|
|
SfxItemSet aSet(pOL->GetEmptyItemSet());
|
|
|
|
SvxFontItem aFontItem (aFont.GetFamily(), aFont.GetName(),
|
|
|
|
aFont.GetStyleName(), aFont.GetPitch(),
|
2007-05-10 09:29:07 -05:00
|
|
|
aFont.GetCharSet(),
|
|
|
|
EE_CHAR_FONTINFO);
|
2000-09-18 11:07:07 -05:00
|
|
|
aSet.Put(aFontItem);
|
2001-10-25 02:00:17 -05:00
|
|
|
aSet.Put(aFontItem, EE_CHAR_FONTINFO_CJK);
|
|
|
|
aSet.Put(aFontItem, EE_CHAR_FONTINFO_CTL);
|
2000-09-18 11:07:07 -05:00
|
|
|
pOV->SetAttribs(aSet);
|
|
|
|
|
|
|
|
ESelection aSel = pOV->GetSelection();
|
|
|
|
aSel.nStartPara = aSel.nEndPara;
|
|
|
|
aSel.nStartPos = aSel.nEndPos;
|
|
|
|
pOV->SetSelection(aSel);
|
|
|
|
|
|
|
|
// nicht mit Sonderzeichenattributierung weiterschreiben
|
|
|
|
pOV->GetOutliner()->QuickSetAttribs(aOldSet, aSel);
|
|
|
|
|
|
|
|
rUndoMgr.LeaveListAction();
|
|
|
|
|
|
|
|
// ab jetzt wieder anzeigen
|
|
|
|
pOL->SetUpdateMode(TRUE);
|
|
|
|
pOV->ShowCursor();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2005-11-16 02:20:37 -06:00
|
|
|
void FuBullet::GetSlotState( SfxItemSet& rSet, ViewShell* pViewShell, SfxViewFrame* pViewFrame )
|
|
|
|
{
|
2009-05-06 05:59:57 -05:00
|
|
|
if( SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_CHARMAP ) ||
|
2005-11-16 02:20:37 -06:00
|
|
|
SFX_ITEM_AVAILABLE == rSet.GetItemState( FN_INSERT_SOFT_HYPHEN ) ||
|
|
|
|
SFX_ITEM_AVAILABLE == rSet.GetItemState( FN_INSERT_HARDHYPHEN ) ||
|
|
|
|
SFX_ITEM_AVAILABLE == rSet.GetItemState( FN_INSERT_HARD_SPACE ) ||
|
|
|
|
SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_INSERT_RLM ) ||
|
|
|
|
SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_INSERT_LRM ) ||
|
|
|
|
SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_INSERT_ZWNBSP ) ||
|
|
|
|
SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_INSERT_ZWSP ))
|
|
|
|
{
|
|
|
|
::sd::View* pView = pViewShell ? pViewShell->GetView() : 0;
|
|
|
|
OutlinerView* pOLV = pView ? pView->GetTextEditOutlinerView() : 0;
|
|
|
|
|
|
|
|
const bool bTextEdit = pOLV;
|
|
|
|
|
|
|
|
SvtCTLOptions aCTLOptions;
|
|
|
|
const sal_Bool bCtlEnabled = aCTLOptions.IsCTLFontEnabled();
|
|
|
|
|
|
|
|
if(!bTextEdit )
|
|
|
|
{
|
|
|
|
rSet.DisableItem(FN_INSERT_SOFT_HYPHEN);
|
|
|
|
rSet.DisableItem(FN_INSERT_HARDHYPHEN);
|
|
|
|
rSet.DisableItem(FN_INSERT_HARD_SPACE);
|
|
|
|
}
|
|
|
|
|
2008-04-02 03:46:51 -05:00
|
|
|
if( !bTextEdit && (dynamic_cast<OutlineViewShell*>( pViewShell ) == 0) )
|
2009-05-06 05:59:57 -05:00
|
|
|
rSet.DisableItem(SID_CHARMAP);
|
2008-04-02 03:46:51 -05:00
|
|
|
|
2005-11-16 02:20:37 -06:00
|
|
|
if(!bTextEdit || !bCtlEnabled )
|
|
|
|
{
|
|
|
|
rSet.DisableItem(SID_INSERT_RLM);
|
|
|
|
rSet.DisableItem(SID_INSERT_LRM);
|
|
|
|
rSet.DisableItem(SID_INSERT_ZWNBSP);
|
|
|
|
rSet.DisableItem(SID_INSERT_ZWSP);
|
|
|
|
}
|
|
|
|
|
|
|
|
if( pViewFrame )
|
|
|
|
{
|
|
|
|
SfxBindings& rBindings = pViewFrame->GetBindings();
|
|
|
|
|
|
|
|
rBindings.SetVisibleState( SID_INSERT_RLM, bCtlEnabled );
|
|
|
|
rBindings.SetVisibleState( SID_INSERT_LRM, bCtlEnabled );
|
|
|
|
rBindings.SetVisibleState( SID_INSERT_ZWNBSP, bCtlEnabled );
|
|
|
|
rBindings.SetVisibleState( SID_INSERT_ZWSP, bCtlEnabled );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2004-01-20 03:56:22 -06:00
|
|
|
} // end of namespace sd
|