Kaydet (Commit) d7c44d85 authored tarafından Kai Ahrens's avatar Kai Ahrens

added graphic filter control

üst d18a922a
shell SdDrawGrafObjectBar
{
SID_GRAFTBX_FILTERS // ole : no, status : ?
SID_GRFFILTER
[
ExecMethod = ExecuteFilter;
StateMethod = GetFilterState ;
StateMethod = GetFilterState;
]
SID_GRAFFILTER_INVERT // ole : no, status : no
SID_GRFFILTER_INVERT // ole : no, status : no
[
ExecMethod = ExecuteFilter;
StateMethod = GetFilterState ;
]
SID_GRAFFILTER_SMOOTH // ole : no, status : no
SID_GRFFILTER_SMOOTH // ole : no, status : no
[
ExecMethod = ExecuteFilter;
StateMethod = GetFilterState ;
]
SID_GRAFFILTER_SHARPEN // ole : no, status : no
SID_GRFFILTER_SHARPEN // ole : no, status : no
[
ExecMethod = ExecuteFilter;
StateMethod = GetFilterState ;
]
SID_GRAFFILTER_REMOVENOISE // ole : no, status : no
SID_GRFFILTER_REMOVENOISE // ole : no, status : no
[
ExecMethod = ExecuteFilter;
StateMethod = GetFilterState ;
]
SID_GRAFFILTER_SOBEL // ole : no, status : no
SID_GRFFILTER_SOBEL // ole : no, status : no
[
ExecMethod = ExecuteFilter;
StateMethod = GetFilterState;
]
SID_GRAFFILTER_MOSAIC // ole : no, status : no
SID_GRFFILTER_MOSAIC // ole : no, status : no
[
ExecMethod = ExecuteFilter;
StateMethod = GetFilterState;
]
SID_GRAFFILTER_EMBOSS // ole : no, status : no
SID_GRFFILTER_EMBOSS // ole : no, status : no
[
ExecMethod = ExecuteFilter;
StateMethod = GetFilterState;
]
SID_GRAFFILTER_POSTER // ole : no, status : no
SID_GRFFILTER_POSTER // ole : no, status : no
[
ExecMethod = ExecuteFilter;
StateMethod = GetFilterState;
]
SID_GRAFFILTER_POPART // ole : no, status : no
SID_GRFFILTER_POPART // ole : no, status : no
[
ExecMethod = ExecuteFilter;
StateMethod = GetFilterState;
]
SID_GRAFFILTER_SEPIA // ole : no, status : no
SID_GRFFILTER_SEPIA // ole : no, status : no
[
ExecMethod = ExecuteFilter;
StateMethod = GetFilterState;
]
SID_GRAFFILTER_SOLARIZE // ole : no, status : no
SID_GRFFILTER_SOLARIZE // ole : no, status : no
[
ExecMethod = ExecuteFilter;
StateMethod = GetFilterState;
......
SfxVoidItem GrafFilterCharcoal SID_GRAFFILTER_SOBEL
()
[
AutoUpdate = FALSE ,
Cachable = Cachable ,
FastCall = FALSE ,
HasCoreId = FALSE ,
HasDialog = FALSE ,
ReadOnlyDoc = FALSE ,
Toggle = FALSE ,
Synchron ;
Container = FALSE ,
PlugComm = FALSE ,
Export = TRUE ,
IsCollection = FALSE ,
RecordAbsolute = FALSE ,
RecordPerSet ;
AccelConfig = TRUE ,
MenuConfig = TRUE ,
StatusBarConfig = FALSE ,
ToolBoxConfig = TRUE ,
GroupId = GID_MODIFY ;
]
SfxVoidItem GrafFilterMosaic SID_GRAFFILTER_MOSAIC
()
[
AutoUpdate = FALSE ,
Cachable = Cachable ,
FastCall = FALSE ,
HasCoreId = FALSE ,
HasDialog = FALSE ,
ReadOnlyDoc = FALSE ,
Toggle = FALSE ,
Synchron ;
Container = FALSE ,
PlugComm = FALSE ,
Export = TRUE ,
IsCollection = FALSE ,
RecordAbsolute = FALSE ,
RecordPerSet ;
AccelConfig = TRUE ,
MenuConfig = TRUE ,
StatusBarConfig = FALSE ,
ToolBoxConfig = TRUE ,
GroupId = GID_MODIFY ;
]
SfxVoidItem GrafFilterRelief SID_GRAFFILTER_EMBOSS
()
[
AutoUpdate = FALSE ,
Cachable = Cachable ,
FastCall = FALSE ,
HasCoreId = FALSE ,
HasDialog = FALSE ,
ReadOnlyDoc = FALSE ,
Toggle = FALSE ,
Synchron ;
Container = FALSE ,
PlugComm = FALSE ,
Export = TRUE ,
IsCollection = FALSE ,
RecordAbsolute = FALSE ,
RecordPerSet ;
AccelConfig = TRUE ,
MenuConfig = TRUE ,
StatusBarConfig = FALSE ,
ToolBoxConfig = TRUE ,
GroupId = GID_MODIFY ;
]
SfxVoidItem GrafFilterPoster SID_GRAFFILTER_POSTER
()
[
AutoUpdate = FALSE ,
Cachable = Cachable ,
FastCall = FALSE ,
HasCoreId = FALSE ,
HasDialog = FALSE ,
ReadOnlyDoc = FALSE ,
Toggle = FALSE ,
Synchron ;
Container = FALSE ,
PlugComm = FALSE ,
Export = TRUE ,
IsCollection = FALSE ,
RecordAbsolute = FALSE ,
RecordPerSet ;
AccelConfig = TRUE ,
MenuConfig = TRUE ,
StatusBarConfig = FALSE ,
ToolBoxConfig = TRUE ,
GroupId = GID_MODIFY ;
]
SfxVoidItem GrafFilterPopart SID_GRAFFILTER_POPART
()
[
AutoUpdate = FALSE ,
Cachable = Cachable ,
FastCall = FALSE ,
HasCoreId = FALSE ,
HasDialog = FALSE ,
ReadOnlyDoc = FALSE ,
Toggle = FALSE ,
Synchron ;
Container = FALSE ,
PlugComm = FALSE ,
Export = TRUE ,
IsCollection = FALSE ,
RecordAbsolute = FALSE ,
RecordPerSet ;
AccelConfig = TRUE ,
MenuConfig = TRUE ,
StatusBarConfig = FALSE ,
ToolBoxConfig = TRUE ,
GroupId = GID_MODIFY ;
]
SfxVoidItem GrafFilterSepia SID_GRAFFILTER_SEPIA
()
[
AutoUpdate = FALSE ,
Cachable = Cachable ,
FastCall = FALSE ,
HasCoreId = FALSE ,
HasDialog = FALSE ,
ReadOnlyDoc = FALSE ,
Toggle = FALSE ,
Synchron ;
Container = FALSE ,
PlugComm = FALSE ,
Export = TRUE ,
IsCollection = FALSE ,
RecordAbsolute = FALSE ,
RecordPerSet ;
AccelConfig = TRUE ,
MenuConfig = TRUE ,
StatusBarConfig = FALSE ,
ToolBoxConfig = TRUE ,
GroupId = GID_MODIFY ;
]
SfxVoidItem GrafFilterSolarize SID_GRAFFILTER_SOLARIZE
()
[
AutoUpdate = FALSE ,
Cachable = Cachable ,
FastCall = FALSE ,
HasCoreId = FALSE ,
HasDialog = FALSE ,
ReadOnlyDoc = FALSE ,
Toggle = FALSE ,
Synchron ;
Container = FALSE ,
PlugComm = FALSE ,
Export = TRUE ,
IsCollection = FALSE ,
RecordAbsolute = FALSE ,
RecordPerSet ;
AccelConfig = TRUE ,
MenuConfig = TRUE ,
StatusBarConfig = FALSE ,
ToolBoxConfig = TRUE ,
GroupId = GID_MODIFY ;
]
//--------------------------------------------------------------------------
SfxVoidItem GrafAttrCrop SID_ATTR_GRAF_CROP
()
......
......@@ -2,9 +2,9 @@
*
* $RCSfile: app.src,v $
*
* $Revision: 1.4 $
* $Revision: 1.5 $
*
* last change: $Author: tbe $ $Date: 2000-11-10 16:14:15 $
* last change: $Author: ka $ $Date: 2000-11-18 11:43:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -391,20 +391,20 @@
SID_ATTR_GRAF_INVERT;\
SID_INSERT_SOUND;\
SID_INSERT_VIDEO;\
SID_GRAFTBX_FILTERS;\
SID_GRAFFILTER_INVERT;\
SID_GRAFFILTER_SMOOTH;\
SID_GRAFFILTER_SHARPEN;\
SID_GRAFFILTER_REMOVENOISE;\
SID_OBJECT_TRANSPARENCE;\
SID_OBJECT_GRADIENT;\
SID_GRAFFILTER_SOBEL;\
SID_GRAFFILTER_MOSAIC;\
SID_GRAFFILTER_EMBOSS;\
SID_GRAFFILTER_POSTER;\
SID_GRAFFILTER_POPART;\
SID_GRAFFILTER_SEPIA;\
SID_GRAFFILTER_SOLARIZE;\
SID_GRFFILTER;\
SID_GRFFILTER_INVERT;\
SID_GRFFILTER_SMOOTH;\
SID_GRFFILTER_SHARPEN;\
SID_GRFFILTER_REMOVENOISE;\
SID_GRFFILTER_SOBEL;\
SID_GRFFILTER_MOSAIC;\
SID_GRFFILTER_EMBOSS;\
SID_GRFFILTER_POSTER;\
SID_GRFFILTER_POPART;\
SID_GRFFILTER_SEPIA;\
SID_GRFFILTER_SOLARIZE;\
SID_ATTR_GRAF_CROP;\
};\
IdCount = {\
......
......@@ -2,9 +2,9 @@
*
* $RCSfile: sddll2.cxx,v $
*
* $Revision: 1.1.1.1 $
* $Revision: 1.2 $
*
* last change: $Author: hr $ $Date: 2000-09-18 16:48:30 $
* last change: $Author: ka $ $Date: 2000-11-18 11:37:04 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -217,7 +217,8 @@ void SdDLL::RegisterControllers()
SvxFontHeightToolBoxControl::RegisterControl(0, pMod);
SvxFontColorToolBoxControl::RegisterControl(0, pMod);
SdTbxControl::RegisterControl( SID_GRAFTBX_FILTERS, pMod );
SvxGrafFilterToolBoxControl::RegisterControl( SID_GRFFILTER, pMod );
SvxGrafModeToolBoxControl::RegisterControl( SID_ATTR_GRAF_MODE, pMod );
SvxGrafRedToolBoxControl::RegisterControl( SID_ATTR_GRAF_RED, pMod );
SvxGrafGreenToolBoxControl::RegisterControl( SID_ATTR_GRAF_GREEN, pMod );
SvxGrafBlueToolBoxControl::RegisterControl( SID_ATTR_GRAF_BLUE, pMod );
......@@ -225,7 +226,6 @@ void SdDLL::RegisterControllers()
SvxGrafContrastToolBoxControl::RegisterControl( SID_ATTR_GRAF_CONTRAST, pMod );
SvxGrafGammaToolBoxControl::RegisterControl( SID_ATTR_GRAF_GAMMA, pMod );
SvxGrafTransparenceToolBoxControl::RegisterControl( SID_ATTR_GRAF_TRANSPARENCE, pMod );
SvxGrafModeToolBoxControl::RegisterControl( SID_ATTR_GRAF_MODE, pMod );
// StatusBarControls registrieren
SvxZoomStatusBarControl::RegisterControl( SID_ATTR_ZOOM, pMod );
......
......@@ -2,9 +2,9 @@
*
* $RCSfile: tbx_ww.src,v $
*
* $Revision: 1.2 $
* $Revision: 1.3 $
*
* last change: $Author: kz $ $Date: 2000-10-27 16:20:59 $
* last change: $Author: ka $ $Date: 2000-11-18 11:40:48 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -1334,106 +1334,5 @@ FloatingWindow RID_POSITION
Text[ turkish ] = "Sralama";
Text[ language_user1 ] = " ";
};
FloatingWindow RID_GRAFFILTERS
{
HelpId = HID_SD_FW_GRAFFILTERS ;
Moveable = TRUE ;
Closeable = TRUE ;
Hide = TRUE ;
SVLook = TRUE ;
Text = "Filter" ;
Text [ ENGLISH ] = "Filter" ;
Text [ english_us ] = "Filter" ;
ToolBox RID_GRAFFILTERS_TBX
{
SVLook = TRUE ;
MenuStrings = TRUE ;
Align = BOXALIGN_TOP;
LineCount = 3;
ItemList =
{
ToolBoxItem
{
Identifier = SID_GRAFFILTER_INVERT ;
HelpID = SID_GRAFFILTER_INVERT ;
};
ToolBoxItem
{
Identifier = SID_GRAFFILTER_SMOOTH ;
HelpID = SID_GRAFFILTER_SMOOTH ;
};
ToolBoxItem
{
Identifier = SID_GRAFFILTER_SHARPEN ;
HelpID = SID_GRAFFILTER_SHARPEN ;
};
ToolBoxItem
{
Identifier = SID_GRAFFILTER_REMOVENOISE ;
HelpID = SID_GRAFFILTER_REMOVENOISE ;
};
ToolBoxItem
{
Type = TOOLBOXITEM_BREAK ;
};
ToolBoxItem
{
Identifier = SID_GRAFFILTER_SOLARIZE ;
HelpId = SID_GRAFFILTER_SOLARIZE ;
};
ToolBoxItem
{
Identifier = SID_GRAFFILTER_SEPIA ;
HelpId = SID_GRAFFILTER_SEPIA ;
};
ToolBoxItem
{
Identifier = SID_GRAFFILTER_POSTER ;
HelpId = SID_GRAFFILTER_POSTER ;
};
ToolBoxItem
{
Identifier = SID_GRAFFILTER_POPART ;
HelpId = SID_GRAFFILTER_POPART ;
};
ToolBoxItem
{
Type = TOOLBOXITEM_BREAK ;
};
ToolBoxItem
{
Identifier = SID_GRAFFILTER_SOBEL ;
HelpId = SID_GRAFFILTER_SOBEL ;
};
ToolBoxItem
{
Identifier = SID_GRAFFILTER_EMBOSS ;
HelpId = SID_GRAFFILTER_EMBOSS ;
};
ToolBoxItem
{
Identifier = SID_GRAFFILTER_MOSAIC ;
HelpId = SID_GRAFFILTER_MOSAIC ;
};
};
};
Text[ portuguese ] = "Filtros";
Text[ russian ] = "";
Text[ greek ] = "";
Text[ dutch ] = "Filter";
Text[ french ] = "Filtre";
Text[ spanish ] = "Filtros";
Text[ italian ] = "Filtri";
Text[ danish ] = "Filter";
Text[ swedish ] = "Filter";
Text[ polish ] = "Filtr";
Text[ portuguese_brazilian ] = "Filter";
Text[ japanese ] = "̨";
Text[ korean ] = "";
Text[ chinese_simplified ] = "ɸѡ";
Text[ chinese_traditional ] = "Lo";
Text[ arabic ] = "";
Text[ turkish ] = "Filtre";
Text[ language_user1 ] = " ";
};
......@@ -2,9 +2,9 @@
*
* $RCSfile: tbxww.cxx,v $
*
* $Revision: 1.1.1.1 $
* $Revision: 1.2 $
*
* last change: $Author: hr $ $Date: 2000-09-18 16:48:31 $
* last change: $Author: ka $ $Date: 2000-11-18 11:40:48 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -97,8 +97,7 @@ SdPopupWindowTbx::SdPopupWindowTbx( USHORT nId, WindowAlign eAlign,
FreeResource();
if( ( SID_GRAFTBX_FILTERS != nId ) &&
( ( eAlign == WINDOWALIGN_TOP ) || ( eAlign == WINDOWALIGN_BOTTOM ) ) )
if( ( eAlign == WINDOWALIGN_TOP ) || ( eAlign == WINDOWALIGN_BOTTOM ) )
{
aTbx.GetToolBox().SetAlign( WINDOWALIGN_LEFT );
SetText( String() );
......@@ -285,15 +284,6 @@ SfxPopupWindow* __EXPORT SdTbxControl::CreatePopupWindow()
SdResId( RID_INSERT_TBX ), GetBindings() );
}
break;
case SID_GRAFTBX_FILTERS:
{
pWin = new SdPopupWindowTbx( GetId(), this->GetToolBox().GetAlign(),
SdResId( RID_GRAFFILTERS ),
SdResId( RID_GRAFFILTERS_TBX ), GetBindings() );
}
break;
}
if( pWin )
{
......@@ -341,8 +331,7 @@ void __EXPORT SdTbxControl::StateChanged( USHORT nSId,
if( nSId != SID_ZOOM_TOOLBOX &&
nSId != SID_DRAWTBX_INSERT &&
nSId != SID_POSITION &&
nSId != SID_GRAFTBX_FILTERS )
nSId != SID_POSITION )
{
if( nSId != SID_OBJECT_CHOOSE_MODE &&
rTbx.IsItemChecked( SID_OBJECT_CHOOSE_MODE ) )
......
......@@ -2,9 +2,9 @@
*
* $RCSfile: toolbox.src,v $
*
* $Revision: 1.2 $
* $Revision: 1.3 $
*
* last change: $Author: ka $ $Date: 2000-09-29 08:54:00 $
* last change: $Author: ka $ $Date: 2000-11-18 11:40:48 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -674,8 +674,8 @@ ToolBox RID_DRAW_GRAF_TOOLBOX
{
ToolBoxItem
{
Identifier = SID_GRAFTBX_FILTERS ;
HelpID = SID_GRAFTBX_FILTERS ;
Identifier = SID_GRFFILTER;
HelpID = SID_GRFFILTER;
DropDown = TRUE ;
Checkable = FALSE ;
RadioCheck = FALSE ;
......
......@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
# $Revision: 1.1.1.1 $
# $Revision: 1.2 $
#
# last change: $Author: hr $ $Date: 2000-09-18 16:48:33 $
# last change: $Author: ka $ $Date: 2000-11-18 11:44:07 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
......@@ -126,8 +126,7 @@ CXXFILES = $(PRJ)$/util$/sd.cxx \
htmlattr.cxx \
vectdlg.cxx \
docprev.cxx \
packgdlg.cxx \
dlgflt.cxx
packgdlg.cxx
SRCFILES =\
ins_page.src\
......@@ -162,8 +161,7 @@ SRCFILES =\
brkdlg.src\
vectdlg.src\
dlgolbul.src\
packgdlg.src\
dlgflt.src
packgdlg.src
SLOFILES = \
......@@ -215,8 +213,7 @@ SLOFILES = \
$(SLO)$/htmlattr.obj \
$(SLO)$/vectdlg.obj \
$(SLO)$/docprev.obj \
$(SLO)$/packgdlg.obj \
$(SLO)$/dlgflt.obj
$(SLO)$/packgdlg.obj
.IF "$(GUI)" == "WIN"
......
......@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
# $Revision: 1.2 $
# $Revision: 1.3 $
#
# last change: $Author: cl $ $Date: 2000-10-26 12:45:44 $
# last change: $Author: ka $ $Date: 2000-11-18 11:45:06 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
......@@ -155,7 +155,6 @@ CXXFILES = $(PRJ)$/util$/sd.cxx \
speedctl.cxx \
fuvect.cxx \
bulmaper.cxx \
fugrfflt.cxx \
fupngdlg.cxx
EXCEPTIONSFILES= \
......@@ -238,7 +237,6 @@ SLOFILES = \
$(SLO)$/speedctl.obj \
$(SLO)$/fuvect.obj \
$(SLO)$/bulmaper.obj \
$(SLO)$/fugrfflt.obj \
$(SLO)$/fupngdlg.obj
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment