// Token: 0x06002CDA RID: 11482 RVA: 0x000CA1DC File Offset: 0x000C83DC
        internal void ValidateDocStructure()
        {
            Uri baseUri = BaseUriHelper.GetBaseUri(this);

            if (baseUri.Scheme.Equals(PackUriHelper.UriSchemePack, StringComparison.OrdinalIgnoreCase) && !baseUri.Host.Equals(BaseUriHelper.PackAppBaseUri.Host) && !baseUri.Host.Equals(BaseUriHelper.SiteOfOriginBaseUri.Host))
            {
                Uri structureUriFromRelationship = FixedDocument.GetStructureUriFromRelationship(baseUri, "http://schemas.microsoft.com/xps/2005/06/documentstructure");
                if (structureUriFromRelationship != null)
                {
                    ContentType contentType;
                    FixedDocument.ValidateAndLoadPartFromAbsoluteUri(structureUriFromRelationship, true, "DocumentStructure", out contentType);
                    if (!FixedDocument._documentStructureContentType.AreTypeAndSubTypeEqual(contentType))
                    {
                        throw new FileFormatException(SR.Get("InvalidDSContentType"));
                    }
                    this._hasExplicitStructure = true;
                }
            }
        }
        // Token: 0x06002CDB RID: 11483 RVA: 0x000CA27C File Offset: 0x000C847C
        internal static StoryFragments GetStoryFragments(FixedPage fixedPage)
        {
            object obj     = null;
            Uri    baseUri = BaseUriHelper.GetBaseUri(fixedPage);

            if (baseUri.Scheme.Equals(PackUriHelper.UriSchemePack, StringComparison.OrdinalIgnoreCase) && !baseUri.Host.Equals(BaseUriHelper.PackAppBaseUri.Host) && !baseUri.Host.Equals(BaseUriHelper.SiteOfOriginBaseUri.Host))
            {
                Uri structureUriFromRelationship = FixedDocument.GetStructureUriFromRelationship(baseUri, "http://schemas.microsoft.com/xps/2005/06/storyfragments");
                if (structureUriFromRelationship != null)
                {
                    ContentType contentType;
                    obj = FixedDocument.ValidateAndLoadPartFromAbsoluteUri(structureUriFromRelationship, false, null, out contentType);
                    if (!FixedDocument._storyFragmentsContentType.AreTypeAndSubTypeEqual(contentType))
                    {
                        throw new FileFormatException(SR.Get("InvalidSFContentType"));
                    }
                    if (!(obj is StoryFragments))
                    {
                        throw new FileFormatException(SR.Get("InvalidStoryFragmentsMarkup"));
                    }
                }
            }
            return(obj as StoryFragments);
        }