/**************************************************************
 * 
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 * 
 *************************************************************/



interface WebTextInTable
[ uuid = "B47F0DE7-1E1F-11d1-89CA-008029E4B0B1" ]
{
	import WebText;
		import WebTable;
}

interface WebListInTable
[ uuid="B47F0DE8-1E1F-11d1-89CA-008029E4B0B1" ]
{
	import WebText;
		import WebList;
		import WebTable;
}

interface WebListInText
[ uuid = "B47F0DE9-1E1F-11d1-89CA-008029E4B0B1"]
{
	import WebList;
	import WebText;
}

interface WebEditView : BaseTextEditView
[
	uuid = "B47F0DEA-1E1F-11d1-89CA-008029E4B0B1"
]
{
	SID_DRAW_TEXT_MARQUEE // status()
	[
		ExecMethod = ExecDraw ;
		StateMethod = GetDrawState ;
		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
	]
}

shell SwWebView
{
	import WebEditView [Automation];
//	import SearchSettings;
//	import TextPage "Page";
//	import SearchAttributes;
//	import ReplaceAttributes;

}

interface WebSourceView
[ uuid = "95069CE0-69D8-101D-9757-C667E8298000"]
{
	SID_TABLE_CELL // status()
	[
		StateMethod = GetState ;
	]
	SID_SAVEASDOC // status()
	[
		ExecMethod = Execute ;
		StateMethod = GetState ;
	]
	SID_SAVEDOC // status()
	[
		ExecMethod = Execute ;
		StateMethod = GetState ;
	]
	SID_PRINTDOC // status(final|play)
	[
		ExecMethod = Execute ;
		StateMethod = GetState ;
	]
	SID_PRINTDOCDIRECT // status(final|play)
	[
		ExecMethod = Execute ;
		StateMethod = GetState ;
	]
    SID_SEARCH_OPTIONS
	[
		ExecMethod = Execute ;
		StateMethod = GetState ;
	]
	SID_SEARCH_ITEM
	[
		ExecMethod = Execute ;
		StateMethod = GetState ;
		Export = FALSE;
	]
	FID_SEARCH_NOW
	[
		ExecMethod = Execute ;
		StateMethod = GetState ;
	]
    FN_REPEAT_SEARCH // status(final|play)
    [
        ExecMethod = Execute;
        StateMethod = GetState ;
    ]
    SID_UNDO // status(final|play)
	[
		ExecMethod = Execute ;
		StateMethod = GetState ;
	]

	SID_REDO // status(final|play)
	[
		ExecMethod = Execute ;
		StateMethod = GetState ;
	]

	SID_REPEAT // status()
	[
		ExecMethod = Execute ;
		StateMethod = GetState ;
		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
	]

	SID_CUT // status(final|play)
	[
		ExecMethod = Execute ;
		StateMethod = GetState ;
		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
	]

	SID_COPY   // status(final|play)
	[
		ExecMethod = Execute ;
		StateMethod = GetState ;
	]

	SID_PASTE  // status(final|play)
	[
		ExecMethod = Execute ;
		StateMethod = GetState ;
		DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
	]

	SID_SELECTALL // status(final|play)
	[
		ExecMethod = Execute ;
		StateMethod = NoState ;
	]
    SID_MAIL_SENDDOC
    [
        StateMethod = GetState ;
    ]
    SID_MAIL_SENDDOCASPDF
    [
        StateMethod = GetState ;
    ]
    SID_EXPORTDOC
    [
        StateMethod = GetState ;
    ]
    SID_EXPORTDOCASPDF
    [
        StateMethod = GetState ;
    ]
    SID_DIRECTEXPORTDOCASPDF
    [
        StateMethod = GetState ;
    ]
    SID_BROWSER_MODE
    [
        StateMethod = GetState;
    ]
    FN_PRINT_LAYOUT
    [
        StateMethod = GetState;
    ]
}

shell SwSrcView

{
		import WebSourceView [Automation];
}