include: Add some more TOM interfaces.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9ea8b184ae
commit
5a8dcb0627
123
include/tom.idl
123
include/tom.idl
|
@ -269,12 +269,131 @@ interface ITextDocument2Old : ITextDocument
|
|||
interface ITextDisplays;
|
||||
interface ITextFont2;
|
||||
interface ITextPara2;
|
||||
interface ITextRange2;
|
||||
interface ITextSelection2;
|
||||
interface ITextStory;
|
||||
interface ITextStoryRanges2;
|
||||
interface ITextStrings;
|
||||
|
||||
[
|
||||
object,
|
||||
uuid(c241f5ef-7206-11d8-a2c7-00a0d1d6c6b3)
|
||||
]
|
||||
interface ITextRow : IDispatch
|
||||
{
|
||||
HRESULT GetAlignment([retval, out] LONG *value);
|
||||
HRESULT SetAlignment([in] LONG value);
|
||||
HRESULT GetCellCount([retval, out] LONG *value);
|
||||
HRESULT SetCellCount([in] LONG value);
|
||||
HRESULT GetCellCountCache([retval, out] LONG *value);
|
||||
HRESULT SetCellCountCache([in] LONG value);
|
||||
HRESULT GetCellIndex([retval, out] LONG *value);
|
||||
HRESULT SetCellIndex([in] LONG value);
|
||||
HRESULT GetCellMargin([retval, out] LONG *value);
|
||||
HRESULT SetCellMargin([in] LONG value);
|
||||
HRESULT GetHeight([retval, out] LONG *value);
|
||||
HRESULT SetHeight([in] LONG value);
|
||||
HRESULT GetIndent([retval, out] LONG *value);
|
||||
HRESULT SetIndent([in] LONG value);
|
||||
HRESULT GetKeepTogether([retval, out] LONG *value);
|
||||
HRESULT SetKeepTogether([in] LONG value);
|
||||
HRESULT GetKeepWithNext([retval, out] LONG *value);
|
||||
HRESULT SetKeepWithNext([in] LONG value);
|
||||
HRESULT GetNestLevel([retval, out] LONG *value);
|
||||
HRESULT GetRTL([retval, out] LONG *value);
|
||||
HRESULT SetRTL([in] LONG value);
|
||||
HRESULT GetCellAlignment([retval, out] LONG *value);
|
||||
HRESULT SetCellAlignment([in] LONG value);
|
||||
HRESULT GetCellColorBack([retval, out] LONG *value);
|
||||
HRESULT SetCellColorBack([in] LONG value);
|
||||
HRESULT GetCellColorFore([retval, out] LONG *value);
|
||||
HRESULT SetCellColorFore([in] LONG value);
|
||||
HRESULT GetCellMergeFlags([retval, out] LONG *value);
|
||||
HRESULT SetCellMergeFlags([in] LONG value);
|
||||
HRESULT GetCellShading([retval, out] LONG *value);
|
||||
HRESULT SetCellShading([in] LONG value);
|
||||
HRESULT GetCellVerticalText([retval, out] LONG *value);
|
||||
HRESULT SetCellVerticalText([in] LONG value);
|
||||
HRESULT GetCellWidth([retval, out] LONG *value);
|
||||
HRESULT SetCellWidth([in] LONG value);
|
||||
HRESULT GetCellBorderColors([out] LONG *left, [out] LONG *top,
|
||||
[out] LONG *right, [out] LONG *bottom);
|
||||
HRESULT GetCellBorderWidths([out] LONG *left, [out] LONG *top,
|
||||
[out] LONG *right, [out] LONG *bottom);
|
||||
HRESULT SetCellBorderColors([in] LONG left, [in] LONG top,
|
||||
[in] LONG right, [in] LONG bottom);
|
||||
HRESULT SetCellBorderWidths([in] LONG left, [in] LONG top,
|
||||
[in] LONG right, [in] LONG bottom);
|
||||
HRESULT Apply([in] LONG row, [in] LONG flags);
|
||||
HRESULT CanChange([retval, out] LONG *value);
|
||||
HRESULT GetProperty([in] LONG type, [out] LONG *value);
|
||||
HRESULT Insert([in] LONG row);
|
||||
HRESULT IsEqual([in] ITextRow *row, [retval, out] LONG *r);
|
||||
HRESULT Reset([in] LONG value);
|
||||
HRESULT SetProperty([in] LONG type, [in] LONG value);
|
||||
}
|
||||
|
||||
[
|
||||
object,
|
||||
uuid(c241f5e2-7206-11d8-a2c7-00a0d1d6c6b3)
|
||||
]
|
||||
interface ITextRange2 : ITextSelection
|
||||
{
|
||||
HRESULT GetCch([retval, out] LONG *count);
|
||||
HRESULT GetCells([retval, out] IUnknown **cells);
|
||||
HRESULT GetColumn([retval, out] IUnknown **column);
|
||||
HRESULT GetCount([retval, out] LONG *count);
|
||||
HRESULT GetDuplicate2([retval, out] ITextRange2 **range);
|
||||
HRESULT GetFont2([retval, out] ITextFont2 **font);
|
||||
HRESULT SetFont2([in] ITextFont2 *font);
|
||||
HRESULT GetFormattedText2([retval, out] ITextRange2 **range);
|
||||
HRESULT SetFormattedText2([in] ITextRange2 *range);
|
||||
HRESULT GetGravity([retval, out] LONG *value);
|
||||
HRESULT SetGravity([in] LONG value);
|
||||
HRESULT GetPara2([retval, out] ITextPara2 **para);
|
||||
HRESULT SetPara2([in] ITextPara2 *para);
|
||||
HRESULT GetRow([retval, out] ITextRow **row);
|
||||
HRESULT GetStartPara([retval, out] LONG *value);
|
||||
HRESULT GetTable([retval, out] IUnknown **table);
|
||||
HRESULT GetURL([retval, out] BSTR *url);
|
||||
HRESULT SetURL([in] BSTR url);
|
||||
HRESULT AddSubrange([in] LONG cp1, [in] LONG cp2, [in] LONG activate);
|
||||
HRESULT BuildUpMath([in] LONG flags);
|
||||
HRESULT DeleteSubrange([in] LONG first, [in] LONG lim);
|
||||
HRESULT Find([in] ITextRange2 *range, [in] LONG count, [in] LONG flags, [out] LONG *delta);
|
||||
HRESULT GetChar2([out] LONG *ch, [in] LONG offset);
|
||||
HRESULT GetDropCap([out] LONG *line, [out] LONG *pos);
|
||||
HRESULT GetInlineObject([out] LONG *type, [out] LONG *align, [out] LONG *ch,
|
||||
[out] LONG *ch1, [out] LONG *ch2, [out] LONG *count, [out] LONG *texstyle,
|
||||
[out] LONG *ccol, [out] LONG *level);
|
||||
HRESULT GetProperty([in] LONG type, [out] LONG *value);
|
||||
HRESULT GetRect([in] LONG type, [out] LONG *left, [out] LONG *top,
|
||||
[out] LONG *right, [out] LONG *bottom, [out] LONG *hit);
|
||||
HRESULT GetSubrange([in] LONG subrange, [out] LONG *first, [out] LONG *limit);
|
||||
HRESULT GetText2([in] LONG flags, [out] BSTR *str);
|
||||
HRESULT HexToUnicode();
|
||||
HRESULT InsertTable([in] LONG col, [in] LONG row, [in] LONG autofit);
|
||||
HRESULT Linearize([in] LONG flags);
|
||||
HRESULT SetActiveSubrange([in] LONG anchor, [in] LONG active);
|
||||
HRESULT SetDropCap([in] LONG line, [in] LONG pos);
|
||||
HRESULT SetProperty([in] LONG type, [in] LONG value);
|
||||
HRESULT SetText2([in] LONG flags, [in] BSTR str);
|
||||
HRESULT UnicodeToHex();
|
||||
HRESULT SetInlineObject([in] LONG type, [in] LONG align, [in] LONG ch,
|
||||
[in] LONG ch1, [in] LONG ch2, [in] LONG count, [in] LONG texstyle,
|
||||
[in] LONG ccol);
|
||||
HRESULT GetMathFunctionType([in] BSTR str, [out] LONG *value);
|
||||
HRESULT InsertImage([in] LONG width, [in] LONG height, [in] LONG ascent,
|
||||
[in] LONG type, [in] BSTR alttext, [in] IStream *stream);
|
||||
}
|
||||
|
||||
[
|
||||
object,
|
||||
uuid(c241f5e1-7206-11d8-a2c7-00a0d1d6c6b3)
|
||||
]
|
||||
interface ITextSelection2 : ITextRange2
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
[
|
||||
object,
|
||||
uuid(c241f5e0-7206-11d8-a2c7-00a0d1d6c6b3)
|
||||
|
|
Loading…
Reference in New Issue