#103760# added language listbox for fields

This commit is contained in:
Christian Lippka 2002-10-24 15:08:09 +00:00
parent ecd3eb002a
commit e6dd18a600
2 changed files with 27 additions and 6 deletions

View file

@ -2,9 +2,9 @@
*
* $RCSfile: drviewsb.cxx,v $
*
* $Revision: 1.5 $
* $Revision: 1.6 $
*
* last change: $Author: aw $ $Date: 2001-02-20 15:10:40 $
* last change: $Author: cl $ $Date: 2002-10-24 16:08:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -616,7 +616,7 @@ void SdDrawViewShell::FuTemp02(SfxRequest& rReq)
pFldItem->GetField()->ISA( SvxExtTimeField ) ) )
{
// Dialog...
SdModifyFieldDlg aDlg( pWindow, pFldItem->GetField() );
SdModifyFieldDlg aDlg( pWindow, pFldItem->GetField(), pOLV->GetAttribs() );
if( aDlg.Execute() == RET_OK )
{
SvxFieldData* pField = aDlg.GetField();
@ -639,10 +639,21 @@ void SdDrawViewShell::FuTemp02(SfxRequest& rReq)
// Selektion wird wieder in den Ursprungszustand gebracht
if( !bSel )
aSel.nEndPos--;
pOLV->SetSelection( aSel );
delete pField;
}
SfxItemSet aSet( aDlg.GetItemSet() );
if( aSet.Count() )
{
pOLV->SetAttribs( aSet );
Outliner* pOutliner = pOLV->GetOutliner();
if( pOutliner )
pOutliner->UpdateFields();
}
}
}
}

View file

@ -2,9 +2,9 @@
*
* $RCSfile: outlnvs2.cxx,v $
*
* $Revision: 1.11 $
* $Revision: 1.12 $
*
* last change: $Author: cl $ $Date: 2002-07-26 10:59:46 $
* last change: $Author: cl $ $Date: 2002-10-24 16:08:09 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -547,7 +547,7 @@ void SdOutlineViewShell::FuTemporary(SfxRequest &rReq)
pFldItem->GetField()->ISA( SvxExtTimeField ) ) )
{
// Dialog...
SdModifyFieldDlg aDlg( pWindow, pFldItem->GetField() );
SdModifyFieldDlg aDlg( pWindow, pFldItem->GetField(), pOutlinerView->GetAttribs() );
if( aDlg.Execute() == RET_OK )
{
SvxFieldData* pField = aDlg.GetField();
@ -574,6 +574,16 @@ void SdOutlineViewShell::FuTemporary(SfxRequest &rReq)
delete pField;
}
SfxItemSet aSet( aDlg.GetItemSet() );
if( aSet.Count() )
{
pOutlinerView->SetAttribs( aSet );
Outliner* pOutliner = pOutlinerView->GetOutliner();
if( pOutliner )
pOutliner->UpdateFields();
}
}
}