public int GetProvisionalViewingStatus(Document document)
        {
            if (document.FilePath == null)
            {
                return((int)__VSPROVISIONALVIEWINGSTATUS.PVS_Disabled);
            }

            return((int)VsShellUtilities.GetProvisionalViewingStatus(document.FilePath));
        }