<template>
  <div>
    <el-tabs type="border-card">
      <el-tab-pane label="分割文件(識別標題)">
        <SplitWordForm :baseUrl="baseUrl" />
      </el-tab-pane>
      <el-tab-pane label="分割文件(根據頁碼)">
        <SplitRangeWordForm :baseUrl="baseUrl" />
      </el-tab-pane>
      <el-tab-pane label="分割文件(根據分頁符號)">
        <SplitPageBreakWordForm :baseUrl="baseUrl" />
      </el-tab-pane>
      <el-tab-pane label="分割文件(根據書籤)">
        <SplitBookMarkWordForm :baseUrl="baseUrl" />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>
<script>
import SplitWordForm from './components/SplitWordForm'
import SplitRangeWordForm from './components/SplitRangeWordForm'
import SplitPageBreakWordForm from './components/SplitPageBreakWordForm.vue'
import SplitBookMarkWordForm from './components/SplitBookMarkWordForm.vue'
export default {
  name: 'SplitTool',
  props:{
    baseUrl:{
      type: String,
      default: 'prod_sz'
    }
  },
  components: {
    SplitWordForm,
    SplitRangeWordForm,
    SplitPageBreakWordForm,
    SplitBookMarkWordForm
  }
}
</script>
