﻿<?xml version="1.0" encoding="utf-8" ?>
<ComplexPropsInfo>

  <ComplexProperty Type="Accessibility">
    <!--//ToDo MS-12233 Uncomment after solving-->
    <!--<IsSourcePdfAccessiblePropName value="IsSourcePdfAccessible"/>-->
    <CustomAccessiblePdfNamePropName value="CustomAccessiblePdfName"/>
  </ComplexProperty>

  <ComplexProperty Type="CookiePolicy">
    <SelfhostCookieBannerEnabledPropName value="SelfhostCookiePolicyEnabled"/>
    <SelfhostCookiePolicyLinkPropName value="SelfhostCookiePolicyLink"/>
    <CloudCookieBannerEnabledPropName value="CloudCookiePolicyEnabled"/>
  </ComplexProperty>

  <ComplexProperty Type="DownloadAndPrint">
    <UsePdfPropName value="UsePdfAsDownload"/>
    <PdfFileNamePropName value="PdfFileName"/>
    <FilePathsPropName value="DownloadFileUris"/>
    <UsePageFilesPropName value="Properties_hasOnePdfPerPage"/>
    <PrintSettingsEnabledPropName value="Properties_skin_printButtonVisible"/>
    <AllPagesVisiblePropName value="Properties_print_allPagesVisible"/>
    <CurrentPagesVisiblePropName value="Properties_print_currentPagesVisible"/>
    <BookmarkedPagesVisiblePropName value="Properties_print_bookmarkedPagesVisible"/>
    <SelectedPagesVisiblePropName value="Properties_print_selectedPagesVisible"/>
  </ComplexProperty>

  <ComplexProperty Type="Sound">
    <SoundEnabledPropName value="Properties_skin_soundButtonVisible"/>
    <BackgroundSoundVolumePropName value="Properties_sound_background_volume"/>
    <BackgroundSoundLoopPropName value="Properties_sound_background_loop"/>
    <BackgroundSoundUrlPropName value="GlobalBackgroundSound"/>
    <FlipSoundEnabledPropName value="Properties_sound_effects_enabled"/>
    <FlipSoundVolumePropName value="Properties_sound_effects_volume"/>
  </ComplexProperty>

  <ComplexProperty Type="Slideshow">
    <SlideshowEnabledPropName value="BookSkinProperties_navigationPlayVisible"/>
    <SlideshowLoopPropName value="Properties_bookProperties_slideshowCycle"/>
    <SlideshowAutostartProp value="Properties_bookProperties_slideshowAutostart"/>
    <SlideshowPageShowTime value="Properties_bookProperties_slideshowPageShowTime"/>
  </ComplexProperty>

  <ComplexProperty Type="CopyrightGroup" GroupNameAlias="CopyrightGroup">
    <MainPropName value="IsCopyrightEnabled" />
    <TargetPropName value="Properties_skin_link_target" />
    <LabelPropName value="Properties_skin_link_label" />
    <UrlPropName value="Properties_skin_link_url" />
  </ComplexProperty>

  <PropertyGroup Type="Expandable" KeepDisabledChildrenVisible="True">
    <MainPropertyInfo Name="Properties_contentLink_useGlobal" />
    <ChildPropertyInfo Name="Properties_contentLink_isHighlited"  />
    <ChildPropertyInfo Name="Properties_contentLink_color" />
    <ChildPropertyInfo Name="Properties_contentLink_target" />
    <ChildPropertyInfo Name="Properties_contentLink_blendMode"  />
    <VisibilityEvaluator Type="Equals">
      <Conditions>
        <ValueCondition IsReversed="False" VisibleValue="False"/>
      </Conditions>
    </VisibilityEvaluator>
  </PropertyGroup>
  <PropertyGroup Type="Expandable" HideOuterRectangle="False">
    <MainPropertyInfo Name="background-image"/>
    <ChildPropertyInfo Name="background-size" />
    <VisibilityEvaluator Type="Equals" >
      <Conditions>
        <ValueCondition IsReversed="True" VisibleValue=""/>
      </Conditions>
    </VisibilityEvaluator>
  </PropertyGroup>
  <PropertyGroup Type="Dependable" HideOuterRectangle="False">
    <MainPropertyInfo Name="BackgroundLogo" />
    <ChildPropertyInfo Name="Properties_skin_logoPosition" />
    <ChildPropertyInfo Name="Properties_skin_urlLogoProperty_url" />
    <ChildPropertyInfo Name="UseLogoInMobile" />
      <VisibilityEvaluator Type="PropertyBoundEquals">
        <Conditions>
            <ValueCondition VisibleValue="FLIPPINGBOOKLOGO" IsReversed="False"/>
        </Conditions>
        <PropertyName value="Properties_skin_logoPosition"/>
      </VisibilityEvaluator>
      <VisibilityEvaluator Type="PropertyBoundEquals">
        <Conditions>
            <ValueCondition VisibleValue="FLIPPINGBOOKLOGO" IsReversed="True"/>
            <ValueCondition VisibleValue="" IsReversed="True"/>
        </Conditions>
        <PropertyName value="Properties_skin_logoPosition"/>
        <PropertyName value="Properties_skin_urlLogoProperty_url"/>
        <PropertyName value="UseLogoInMobile"/>
      </VisibilityEvaluator>
  </PropertyGroup>
  <PropertyGroup Type="Expandable" HideOuterRectangle="False">
    <MainPropertyInfo Name="FlipMode" Condition="" Advanced="True" />
    <ChildPropertyInfo Name="Properties_bookProperties_cover_flipCorner" Condition="" />
    <ChildPropertyInfo Name="Properties_bookProperties_pageFlippingDuration" Condition="" />
    <ChildPropertyInfo Name="Properties_wrapProperties_bookSize" Condition="" />
    <VisibilityEvaluator Type="Equals">
      <Conditions>
        <ValueCondition VisibleValue="FlipMode_FLIP"/>
      </Conditions>
    </VisibilityEvaluator>
  </PropertyGroup>
  <PropertyGroup Type="Expandable" HideOuterRectangle="False">
    <MainPropertyInfo Name="Properties_bookProperties_cover_hardcoverBook"/>
    <ChildPropertyInfo Name="Properties_bookProperties_cover_coverBorderColor" />
    <VisibilityEvaluator Type="Equals">
      <Conditions>
        <ValueCondition VisibleValue="True"/>
      </Conditions>
    </VisibilityEvaluator>
  </PropertyGroup>
  <PropertyGroup Type="Expandable" HideOuterRectangle="False">
    <MainPropertyInfo Name="top-panel-transparency" />
    <ChildPropertyInfo Name="top-left-menu-text-color" />
    <VisibilityEvaluator Type="Equals">
      <Conditions>
        <ValueCondition IsReversed="False" VisibleValue="top-panel-transparency_transparent"/>
      </Conditions>
    </VisibilityEvaluator>
  </PropertyGroup>
  <PropertyGroup Type="Expandable" HideOuterRectangle="False">
    <MainPropertyInfo Name="bottom-panel-transparency" />
    <ChildPropertyInfo Name="bottom-icon-color" />
    <VisibilityEvaluator Type="Equals">
      <Conditions>
        <ValueCondition IsReversed="False" VisibleValue="bottom-panel-transparency_transparent"/>
      </Conditions>
    </VisibilityEvaluator>
  </PropertyGroup>
  <PropertyGroup Type="Simple" ShowOuterRectangle="True">
    <ChildPropertyInfo Name="Properties_skin_bottomBarVisible"/>
    <ChildPropertyInfo Name="BookSkinProperties_tocButtonVisible" />
    <ChildPropertyInfo Name="Properties_skin_thumbnailsButtonVisible" />
    <ChildPropertyInfo Name="Properties_skin_notesButtonVisible" />
    <ChildPropertyInfo Name="Properties_skin_permanentlinkButtonVisible" />
    <ChildPropertyInfo Name="DownloadAndPrintSettings" />
    <ChildPropertyInfo Name="SoundSettings"/>
    <ChildPropertyInfo Name="Properties_skin_fullscreenButtonVisible" />
    <ChildPropertyInfo Name="Properties_skin_zoomButtonVisible" />
    <ChildPropertyInfo Name="SlideshowSettings"/>
  </PropertyGroup>
  <PropertyGroup Type="Expandable" ShowOuterRectangle="True" CanBeIncluded="True">
    <MainPropertyInfo Name="Properties_skin_paginationVisible"/>
    <ChildPropertyInfo Name="Properties_skin_paginationTotalPagesVisible"/>
    <VisibilityEvaluator Type="Equals">
      <Conditions>
        <ValueCondition IsReversed="False" VisibleValue="True"/>
      </Conditions>
    </VisibilityEvaluator>
  </PropertyGroup>
  <PropertyGroup Type="Simple" ShowOuterRectangle="True">
    <ChildPropertyInfo Name="Properties_skin_topBarVisible"/>
    <ChildPropertyInfo Name="Properties_skin_paginationVisible" />
    <ChildPropertyInfo Name="Properties_skin_searchButtonVisible" />
    <ChildPropertyInfo Name="AccessibilitySettings"/>
  </PropertyGroup>
  <PropertyGroup Type="Simple" ShowOuterRectangle="True">
    <ChildPropertyInfo Name="main-color" />
    <ChildPropertyInfo Name="main-text-color" />
  </PropertyGroup>
  <PropertyGroup Type="Simple" ShowOuterRectangle="True">
    <ChildPropertyInfo Name="second-color" />
    <ChildPropertyInfo Name="second-text-color" />
  </PropertyGroup>
</ComplexPropsInfo>