📄 scpropstrlists.cpp
字号:
/*
* This file is part of the EMFexplorer projet.
* Copyright (C) 2004 Smith Charles.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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 for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*
* Extension: for commercial use, apply the Equity Public License, which
* adds to the normal terms of the GLPL a condition of donation to the author.
* If you are interested in support for this source code,
* contact Smith Charles <smith.charles@free.fr> for more information.
*/
#include "stdafx.h"
#include "SCPropStrLists.h"
#include SC_INC_EMFLIB(SCGdiplusUtils.h)
#include SC_INC_EMFLIB(SCEMFViewDefs.h)
// #ifdef _DEBUG
// #define new DEBUG_NEW
// #undef THIS_FILE
// static char THIS_FILE[] = __FILE__;
// #endif
/////////////////////////////////////////////////////////////////////////////
// Value/String pairs
// Control border
const SCStrEnumAttribute s_CtlBorder[]=
{
SC_CSM_CTLBORDER_NONE, _T("None"),
SC_CSM_CTLBORDER_SIMPLE, _T("Simple"),
SC_CSM_CTLBORDER_RAISED, _T("3D")
};
// Fit Mode
const SCStrEnumAttribute s_PageFitMode[]=
{
SC_FIT_NONE, _T("None"),
SC_FIT_WIDTH, _T("Width"),
SC_FIT_PAGE, _T("Page")
};
// Orientation
const SCStrEnumAttribute s_PageOrientation[]=
{
0, _T("0"),
90, _T("90"),
180, _T("180"),
270, _T("270")
};
// Transparency Mode
const SCStrEnumAttribute s_TransparencyMode[]=
{
SC_TRANSPARENCY_NONE, _T("None"),
SC_TRANSPARENCY_NORMAL, _T("Normal"),
SC_TRANSPARENCY_WHITE_SKIPBITMAP, _T("White Color Skip Bitmaps"),
SC_TRANSPARENCY_WHITECOLOR, _T("White Color")
};
// Reverse video Mode
const SCStrEnumAttribute s_ReverseVideoMode[]=
{
SC_REVERSE_VIDEO_NONE, _T("None"),
SC_REVERSE_VIDEO_FULL, _T("Full"),
SC_REVERSE_VIDEO_SKIPIMAGES, _T("Skip Bitmaps")
};
// Color Type
const SCStrEnumAttribute s_ColorStyle[]=
{
SC_COLOR_TRANSPARENT, _T("Transparent"),
SC_COLOR_SYSINDEX, _T("System"),
SC_COLOR_RGBVALUE, _T("RGB")
};
/////////////////////////////////////////////////////////////////////////////
// Implementations (for enums)
SC_IMPLEMENT_OLESTRINGS(CtlBorder)
SC_IMPLEMENT_OLESTRINGS(PageFitMode)
SC_IMPLEMENT_OLESTRINGS(PageOrientation)
SC_IMPLEMENT_OLESTRINGS(TransparencyMode)
SC_IMPLEMENT_OLESTRINGS(ReverseVideoMode)
SC_IMPLEMENT_OLESTRINGS(ColorStyle)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -