📄 msword.h
字号:
LPDISPATCH GetBookmarks();
LPDISPATCH GetTables();
LPDISPATCH GetFootnotes();
LPDISPATCH GetEndnotes();
LPDISPATCH GetComments();
long GetType();
BOOL GetAutoHyphenation();
void SetAutoHyphenation(BOOL bNewValue);
BOOL GetHyphenateCaps();
void SetHyphenateCaps(BOOL bNewValue);
long GetHyphenationZone();
void SetHyphenationZone(long nNewValue);
long GetConsecutiveHyphensLimit();
void SetConsecutiveHyphensLimit(long nNewValue);
LPDISPATCH GetSections();
LPDISPATCH GetParagraphs();
LPDISPATCH GetWords();
LPDISPATCH GetSentences();
LPDISPATCH GetCharacters();
LPDISPATCH GetFields();
LPDISPATCH GetFormFields();
LPDISPATCH GetStyles();
LPDISPATCH GetFrames();
LPDISPATCH GetTablesOfFigures();
LPDISPATCH GetVariables();
LPDISPATCH GetMailMerge();
LPDISPATCH GetEnvelope();
CString GetFullName();
LPDISPATCH GetRevisions();
LPDISPATCH GetTablesOfContents();
LPDISPATCH GetTablesOfAuthorities();
LPDISPATCH GetPageSetup();
void SetPageSetup(LPDISPATCH newValue);
LPDISPATCH GetWindows();
BOOL GetHasRoutingSlip();
void SetHasRoutingSlip(BOOL bNewValue);
LPDISPATCH GetRoutingSlip();
BOOL GetRouted();
LPDISPATCH GetTablesOfAuthoritiesCategories();
LPDISPATCH GetIndexes();
BOOL GetSaved();
void SetSaved(BOOL bNewValue);
LPDISPATCH GetContent();
LPDISPATCH GetActiveWindow();
long GetKind();
void SetKind(long nNewValue);
BOOL GetReadOnly();
LPDISPATCH GetSubdocuments();
BOOL GetIsMasterDocument();
float GetDefaultTabStop();
void SetDefaultTabStop(float newValue);
BOOL GetEmbedTrueTypeFonts();
void SetEmbedTrueTypeFonts(BOOL bNewValue);
BOOL GetSaveFormsData();
void SetSaveFormsData(BOOL bNewValue);
BOOL GetReadOnlyRecommended();
void SetReadOnlyRecommended(BOOL bNewValue);
BOOL GetSaveSubsetFonts();
void SetSaveSubsetFonts(BOOL bNewValue);
BOOL GetCompatibility(long Type);
void SetCompatibility(long Type, BOOL bNewValue);
LPDISPATCH GetStoryRanges();
LPDISPATCH GetCommandBars();
BOOL GetIsSubdocument();
long GetSaveFormat();
long GetProtectionType();
LPDISPATCH GetHyperlinks();
LPDISPATCH GetShapes();
LPDISPATCH GetListTemplates();
LPDISPATCH GetLists();
BOOL GetUpdateStylesOnOpen();
void SetUpdateStylesOnOpen(BOOL bNewValue);
VARIANT GetAttachedTemplate();
void SetAttachedTemplate(VARIANT* newValue);
LPDISPATCH GetInlineShapes();
LPDISPATCH GetBackground();
void SetBackground(LPDISPATCH newValue);
BOOL GetGrammarChecked();
void SetGrammarChecked(BOOL bNewValue);
BOOL GetSpellingChecked();
void SetSpellingChecked(BOOL bNewValue);
BOOL GetShowGrammaticalErrors();
void SetShowGrammaticalErrors(BOOL bNewValue);
BOOL GetShowSpellingErrors();
void SetShowSpellingErrors(BOOL bNewValue);
LPDISPATCH GetVersions();
BOOL GetShowSummary();
void SetShowSummary(BOOL bNewValue);
long GetSummaryViewMode();
void SetSummaryViewMode(long nNewValue);
long GetSummaryLength();
void SetSummaryLength(long nNewValue);
BOOL GetPrintFractionalWidths();
void SetPrintFractionalWidths(BOOL bNewValue);
BOOL GetPrintPostScriptOverText();
void SetPrintPostScriptOverText(BOOL bNewValue);
LPDISPATCH GetContainer();
BOOL GetPrintFormsData();
void SetPrintFormsData(BOOL bNewValue);
LPDISPATCH GetListParagraphs();
void SetPassword(LPCTSTR lpszNewValue);
void SetWritePassword(LPCTSTR lpszNewValue);
BOOL GetHasPassword();
BOOL GetWriteReserved();
CString GetActiveWritingStyle(VARIANT* LanguageID);
void SetActiveWritingStyle(VARIANT* LanguageID, LPCTSTR lpszNewValue);
BOOL GetUserControl();
void SetUserControl(BOOL bNewValue);
BOOL GetHasMailer();
void SetHasMailer(BOOL bNewValue);
LPDISPATCH GetMailer();
LPDISPATCH GetReadabilityStatistics();
LPDISPATCH GetGrammaticalErrors();
LPDISPATCH GetSpellingErrors();
LPDISPATCH GetVBProject();
BOOL GetFormsDesign();
CString Get_CodeName();
void Set_CodeName(LPCTSTR lpszNewValue);
CString GetCodeName();
BOOL GetSnapToGrid();
void SetSnapToGrid(BOOL bNewValue);
BOOL GetSnapToShapes();
void SetSnapToShapes(BOOL bNewValue);
float GetGridDistanceHorizontal();
void SetGridDistanceHorizontal(float newValue);
float GetGridDistanceVertical();
void SetGridDistanceVertical(float newValue);
float GetGridOriginHorizontal();
void SetGridOriginHorizontal(float newValue);
float GetGridOriginVertical();
void SetGridOriginVertical(float newValue);
long GetGridSpaceBetweenHorizontalLines();
void SetGridSpaceBetweenHorizontalLines(long nNewValue);
long GetGridSpaceBetweenVerticalLines();
void SetGridSpaceBetweenVerticalLines(long nNewValue);
BOOL GetGridOriginFromMargin();
void SetGridOriginFromMargin(BOOL bNewValue);
BOOL GetKerningByAlgorithm();
void SetKerningByAlgorithm(BOOL bNewValue);
long GetJustificationMode();
void SetJustificationMode(long nNewValue);
long GetFarEastLineBreakLevel();
void SetFarEastLineBreakLevel(long nNewValue);
CString GetNoLineBreakBefore();
void SetNoLineBreakBefore(LPCTSTR lpszNewValue);
CString GetNoLineBreakAfter();
void SetNoLineBreakAfter(LPCTSTR lpszNewValue);
BOOL GetTrackRevisions();
void SetTrackRevisions(BOOL bNewValue);
BOOL GetPrintRevisions();
void SetPrintRevisions(BOOL bNewValue);
BOOL GetShowRevisions();
void SetShowRevisions(BOOL bNewValue);
void Close(VARIANT* SaveChanges, VARIANT* OriginalFormat, VARIANT* RouteDocument);
void Repaginate();
void FitToPages();
void ManualHyphenation();
void Select();
void DataForm();
void Route();
void Save();
void SendMail();
LPDISPATCH Range(VARIANT* Start, VARIANT* End);
void RunAutoMacro(long Which);
void Activate();
void PrintPreview();
LPDISPATCH GoTo(VARIANT* What, VARIANT* Which, VARIANT* Count, VARIANT* Name);
BOOL Undo(VARIANT* Times);
BOOL Redo(VARIANT* Times);
long ComputeStatistics(long Statistic, VARIANT* IncludeFootnotesAndEndnotes);
void MakeCompatibilityDefault();
void Unprotect(VARIANT* Password);
void EditionOptions(long Type, long Option, LPCTSTR Name, VARIANT* Format);
void RunLetterWizard(VARIANT* LetterContent, VARIANT* WizardMode);
LPDISPATCH GetLetterContent();
void SetLetterContent(VARIANT* LetterContent);
void CopyStylesFromTemplate(LPCTSTR Template);
void UpdateStyles();
void CheckGrammar();
void CheckSpelling(VARIANT* CustomDictionary, VARIANT* IgnoreUppercase, VARIANT* AlwaysSuggest, VARIANT* CustomDictionary2, VARIANT* CustomDictionary3, VARIANT* CustomDictionary4, VARIANT* CustomDictionary5, VARIANT* CustomDictionary6, VARIANT* CustomDictionary7, VARIANT* CustomDictionary8, VARIANT* CustomDictionary9, VARIANT* CustomDictionary10);
void FollowHyperlink(VARIANT* Address, VARIANT* SubAddress, VARIANT* NewWindow, VARIANT* AddHistory, VARIANT* ExtraInfo, VARIANT* Method, VARIANT* HeaderInfo);
void AddToFavorites();
void Reload();
LPDISPATCH AutoSummarize(VARIANT* Length, VARIANT* Mode, VARIANT* UpdateProperties);
void RemoveNumbers(VARIANT* NumberType);
void ConvertNumbersToText(VARIANT* NumberType);
long CountNumberedItems(VARIANT* NumberType, VARIANT* Level);
void Post();
void ToggleFormsDesign();
void UpdateSummaryProperties();
VARIANT GetCrossReferenceItems(VARIANT* ReferenceType);
void AutoFormat();
void ViewCode();
void ViewPropertyBrowser();
void ForwardMailer();
void Reply();
void ReplyAll();
void SendMailer(VARIANT* FileFormat, VARIANT* Priority);
void UndoClear();
void PresentIt();
void SendFax(LPCTSTR Address, VARIANT* Subject);
void ClosePrintPreview();
void CheckConsistency();
LPDISPATCH CreateLetterContent(LPCTSTR DateFormat, BOOL IncludeHeaderFooter, LPCTSTR PageDesign, long LetterStyle, BOOL Letterhead, long LetterheadLocation, float LetterheadSize, LPCTSTR RecipientName, LPCTSTR RecipientAddress, LPCTSTR Salutation, long SalutationType, LPCTSTR RecipientReference, LPCTSTR MailingInstructions, LPCTSTR AttentionLine, LPCTSTR Subject, LPCTSTR CCList, LPCTSTR ReturnAddress, LPCTSTR SenderName, LPCTSTR Closing, LPCTSTR SenderCompany, LPCTSTR SenderJobTitle, LPCTSTR SenderInitials, long EnclosureNumber, VARIANT* InfoBlock, VARIANT* RecipientCode, VARIANT* RecipientGender, VARIANT* ReturnAddressShortForm, VARIANT* SenderCity, VARIANT* SenderCode, VARIANT* SenderGender, VARIANT* SenderReference);
void AcceptAllRevisions();
void RejectAllRevisions();
void DetectLanguage();
void ApplyTheme(LPCTSTR Name);
void RemoveTheme();
void WebPagePreview();
void ReloadAs(long Encoding);
CString GetActiveTheme();
CString GetActiveThemeDisplayName();
LPDISPATCH GetEmail();
LPDISPATCH GetScripts();
BOOL GetLanguageDetected();
void SetLanguageDetected(BOOL bNewValue);
long GetFarEastLineBreakLanguage();
void SetFarEastLineBreakLanguage(long nNewValue);
LPDISPATCH GetFrameset();
VARIANT GetClickAndTypeParagraphStyle();
void SetClickAndTypeParagraphStyle(VARIANT* newValue);
LPDISPATCH GetHTMLProject();
LPDISPATCH GetWebOptions();
long GetOpenEncoding();
long GetSaveEncoding();
void SetSaveEncoding(long nNewValue);
BOOL GetOptimizeForWord97();
void SetOptimizeForWord97(BOOL bNewValue);
BOOL GetVBASigned();
void ConvertVietDoc(long CodePageOrigin);
void PrintOut(VARIANT* Background, VARIANT* Append, VARIANT* Range, VARIANT* OutputFileName, VARIANT* From, VARIANT* To, VARIANT* Item, VARIANT* Copies, VARIANT* Pages, VARIANT* PageType, VARIANT* PrintToFile, VARIANT* Collate, VARIANT* ActivePrinterMacGX, VARIANT* ManualDuplexPrint, VARIANT* PrintZoomColumn, VARIANT* PrintZoomRow, VARIANT* PrintZoomPaperWidth, VARIANT* PrintZoomPaperHeight);
LPDISPATCH GetMailEnvelope();
BOOL GetDisableFeatures();
void SetDisableFeatures(BOOL bNewValue);
BOOL GetDoNotEmbedSystemFonts();
void SetDoNotEmbedSystemFonts(BOOL bNewValue);
LPDISPATCH GetSignatures();
CString GetDefaultTargetFrame();
void SetDefaultTargetFrame(LPCTSTR lpszNewValue);
LPDISPATCH GetHTMLDivisions();
long GetDisableFeaturesIntroducedAfter();
void SetDisableFeaturesIntroducedAfter(long nNewValue);
BOOL GetRemovePersonalInformation();
void SetRemovePersonalInformation(BOOL bNewValue);
LPDISPATCH GetSmartTags();
void CheckIn(BOOL SaveChanges, VARIANT* Comments, BOOL MakePublic);
BOOL CanCheckin();
void Merge(LPCTSTR FileName, VARIANT* MergeTarget, VARIANT* DetectFormatChanges, VARIANT* UseFormattingFrom, VARIANT* AddToRecentFiles);
BOOL GetEmbedSmartTags();
void SetEmbedSmartTags(BOOL bNewValue);
BOOL GetSmartTagsAsXMLProps();
void SetSmartTagsAsXMLProps(BOOL bNewValue);
long GetTextEncoding();
void SetTextEncoding(long nNewValue);
long GetTextLineEnding();
void SetTextLineEnding(long nNewValue);
void SendForReview(VARIANT* Recipients, VARIANT* Subject, VARIANT* ShowMessage, VARIANT* IncludeAttachment);
void ReplyWithChanges(VARIANT* ShowMessage);
void EndReview();
LPDISPATCH GetStyleSheets();
VARIANT GetDefaultTableStyle();
CString GetPasswordEncryptionProvider();
CString GetPasswordEncryptionAlgorithm();
long GetPasswordEncryptionKeyLength();
BOOL GetPasswordEncryptionFileProperties();
void SetPasswordEncryptionOptions(LPCTSTR PasswordEncryptionProvider, LPCTSTR PasswordEncryptionAlgorithm, long PasswordEncryptionKeyLength, VARIANT* PasswordEncryptionFileProperties);
void RecheckSmartTags();
void RemoveSmartTags();
void SetDefaultTableStyle(VARIANT* Style, BOOL SetInTemplate);
void DeleteAllComments();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -