Reference

The COM object is a QAxObject with the CLSID .

Interfaces

Event Interfaces

Public Slots:

Signals:

Properties:


Member Type Documentation

WdAlertLevel

WdAlignmentTabAlignment

WdAlignmentTabRelative

WdAnimation

WdApplyQuickStyleSets

WdAraSpeller

WdArabicNumeral

WdArrangeStyle

WdAutoFitBehavior

WdAutoMacros

WdAutoVersions

WdBaselineAlignment

WdBookmarkSortBy

WdBorderDistanceFrom

WdBorderType

WdBorderTypeHID

WdBreakType

WdBrowseTarget

WdBrowserLevel

WdBuildingBlockTypes

WdBuiltInProperty

WdBuiltinStyle

WdCalendarType

WdCalendarTypeBi

WdCaptionLabelID

WdCaptionNumberStyle

WdCaptionNumberStyleHID

WdCaptionPosition

WdCellColor

WdCellVerticalAlignment

WdCharacterCase

WdCharacterCaseHID

WdCharacterWidth

WdCheckInVersionType

WdChevronConvertRule

WdCollapseDirection

WdColor

WdColorIndex

WdColumnWidth

WdCompareDestination

WdCompareTarget

WdCompatibility

WdCompatibilityMode

WdConditionCode

WdConstants

WdContentControlAppearance

WdContentControlDateStorageFormat

WdContentControlLevel

WdContentControlType

WdContinue

WdCountry

WdCursorMovement

WdCursorType

WdCustomLabelPageSize

WdDateLanguage

WdDefaultFilePath

WdDefaultListBehavior

WdDefaultTableBehavior

WdDeleteCells

WdDeletedTextMark

WdDiacriticColor

WdDictionaryType

WdDictionaryTypeHID

WdDisableFeaturesIntroducedAfter

WdDocPartInsertOptions

WdDocumentDirection

WdDocumentKind

WdDocumentMedium

WdDocumentType

WdDocumentViewDirection

WdDropPosition

WdEditionOption

WdEditionType

WdEditorType

WdEmailHTMLFidelity

WdEmphasisMark

WdEnableCancelKey

WdEncloseStyle

WdEnclosureType

WdEndnoteLocation

WdEnvelopeOrientation

WdExportCreateBookmarks

WdExportFormat

WdExportItem

WdExportOptimizeFor

WdExportRange

WdFarEastLineBreakLanguageID

WdFarEastLineBreakLevel

WdFieldKind

WdFieldShading

WdFieldType

WdFindMatch

WdFindWrap

WdFlowDirection

WdFontBias

WdFootnoteLocation

WdFramePosition

WdFrameSizeRule

WdFramesetNewFrameLocation

WdFramesetSizeType

WdFramesetType

WdFrenchSpeller

WdGoToDirection

WdGoToItem

WdGranularity

WdGutterStyle

WdGutterStyleOld

WdHeaderFooterIndex

WdHeadingSeparator

WdHebSpellStart

WdHelpType

WdHelpTypeHID

WdHighAnsiText

WdHorizontalInVerticalType

WdHorizontalLineAlignment

WdHorizontalLineWidthType

WdIMEMode

WdIndexFilter

WdIndexFormat

WdIndexSortBy

WdIndexType

WdInformation

WdInlineShapeType

WdInsertCells

WdInsertedTextMark

WdInternationalIndex

WdJustificationMode

WdKana

WdKey

WdKeyCategory

WdLanguageID

WdLanguageID2000

WdLayoutMode

WdLetterStyle

WdLetterheadLocation

WdLigatures

WdLineEndingType

WdLineSpacing

WdLineStyle

WdLineType

WdLineWidth

WdLinkType

WdListApplyTo

WdListGalleryType

WdListLevelAlignment

WdListNumberStyle

WdListNumberStyleHID

WdListType

WdLockType

WdMailMergeActiveRecord

WdMailMergeComparison

WdMailMergeDataSource

WdMailMergeDefaultRecord

WdMailMergeDestination

WdMailMergeMailFormat

WdMailMergeMainDocType

WdMailMergeState

WdMailSystem

WdMailerPriority

WdMappedDataFields

WdMeasurementUnits

WdMeasurementUnitsHID

WdMergeFormatFrom

WdMergeSubType

WdMergeTarget

