DocumentClass Class

Definition

Reserved for internal use.

public ref class DocumentClass : Microsoft::Office::Interop::Word::Document, Microsoft::Office::Interop::Word::DocumentEvents_Event
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.Guid("00020906-0000-0000-C000-000000000046")]
public class DocumentClass : Microsoft.Office.Interop.Word.Document, Microsoft.Office.Interop.Word.DocumentEvents_Event
type DocumentClass = class
    interface _Document
    interface Document
    interface DocumentEvents2_Event
    interface DocumentEvents_Event
Public Class DocumentClass
Implements Document, DocumentEvents_Event
Inheritance
DocumentClass
Attributes
Implements

Constructors

DocumentClass()

Properties

_CodeName
ActiveTheme
ActiveThemeDisplayName
ActiveWindow
ActiveWritingStyle[Object]
Application
AttachedTemplate
AutoFormatOverride
AutoHyphenation
Background
Bibliography
Bookmarks
Broadcast
BuiltInDocumentProperties
Characters
ChartDataPointTrack
ChildNodeSuggestions
ClickAndTypeParagraphStyle
CoAuthoring
CodeName
CommandBars
Comments
Compatibility[WdCompatibility]
CompatibilityMode
ConsecutiveHyphensLimit
Container
Content
ContentControls
ContentTypeProperties
Creator
CurrentRsid
CustomDocumentProperties
CustomXMLParts
DefaultTableStyle
DefaultTabStop
DefaultTargetFrame
DisableFeatures
DisableFeaturesIntroducedAfter
DocID
DocumentInspectors
DocumentLibraryVersions
DocumentTheme
DoNotEmbedSystemFonts
Email
EmbedLinguisticData
EmbedSmartTags
EmbedTrueTypeFonts
EncryptionProvider
Endnotes
EnforceStyle
Envelope
FarEastLineBreakLanguage
FarEastLineBreakLevel
Fields
Final
Footnotes
FormattingShowClear
FormattingShowFilter
FormattingShowFont
FormattingShowNextLevel
FormattingShowNumbering
FormattingShowParagraph
FormattingShowUserStyleName
FormFields
FormsDesign
Frames
Frameset
FullName
GrammarChecked
GrammaticalErrors
GridDistanceHorizontal
GridDistanceVertical
GridOriginFromMargin
GridOriginHorizontal
GridOriginVertical
GridSpaceBetweenHorizontalLines
GridSpaceBetweenVerticalLines
HasMailer
HasPassword
HasRoutingSlip
HasVBProject
HTMLDivisions
HTMLProject
Hyperlinks
HyphenateCaps
HyphenationZone
Indexes
InlineShapes
IsInAutosave
IsMasterDocument
IsSubdocument
JustificationMode
KerningByAlgorithm
Kind
LanguageDetected
ListParagraphs
Lists
ListTemplates
LockQuickStyleSet
LockTheme
MailEnvelope
Mailer
MailMerge
Name
NoLineBreakAfter
NoLineBreakBefore
OMathBreakBin
OMathBreakSub
OMathFontName
OMathIntSubSupLim
OMathJc
OMathLeftMargin
OMathNarySupSubLim
OMathRightMargin
OMaths
OMathSmallFrac
OMathWrap
OpenEncoding
OptimizeForWord97
OriginalDocumentTitle
PageSetup
Paragraphs
Parent
Password
PasswordEncryptionAlgorithm
PasswordEncryptionFileProperties
PasswordEncryptionKeyLength
PasswordEncryptionProvider
Path
Permission
PrintFormsData
PrintFractionalWidths
PrintPostScriptOverText
PrintRevisions
ProtectionType
ReadabilityStatistics
ReadingLayoutSizeX
ReadingLayoutSizeY
ReadingModeLayoutFrozen
ReadOnly
ReadOnlyRecommended
RemoveDateAndTime
RemovePersonalInformation
Research
RevisedDocumentTitle
Revisions
Routed
RoutingSlip
Saved
SaveEncoding
SaveFormat
SaveFormsData
SaveSubsetFonts
Scripts
Sections
Sentences
ServerPolicy
Shapes
SharedWorkspace
ShowGrammaticalErrors
ShowRevisions
ShowSpellingErrors
ShowSummary
Signatures
SmartDocument
SmartTags
SmartTagsAsXMLProps
SnapToGrid
SnapToShapes
SpellingChecked
SpellingErrors
StoryRanges
Styles
StyleSheets
StyleSortMethod
Subdocuments
SummaryLength
SummaryViewMode
Sync
Tables
TablesOfAuthorities
TablesOfAuthoritiesCategories
TablesOfContents
TablesOfFigures
TextEncoding
TextLineEnding
TrackFormatting
TrackMoves
TrackRevisions
Type
UpdateStylesOnOpen
UseMathDefaults
UserControl
Variables
VBASigned
VBProject
Versions
WebOptions
Windows
WordOpenXML
Words
WritePassword
WriteReserved
XMLHideNamespaces
XMLNodes
XMLSaveDataOnly
XMLSaveThroughXSLT
XMLSchemaReferences
XMLSchemaViolations
XMLShowAdvancedErrors
XMLUseXSLTWhenSaving

