<mvc:View
	controllerName="sap.m.sample.PDFViewerMultiple.Page"
	xmlns:mvc="sap.ui.core.mvc"
	xmlns="sap.m"
	height="100%">
	<ScrollContainer
		height="100%"
		width="100%"
		horizontal="true"
		vertical="true">
		<FlexBox class="sapUiSmallMargin" direction="Column" renderType="Div">
			<FlexBox>
				<Button text="Correctly Displayed" press="onCorrectPathClick"/>
				<Button text="Loading Error" press="onIncorrectPathClick"/>
			</FlexBox>
			<FlexBox direction="Row" fitContainer="true" renderType="Div">
				<PDFViewer class="sapUiSmallMarginEnd" source="{/Source}" title="{/Title1}" height="{/Height}" width="auto">
					<layoutData>
						<FlexItemData growFactor="1"/>
					</layoutData>
				</PDFViewer>
				<PDFViewer class="sapUiSmallMarginBegin" source="{/Source}" title="{/Title2}" height="{/Height}" width="auto">
					<layoutData>
						<FlexItemData growFactor="1"/>
					</layoutData>
				</PDFViewer>
			</FlexBox>
		</FlexBox>
	</ScrollContainer>
</mvc:View>