WdMonthNames

WdMoveFromTextMark

WdMoveToTextMark

WdMovementType

WdMultipleWordConversionsMode

WdNewDocumentType

WdNoteNumberStyle

WdNoteNumberStyleHID

WdNumberForm

WdNumberSpacing

WdNumberStyleWordBasicBiDi

WdNumberType

WdNumberingRule

WdOLEPlacement

WdOLEType

WdOLEVerb

WdOMathBreakBin

WdOMathBreakSub

WdOMathFracType

WdOMathFunctionType

WdOMathHorizAlignType

WdOMathJc

WdOMathShapeType

WdOMathSpacingRule

WdOMathType

WdOMathVertAlignType

WdOpenFormat

WdOrganizerObject

WdOrientation

WdOriginalFormat

WdOutlineLevel

WdPageBorderArt

WdPageColor

WdPageFit

WdPageNumberAlignment

WdPageNumberStyle

WdPageNumberStyleHID

WdPaperSize

WdPaperTray

WdParagraphAlignment

WdParagraphAlignmentHID

WdPartOfSpeech

WdPasteDataType

WdPasteOptions

WdPhoneticGuideAlignmentType

WdPictureLinkType

WdPortugueseReform

WdPreferredWidthType

WdPrintOutItem

WdPrintOutPages

WdPrintOutRange

WdProofreadingErrorType

WdProtectedViewCloseReason

WdProtectionType

WdReadingLayoutMargin

WdReadingOrder

WdRecoveryType

WdRectangleType

WdReferenceKind

WdReferenceType

WdRelativeHorizontalPosition

WdRelativeHorizontalSize

WdRelativeVerticalPosition

WdRelativeVerticalSize

WdRelocate

WdRemoveDocInfoType

WdReplace

WdRevisedLinesMark

WdRevisedPropertiesMark

WdRevisionType

WdRevisionsBalloonMargin

WdRevisionsBalloonPrintOrientation

WdRevisionsBalloonWidthType

WdRevisionsMarkup

WdRevisionsMode

WdRevisionsView

WdRevisionsWrap

WdRoutingSlipDelivery

WdRoutingSlipStatus

WdRowAlignment

WdRowHeightRule

WdRulerStyle

WdSalutationGender

WdSalutationType

WdSaveFormat

WdSaveOptions

WdScrollbarType

WdSectionDirection

WdSectionStart

WdSeekView

WdSelectionFlags

WdSelectionType

WdSeparatorType

WdShapePosition

WdShapePositionRelative

WdShapeSizeRelative

WdShowFilter

WdShowSourceDocuments

WdSmartTagControlType

WdSortFieldType

WdSortFieldTypeHID

WdSortOrder

WdSortSeparator

WdSpanishSpeller

WdSpecialPane

WdSpellingErrorType

WdSpellingWordType

WdStatistic

WdStatisticHID

WdStoryType

WdStyleSheetLinkType

WdStyleSheetPrecedence

WdStyleSort

WdStyleType

WdStylisticSet

WdSubscriberFormats

WdSummaryLength

WdSummaryMode

WdTCSCConverterDirection

WdTabAlignment

WdTabLeader

WdTabLeaderHID

WdTableDirection

WdTableFieldSeparator

WdTableFormat

WdTableFormatApply

WdTablePosition

WdTaskPanes

WdTemplateType

WdTextFormFieldType

WdTextOrientation

WdTextOrientationHID

WdTextboxTightWrap

WdTextureIndex

WdThemeColorIndex

WdToaFormat

WdTocFormat

WdTofFormat

WdTrailingCharacter

WdTwoLinesInOneType

WdUnderline

WdUnits

WdUpdateStyleListBehavior

WdUseFormattingFrom

WdVerticalAlignment

WdViewType

WdViewTypeOld

WdVisualSelection

WdWindowState

WdWindowType

WdWordDialog

WdWordDialogHID

WdWordDialogTab

WdWordDialogTabHID

WdWrapSideType

WdWrapType

WdWrapTypeMerged

WdXMLNodeLevel

WdXMLNodeType

WdXMLSelectionChangeReason

WdXMLValidationStatus

XlAxisCrosses

XlAxisGroup

XlAxisType

XlBackground

XlBarShape

XlBorderWeight

XlCategoryLabelLevel

