#ifndef __PgSVGExport_h
#define __PgSVGExport_h

/*************************************************************************
 * <_xZkqqHx_iDhEiDeAiDeDiDiL_xHqqkZx_>	PgSVGExport.h
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDjDiDhMiBfLiDgMiDjDiDgH_xHqqkZx_0_xZkqqHx_iCmMiDhHiDgCiDfPiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	01.08.10 Fukushiro M. base_xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/

/*
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/

Software distributed under the License is distributed on an "AS IS"
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
License for the specific language governing rights and limitations
under the License.

The Original Code is "SVG Export" plug-in for DynamicDraw.

The Initial Developer of the Original Code is FUKUSHIRO Masayuki.

Copyright (C) 2001,2002  FUKUSHIRO Masayuki ( yt3m-fksr@asahi-net.or.jp ), 
HIROSAWA Masashi ( hirosawa@cam.hi-ho.ne.jp ). 
All Rights Reserved.

Contributor(s):

Alternatively, the contents of this file may be used under the terms
of the GNU General Public License Version 2 (the "GPL"), in which case
the provisions of the GPL are applicable instead of those above.  If you
wish to allow use of your version of this file only under the terms of
the GPL and not to allow others to use your version of this file under
the MPL, indicate your decision by deleting the provisions above and
replace them with the notice and other provisions required by the
GPL.

Alternatively, the contents of this file may be used under the terms
of the New BSD License (the "BSDL"), in which case the provisions
of the BSDL are applicable instead of those above.  If you wish
to allow use of your version of this file only under the terms of
the BSDL and not to allow others to use your version of this file under
the MPL, indicate your decision by deleting the provisions above and
replace them with the notice and other provisions required by the BSDL.

If you do not delete the provisions above, a recipient may use
your version of this file under any of the MPL, the GPL or the BSDL.
*/

// 06.06.29 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//#include "MpgInterface.h"	// For IPgInterface.

/////////////////////////////////////////////////////////////////////////////////

class FCRichText;

class CA0 : public IMpgInterface
{
public:
	//SvgExportOption svgExportOption;

public:
	//----- Interface IPgInfo -----
	virtual const GUID&		GetComponentCLSID () const;
	virtual const wchar_t*	GetAuthorName () const;
	virtual const wchar_t*	GetComponentName () const;
	virtual const wchar_t*	GetVersionName () const;
	virtual const wchar_t*	GetComment () const;
	virtual wchar_t			GetComponentShortcut () const;

	//----- Interface IPgMain -----
	virtual HRESULT	Initialize (IMpgMolipMain* pI);
	virtual HRESULT	Terminate ();
	virtual HRESULT	OnCommand (UINT nCmdID);
	virtual HRESULT OnUpdateCommandUI (MfcCmdUI* pCmdUI);
	virtual HRESULT OnSelectedObjectSave (	UINT nFormatId, const wchar_t* wcpFileName,
											double mmMarginLeft, double mmMarginTop,
											double mmMarginRight, double mmMarginBottom);

	//----- CA domestic -----
	CA0 ();
	virtual ~CA0 ();

	virtual void ExtractChar(FCRichText* pRich);

private:
	DWORD	m_adwCommandId[5];		// _xZkqqHx_iDfCiDhNiDjDiDgIiCkKiOpLiCnMiCoJjFkKiCmMjEhKjHpBiBeC_xHqqkZx_
	DWORD	m_adwFormatId[5];
}; // class CA0.

// _xZkqqHx_iDfCiDjDiDhMiBfLiDgMiDjDiDgHjCoIiLgAiBeCjFeLjAhLiBeC_xHqqkZx_
#define COMPONENT_CLASS_CA0	CA0

#endif//__PgSVGExport_h