Methods

AcceptAllRevisions()
AcceptAllRevisionsShown()
Activate()
add_BuildingBlockInsert(DocumentEvents2_BuildingBlockInsertEventHandler)
add_Close(DocumentEvents2_CloseEventHandler)
add_ContentControlAfterAdd(DocumentEvents2_ContentControlAfterAddEventHandler)
add_ContentControlBeforeContentUpdate(DocumentEvents2_ContentControlBeforeContentUpdateEventHandler)
add_ContentControlBeforeDelete(DocumentEvents2_ContentControlBeforeDeleteEventHandler)
add_ContentControlBeforeStoreUpdate(DocumentEvents2_ContentControlBeforeStoreUpdateEventHandler)
add_ContentControlOnEnter(DocumentEvents2_ContentControlOnEnterEventHandler)
add_ContentControlOnExit(DocumentEvents2_ContentControlOnExitEventHandler)
add_New(DocumentEvents2_NewEventHandler)
add_Open(DocumentEvents2_OpenEventHandler)
add_Sync(DocumentEvents2_SyncEventHandler)
add_XMLAfterInsert(DocumentEvents2_XMLAfterInsertEventHandler)
add_XMLBeforeDelete(DocumentEvents2_XMLBeforeDeleteEventHandler)
AddDocumentWorkspaceHeader(Boolean, String, String, String, String)
AddMeetingWorkspaceHeader(Boolean, String, String, String, String)
AddToFavorites()
ApplyDocumentTheme(String)
ApplyQuickStyleSet(String)
ApplyQuickStyleSet2(Object)
ApplyTheme(String)
AutoFormat()
AutoSummarize(Object, Object, Object)
CanCheckin()
CheckConsistency()
CheckGrammar()
CheckIn(Boolean, Object, Boolean)
CheckInWithVersion(Boolean, Object, Boolean, Object)
CheckNewSmartTags()
CheckSpelling(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)
Close(Object, Object, Object)
ClosePrintPreview()
Compare(String, Object, Object, Object, Object, Object, Object, Object)
Compare2000(String)
Compare2002(String, Object, Object, Object, Object, Object)
ComputeStatistics(WdStatistic, Object)
Convert()
ConvertAutoHyphens()
ConvertNumbersToText(Object)
ConvertVietDoc(Int32)
CopyStylesFromTemplate(String)
CountNumberedItems(Object, Object)
CreateLetterContent(String, Boolean, String, WdLetterStyle, Boolean, WdLetterheadLocation, Single, String, String, String, WdSalutationType, String, String, String, String, String, String, String, String, String, String, String, Int32, Object, Object, Object, Object, Object, Object, Object, Object)
DataForm()
DeleteAllComments()
DeleteAllCommentsShown()
DeleteAllEditableRanges(Object)
DeleteAllInkAnnotations()
DetectLanguage()
DocumentEvents_Event_add_Close(DocumentEvents_CloseEventHandler)
DocumentEvents_Event_add_New(DocumentEvents_NewEventHandler)
DocumentEvents_Event_add_Open(DocumentEvents_OpenEventHandler)
DocumentEvents_Event_remove_Close(DocumentEvents_CloseEventHandler)
DocumentEvents_Event_remove_New(DocumentEvents_NewEventHandler)
DocumentEvents_Event_remove_Open(DocumentEvents_OpenEventHandler)
DowngradeDocument()
Dummy1()
Dummy2()
Dummy3()
Dummy4()
EditionOptions(WdEditionType, WdEditionOption, String, Object)
EndReview()
ExportAsFixedFormat(String, WdExportFormat, Boolean, WdExportOptimizeFor, WdExportRange, Int32, Int32, WdExportItem, Boolean, Boolean, WdExportCreateBookmarks, Boolean, Boolean, Boolean, Object)
FitToPages()
FollowHyperlink(Object, Object, Object, Object, Object, Object, Object)
ForwardMailer()
FreezeLayout()
GetCrossReferenceItems(Object)
GetLetterContent()
GetWorkflowTasks()
GetWorkflowTemplates()
GoTo(Object, Object, Object, Object)
LockServerFile()
MakeCompatibilityDefault()
ManualHyphenation()
Merge(String, Object, Object, Object, Object)
Merge2000(String)
Post()
PresentIt()
PrintOut(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)
PrintOut2000(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)
PrintOutOld(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)
PrintPreview()
Protect(WdProtectionType, Object, Object, Object, Object)
Protect2002(WdProtectionType, Object, Object)
Range(Object, Object)
RecheckSmartTags()
Redo(Object)
RejectAllRevisions()
RejectAllRevisionsShown()
Reload()
ReloadAs(MsoEncoding)
remove_BuildingBlockInsert(DocumentEvents2_BuildingBlockInsertEventHandler)
remove_Close(DocumentEvents2_CloseEventHandler)
remove_ContentControlAfterAdd(DocumentEvents2_ContentControlAfterAddEventHandler)
remove_ContentControlBeforeContentUpdate(DocumentEvents2_ContentControlBeforeContentUpdateEventHandler)
remove_ContentControlBeforeDelete(DocumentEvents2_ContentControlBeforeDeleteEventHandler)
remove_ContentControlBeforeStoreUpdate(DocumentEvents2_ContentControlBeforeStoreUpdateEventHandler)
remove_ContentControlOnEnter(DocumentEvents2_ContentControlOnEnterEventHandler)
remove_ContentControlOnExit(DocumentEvents2_ContentControlOnExitEventHandler)
remove_New(DocumentEvents2_NewEventHandler)
remove_Open(DocumentEvents2_OpenEventHandler)
remove_Sync(DocumentEvents2_SyncEventHandler)
remove_XMLAfterInsert(DocumentEvents2_XMLAfterInsertEventHandler)
remove_XMLBeforeDelete(DocumentEvents2_XMLBeforeDeleteEventHandler)
RemoveDocumentInformation(WdRemoveDocInfoType)
RemoveDocumentWorkspaceHeader(String)
RemoveLockedStyles()
RemoveNumbers(Object)
RemoveSmartTags()
RemoveTheme()
Repaginate()
Reply()
ReplyAll()
ReplyWithChanges(Object)
ResetFormFields()
ReturnToLastReadPosition()
Route()
RunAutoMacro(WdAutoMacros)
RunLetterWizard(Object, Object)
Save()
SaveAs(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)
SaveAs2(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)
SaveAs2000(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)
SaveAsQuickStyleSet(String)
SaveCopyAs(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)
sblt(String)
Select()
SelectAllEditableRanges(Object)
SelectContentControlsByTag(String)
SelectContentControlsByTitle(String)
SelectLinkedControls(CustomXMLNode)
SelectNodes(String, String, Boolean)
SelectSingleNode(String, String, Boolean)
SelectUnlinkedControls(CustomXMLPart)
SendFax(String, Object)
SendFaxOverInternet(Object, Object, Object)
SendForReview(Object, Object, Object, Object)
SendMail()
SendMailer(Object, Object)
SetCompatibilityMode(Int32)
SetDefaultTableStyle(Object, Boolean)
SetLetterContent(Object)
SetPasswordEncryptionOptions(String, String, Int32, Object)
ToggleFormsDesign()
TransformDocument(String, Boolean)
Undo(Object)
UndoClear()
UnfreezeLayout()
Unprotect(Object)
UpdateStyles()
UpdateSummaryProperties()
ViewCode()
ViewPropertyBrowser()
WebPagePreview()

Events

BuildingBlockInsert
ContentControlAfterAdd
ContentControlBeforeContentUpdate
ContentControlBeforeDelete
ContentControlBeforeStoreUpdate
ContentControlOnEnter
ContentControlOnExit
DocumentEvents_Event_Close
DocumentEvents_Event_New
DocumentEvents_Event_Open
DocumentEvents2_Event_Close
DocumentEvents2_Event_Sync
New
Open
XMLAfterInsert
XMLBeforeDelete

Applies to