XlCategoryType

XlChartElementPosition

XlChartGallery

XlChartItem

XlChartPicturePlacement

XlChartPictureType

XlChartSplitType

XlColorIndex

XlConstants

XlCopyPictureFormat

XlDataLabelPosition

XlDataLabelSeparator

XlDataLabelsType

XlDisplayBlanksAs

XlDisplayUnit

XlEndStyleCap

XlErrorBarDirection

XlErrorBarInclude

XlErrorBarType

XlHAlign

XlLegendPosition

XlLineStyle

XlMarkerStyle

XlOrientation

XlPattern

XlPictureAppearance

XlPieSliceIndex

XlPieSliceLocation

XlPivotFieldOrientation

XlReadingOrder

XlRgbColor

XlRowCol

XlScaleType

XlSeriesNameLevel

XlSizeRepresents

XlTickLabelOrientation

XlTickLabelPosition

XlTickMark

XlTimeUnit

XlTrendlineType

XlUnderlineStyle

XlVAlign


Member Function Documentation

void AutoFit () [slot]

Connect a signal to this slot:

	QObject::connect(sender, SIGNAL(someSignal()), object, SLOT(AutoFit()));

Or call the function directly:

	object->dynamicCall("AutoFit()");

void Delete () [slot]

Connect a signal to this slot:

	QObject::connect(sender, SIGNAL(someSignal()), object, SLOT(Delete()));

Or call the function directly:

	object->dynamicCall("Delete()");

void Select () [slot]

Connect a signal to this slot:

	QObject::connect(sender, SIGNAL(someSignal()), object, SLOT(Select()));

Or call the function directly:

	object->dynamicCall("Select()");

void SetBorders (IDispatch* Borders) [slot]

Connect a signal to this slot:

	QObject::connect(sender, SIGNAL(someSignal(IDispatch*)), object, SLOT(SetBorders(IDispatch*)));

Or call the function directly:

	QVariantList params = ...
	object->dynamicCall("SetBorders(IDispatch*)", params);

void SetPreferredWidth (double PreferredWidth) [slot]

Connect a signal to this slot:

	QObject::connect(sender, SIGNAL(someSignal(double)), object, SLOT(SetPreferredWidth(double)));

Or call the function directly:

	QVariantList params = ...
	object->dynamicCall("SetPreferredWidth(double)", params);

void SetPreferredWidthType (WdPreferredWidthType PreferredWidthType) [slot]

Connect a signal to this slot:

	QObject::connect(sender, SIGNAL(someSignal(WdPreferredWidthType)), object, SLOT(SetPreferredWidthType(WdPreferredWidthType)));

Or call the function directly:

	QVariantList params = ...
	object->dynamicCall("SetPreferredWidthType(WdPreferredWidthType)", params);

void SetWidth (double Width) [slot]

Connect a signal to this slot:

	QObject::connect(sender, SIGNAL(someSignal(double)), object, SLOT(SetWidth(double)));

Or call the function directly:

	QVariantList params = ...
	object->dynamicCall("SetWidth(double)", params);

void SetWidth (double ColumnWidth, WdRulerStyle RulerStyle) [slot]

Connect a signal to this slot:

	QObject::connect(sender, SIGNAL(someSignal(double, WdRulerStyle)), object, SLOT(SetWidth(double, WdRulerStyle)));

Or call the function directly:

	QVariantList params = ...
	object->dynamicCall("SetWidth(double, WdRulerStyle)", params);

void Sort (QVariant& ExcludeHeader, QVariant& SortFieldType, QVariant& SortOrder, QVariant& CaseSensitive, QVariant& BidiSort, QVariant& IgnoreThe, QVariant& IgnoreKashida, QVariant& IgnoreDiacritics, QVariant& IgnoreHe, QVariant& LanguageID) [slot]

Connect a signal to this slot:

	QObject::connect(sender, SIGNAL(someSignal(QVariant&, QVariant&, QVariant&, QVariant&, QVariant&, QVariant&, QVariant&, QVariant&, QVariant&, QVariant&)), object, SLOT(Sort(QVariant&, QVariant&, QVariant&, QVariant&, QVariant&, QVariant&, QVariant&, QVariant&, QVariant&, QVariant&)));

