tom.idl revision 4b9d6701570cb98fd36e209314239d104ec584d3
af062818b47340eef15700d2f0211576ba3506eevboxsync * Copyright 2006 Juan Lang
af062818b47340eef15700d2f0211576ba3506eevboxsync * This library is free software; you can redistribute it and/or
af062818b47340eef15700d2f0211576ba3506eevboxsync * modify it under the terms of the GNU Lesser General Public
af062818b47340eef15700d2f0211576ba3506eevboxsync * License as published by the Free Software Foundation; either
af062818b47340eef15700d2f0211576ba3506eevboxsync * version 2.1 of the License, or (at your option) any later version.
af062818b47340eef15700d2f0211576ba3506eevboxsync * This library is distributed in the hope that it will be useful,
af062818b47340eef15700d2f0211576ba3506eevboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
af062818b47340eef15700d2f0211576ba3506eevboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
af062818b47340eef15700d2f0211576ba3506eevboxsync * Lesser General Public License for more details.
af062818b47340eef15700d2f0211576ba3506eevboxsync * You should have received a copy of the GNU Lesser General Public
af062818b47340eef15700d2f0211576ba3506eevboxsync * License along with this library; if not, write to the Free Software
af062818b47340eef15700d2f0211576ba3506eevboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * a choice of LGPL license versions is made available with the language indicating
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * of the LGPL is applied is otherwise unspecified.
af062818b47340eef15700d2f0211576ba3506eevboxsyncimport "oaidl.idl";
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT GetSelection([retval, out]ITextSelection **ppSel);
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT GetStoryRanges([retval, out]ITextStoryRanges **ppStories);
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT GetDefaultTabStop([retval, out]float *pValue);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT Open([in]VARIANT *pVar, [in]LONG Flags, [in]LONG CodePage);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT Save([in]VARIANT *pVar, [in]LONG Flags, [in]LONG CodePage);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT Undo([in]LONG Count, [retval, out]LONG *prop);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT Redo([in]LONG Count, [retval, out]LONG *prop);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT Range([in]LONG cp1, [in]LONG cp2, [retval, out]ITextRange **ppRange);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT RangeFromPoint([in]LONG x, [in]LONG y, [retval, out]ITextRange **ppRange);
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT GetDuplicate([retval, out]ITextRange **ppRange);
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT GetFormattedText([retval, out]ITextRange **ppRange);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT Expand([in]LONG Unit, [retval, out]LONG *pDelta);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT GetIndex([in]LONG Unit, [retval, out]LONG *pIndex);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT SetIndex([in]LONG Unit, [in]LONG Index, [in]LONG Extend);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT SetRange([in]LONG cpActive, [in]LONG cpOther);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT InRange([in]ITextRange *pRange, [retval, out]LONG *pb);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT InStory([in]ITextRange *pRange, [retval, out]LONG *pb);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT IsEqual([in]ITextRange *pRange, [retval, out]LONG *pb);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT StartOf([in]LONG Unit, [in]LONG Extend, [retval, out]LONG *pDelta);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT EndOf([in]LONG Unit, [in]LONG Extend, [retval, out]LONG *pDelta);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT Move([in]LONG Unit, [in]LONG Count, [retval, out]LONG *pDelta);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT MoveStart([in]LONG Unit, [in]LONG Count, [retval, out]LONG *pDelta);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT MoveEnd([in]LONG Unit, [in]LONG Count, [retval, out]LONG *pDelta);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT MoveWhile([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT MoveStartWhile([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT MoveEndWhile([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT MoveUntil([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT MoveStartUntil([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT MoveEndUntil([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT FindText([in]BSTR bstr, [in]LONG cch, [in]LONG Flags, [retval, out]LONG *pLength);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT FindTextStart([in]BSTR bstr, [in]LONG cch, [in]LONG Flags, [retval, out]LONG *pLength);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT FindTextEnd([in]BSTR bstr, [in]LONG cch, [in]LONG Flags, [retval, out]LONG *pLength);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT Delete([in]LONG Unit, [in]LONG Count, [retval, out]LONG *pDelta);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT CanPaste([in]VARIANT *pVar, [in]LONG Format, [retval, out]LONG *pb);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT GetPoint([in]LONG Type, [out]LONG *cx, [out]LONG *cy);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT SetPoint([in]LONG x, [in]LONG y, [in]LONG Type, [in]LONG Extend);
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT GetEmbeddedObject([retval, out]IUnknown **ppv);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT MoveLeft([in]LONG Unit, [in]LONG Count, [in]LONG Extend, [retval, out]LONG *pDelta);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT MoveRight([in]LONG Unit, [in]LONG Count, [in]LONG Extend, [retval, out]LONG *pDelta);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT MoveUp([in]LONG Unit, [in]LONG Count, [in]LONG Extend, [retval, out]LONG *pDelta);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT MoveDown([in]LONG Unit, [in]LONG Count, [in]LONG Extend, [retval, out]LONG *pDelta);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT HomeKey([in]LONG Unit, [in]LONG Extend, [retval, out]LONG *pDelta);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT EndKey([in]LONG Unit, [in]LONG Extend, [retval, out]LONG *pDelta);
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT GetDuplicate([retval, out]ITextFont **ppFont);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT IsEqual([in]ITextFont *pFont, [retval, out]LONG *pB);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT GetStrikeThrough([retval, out]LONG *pValue);
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT GetDuplicate([retval, out]ITextPara **ppPara);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT IsEqual([in]ITextPara *pPara, [retval, out]LONG *pB);
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT GetFirstLineIndent([retval, out]float *pValue);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT GetKeepTogether([retval, out]LONG *pValue);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT GetKeepWithNext([retval, out]LONG *pValue);
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT GetLineSpacing([retval, out]float *pValue);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT GetLineSpacingRule([retval, out]LONG *pValue);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT GetListAlignment([retval, out]LONG *pValue);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT GetListLevelIndex([retval, out]LONG *pValue);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT GetNoLineNumber([retval, out]LONG *pValue);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT GetPageBreakBefore([retval, out]LONG *pValue);
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT GetRightIndent([retval, out]float *pValue);
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT SetIndents([in]float StartIndent, [in]float LeftIndent, [in]float RightIndent);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT SetLineSpacing([in]LONG LineSpacingRule, [in]float LineSpacing);
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT GetSpaceBefore([retval, out]float *pValue);
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT GetWindowControl([retval, out]float *pValue);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT AddTab([in]float tbPos, [in]LONG tbAlign, [in]LONG tbLeader);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync HRESULT GetTab([in]LONG iTab, [out]float *ptbPos, [out]LONG *ptbAlign, [out]LONG *ptbLeader);
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT _NewEnum([retval, out]IUnknown **ppUnkEnum);