Or call the function directly:

	QVariantList params = ...
	object->dynamicCall("Sort(QVariant&, QVariant&, QVariant&, QVariant&, QVariant&, QVariant&, QVariant&, QVariant&, QVariant&, QVariant&)", params);

void SortOld (QVariant& ExcludeHeader, QVariant& SortFieldType, QVariant& SortOrder, QVariant& CaseSensitive, QVariant& LanguageID) [slot]

Connect a signal to this slot:

	QObject::connect(sender, SIGNAL(someSignal(QVariant&, QVariant&, QVariant&, QVariant&, QVariant&)), object, SLOT(SortOld(QVariant&, QVariant&, QVariant&, QVariant&, QVariant&)));

Or call the function directly:

	QVariantList params = ...
	object->dynamicCall("SortOld(QVariant&, QVariant&, QVariant&, QVariant&, QVariant&)", params);

void exception (int code, QString source, QString disc, QString help) [signal]

Connect a slot to this signal:

	QObject::connect(object, SIGNAL(exception(int, QString, QString, QString)), receiver, SLOT(someSlot(int, QString, QString, QString)));

void propertyChanged (QString name) [signal]

Connect a slot to this signal:

	QObject::connect(object, SIGNAL(propertyChanged(QString)), receiver, SLOT(someSlot(QString)));

void signal (QString name, int argc, void* argv) [signal]

Connect a slot to this signal:

	QObject::connect(object, SIGNAL(signal(QString, int, void*)), receiver, SLOT(someSlot(QString, int, void*)));

Property Documentation

QString objectName

Read this property's value using QObject::property:

	QString val = object->property("objectName").toString();
Set this property' value using QObject::setProperty:
	QString newValue = ...
	object->setProperty("objectName", newValue);
Or using the setObjectName slot.

IDispatch* Application

Read this property's value using QObject::property:

	IDispatch* val = object->property("Application").toIDispatch*();

IDispatch* Borders

Read this property's value using QObject::property:

	IDispatch* val = object->property("Borders").toIDispatch*();
Set this property' value using QObject::setProperty:
	IDispatch* newValue = ...
	object->setProperty("Borders", newValue);
Or using the SetBorders slot.

IDispatch* Cells

Read this property's value using QObject::property:

	IDispatch* val = object->property("Cells").toIDispatch*();

int Creator

Read this property's value using QObject::property:

	int val = object->property("Creator").toInt();

int Index

Read this property's value using QObject::property:

	int val = object->property("Index").toInt();

bool IsFirst

Read this property's value using QObject::property:

	bool val = object->property("IsFirst").toBool();

bool IsLast

Read this property's value using QObject::property:

	bool val = object->property("IsLast").toBool();

int NestingLevel

Read this property's value using QObject::property:

	int val = object->property("NestingLevel").toInt();

IDispatch* Next

Read this property's value using QObject::property:

	IDispatch* val = object->property("Next").toIDispatch*();

IDispatch* Parent

Read this property's value using QObject::property:

	IDispatch* val = object->property("Parent").toIDispatch*();

double PreferredWidth

Read this property's value using QObject::property:

	double val = object->property("PreferredWidth").toDouble();
Set this property' value using QObject::setProperty:
	double newValue = ...
	object->setProperty("PreferredWidth", newValue);
Or using the SetPreferredWidth slot.

WdPreferredWidthType PreferredWidthType

Read this property's value using QObject::property:

	int val = object->property("PreferredWidthType").toInt();
Set this property' value using QObject::setProperty:
	int newValue = ... // string representation of values also supported
	object->setProperty("PreferredWidthType", newValue);
Or using the SetPreferredWidthType slot.

See also WdPreferredWidthType.

IDispatch* Previous

Read this property's value using QObject::property:

	IDispatch* val = object->property("Previous").toIDispatch*();

IDispatch* Shading

Read this property's value using QObject::property:

	IDispatch* val = object->property("Shading").toIDispatch*();

double Width

Read this property's value using QObject::property:

	double val = object->property("Width").toDouble();
Set this property' value using QObject::setProperty:
	double newValue = ...
	object->setProperty("Width", newValue);
Or using the SetWidth slot.

QString control

Read this property's value using QObject::property:

	QString val = object->property("control").toString();
Set this property' value using QObject::setProperty:
	QString newValue = ...
	object->setProperty("control", newValue);
Or using the setControl slot.