diff --git a/.gitignore b/.gitignore index f72f0cd..ba1a829 100644 --- a/.gitignore +++ b/.gitignore @@ -31,4 +31,5 @@ _testmain.go .idea/ # Output of the go coverage tool, specifically when used with LiteIDE -*.out \ No newline at end of file +*.out +*.orig diff --git a/README.md b/README.md index 5d1102e..5ac1df8 100644 --- a/README.md +++ b/README.md @@ -15,96 +15,96 @@ A curated collection of idiomatic design & application patterns for Go language. | Pattern | Description | Status | |:-------:|:----------- |:------:| -| [Abstract Factory](/creational/abstract_factory.md) | Provides an interface for creating families of releated objects | ✘ | -| [Builder](/creational/builder.md) | Builds a complex object using simple objects | ✔ | -| [Factory Method](/creational/factory.md) | Defers instantiation of an object to a specialized function for creating instances | ✔ | -| [Object Pool](/creational/object-pool.md) | Instantiates and maintains a group of objects instances of the same type | ✔ | -| [Singleton](/creational/singleton.md) | Restricts instantiation of a type to one object | ✔ | +| [Abstract Factory](/creational/abstract_factory.md) | Provides an interface for creating families of releated objects | �| +| [Builder](/creational/builder.md) | Builds a complex object using simple objects | �| +| [Factory Method](/creational/factory.md) | Defers instantiation of an object to a specialized function for creating instances | �| +| [Object Pool](/creational/object-pool.md) | Instantiates and maintains a group of objects instances of the same type | �| +| [Singleton](/creational/singleton.md) | Restricts instantiation of a type to one object | �| ## Structural Patterns | Pattern | Description | Status | |:-------:|:----------- |:------:| -| [Bridge](/structural/bridge/main.go) | Decouples an interface from its implementation so that the two can vary independently | ✔ | -| [Composite](/structural/composite/main.go) | Encapsulates and provides access to a number of different objects | ✔ | -| [Decorator](/structural/decorator.md) | Adds behavior to an object, statically or dynamically | ✔ | -| [Facade](/structural/facade/main.go) | Uses one type as an API to a number of others | ✔ | -| [Flyweight](/structural/flyweight/main.go) | Reuses existing instances of objects with similar/identical state to minimize resource usage | ✔ | -| [Proxy](/structural/proxy.md) | Provides a surrogate for an object to control it's actions | ✔ | +| [Bridge](/structural/bridge/main.go) | Decouples an interface from its implementation so that the two can vary independently | �| +| [Composite](/structural/composite/main.go) | Encapsulates and provides access to a number of different objects | �| +| [Decorator](/structural/decorator.md) | Adds behavior to an object, statically or dynamically | �| +| [Facade](/structural/facade/main.go) | Uses one type as an API to a number of others | �| +| [Flyweight](/structural/flyweight/main.go) | Reuses existing instances of objects with similar/identical state to minimize resource usage | �| +| [Proxy](/structural/proxy.md) | Provides a surrogate for an object to control it's actions | �| ## Behavioral Patterns | Pattern | Description | Status | |:-------:|:----------- |:------:| -| [Chain of Responsibility](/behavioral/chain_of_responsibility/main.go) | Avoids coupling a sender to receiver by giving more than object a chance to handle the request | ✔ | -| [Command](/behavioral/command/main.go) | Bundles a command and arguments to call later | ✔ | -| [Mediator](/behavioral/mediator/main.go) | Connects objects and acts as a proxy | ✔ | -| [Memento](/behavioral/memento/main.go) | Generate an opaque token that can be used to go back to a previous state | ✔ | -| [Observer](/behavioral/observer.md) | Provide a callback for notification of events/changes to data | ✔ | -| [Registry](/behavioral/registry.md) | Keep track of all subclasses of a given class | ✘ | -| [State](/behavioral/state/main.go) | Encapsulates varying behavior for the same object based on its internal state | ✔ | -| [Strategy](/behavioral/strategy.md) | Enables an algorithm's behavior to be selected at runtime | ✔ | -| [Template](/behavioral/template/main.go) | Defines a skeleton class which defers some methods to subclasses | ✔ | -| [Visitor](/behavioral/visitor/main.go) | Separates an algorithm from an object on which it operates | ✔ | +| [Chain of Responsibility](/behavioral/chain_of_responsibility/main.go) | Avoids coupling a sender to receiver by giving more than object a chance to handle the request | �| +| [Command](/behavioral/command/main.go) | Bundles a command and arguments to call later | �| +| [Mediator](/behavioral/mediator/main.go) | Connects objects and acts as a proxy | �| +| [Memento](/behavioral/memento/main.go) | Generate an opaque token that can be used to go back to a previous state | �| +| [Observer](/behavioral/observer.md) | Provide a callback for notification of events/changes to data | �| +| [Registry](/behavioral/registry.md) | Keep track of all subclasses of a given class | �| +| [State](/behavioral/state/main.go) | Encapsulates varying behavior for the same object based on its internal state | �| +| [Strategy](/behavioral/strategy.md) | Enables an algorithm's behavior to be selected at runtime | �| +| [Template](/behavioral/template/main.go) | Defines a skeleton class which defers some methods to subclasses | �| +| [Visitor](/behavioral/visitor/main.go) | Separates an algorithm from an object on which it operates | �| ## Synchronization Patterns | Pattern | Description | Status | |:-------:|:----------- |:------:| -| [Condition Variable](/synchronization/condition_variable.md) | Provides a mechanism for threads to temporarily give up access in order to wait for some condition | ✘ | -| [Lock/Mutex](/synchronization/mutex.md) | Enforces mutual exclusion limit on a resource to gain exclusive access | ✘ | -| [Monitor](/synchronization/monitor.md) | Combination of mutex and condition variable patterns | ✘ | -| [Read-Write Lock](/synchronization/read_write_lock.md) | Allows parallel read access, but only exclusive access on write operations to a resource | ✘ | -| [Semaphore](/synchronization/semaphore.md) | Allows controlling access to a common resource | ✔ | +| [Condition Variable](/synchronization/condition_variable.md) | Provides a mechanism for threads to temporarily give up access in order to wait for some condition | �| +| [Lock/Mutex](/synchronization/mutex.md) | Enforces mutual exclusion limit on a resource to gain exclusive access | �| +| [Monitor](/synchronization/monitor.md) | Combination of mutex and condition variable patterns | �| +| [Read-Write Lock](/synchronization/read_write_lock.md) | Allows parallel read access, but only exclusive access on write operations to a resource | �| +| [Semaphore](/synchronization/semaphore.md) | Allows controlling access to a common resource | �| ## Concurrency Patterns | Pattern | Description | Status | |:-------:|:----------- |:------:| -| [N-Barrier](/concurrency/n_barrier/main.go) | Prevents a process from proceeding until all N processes reach to the barrier | ✔ | -| [Bounded Parallelism](/concurrency/bounded_parallelism.md) | Completes large number of independent tasks with resource limits | ✔ | -| [Broadcast](/concurrency/broadcast.md) | Transfers a message to all recipients simultaneously | ✘ | -| [Coroutines](/concurrency/coroutine.md) | Subroutines that allow suspending and resuming execution at certain locations | ✘ | -| [Generators](/concurrency/generator.md) | Yields a sequence of values one at a time | ✔ | -| [Reactor](/concurrency/reactor.md) | Demultiplexes service requests delivered concurrently to a service handler and dispatches them syncronously to the associated request handlers | ✘ | -| [Parallelism](/concurrency/parallelism.md) | Completes large number of independent tasks | ✔ | -| [Producer Consumer](/concurrency/producer_consumer.md) | Separates tasks from task executions | ✘ | +| [N-Barrier](/concurrency/n_barrier/main.go) | Prevents a process from proceeding until all N processes reach to the barrier | �| +| [Bounded Parallelism](/concurrency/bounded/bounded_parallelism.md) | Completes large number of independent tasks with resource limits | �| +| [Broadcast](/concurrency/broadcast.md) | Transfers a message to all recipients simultaneously | �| +| [Coroutines](/concurrency/coroutine.md) | Subroutines that allow suspending and resuming execution at certain locations | �| +| [Generators](/concurrency/generator.md) | Yields a sequence of values one at a time | �| +| [Reactor](/concurrency/reactor.md) | Demultiplexes service requests delivered concurrently to a service handler and dispatches them syncronously to the associated request handlers | �| +| [Parallelism](/concurrency/parallelism.md) | Completes large number of independent tasks | �| +| [Producer Consumer](/concurrency/producer_consumer.md) | Separates tasks from task executions | �| ## Messaging Patterns | Pattern | Description | Status | |:-------:|:----------- |:------:| -| [Fan-In](/messaging/fan_in.md) | Funnels tasks to a work sink (e.g. server) | ✔ | -| [Fan-Out](/messaging/fan_out.md) | Distributes tasks among workers (e.g. producer) | ✔ | -| [Futures & Promises](/messaging/futures_promises.md) | Acts as a place-holder of a result that is initially unknown for synchronization purposes | ✘ | -| [Publish/Subscribe](/messaging/publish_subscribe.md) | Passes information to a collection of recipients who subscribed to a topic | ✔ | -| [Push & Pull](/messaging/push_pull.md) | Distributes messages to multiple workers, arranged in a pipeline | ✘ | +| [Fan-In](/messaging/fan_in.md) | Funnels tasks to a work sink (e.g. server) | �| +| [Fan-Out](/messaging/fan_out.md) | Distributes tasks among workers (e.g. producer) | �| +| [Futures & Promises](/messaging/futures_promises.md) | Acts as a place-holder of a result that is initially unknown for synchronization purposes | �| +| [Publish/Subscribe](/messaging/publish_subscribe.md) | Passes information to a collection of recipients who subscribed to a topic | �| +| [Push & Pull](/messaging/push_pull.md) | Distributes messages to multiple workers, arranged in a pipeline | �| ## Stability Patterns | Pattern | Description | Status | |:-------:|:----------- |:------:| -| [Bulkheads](/stability/bulkhead.md) | Enforces a principle of failure containment (i.e. prevents cascading failures) | ✘ | -| [Circuit-Breaker](/stability/circuit-breaker.md) | Stops the flow of the requests when requests are likely to fail | ✔ | -| [Deadline](/stability/deadline.md) | Allows clients to stop waiting for a response once the probability of response becomes low (e.g. after waiting 10 seconds for a page refresh) | ✘ | -| [Fail-Fast](/stability/fail_fast.md) | Checks the availability of required resources at the start of a request and fails if the requirements are not satisfied | ✘ | -| [Handshaking](/stability/handshaking.md) | Asks a component if it can take any more load, if it can't, the request is declined | ✘ | -| [Steady-State](/stability/steady_state.md) | For every service that accumulates a resource, some other service must recycle that resource | ✘ | +| [Bulkheads](/stability/bulkhead.md) | Enforces a principle of failure containment (i.e. prevents cascading failures) | �| +| [Circuit-Breaker](/stability/circuit-breaker.md) | Stops the flow of the requests when requests are likely to fail | �| +| [Deadline](/stability/deadline.md) | Allows clients to stop waiting for a response once the probability of response becomes low (e.g. after waiting 10 seconds for a page refresh) | �| +| [Fail-Fast](/stability/fail_fast.md) | Checks the availability of required resources at the start of a request and fails if the requirements are not satisfied | �| +| [Handshaking](/stability/handshaking.md) | Asks a component if it can take any more load, if it can't, the request is declined | �| +| [Steady-State](/stability/steady_state.md) | For every service that accumulates a resource, some other service must recycle that resource | �| ## Profiling Patterns | Pattern | Description | Status | |:-------:|:----------- |:------:| -| [Timing Functions](/profiling/timing.md) | Wraps a function and logs the execution | ✔ | +| [Timing Functions](/profiling/timing.md) | Wraps a function and logs the execution | �| ## Idioms | Pattern | Description | Status | |:-------:|:----------- |:------:| -| [Functional Options](/idiom/functional-options.md) | Allows creating clean APIs with sane defaults and idiomatic overrides | ✔ | +| [Functional Options](/idiom/functional-options.md) | Allows creating clean APIs with sane defaults and idiomatic overrides | �| ## Anti-Patterns | Pattern | Description | Status | |:-------:|:----------- |:------:| -| [Cascading Failures](/anti-patterns/cascading_failures.md) | A failure in a system of interconnected parts in which the failure of a part causes a domino effect | ✘ | +| [Cascading Failures](/anti-patterns/cascading_failures.md) | A failure in a system of interconnected parts in which the failure of a part causes a domino effect | �| diff --git a/SUMMARY.md b/SUMMARY.md index 9337c64..61e09c1 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -33,7 +33,7 @@ * [Semaphore](/synchronization/semaphore.md) * [Concurrency Patterns](/README.md#concurrency-patterns) * [N-Barrier](/concurrency/barrier.md) - * [Bounded Parallelism](/concurrency/bounded_parallelism.md) + * [Bounded Parallelism](/concurrency/bounded/bounded_parallelism.md) * [Broadcast](/concurrency/broadcast.md) * [Coroutines](/concurrency/coroutine.md) * [Generators](/concurrency/generator.md) diff --git a/behavioral/observer/main.go b/behavioral/observer/main.go index d6fbc9f..a6a3a65 100644 --- a/behavioral/observer/main.go +++ b/behavioral/observer/main.go @@ -40,11 +40,11 @@ type ( ) type ( - eventObserver struct{ + eventObserver struct { id int } - eventNotifier struct{ + eventNotifier struct { // Using a map with an empty struct allows us to keep the observers // unique while still keeping memory usage relatively low. observers map[Observer]struct{} @@ -84,10 +84,10 @@ func main() { tick := time.NewTicker(time.Second).C for { select { - case <- stop: + case <-stop: return case t := <-tick: n.Notify(Event{Data: t.UnixNano()}) } } -} \ No newline at end of file +} diff --git a/concurrency/bounded_parallelism.go b/concurrency/bounded/bounded_parallelism.go similarity index 100% rename from concurrency/bounded_parallelism.go rename to concurrency/bounded/bounded_parallelism.go diff --git a/concurrency/bounded_parallelism.md b/concurrency/bounded/bounded_parallelism.md similarity index 71% rename from concurrency/bounded_parallelism.md rename to concurrency/bounded/bounded_parallelism.md index 8f1429c..759485b 100644 --- a/concurrency/bounded_parallelism.md +++ b/concurrency/bounded/bounded_parallelism.md @@ -1,6 +1,6 @@ # Bounded Parallelism Pattern -[Bounded parallelism](https://blog.golang.org/pipelines#TOC_9.) is similar to [parallelism](parallelism.md), but allows limits to be placed on allocation. +[Bounded parallelism](https://blog.golang.org/pipelines#TOC_9.) is similar to [parallelism](../parallelism.md), but allows limits to be placed on allocation. # Implementation and Example diff --git a/playground/basic/address_test.go b/playground/basic/address_test.go new file mode 100644 index 0000000..dec36ec --- /dev/null +++ b/playground/basic/address_test.go @@ -0,0 +1,40 @@ +package basic + +import ( + "fmt" + "testing" +) + +func TestPrintAddress(t *testing.T) { + var a int + fmt.Printf("%T, %v, %p \n", a, a, &a) + passByVariable(a) + passByPointer(&a) +} + +func passByVariable(a int) { + fmt.Printf("%T, %v, %p \n", a, a, &a) +} + +func passByPointer(a *int) { + fmt.Printf("%T, %v, %p \n", a, a, &a) + fmt.Printf("%T, %v, %p \n", *a, *a, &*a) +} + +type robot struct{} + +func TestStructAddress(t *testing.T) { + var a robot + fmt.Printf("%T, %v, %p \n", a, a, &a) + passStructByVariable(a) + passStructByPointer(&a) +} + +func passStructByVariable(a robot) { + fmt.Printf("[passStructByVariable] %T, %v, %p \n", a, a, &a) +} + +func passStructByPointer(a *robot) { + fmt.Printf("[passStructByPointer] %T, %v, %p \n", a, a, &a) + fmt.Printf("[passStructByPointer] %T, %v, %p \n", *a, *a, &*a) +} diff --git a/playground/cbor/2.png b/playground/cbor/2.png new file mode 100644 index 0000000..9131400 Binary files /dev/null and b/playground/cbor/2.png differ diff --git a/playground/cbor/cbor2_test.go b/playground/cbor/cbor2_test.go new file mode 100644 index 0000000..77f1975 --- /dev/null +++ b/playground/cbor/cbor2_test.go @@ -0,0 +1,53 @@ +package cbor + +import ( + "bytes" + "fmt" + "testing" + + "github.com/2tvenom/cbor" +) + +type Image struct { + Name string + Content []byte +} + +func TestCborEncode2(t *testing.T) { + // Read origin file + b := new(bytes.Buffer) + err := getImageBytes("./on.png", b) + if err != nil { + fmt.Println(err) + return + } + origin := b.Bytes() + + //image := &Image{Name:"on",Content:origin} + + // Encode + fmt.Println("--------- Encode ---------") + + var buf bytes.Buffer + encoder := cbor.NewEncoder(&buf) + ok, error := encoder.Marshal(origin) + + //check binary string + if !ok { + fmt.Errorf("Error decoding %s", error) + } else { + fmt.Println("Size: ", len(buf.Bytes())) + } + + // Decode + //fmt.Println("--------- Decode ---------",buf.Bytes()) + //var img []byte + //ok, err = encoder.Unmarshal(buf.Bytes(), &img) + //if !ok { + // fmt.Printf("Error Unmarshal %s", err) + // return + //} + ////output + //fmt.Printf("%v", img) + +} diff --git a/playground/cbor/cbor3_test.go b/playground/cbor/cbor3_test.go new file mode 100644 index 0000000..b71ac18 --- /dev/null +++ b/playground/cbor/cbor3_test.go @@ -0,0 +1,48 @@ +package cbor + +import ( + "bytes" + "fmt" + "testing" + + "go.mozilla.org/cose" +) + +func TestCborEncode3(t *testing.T) { + // Read origin file + b := new(bytes.Buffer) + err := getImageBytes("./on.png", b) + if err != nil { + fmt.Println(err) + return + } + origin := b.Bytes() + + //image := &Image{Name:"on",Content:origin} + fmt.Println("Size: ", len(origin)) + // Encode + fmt.Println("--------- Encode ---------") + + encoded, error := cose.Marshal(origin) + + if error != nil { + fmt.Errorf("Error decoding %s", error) + } else { + fmt.Println("Size: ", len(encoded)) + //fmt.Println("Content: ",string(encoded)) + } + + // Decode + fmt.Println("--------- Decode ---------") + //var img Image + unmarshal, err := cose.Unmarshal(encoded) + if err != nil { + fmt.Printf("Error Unmarshal %s", err) + return + } else { + fmt.Println("Size: ", len(unmarshal.([]byte))) + //fmt.Println("Content: ",unmarshal.([]byte)) + } + writeToFile("3", unmarshal.([]byte)) + +} diff --git a/playground/cbor/cbor_test.go b/playground/cbor/cbor_test.go new file mode 100644 index 0000000..cba4f8a --- /dev/null +++ b/playground/cbor/cbor_test.go @@ -0,0 +1,104 @@ +package cbor + +import ( + "bufio" + "bytes" + "fmt" + "image" + "image/jpeg" + "image/png" + "log" + "os" + "testing" + + "github.com/ugorji/go/codec" +) + +func TestCborEncode(t *testing.T) { + // Read origin file + buf := new(bytes.Buffer) + err := getImageBytes("./on.png", buf) + if err != nil { + fmt.Println(err) + return + } + origin := buf.Bytes() + + fmt.Println("size:", len(origin)) + writeToFile("1", origin) + + // Encode + encoded, err := encodeBinaryValue(buf.Bytes()) + if err != nil { + fmt.Println(err) + return + } + + fmt.Println("size:", len(encoded)) + writeToFile("2", encoded) + + // Decode + decoded, err := decodeBinaryValue(encoded) + fmt.Println("size:", len(decoded)) + writeToFile("3", decoded) +} + +func encodeBinaryValue(b []byte) ([]byte, error) { + var ch codec.CborHandle + buf := new(bytes.Buffer) + + enc := codec.NewEncoder(buf, &ch) + err := enc.Encode(&b) + + return buf.Bytes(), err +} + +func decodeBinaryValue(b []byte) ([]byte, error) { + var ch codec.CborHandle + var decoded []byte + var bufReader = bufio.NewReader(bytes.NewReader(b)) + var dec = codec.NewDecoder(bufReader, &ch) + var err = dec.Decode(&decoded) + return decoded, err +} + +func getImageBytes(imgFile string, buf *bytes.Buffer) error { + // Read existing image from file + img, err := os.Open(imgFile) + if err != nil { + return err + } + defer img.Close() + + // TODO: Attach MediaType property, determine if decoding + // early is required (to optimize edge processing) + + // Expect "png" or "jpeg" image type + imageData, imageType, err := image.Decode(img) + if err != nil { + return err + } + // Finished with file. Reset file pointer + img.Seek(0, 0) + if imageType == "jpeg" { + err = jpeg.Encode(buf, imageData, nil) + if err != nil { + return err + } + } else if imageType == "png" { + err = png.Encode(buf, imageData) + if err != nil { + return err + } + } + return nil +} + +func writeToFile(fileName string, b []byte) { + f, _ := os.Create(fileName) + n2, err := f.Write(b) + if err != nil { + log.Fatal(err) + } + fmt.Printf("wrote file %d bytes\n", n2) +} diff --git a/playground/cbor/on.png b/playground/cbor/on.png new file mode 100644 index 0000000..8849ff6 Binary files /dev/null and b/playground/cbor/on.png differ diff --git a/playground/codecoverage/size.go b/playground/codecoverage/size.go new file mode 100644 index 0000000..ec52f77 --- /dev/null +++ b/playground/codecoverage/size.go @@ -0,0 +1,17 @@ +package codecoverage + +func Size(a int) string { + switch { + case a < 0: + return "negative" + case a == 0: + return "zero" + case a < 10: + return "small" + case a < 100: + return "big" + case a < 1000: + return "huge" + } + return "enormous" +} diff --git a/playground/codecoverage/size_test.go b/playground/codecoverage/size_test.go new file mode 100644 index 0000000..8fbdca2 --- /dev/null +++ b/playground/codecoverage/size_test.go @@ -0,0 +1,26 @@ +package codecoverage + +import "testing" + +type Test struct { + in int + out string +} + +var tests = []Test{ + {-1, "negative"}, + {0, "zero"}, + {5, "small"}, + {99, "big"}, + {100, "huge"}, + {10001, "enormous"}, +} + +func TestSize(t *testing.T) { + for i, test := range tests { + size := Size(test.in) + if size != test.out { + t.Errorf("#%d: Size(%d)=%s; want %s", i, test.in, size, test.out) + } + } +} diff --git a/playground/cron/cron_test.go b/playground/cron/cron_test.go new file mode 100644 index 0000000..6daa726 --- /dev/null +++ b/playground/cron/cron_test.go @@ -0,0 +1,86 @@ +package cron + +import ( + "fmt" + "testing" + "time" + + "github.com/edgexfoundry/edgex-go/pkg/models" + "github.com/robfig/cron" +) + +type Job struct { + schedule models.Schedule + scheduleEvents []models.ScheduleEvent +} + +func (job Job) Run() { + fmt.Println(job.schedule.Name, job.schedule.Frequency) +} + +func TestCronWithAddJob(t *testing.T) { + var job = Job{ + schedule: models.Schedule{ + Id: "xxx", + Name: "5sec-schedule", + Frequency: "PT5S", + }, + scheduleEvents: []models.ScheduleEvent{}, + } + var job2 = Job{ + schedule: models.Schedule{ + Id: "xxx", + Name: "2sec-schedule", + Frequency: "PT2S", + }, + scheduleEvents: []models.ScheduleEvent{}, + } + + // init cron + c := cron.New() + + // add cron job + var spec = fmt.Sprintf("@every %v", ParseDuration(job.schedule.Frequency)) + c.AddJob(spec, job) + + spec = fmt.Sprintf("@every %v", ParseDuration(job2.schedule.Frequency)) + c.AddJob(spec, job2) + + // start cron + c.Start() + + time.Sleep(10 * time.Second) + // keep alive + //select {} +} + +func TestCronWithAddFunc(t *testing.T) { + // init cron + c := cron.New() + + // add cron job + var duration = ParseDuration("PT2S") + var spec = fmt.Sprintf("@every %v", duration) + + c.AddFunc(spec, func() { + // @every 2s + fmt.Println(spec) + }) + + // start cron + c.Start() + + // keep alive + select {} +} + +func TestParseISO8601(t *testing.T) { + var duration = ParseDuration("PT2S") + + // PT2S -> 2s + fmt.Println(duration) + // PT15M -> 15m0s + fmt.Println(ParseDuration("PT15M")) + // P12Y4MT15M -> 108000h15m0s + fmt.Println(ParseDuration("P12Y4MT15M")) +} diff --git a/playground/cron/iso8601parser.go b/playground/cron/iso8601parser.go new file mode 100644 index 0000000..509d87c --- /dev/null +++ b/playground/cron/iso8601parser.go @@ -0,0 +1,35 @@ +package cron + +import ( + "regexp" + "strconv" + "time" +) + +func ParseDuration(str string) time.Duration { + durationRegex := regexp.MustCompile(`P(?P<years>\d+Y)?(?P<months>\d+M)?(?P<days>\d+D)?T?(?P<hours>\d+H)?(?P<minutes>\d+M)?(?P<seconds>\d+S)?`) + matches := durationRegex.FindStringSubmatch(str) + + years := ParseInt64(matches[1]) + months := ParseInt64(matches[2]) + days := ParseInt64(matches[3]) + hours := ParseInt64(matches[4]) + minutes := ParseInt64(matches[5]) + seconds := ParseInt64(matches[6]) + + hour := int64(time.Hour) + minute := int64(time.Minute) + second := int64(time.Second) + return time.Duration(years*24*365*hour + months*30*24*hour + days*24*hour + hours*hour + minutes*minute + seconds*second) +} + +func ParseInt64(value string) int64 { + if len(value) == 0 { + return 0 + } + parsed, err := strconv.Atoi(value[:len(value)-1]) + if err != nil { + return 0 + } + return int64(parsed) +} diff --git a/playground/factory/robot.go b/playground/factory/robot.go new file mode 100644 index 0000000..9f6944f --- /dev/null +++ b/playground/factory/robot.go @@ -0,0 +1,14 @@ +package factory + +import "log" + +var speakFuncs = make(map[string]interface{}) + +func say(funcName string) { + speakFunc, ok := speakFuncs[funcName] + if !ok { + log.Println("speakFunc not exist") + } else { + speakFunc.(func())() + } +} diff --git a/playground/factory/robot_test.go b/playground/factory/robot_test.go new file mode 100644 index 0000000..c8355ba --- /dev/null +++ b/playground/factory/robot_test.go @@ -0,0 +1,8 @@ +package factory + +import "testing" + +func TestSay(t *testing.T) { + say("xxx") + say("hi") +} diff --git a/playground/factory/robotfuncs.go b/playground/factory/robotfuncs.go new file mode 100644 index 0000000..cb68aed --- /dev/null +++ b/playground/factory/robotfuncs.go @@ -0,0 +1,16 @@ +package factory + +import "log" + +func sayHi() { + log.Print("Hi~") +} + +func sayHello() { + log.Print("Hello~") +} + +func init() { + speakFuncs["hi"] = sayHi + speakFuncs["hello"] = sayHello +} diff --git a/playground/goroutine/basic_chan_test.go b/playground/goroutine/basic_chan_test.go new file mode 100644 index 0000000..7403897 --- /dev/null +++ b/playground/goroutine/basic_chan_test.go @@ -0,0 +1,24 @@ +package goroutine + +import ( + "fmt" + "testing" + "time" +) + +func TestFiveGopherWithChan(t *testing.T) { + c := make(chan int) + for i := 0; i < 5; i++ { + go sleepyGopherWithChan(i, c) + } + for i := 0; i < 5; i++ { + gopherID := <-c + fmt.Println("gopher ", gopherID, " has finished sleeping") + } +} + +func sleepyGopherWithChan(id int, c chan int) { + time.Sleep(2 * time.Second) + fmt.Println("... ", id, " snore ...") + c <- id +} diff --git a/playground/goroutine/basic_test.go b/playground/goroutine/basic_test.go new file mode 100644 index 0000000..02b2347 --- /dev/null +++ b/playground/goroutine/basic_test.go @@ -0,0 +1,25 @@ +package goroutine + +import ( + "fmt" + "testing" + "time" +) + +func TestOneGopher(t *testing.T) { + go sleepyGopher(1) + time.Sleep(3 * time.Second) +} + +func TestFiveGopher(t *testing.T) { + c := make(chan int) + for i := 0; i < 5; i++ { + go sleepyGopherWithChan(i, c) + } + time.Sleep(3 * time.Second) +} + +func sleepyGopher(id int) { + time.Sleep(2 * time.Second) + fmt.Println("... ", id, " snore ...") +} diff --git a/playground/goroutine/basic_waitgroup_test.go b/playground/goroutine/basic_waitgroup_test.go new file mode 100644 index 0000000..9eab546 --- /dev/null +++ b/playground/goroutine/basic_waitgroup_test.go @@ -0,0 +1,32 @@ +package goroutine + +import ( + "fmt" + "sync" + "testing" + "time" +) + +func TestWaitGophers(t *testing.T) { + var gophers = []string{"tom", "peter", "john", "brown"} + + var waitGroup sync.WaitGroup + waitGroup.Add(len(gophers)) + + for i := 0; i < len(gophers); i++ { + go func(wg *sync.WaitGroup, name string) { + sleepyGopherSnore(name) + wg.Done() + }(&waitGroup, gophers[i]) + } + + waitGroup.Wait() + + fmt.Println("All done") +} + +func sleepyGopherSnore(name string) { + fmt.Println(name, ": ... start snore") + time.Sleep(2 * time.Second) + fmt.Println(name, ": ... snore") +} diff --git a/playground/goroutine/deadlock_test.go b/playground/goroutine/deadlock_test.go new file mode 100644 index 0000000..f5ff192 --- /dev/null +++ b/playground/goroutine/deadlock_test.go @@ -0,0 +1,11 @@ +package goroutine + +import "testing" + +// A deadlock happens when a group of goroutines are waiting for each other and none of them is able to proceed. +// The program will get stuck on the channel send operation waiting forever for someone to read the value. +// Go is able to detect situations like this at runtime. +func TestDeadlock(t *testing.T) { + c := make(chan int) + <-c +} diff --git a/playground/goroutine/pipeline_test.go b/playground/goroutine/pipeline_test.go new file mode 100644 index 0000000..4a1bb00 --- /dev/null +++ b/playground/goroutine/pipeline_test.go @@ -0,0 +1,39 @@ +package goroutine + +import ( + "fmt" + "strings" + "testing" +) + +func sourceGopher(downstream chan string) { + for _, v := range []string{"hello world", "a bad apple", "goodbye all"} { + downstream <- v + } + close(downstream) +} + +func filterGopher(upstream, downstream chan string) { + for item := range upstream { + fmt.Println("filter ", item) + + if !strings.Contains(item, "bad") { + downstream <- item + } + } +} + +func printGopher(upstream chan string) { + for item := range upstream { + fmt.Println("print ", item) + } +} + +// Pipeline source->filter->print +func TestPipeline(t *testing.T) { + c0 := make(chan string) + c1 := make(chan string) + go sourceGopher(c0) + go filterGopher(c0, c1) + printGopher(c1) +} diff --git a/playground/http/get_test.go b/playground/http/get_test.go new file mode 100644 index 0000000..df65422 --- /dev/null +++ b/playground/http/get_test.go @@ -0,0 +1,48 @@ +package http + +import ( + "fmt" + "io/ioutil" + "log" + "math/rand" + "net/http" + "sync" + "testing" + "time" +) + +func TestGet(t *testing.T) { + counts := 2 + + var wg sync.WaitGroup + wg.Add(counts) + + for i := 0; i < counts; i++ { + go func() { + defer wg.Done() + getValue() + }() + } + wg.Wait() +} + +func getValue() { + rand.Seed(time.Now().UnixNano()) + x := rand.Intn(10) + var url string + if x > 5 { + url = "http://localhost:48082/api/v1/device/5bae2ef4f37ba14693a5e4fc/command/5bae2ef4f37ba14693a5e4eb" + } else { + url = "http://localhost:48082/api/v1/device/5bae2d1bf37ba14693a5e4e9/command/5bae2d05f37ba14693a5e4e2" + } + resp, err := http.Get(url) + if err != nil { + fmt.Println(err) + } + + resBody, err := ioutil.ReadAll(resp.Body) + if err != nil { + log.Fatal(err) + } + fmt.Println(string(resBody)) +} diff --git a/playground/http/postyamlstring_test.go b/playground/http/postyamlstring_test.go new file mode 100644 index 0000000..ce52571 --- /dev/null +++ b/playground/http/postyamlstring_test.go @@ -0,0 +1,46 @@ +package http + +import ( + "bytes" + "fmt" + "io/ioutil" + "net/http" + "testing" +) + +func TestPostYamlString(t *testing.T) { + var filePath = "/Users/bruce/Desktop/HVAC-CoolMasterNet.yml" + var url = "http://localhost:48081/api/v1/deviceprofile/upload" + + // read file to byte + yamlFile, err := ioutil.ReadFile(filePath) + if err != nil { + t.Fatal(err) + } + + fmt.Println(string(yamlFile)) + + // create http post request + req, err := http.NewRequest(http.MethodPost, url, bytes.NewReader(yamlFile)) + if err != nil { + t.Fatal(err) + } + + // submit request + client := &http.Client{} + res, err := client.Do(req) + if err != nil { + t.Fatal(err) + } + + // check response + fmt.Println("== upload finish ==") + resBody, err := ioutil.ReadAll(res.Body) + if err != nil { + t.Fatal(err) + } + fmt.Println(res.StatusCode) + fmt.Println(res.Header) + res.Body.Close() + fmt.Println(string(resBody)) +} diff --git a/playground/http/upload_test.go b/playground/http/upload_test.go new file mode 100644 index 0000000..0081e10 --- /dev/null +++ b/playground/http/upload_test.go @@ -0,0 +1,63 @@ +package http + +import ( + "bytes" + "fmt" + "io" + "io/ioutil" + "mime/multipart" + "net/http" + "path/filepath" + "testing" +) + +func TestUploadFormFile(t *testing.T) { + var filePath = "/Users/bruce/Desktop/HVAC-CoolMasterNet.yml" + var url = "http://localhost:48081/api/v1/deviceprofile/uploadfile" + + // Retch file + fmt.Println("Read file: ", filepath.Base(filePath)) + yamlFile, err := ioutil.ReadFile(filePath) + if err != nil { + t.Fatal(err) + } + + // create form data + body := new(bytes.Buffer) + //body := &bytes.Buffer{} + writer := multipart.NewWriter(body) + formFileWriter, err := writer.CreateFormFile("file", filepath.Base(filePath)) + if err != nil { + t.Fatal(err) + } + _, err = io.Copy(formFileWriter, bytes.NewReader(yamlFile)) + if err != nil { + t.Fatal(err) + } + writer.Close() + + // create http post request + req, err := http.NewRequest(http.MethodPost, url, body) + if err != nil { + t.Fatal(err) + } + req.Header.Add("Content-Type", writer.FormDataContentType()) + + // submit request + client := &http.Client{} + res, err := client.Do(req) + if err != nil { + t.Fatal(err) + } + + // check response + fmt.Println("== upload finish ==") + resBody, err := ioutil.ReadAll(res.Body) + if err != nil { + t.Fatal(err) + } + fmt.Println(res.StatusCode) + fmt.Println(res.Header) + res.Body.Close() + fmt.Println(string(resBody)) +} diff --git a/playground/mocklib/mocks/Robot.go b/playground/mocklib/mocks/Robot.go new file mode 100644 index 0000000..3b4833d --- /dev/null +++ b/playground/mocklib/mocks/Robot.go @@ -0,0 +1,15 @@ +// Code generated by mockery v1.0.0. DO NOT EDIT. + +package mocks + +import mock "github.com/stretchr/testify/mock" + +// Robot is an autogenerated mock type for the Robot type +type Robot struct { + mock.Mock +} + +// SayHi provides a mock function with given fields: +func (_m *Robot) SayHi() { + _m.Called() +} diff --git a/playground/mocklib/robot.go b/playground/mocklib/robot.go new file mode 100644 index 0000000..b3e0cc1 --- /dev/null +++ b/playground/mocklib/robot.go @@ -0,0 +1,45 @@ +package mocklib + +import "fmt" + +// Robot +type Robot interface { + SayHi() +} + +// ServiceRobot is kind of Robot can offer services +type ServiceRobot struct { +} + +func (robot *ServiceRobot) SayHi() { + fmt.Println("Hi, I'm service robot") +} + +// IndustrialRobot is kind of Robot can do some jobs +type IndustrialRobot struct { +} + +func (robot *IndustrialRobot) SayHi() { + fmt.Println("Hi, I'm industrial robot") +} + +func StartRobots() { + robots := initializeRobots() + makeRobotsSayHi(robots) +} + +// initialize all robots +func initializeRobots() []Robot { + robots := []Robot{ + &ServiceRobot{}, + &IndustrialRobot{}, + } + return robots +} + +// makeRobotsSayHi is used for making robots say hi +func makeRobotsSayHi(robots []Robot) { + for _, robot := range robots { + robot.SayHi() + } +} diff --git a/playground/mocklib/robot_test.go b/playground/mocklib/robot_test.go new file mode 100644 index 0000000..d02385e --- /dev/null +++ b/playground/mocklib/robot_test.go @@ -0,0 +1,32 @@ +package mocklib + +import ( + "github.com/weichou1229/go-patterns/playground/mocklib/mocks" + "testing" +) + +func TestStartRobots(t *testing.T) { + StartRobots() +} + +func TestMakeRobotsSayHi(t *testing.T) { + // create an instance of our test object + mockRobotA := new(mocks.Robot) + mockRobotB := new(mocks.Robot) + + // setup expectations + mockRobotA.On("SayHi").Return(nil, nil) + mockRobotB.On("SayHi").Return(nil, nil) + + robots := []Robot{ + mockRobotA, + mockRobotB, + } + + // Act + makeRobotsSayHi(robots) + + // Assert that the expectations were met + mockRobotA.AssertExpectations(t) + mockRobotB.AssertExpectations(t) +} diff --git a/playground/panic/trypanic.go b/playground/panic/trypanic.go new file mode 100644 index 0000000..2a0cb25 --- /dev/null +++ b/playground/panic/trypanic.go @@ -0,0 +1,10 @@ +package trypanic + +import ( + "fmt" +) + +func Try() { + var test *string + fmt.Println(*test) +} diff --git a/playground/parse/parseInt_test.go b/playground/parse/parseInt_test.go new file mode 100644 index 0000000..4cd44eb --- /dev/null +++ b/playground/parse/parseInt_test.go @@ -0,0 +1,14 @@ +package parse + +import ( + "fmt" + "strconv" + "testing" +) + +func TestParseInt(t *testing.T) { + var _, err = strconv.ParseInt("127", 0, 8) + if err != nil { + fmt.Println(err) + } +} diff --git a/playground/pointer/pointer_test.go b/playground/pointer/pointer_test.go new file mode 100644 index 0000000..53593ca --- /dev/null +++ b/playground/pointer/pointer_test.go @@ -0,0 +1,26 @@ +package pointer + +import ( + "fmt" + "testing" +) + +func TestBasic(t *testing.T) { + answer := 42 + fmt.Println(&answer) // & is address operator + + address := &answer + fmt.Println(*address) // * is dereferencing, which providers the value that a memory address refers to. + fmt.Printf("address is a %T \n", address) // print the pointer type + + var address2 *int // declare a pointer + address2 = address // address2 can store some pinter type + fmt.Println(*address2) + +} + +func TestPointer(t *testing.T) { + var test *string = new(string) + *test = "123" + fmt.Println(test) +} diff --git a/playground/singleton/internal/singleton.go b/playground/singleton/internal/singleton.go new file mode 100644 index 0000000..804794c --- /dev/null +++ b/playground/singleton/internal/singleton.go @@ -0,0 +1,27 @@ +package internal + +import ( + "fmt" + "sync" +) + +// singleton is private struct, it should be created and fetched by GetSingletonObject func +type singleton struct { +} + +func (singleton) SayHi() { + fmt.Println("Hi!") +} + +var ( + once sync.Once + instance singleton +) + +func GetSingletonObject() singleton { + once.Do(func() { + instance = singleton{} + }) + + return instance +} diff --git a/playground/singleton/main.go b/playground/singleton/main.go new file mode 100644 index 0000000..a1ec7ad --- /dev/null +++ b/playground/singleton/main.go @@ -0,0 +1,10 @@ +package main + +import ( + "github.com/weichou1229/go-patterns/playground/singleton/internal" +) + +func main() { + var s = internal.GetSingletonObject() + s.SayHi() +} diff --git a/playground/syncmap/syncmap_test.go b/playground/syncmap/syncmap_test.go new file mode 100644 index 0000000..b53fb59 --- /dev/null +++ b/playground/syncmap/syncmap_test.go @@ -0,0 +1,52 @@ +package syncmap + +import ( + "fmt" + "sync" + "testing" +) + +type Order struct { + Id int +} + +func TestSync(t *testing.T) { + var waitGroup sync.WaitGroup + waitGroup.Add(10) + var cache sync.Map + + for i := 0; i < 10; i++ { + go func() { + cache.Store("test", &Order{}) + order, _ := cache.Load("test") + o := order.(*Order) + fmt.Println(o) + waitGroup.Done() + }() + } + waitGroup.Wait() +} + +func TestSync2(t *testing.T) { + var cache sync.Map + + cache.Store("test", nil) + + if order, ok := cache.Load("test"); ok && order != nil { + fmt.Println(order) + } else { + fmt.Println("not exist") + } +} + +func TestSync3(t *testing.T) { + var cache sync.Map + orders := make([]Order, 2) + + cache.Store("test2", orders[0]) + cache.Store("test", orders[0]) + + order, ok := cache.Load("test") + fmt.Println(ok, order) + +} diff --git a/playground/xml/2018Q1.xml b/playground/xml/2018Q1.xml new file mode 100755 index 0000000..d7376d8 --- /dev/null +++ b/playground/xml/2018Q1.xml @@ -0,0 +1,4089 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xbrl xmlns="http://www.xbrl.org/2003/instance" xmlns:ifrs-full="http://xbrl.ifrs.org/taxonomy/2017-03-09/ifrs-full" xmlns:iso4217="http://www.xbrl.org/2003/iso4217" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:tifrs-SCF="http://www.xbrl.org/tifrs/scf/2018-03-31" xmlns:tifrs-SCF-ci="http://www.xbrl.org/tifrs/scf/ci/2018-03-31" xmlns:tifrs-ar="http://www.xbrl.org/tifrs/ar/2018-03-31" xmlns:tifrs-bsci-ci="http://www.xbrl.org/tifrs/bsci/ci/2018-03-31" xmlns:tifrs-ci-cr="http://www.xbrl.org/tifrs/ci/cr/2018-03-31" xmlns:tifrs-es="http://www.xbrl.org/tifrs/es/2018-03-31" xmlns:tifrs-es-cr="http://www.xbrl.org/tifrs/es/cr/2018-03-31" xmlns:tifrs-notes="http://www.xbrl.org/tifrs/notes/2018-03-31" xmlns:tifrs-notes-ci="http://www.xbrl.org/tifrs/notes/ci/2018-03-31" xmlns:xbrldi="http://xbrl.org/2006/xbrldi" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:xlink="http://www.w3.org/1999/xlink"> + <link:schemaRef xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="tifrs-ci-cr-2018-03-31.xsd" xlink:type="simple"/> <context id="AsOf20180509"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-05-09</instant> + </period> + </context> + <context id="AsOf20170331_TotalEquityMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:TotalEquityMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170331_NoncontrollingInterestsMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:NoncontrollingInterestsMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170331_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170331_EquityAttributableToOwnersOfParentMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:EquityAttributableToOwnersOfParentMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170331_TreasurySharesMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:TreasurySharesMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170331_OtherEquityInterestMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:OtherEquityInterestMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170331_Others-OtherEquityInterestMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:Others-OtherEquityInterestMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170331_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170331_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170331_RevaluationSurplusMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:RevaluationSurplusMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170331_ReserveOfRemeasurementsOfDefinedBenefitPlansMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfRemeasurementsOfDefinedBenefitPlansMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170331_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170331_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170331_ReserveOfCashFlowHedgesMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfCashFlowHedgesMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170331_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170331_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170331_ReserveOfExchangeDifferencesOnTranslationMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfExchangeDifferencesOnTranslationMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170331_RetainedEarningsMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:RetainedEarningsMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170331_UnappropriatedRetainedEarningsAccumulatedDeficitMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:UnappropriatedRetainedEarningsAccumulatedDeficitMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170331_SpecialReserveMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:SpecialReserveMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170331_StatutoryReserveMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:StatutoryReserveMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170331_CapitalReserveMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:CapitalReserveMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170331_IssuedCapitalMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:IssuedCapitalMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170331_Other-ShareCapitalMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:Other-ShareCapitalMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170331_StockDividendToBeDistributedMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:StockDividendToBeDistributedMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170331_AdvanceReceiptsForShareCapitalMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:AdvanceReceiptsForShareCapitalMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170331_CertificateOfEntitlementToNewSharesFromConvertibleBondMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:CertificateOfEntitlementToNewSharesFromConvertibleBondMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170331_PreferenceShareMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:PreferenceShareMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170331_OrdinaryShareMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:OrdinaryShareMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_TotalEquityMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:TotalEquityMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_NoncontrollingInterestsMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:NoncontrollingInterestsMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_EquityAttributableToOwnersOfParentMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:EquityAttributableToOwnersOfParentMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_TreasurySharesMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:TreasurySharesMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_OtherEquityInterestMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:OtherEquityInterestMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_Others-OtherEquityInterestMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:Others-OtherEquityInterestMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_RevaluationSurplusMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:RevaluationSurplusMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_ReserveOfRemeasurementsOfDefinedBenefitPlansMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfRemeasurementsOfDefinedBenefitPlansMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_ReserveOfCashFlowHedgesMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfCashFlowHedgesMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_ReserveOfExchangeDifferencesOnTranslationMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfExchangeDifferencesOnTranslationMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_RetainedEarningsMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:RetainedEarningsMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_UnappropriatedRetainedEarningsAccumulatedDeficitMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:UnappropriatedRetainedEarningsAccumulatedDeficitMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_SpecialReserveMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:SpecialReserveMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_StatutoryReserveMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:StatutoryReserveMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_CapitalReserveMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:CapitalReserveMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_IssuedCapitalMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:IssuedCapitalMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_Other-ShareCapitalMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:Other-ShareCapitalMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_StockDividendToBeDistributedMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:StockDividendToBeDistributedMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_AdvanceReceiptsForShareCapitalMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:AdvanceReceiptsForShareCapitalMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_CertificateOfEntitlementToNewSharesFromConvertibleBondMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:CertificateOfEntitlementToNewSharesFromConvertibleBondMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_PreferenceShareMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:PreferenceShareMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20170101To20170331_OrdinaryShareMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:OrdinaryShareMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_TotalEquityMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:TotalEquityMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_NoncontrollingInterestsMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:NoncontrollingInterestsMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_EquityAttributableToOwnersOfParentMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:EquityAttributableToOwnersOfParentMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_TreasurySharesMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:TreasurySharesMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_OtherEquityInterestMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:OtherEquityInterestMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_Others-OtherEquityInterestMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:Others-OtherEquityInterestMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_RevaluationSurplusMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:RevaluationSurplusMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_ReserveOfRemeasurementsOfDefinedBenefitPlansMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfRemeasurementsOfDefinedBenefitPlansMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_ReserveOfCashFlowHedgesMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfCashFlowHedgesMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_ReserveOfExchangeDifferencesOnTranslationMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfExchangeDifferencesOnTranslationMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_RetainedEarningsMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:RetainedEarningsMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_UnappropriatedRetainedEarningsAccumulatedDeficitMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:UnappropriatedRetainedEarningsAccumulatedDeficitMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_SpecialReserveMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:SpecialReserveMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_StatutoryReserveMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:StatutoryReserveMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_CapitalReserveMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:CapitalReserveMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_IssuedCapitalMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:IssuedCapitalMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_Other-ShareCapitalMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:Other-ShareCapitalMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_StockDividendToBeDistributedMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:StockDividendToBeDistributedMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_AdvanceReceiptsForShareCapitalMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:AdvanceReceiptsForShareCapitalMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_CertificateOfEntitlementToNewSharesFromConvertibleBondMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:CertificateOfEntitlementToNewSharesFromConvertibleBondMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_PreferenceShareMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:PreferenceShareMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20170101_OrdinaryShareMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:OrdinaryShareMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_TotalEquityMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:TotalEquityMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_NoncontrollingInterestsMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:NoncontrollingInterestsMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_EquityAttributableToOwnersOfParentMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:EquityAttributableToOwnersOfParentMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_TreasurySharesMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:TreasurySharesMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_OtherEquityInterestMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:OtherEquityInterestMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_Others-OtherEquityInterestMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:Others-OtherEquityInterestMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_RevaluationSurplusMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:RevaluationSurplusMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_ReserveOfRemeasurementsOfDefinedBenefitPlansMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfRemeasurementsOfDefinedBenefitPlansMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_ReserveOfCashFlowHedgesMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfCashFlowHedgesMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_ReserveOfExchangeDifferencesOnTranslationMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfExchangeDifferencesOnTranslationMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_RetainedEarningsMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:RetainedEarningsMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_UnappropriatedRetainedEarningsAccumulatedDeficitMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:UnappropriatedRetainedEarningsAccumulatedDeficitMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_SpecialReserveMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:SpecialReserveMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_StatutoryReserveMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:StatutoryReserveMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_CapitalReserveMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:CapitalReserveMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_IssuedCapitalMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:IssuedCapitalMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_Other-ShareCapitalMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:Other-ShareCapitalMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_StockDividendToBeDistributedMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:StockDividendToBeDistributedMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_AdvanceReceiptsForShareCapitalMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:AdvanceReceiptsForShareCapitalMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_CertificateOfEntitlementToNewSharesFromConvertibleBondMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:CertificateOfEntitlementToNewSharesFromConvertibleBondMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_PreferenceShareMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:PreferenceShareMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180331_OrdinaryShareMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:OrdinaryShareMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_TotalEquityMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:TotalEquityMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_NoncontrollingInterestsMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:NoncontrollingInterestsMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_EquityAttributableToOwnersOfParentMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:EquityAttributableToOwnersOfParentMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_TreasurySharesMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:TreasurySharesMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_OtherEquityInterestMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:OtherEquityInterestMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_Others-OtherEquityInterestMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:Others-OtherEquityInterestMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_RevaluationSurplusMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:RevaluationSurplusMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_ReserveOfRemeasurementsOfDefinedBenefitPlansMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfRemeasurementsOfDefinedBenefitPlansMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_ReserveOfCashFlowHedgesMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfCashFlowHedgesMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_ReserveOfExchangeDifferencesOnTranslationMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfExchangeDifferencesOnTranslationMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_RetainedEarningsMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:RetainedEarningsMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_UnappropriatedRetainedEarningsAccumulatedDeficitMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:UnappropriatedRetainedEarningsAccumulatedDeficitMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_SpecialReserveMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:SpecialReserveMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_StatutoryReserveMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:StatutoryReserveMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_CapitalReserveMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:CapitalReserveMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_IssuedCapitalMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:IssuedCapitalMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_Other-ShareCapitalMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:Other-ShareCapitalMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_StockDividendToBeDistributedMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:StockDividendToBeDistributedMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_AdvanceReceiptsForShareCapitalMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:AdvanceReceiptsForShareCapitalMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_CertificateOfEntitlementToNewSharesFromConvertibleBondMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:CertificateOfEntitlementToNewSharesFromConvertibleBondMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_PreferenceShareMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:PreferenceShareMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="From20180101To20180331_OrdinaryShareMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:OrdinaryShareMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_TotalEquityMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:TotalEquityMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_NoncontrollingInterestsMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:NoncontrollingInterestsMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_EquityAttributableToOwnersOfParentMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:EquityAttributableToOwnersOfParentMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_TreasurySharesMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:TreasurySharesMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_OtherEquityInterestMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:OtherEquityInterestMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_Others-OtherEquityInterestMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:Others-OtherEquityInterestMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_RevaluationSurplusMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:RevaluationSurplusMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_ReserveOfRemeasurementsOfDefinedBenefitPlansMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfRemeasurementsOfDefinedBenefitPlansMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_ReserveOfCashFlowHedgesMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfCashFlowHedgesMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_ReserveOfExchangeDifferencesOnTranslationMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:ReserveOfExchangeDifferencesOnTranslationMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_RetainedEarningsMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:RetainedEarningsMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_UnappropriatedRetainedEarningsAccumulatedDeficitMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:UnappropriatedRetainedEarningsAccumulatedDeficitMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_SpecialReserveMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:SpecialReserveMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_StatutoryReserveMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:StatutoryReserveMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_CapitalReserveMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:CapitalReserveMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_IssuedCapitalMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">ifrs-full:IssuedCapitalMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_Other-ShareCapitalMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:Other-ShareCapitalMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_StockDividendToBeDistributedMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:StockDividendToBeDistributedMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_AdvanceReceiptsForShareCapitalMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:AdvanceReceiptsForShareCapitalMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_CertificateOfEntitlementToNewSharesFromConvertibleBondMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:CertificateOfEntitlementToNewSharesFromConvertibleBondMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_PreferenceShareMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:PreferenceShareMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20180101_OrdinaryShareMember"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-01-01</instant> + </period> + <scenario> + <xbrldi:explicitMember dimension="ifrs-full:ComponentsOfEquityAxis">tifrs-es:OrdinaryShareMember</xbrldi:explicitMember> + </scenario> + </context> + <context id="AsOf20171231"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-12-31</instant> + </period> + </context> + <context id="From20170101To20170331"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2017-01-01</startDate> + <endDate>2017-03-31</endDate> + </period> + </context> + <context id="AsOf20170331"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2017-03-31</instant> + </period> + </context> + <context id="From20180101To20180331"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <startDate>2018-01-01</startDate> + <endDate>2018-03-31</endDate> + </period> + </context> + <context id="AsOf20180331"> + <entity> + <identifier scheme="http://www.twse.com.tw">2408</identifier> + </entity> + <period> + <instant>2018-03-31</instant> + </period> + </context> + <unit id="TWD"> + <measure>iso4217:TWD</measure> + </unit> + <unit id="Shares"> + <measure>xbrli:shares</measure> + </unit> + <unit id="EarningsPerShare"> + <divide> + <unitNumerator> + <measure>iso4217:TWD</measure> + </unitNumerator> + <unitDenominator> + <measure>xbrli:shares</measure> + </unitDenominator> + </divide> + </unit> + <unit id="Pure"> + <measure>xbrli:pure</measure> + </unit> + <tifrs-notes:Year contextRef="From20180101To20180331">2018</tifrs-notes:Year> + <tifrs-notes:Quarter contextRef="From20180101To20180331">1</tifrs-notes:Quarter> + <tifrs-notes:ReportType contextRef="From20180101To20180331">Financial report (general)</tifrs-notes:ReportType> + <tifrs-notes:ReportCategory contextRef="From20180101To20180331">Consolidated report</tifrs-notes:ReportCategory> + <tifrs-notes:Market contextRef="From20180101To20180331">Listed company</tifrs-notes:Market> + <tifrs-notes:IndustrySector contextRef="From20180101To20180331">Commercial and industrial</tifrs-notes:IndustrySector> + <ifrs-full:CashAndCashEquivalents contextRef="AsOf20180331" decimals="-3" unitRef="TWD">50196810000</ifrs-full:CashAndCashEquivalents> + <ifrs-full:CashAndCashEquivalents contextRef="AsOf20171231" decimals="-3" unitRef="TWD">33768677000</ifrs-full:CashAndCashEquivalents> + <ifrs-full:CashAndCashEquivalents contextRef="AsOf20170331" decimals="-3" unitRef="TWD">20299894000</ifrs-full:CashAndCashEquivalents> + <tifrs-bsci-ci:AccountsReceivableNet contextRef="AsOf20180331" decimals="-3" unitRef="TWD">11044995000</tifrs-bsci-ci:AccountsReceivableNet> + <tifrs-bsci-ci:AccountsReceivableNet contextRef="AsOf20171231" decimals="-3" unitRef="TWD">8525608000</tifrs-bsci-ci:AccountsReceivableNet> + <tifrs-bsci-ci:AccountsReceivableNet contextRef="AsOf20170331" decimals="-3" unitRef="TWD">5782714000</tifrs-bsci-ci:AccountsReceivableNet> + <ifrs-full:OtherCurrentReceivables contextRef="AsOf20180331" decimals="-3" unitRef="TWD">858673000</ifrs-full:OtherCurrentReceivables> + <ifrs-full:OtherCurrentReceivables contextRef="AsOf20171231" decimals="-3" unitRef="TWD">11601416000</ifrs-full:OtherCurrentReceivables> + <ifrs-full:OtherCurrentReceivables contextRef="AsOf20170331" decimals="-3" unitRef="TWD">1454256000</ifrs-full:OtherCurrentReceivables> + <tifrs-bsci-ci:OtherReceivablesDueFromRelatedParties contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:OtherReceivablesDueFromRelatedParties> + <tifrs-bsci-ci:OtherReceivablesDueFromRelatedParties contextRef="AsOf20171231" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:OtherReceivablesDueFromRelatedParties> + <tifrs-bsci-ci:OtherReceivablesDueFromRelatedParties contextRef="AsOf20170331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:OtherReceivablesDueFromRelatedParties> + <ifrs-full:Inventories contextRef="AsOf20180331" decimals="-3" unitRef="TWD">7868893000</ifrs-full:Inventories> + <ifrs-full:Inventories contextRef="AsOf20171231" decimals="-3" unitRef="TWD">6888530000</ifrs-full:Inventories> + <ifrs-full:Inventories contextRef="AsOf20170331" decimals="-3" unitRef="TWD">4656170000</ifrs-full:Inventories> + <ifrs-full:OtherCurrentAssets contextRef="AsOf20180331" decimals="-3" unitRef="TWD">1996194000</ifrs-full:OtherCurrentAssets> + <ifrs-full:OtherCurrentAssets contextRef="AsOf20171231" decimals="-3" unitRef="TWD">1622096000</ifrs-full:OtherCurrentAssets> + <ifrs-full:OtherCurrentAssets contextRef="AsOf20170331" decimals="-3" unitRef="TWD">1430620000</ifrs-full:OtherCurrentAssets> + <ifrs-full:CurrentAssets contextRef="AsOf20180331" decimals="-3" unitRef="TWD">71965565000</ifrs-full:CurrentAssets> + <ifrs-full:CurrentAssets contextRef="AsOf20171231" decimals="-3" unitRef="TWD">62406327000</ifrs-full:CurrentAssets> + <ifrs-full:CurrentAssets contextRef="AsOf20170331" decimals="-3" unitRef="TWD">33623654000</ifrs-full:CurrentAssets> + <tifrs-bsci-ci:NoncurrentAvailableForSaleFinancialAssets contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:NoncurrentAvailableForSaleFinancialAssets> + <tifrs-bsci-ci:NoncurrentAvailableForSaleFinancialAssets contextRef="AsOf20171231" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:NoncurrentAvailableForSaleFinancialAssets> + <tifrs-bsci-ci:NoncurrentAvailableForSaleFinancialAssets contextRef="AsOf20170331" decimals="-3" unitRef="TWD">50728048000</tifrs-bsci-ci:NoncurrentAvailableForSaleFinancialAssets> + <ifrs-full:PropertyPlantAndEquipment contextRef="AsOf20180331" decimals="-3" unitRef="TWD">84607717000</ifrs-full:PropertyPlantAndEquipment> + <ifrs-full:PropertyPlantAndEquipment contextRef="AsOf20171231" decimals="-3" unitRef="TWD">86241880000</ifrs-full:PropertyPlantAndEquipment> + <ifrs-full:PropertyPlantAndEquipment contextRef="AsOf20170331" decimals="-3" unitRef="TWD">71886199000</ifrs-full:PropertyPlantAndEquipment> + <ifrs-full:IntangibleAssetsAndGoodwill contextRef="AsOf20180331" decimals="-3" unitRef="TWD">102331000</ifrs-full:IntangibleAssetsAndGoodwill> + <ifrs-full:IntangibleAssetsAndGoodwill contextRef="AsOf20171231" decimals="-3" unitRef="TWD">136550000</ifrs-full:IntangibleAssetsAndGoodwill> + <ifrs-full:IntangibleAssetsAndGoodwill contextRef="AsOf20170331" decimals="-3" unitRef="TWD">238424000</ifrs-full:IntangibleAssetsAndGoodwill> + <ifrs-full:DeferredTaxAssets contextRef="AsOf20180331" decimals="-3" unitRef="TWD">859732000</ifrs-full:DeferredTaxAssets> + <ifrs-full:DeferredTaxAssets contextRef="AsOf20171231" decimals="-3" unitRef="TWD">922559000</ifrs-full:DeferredTaxAssets> + <ifrs-full:DeferredTaxAssets contextRef="AsOf20170331" decimals="-3" unitRef="TWD">846975000</ifrs-full:DeferredTaxAssets> + <ifrs-full:OtherNoncurrentAssets contextRef="AsOf20180331" decimals="-3" unitRef="TWD">1032293000</ifrs-full:OtherNoncurrentAssets> + <ifrs-full:OtherNoncurrentAssets contextRef="AsOf20171231" decimals="-3" unitRef="TWD">1071986000</ifrs-full:OtherNoncurrentAssets> + <ifrs-full:OtherNoncurrentAssets contextRef="AsOf20170331" decimals="-3" unitRef="TWD">1602634000</ifrs-full:OtherNoncurrentAssets> + <tifrs-bsci-ci:LongtermNotesAndAccountsReceivable contextRef="AsOf20180331" decimals="-3" unitRef="TWD">1003224000</tifrs-bsci-ci:LongtermNotesAndAccountsReceivable> + <tifrs-bsci-ci:LongtermNotesAndAccountsReceivable contextRef="AsOf20171231" decimals="-3" unitRef="TWD">1043501000</tifrs-bsci-ci:LongtermNotesAndAccountsReceivable> + <tifrs-bsci-ci:LongtermNotesAndAccountsReceivable contextRef="AsOf20170331" decimals="-3" unitRef="TWD">1278815000</tifrs-bsci-ci:LongtermNotesAndAccountsReceivable> + <ifrs-full:FinanceLeaseReceivables contextRef="AsOf20180331" decimals="-3" unitRef="TWD">1003224000</ifrs-full:FinanceLeaseReceivables> + <ifrs-full:FinanceLeaseReceivables contextRef="AsOf20171231" decimals="-3" unitRef="TWD">1043501000</ifrs-full:FinanceLeaseReceivables> + <ifrs-full:FinanceLeaseReceivables contextRef="AsOf20170331" decimals="-3" unitRef="TWD">1278815000</ifrs-full:FinanceLeaseReceivables> + <tifrs-bsci-ci:OtherNoncurrentAssetsOthers contextRef="AsOf20180331" decimals="-3" unitRef="TWD">29069000</tifrs-bsci-ci:OtherNoncurrentAssetsOthers> + <tifrs-bsci-ci:OtherNoncurrentAssetsOthers contextRef="AsOf20171231" decimals="-3" unitRef="TWD">28485000</tifrs-bsci-ci:OtherNoncurrentAssetsOthers> + <tifrs-bsci-ci:OtherNoncurrentAssetsOthers contextRef="AsOf20170331" decimals="-3" unitRef="TWD">323819000</tifrs-bsci-ci:OtherNoncurrentAssetsOthers> + <ifrs-full:NoncurrentAssets contextRef="AsOf20180331" decimals="-3" unitRef="TWD">86602073000</ifrs-full:NoncurrentAssets> + <ifrs-full:NoncurrentAssets contextRef="AsOf20171231" decimals="-3" unitRef="TWD">88372975000</ifrs-full:NoncurrentAssets> + <ifrs-full:NoncurrentAssets contextRef="AsOf20170331" decimals="-3" unitRef="TWD">125302280000</ifrs-full:NoncurrentAssets> + <ifrs-full:Assets contextRef="AsOf20180331" decimals="-3" unitRef="TWD">158567638000</ifrs-full:Assets> + <ifrs-full:Assets contextRef="AsOf20171231" decimals="-3" unitRef="TWD">150779302000</ifrs-full:Assets> + <ifrs-full:Assets contextRef="AsOf20170331" decimals="-3" unitRef="TWD">158925934000</ifrs-full:Assets> + <ifrs-full:CurrentFinancialLiabilitiesAtFairValueThroughProfitOrLoss contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</ifrs-full:CurrentFinancialLiabilitiesAtFairValueThroughProfitOrLoss> + <ifrs-full:CurrentFinancialLiabilitiesAtFairValueThroughProfitOrLoss contextRef="AsOf20171231" decimals="-3" unitRef="TWD">2238441000</ifrs-full:CurrentFinancialLiabilitiesAtFairValueThroughProfitOrLoss> + <ifrs-full:CurrentFinancialLiabilitiesAtFairValueThroughProfitOrLoss contextRef="AsOf20170331" decimals="-3" unitRef="TWD">1439801000</ifrs-full:CurrentFinancialLiabilitiesAtFairValueThroughProfitOrLoss> + <ifrs-full:TradeAndOtherCurrentPayablesToTradeSuppliers contextRef="AsOf20180331" decimals="-3" unitRef="TWD">3195934000</ifrs-full:TradeAndOtherCurrentPayablesToTradeSuppliers> + <ifrs-full:TradeAndOtherCurrentPayablesToTradeSuppliers contextRef="AsOf20171231" decimals="-3" unitRef="TWD">3072987000</ifrs-full:TradeAndOtherCurrentPayablesToTradeSuppliers> + <ifrs-full:TradeAndOtherCurrentPayablesToTradeSuppliers contextRef="AsOf20170331" decimals="-3" unitRef="TWD">5328595000</ifrs-full:TradeAndOtherCurrentPayablesToTradeSuppliers> + <ifrs-full:TradeAndOtherCurrentPayablesToRelatedParties contextRef="AsOf20180331" decimals="-3" unitRef="TWD">327777000</ifrs-full:TradeAndOtherCurrentPayablesToRelatedParties> + <ifrs-full:TradeAndOtherCurrentPayablesToRelatedParties contextRef="AsOf20171231" decimals="-3" unitRef="TWD">299746000</ifrs-full:TradeAndOtherCurrentPayablesToRelatedParties> + <ifrs-full:TradeAndOtherCurrentPayablesToRelatedParties contextRef="AsOf20170331" decimals="-3" unitRef="TWD">192637000</ifrs-full:TradeAndOtherCurrentPayablesToRelatedParties> + <ifrs-full:OtherCurrentPayables contextRef="AsOf20180331" decimals="-3" unitRef="TWD">7167115000</ifrs-full:OtherCurrentPayables> + <ifrs-full:OtherCurrentPayables contextRef="AsOf20171231" decimals="-3" unitRef="TWD">6297730000</ifrs-full:OtherCurrentPayables> + <ifrs-full:OtherCurrentPayables contextRef="AsOf20170331" decimals="-3" unitRef="TWD">4039590000</ifrs-full:OtherCurrentPayables> + <tifrs-bsci-ci:OtherPayablesToRelatedParties contextRef="AsOf20180331" decimals="-3" unitRef="TWD">995508000</tifrs-bsci-ci:OtherPayablesToRelatedParties> + <tifrs-bsci-ci:OtherPayablesToRelatedParties contextRef="AsOf20171231" decimals="-3" unitRef="TWD">1065854000</tifrs-bsci-ci:OtherPayablesToRelatedParties> + <tifrs-bsci-ci:OtherPayablesToRelatedParties contextRef="AsOf20170331" decimals="-3" unitRef="TWD">10900041000</tifrs-bsci-ci:OtherPayablesToRelatedParties> + <ifrs-full:CurrentTaxLiabilities contextRef="AsOf20180331" decimals="-3" unitRef="TWD">1713782000</ifrs-full:CurrentTaxLiabilities> + <ifrs-full:CurrentTaxLiabilities contextRef="AsOf20171231" decimals="-3" unitRef="TWD">1726392000</ifrs-full:CurrentTaxLiabilities> + <ifrs-full:CurrentTaxLiabilities contextRef="AsOf20170331" decimals="-3" unitRef="TWD">2088872000</ifrs-full:CurrentTaxLiabilities> + <ifrs-full:OtherCurrentLiabilities contextRef="AsOf20180331" decimals="-3" unitRef="TWD">1617000</ifrs-full:OtherCurrentLiabilities> + <ifrs-full:OtherCurrentLiabilities contextRef="AsOf20171231" decimals="-3" unitRef="TWD">1954000</ifrs-full:OtherCurrentLiabilities> + <ifrs-full:OtherCurrentLiabilities contextRef="AsOf20170331" decimals="-3" unitRef="TWD">7187658000</ifrs-full:OtherCurrentLiabilities> + <tifrs-bsci-ci:LongtermLiabilitiesCurrentPortion contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:LongtermLiabilitiesCurrentPortion> + <tifrs-bsci-ci:LongtermLiabilitiesCurrentPortion contextRef="AsOf20171231" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:LongtermLiabilitiesCurrentPortion> + <tifrs-bsci-ci:LongtermLiabilitiesCurrentPortion contextRef="AsOf20170331" decimals="-3" unitRef="TWD">7186625000</tifrs-bsci-ci:LongtermLiabilitiesCurrentPortion> + <ifrs-full:CurrentPortionOfLongtermBorrowings contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</ifrs-full:CurrentPortionOfLongtermBorrowings> + <ifrs-full:CurrentPortionOfLongtermBorrowings contextRef="AsOf20171231" decimals="-3" unitRef="TWD">0</ifrs-full:CurrentPortionOfLongtermBorrowings> + <ifrs-full:CurrentPortionOfLongtermBorrowings contextRef="AsOf20170331" decimals="-3" unitRef="TWD">7186625000</ifrs-full:CurrentPortionOfLongtermBorrowings> + <tifrs-bsci-ci:OtherCurrentLiabilitiesOthers contextRef="AsOf20180331" decimals="-3" unitRef="TWD">1617000</tifrs-bsci-ci:OtherCurrentLiabilitiesOthers> + <tifrs-bsci-ci:OtherCurrentLiabilitiesOthers contextRef="AsOf20171231" decimals="-3" unitRef="TWD">1954000</tifrs-bsci-ci:OtherCurrentLiabilitiesOthers> + <tifrs-bsci-ci:OtherCurrentLiabilitiesOthers contextRef="AsOf20170331" decimals="-3" unitRef="TWD">1033000</tifrs-bsci-ci:OtherCurrentLiabilitiesOthers> + <ifrs-full:CurrentLiabilities contextRef="AsOf20180331" decimals="-3" unitRef="TWD">13401733000</ifrs-full:CurrentLiabilities> + <ifrs-full:CurrentLiabilities contextRef="AsOf20171231" decimals="-3" unitRef="TWD">14703104000</ifrs-full:CurrentLiabilities> + <ifrs-full:CurrentLiabilities contextRef="AsOf20170331" decimals="-3" unitRef="TWD">31177194000</ifrs-full:CurrentLiabilities> + <ifrs-full:NoncurrentPortionOfNoncurrentBondsIssued contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</ifrs-full:NoncurrentPortionOfNoncurrentBondsIssued> + <ifrs-full:NoncurrentPortionOfNoncurrentBondsIssued contextRef="AsOf20171231" decimals="-3" unitRef="TWD">3286711000</ifrs-full:NoncurrentPortionOfNoncurrentBondsIssued> + <ifrs-full:NoncurrentPortionOfNoncurrentBondsIssued contextRef="AsOf20170331" decimals="-3" unitRef="TWD">14002436000</ifrs-full:NoncurrentPortionOfNoncurrentBondsIssued> + <ifrs-full:LongtermBorrowings contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</ifrs-full:LongtermBorrowings> + <ifrs-full:LongtermBorrowings contextRef="AsOf20171231" decimals="-3" unitRef="TWD">0</ifrs-full:LongtermBorrowings> + <ifrs-full:LongtermBorrowings contextRef="AsOf20170331" decimals="-3" unitRef="TWD">12776825000</ifrs-full:LongtermBorrowings> + <ifrs-full:DeferredTaxLiabilities contextRef="AsOf20180331" decimals="-3" unitRef="TWD">553000</ifrs-full:DeferredTaxLiabilities> + <ifrs-full:DeferredTaxLiabilities contextRef="AsOf20171231" decimals="-3" unitRef="TWD">63699000</ifrs-full:DeferredTaxLiabilities> + <ifrs-full:DeferredTaxLiabilities contextRef="AsOf20170331" decimals="-3" unitRef="TWD">3264513000</ifrs-full:DeferredTaxLiabilities> + <ifrs-full:OtherNoncurrentLiabilities contextRef="AsOf20180331" decimals="-3" unitRef="TWD">635359000</ifrs-full:OtherNoncurrentLiabilities> + <ifrs-full:OtherNoncurrentLiabilities contextRef="AsOf20171231" decimals="-3" unitRef="TWD">610600000</ifrs-full:OtherNoncurrentLiabilities> + <ifrs-full:OtherNoncurrentLiabilities contextRef="AsOf20170331" decimals="-3" unitRef="TWD">567206000</ifrs-full:OtherNoncurrentLiabilities> + <ifrs-full:NoncurrentRecognisedLiabilitiesDefinedBenefitPlan contextRef="AsOf20180331" decimals="-3" unitRef="TWD">525020000</ifrs-full:NoncurrentRecognisedLiabilitiesDefinedBenefitPlan> + <ifrs-full:NoncurrentRecognisedLiabilitiesDefinedBenefitPlan contextRef="AsOf20171231" decimals="-3" unitRef="TWD">525797000</ifrs-full:NoncurrentRecognisedLiabilitiesDefinedBenefitPlan> + <ifrs-full:NoncurrentRecognisedLiabilitiesDefinedBenefitPlan contextRef="AsOf20170331" decimals="-3" unitRef="TWD">449279000</ifrs-full:NoncurrentRecognisedLiabilitiesDefinedBenefitPlan> + <tifrs-bsci-ci:OtherNoncurrentLiabilitiesOthers contextRef="AsOf20180331" decimals="-3" unitRef="TWD">110339000</tifrs-bsci-ci:OtherNoncurrentLiabilitiesOthers> + <tifrs-bsci-ci:OtherNoncurrentLiabilitiesOthers contextRef="AsOf20171231" decimals="-3" unitRef="TWD">84803000</tifrs-bsci-ci:OtherNoncurrentLiabilitiesOthers> + <tifrs-bsci-ci:OtherNoncurrentLiabilitiesOthers contextRef="AsOf20170331" decimals="-3" unitRef="TWD">117927000</tifrs-bsci-ci:OtherNoncurrentLiabilitiesOthers> + <ifrs-full:NoncurrentLiabilities contextRef="AsOf20180331" decimals="-3" unitRef="TWD">635912000</ifrs-full:NoncurrentLiabilities> + <ifrs-full:NoncurrentLiabilities contextRef="AsOf20171231" decimals="-3" unitRef="TWD">3961010000</ifrs-full:NoncurrentLiabilities> + <ifrs-full:NoncurrentLiabilities contextRef="AsOf20170331" decimals="-3" unitRef="TWD">30610980000</ifrs-full:NoncurrentLiabilities> + <ifrs-full:Liabilities contextRef="AsOf20180331" decimals="-3" unitRef="TWD">14037645000</ifrs-full:Liabilities> + <ifrs-full:Liabilities contextRef="AsOf20171231" decimals="-3" unitRef="TWD">18664114000</ifrs-full:Liabilities> + <ifrs-full:Liabilities contextRef="AsOf20170331" decimals="-3" unitRef="TWD">61788174000</ifrs-full:Liabilities> + <tifrs-bsci-ci:OrdinaryShare contextRef="AsOf20180331" decimals="-3" unitRef="TWD">30028820000</tifrs-bsci-ci:OrdinaryShare> + <tifrs-bsci-ci:OrdinaryShare contextRef="AsOf20171231" decimals="-3" unitRef="TWD">29639382000</tifrs-bsci-ci:OrdinaryShare> + <tifrs-bsci-ci:OrdinaryShare contextRef="AsOf20170331" decimals="-3" unitRef="TWD">27485658000</tifrs-bsci-ci:OrdinaryShare> + <tifrs-bsci-ci:CertificateOfEntitlementToNewSharesFromConvertibleBond contextRef="AsOf20180331" decimals="-3" unitRef="TWD">567359000</tifrs-bsci-ci:CertificateOfEntitlementToNewSharesFromConvertibleBond> + <tifrs-bsci-ci:CertificateOfEntitlementToNewSharesFromConvertibleBond contextRef="AsOf20171231" decimals="-3" unitRef="TWD">223958000</tifrs-bsci-ci:CertificateOfEntitlementToNewSharesFromConvertibleBond> + <tifrs-bsci-ci:CertificateOfEntitlementToNewSharesFromConvertibleBond contextRef="AsOf20170331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CertificateOfEntitlementToNewSharesFromConvertibleBond> + <ifrs-full:IssuedCapital contextRef="AsOf20180331" decimals="-3" unitRef="TWD">30596179000</ifrs-full:IssuedCapital> + <ifrs-full:IssuedCapital contextRef="AsOf20171231" decimals="-3" unitRef="TWD">29863340000</ifrs-full:IssuedCapital> + <ifrs-full:IssuedCapital contextRef="AsOf20170331" decimals="-3" unitRef="TWD">27485658000</ifrs-full:IssuedCapital> + <ifrs-full:AdditionalPaidinCapital contextRef="AsOf20180331" decimals="-3" unitRef="TWD">29654480000</ifrs-full:AdditionalPaidinCapital> + <ifrs-full:AdditionalPaidinCapital contextRef="AsOf20171231" decimals="-3" unitRef="TWD">25150157000</ifrs-full:AdditionalPaidinCapital> + <ifrs-full:AdditionalPaidinCapital contextRef="AsOf20170331" decimals="-3" unitRef="TWD">9852246000</ifrs-full:AdditionalPaidinCapital> + <tifrs-bsci-ci:CapitalSurplusAdditionalPaidInCapitalArisingFromOrdinaryShare contextRef="AsOf20180331" decimals="-3" unitRef="TWD">29654480000</tifrs-bsci-ci:CapitalSurplusAdditionalPaidInCapitalArisingFromOrdinaryShare> + <tifrs-bsci-ci:CapitalSurplusAdditionalPaidInCapitalArisingFromOrdinaryShare contextRef="AsOf20171231" decimals="-3" unitRef="TWD">25150157000</tifrs-bsci-ci:CapitalSurplusAdditionalPaidInCapitalArisingFromOrdinaryShare> + <tifrs-bsci-ci:CapitalSurplusAdditionalPaidInCapitalArisingFromOrdinaryShare contextRef="AsOf20170331" decimals="-3" unitRef="TWD">9852246000</tifrs-bsci-ci:CapitalSurplusAdditionalPaidInCapitalArisingFromOrdinaryShare> + <tifrs-bsci-ci:CapitalSurplusTreasuryShareTransactions contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusTreasuryShareTransactions> + <tifrs-bsci-ci:CapitalSurplusTreasuryShareTransactions contextRef="AsOf20171231" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusTreasuryShareTransactions> + <tifrs-bsci-ci:CapitalSurplusTreasuryShareTransactions contextRef="AsOf20170331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusTreasuryShareTransactions> + <tifrs-bsci-ci:CapitalSurplusDifferenceBetweenConsiderationAndCarryingAmountOfSubsidiariesAcquiredOrDisposed contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusDifferenceBetweenConsiderationAndCarryingAmountOfSubsidiariesAcquiredOrDisposed> + <tifrs-bsci-ci:CapitalSurplusDifferenceBetweenConsiderationAndCarryingAmountOfSubsidiariesAcquiredOrDisposed contextRef="AsOf20171231" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusDifferenceBetweenConsiderationAndCarryingAmountOfSubsidiariesAcquiredOrDisposed> + <tifrs-bsci-ci:CapitalSurplusDifferenceBetweenConsiderationAndCarryingAmountOfSubsidiariesAcquiredOrDisposed contextRef="AsOf20170331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusDifferenceBetweenConsiderationAndCarryingAmountOfSubsidiariesAcquiredOrDisposed> + <tifrs-bsci-ci:CapitalSurplusChangesInOwnershipInterestsInSubsidiaries contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusChangesInOwnershipInterestsInSubsidiaries> + <tifrs-bsci-ci:CapitalSurplusChangesInOwnershipInterestsInSubsidiaries contextRef="AsOf20171231" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusChangesInOwnershipInterestsInSubsidiaries> + <tifrs-bsci-ci:CapitalSurplusChangesInOwnershipInterestsInSubsidiaries contextRef="AsOf20170331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusChangesInOwnershipInterestsInSubsidiaries> + <tifrs-bsci-ci:CapitalSurplusGainOnDisposalsOfPropertyPlanAndEquipment contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusGainOnDisposalsOfPropertyPlanAndEquipment> + <tifrs-bsci-ci:CapitalSurplusGainOnDisposalsOfPropertyPlanAndEquipment contextRef="AsOf20171231" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusGainOnDisposalsOfPropertyPlanAndEquipment> + <tifrs-bsci-ci:CapitalSurplusGainOnDisposalsOfPropertyPlanAndEquipment contextRef="AsOf20170331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusGainOnDisposalsOfPropertyPlanAndEquipment> + <tifrs-bsci-ci:CapitalSurplusDonatedAssetsReceived contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusDonatedAssetsReceived> + <tifrs-bsci-ci:CapitalSurplusDonatedAssetsReceived contextRef="AsOf20171231" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusDonatedAssetsReceived> + <tifrs-bsci-ci:CapitalSurplusDonatedAssetsReceived contextRef="AsOf20170331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusDonatedAssetsReceived> + <tifrs-bsci-ci:CapitalSurplusChangesInEquityOfAssociatesAndJointVenturesAccountedForUsingEquityMethod contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusChangesInEquityOfAssociatesAndJointVenturesAccountedForUsingEquityMethod> + <tifrs-bsci-ci:CapitalSurplusChangesInEquityOfAssociatesAndJointVenturesAccountedForUsingEquityMethod contextRef="AsOf20171231" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusChangesInEquityOfAssociatesAndJointVenturesAccountedForUsingEquityMethod> + <tifrs-bsci-ci:CapitalSurplusChangesInEquityOfAssociatesAndJointVenturesAccountedForUsingEquityMethod contextRef="AsOf20170331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusChangesInEquityOfAssociatesAndJointVenturesAccountedForUsingEquityMethod> + <tifrs-bsci-ci:CapitalSurplusDifferenceBetweenconsiderationAndCarryingAmountOfSubsidiariesAcquiredOrDisposedAssociatesAndJointVenturesAccountedForUsingEquityMethod contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusDifferenceBetweenconsiderationAndCarryingAmountOfSubsidiariesAcquiredOrDisposedAssociatesAndJointVenturesAccountedForUsingEquityMethod> + <tifrs-bsci-ci:CapitalSurplusDifferenceBetweenconsiderationAndCarryingAmountOfSubsidiariesAcquiredOrDisposedAssociatesAndJointVenturesAccountedForUsingEquityMethod contextRef="AsOf20171231" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusDifferenceBetweenconsiderationAndCarryingAmountOfSubsidiariesAcquiredOrDisposedAssociatesAndJointVenturesAccountedForUsingEquityMethod> + <tifrs-bsci-ci:CapitalSurplusDifferenceBetweenconsiderationAndCarryingAmountOfSubsidiariesAcquiredOrDisposedAssociatesAndJointVenturesAccountedForUsingEquityMethod contextRef="AsOf20170331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusDifferenceBetweenconsiderationAndCarryingAmountOfSubsidiariesAcquiredOrDisposedAssociatesAndJointVenturesAccountedForUsingEquityMethod> + <ifrs-full:MergerReserve contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</ifrs-full:MergerReserve> + <ifrs-full:MergerReserve contextRef="AsOf20171231" decimals="-3" unitRef="TWD">0</ifrs-full:MergerReserve> + <ifrs-full:MergerReserve contextRef="AsOf20170331" decimals="-3" unitRef="TWD">0</ifrs-full:MergerReserve> + <tifrs-bsci-ci:CapitalSurplusEmployeeShareOptions contextRef="AsOf20180331" decimals="-3" unitRef="TWD">2192903000</tifrs-bsci-ci:CapitalSurplusEmployeeShareOptions> + <tifrs-bsci-ci:CapitalSurplusEmployeeShareOptions contextRef="AsOf20171231" decimals="-3" unitRef="TWD">2127034000</tifrs-bsci-ci:CapitalSurplusEmployeeShareOptions> + <tifrs-bsci-ci:CapitalSurplusEmployeeShareOptions contextRef="AsOf20170331" decimals="-3" unitRef="TWD">1782354000</tifrs-bsci-ci:CapitalSurplusEmployeeShareOptions> + <tifrs-bsci-ci:CapitalSurplusShareOptions contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusShareOptions> + <tifrs-bsci-ci:CapitalSurplusShareOptions contextRef="AsOf20171231" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusShareOptions> + <tifrs-bsci-ci:CapitalSurplusShareOptions contextRef="AsOf20170331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusShareOptions> + <tifrs-bsci-ci:CapitalSurplusRestrictedStock contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusRestrictedStock> + <tifrs-bsci-ci:CapitalSurplusRestrictedStock contextRef="AsOf20171231" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusRestrictedStock> + <tifrs-bsci-ci:CapitalSurplusRestrictedStock contextRef="AsOf20170331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusRestrictedStock> + <tifrs-bsci-ci:CapitalSurplusOthers contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusOthers> + <tifrs-bsci-ci:CapitalSurplusOthers contextRef="AsOf20171231" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:CapitalSurplusOthers> + <tifrs-bsci-ci:CapitalSurplusOthers contextRef="AsOf20170331" decimals="-3" unitRef="TWD">3300000</tifrs-bsci-ci:CapitalSurplusOthers> + <ifrs-full:CapitalReserve contextRef="AsOf20180331" decimals="-3" unitRef="TWD">31847383000</ifrs-full:CapitalReserve> + <ifrs-full:CapitalReserve contextRef="AsOf20171231" decimals="-3" unitRef="TWD">27277191000</ifrs-full:CapitalReserve> + <ifrs-full:CapitalReserve contextRef="AsOf20170331" decimals="-3" unitRef="TWD">11637900000</ifrs-full:CapitalReserve> + <ifrs-full:StatutoryReserve contextRef="AsOf20180331" decimals="-3" unitRef="TWD">5164057000</ifrs-full:StatutoryReserve> + <ifrs-full:StatutoryReserve contextRef="AsOf20171231" decimals="-3" unitRef="TWD">5164057000</ifrs-full:StatutoryReserve> + <ifrs-full:StatutoryReserve contextRef="AsOf20170331" decimals="-3" unitRef="TWD">2791929000</ifrs-full:StatutoryReserve> + <tifrs-bsci-ci:SpecialReserve contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:SpecialReserve> + <tifrs-bsci-ci:SpecialReserve contextRef="AsOf20171231" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:SpecialReserve> + <tifrs-bsci-ci:SpecialReserve contextRef="AsOf20170331" decimals="-3" unitRef="TWD">4570000</tifrs-bsci-ci:SpecialReserve> + <tifrs-bsci-ci:UnappropriatedRetainedEarningsAaccumulatedDeficit contextRef="AsOf20180331" decimals="-3" unitRef="TWD">76961794000</tifrs-bsci-ci:UnappropriatedRetainedEarningsAaccumulatedDeficit> + <tifrs-bsci-ci:UnappropriatedRetainedEarningsAaccumulatedDeficit contextRef="AsOf20171231" decimals="-3" unitRef="TWD">69734440000</tifrs-bsci-ci:UnappropriatedRetainedEarningsAaccumulatedDeficit> + <tifrs-bsci-ci:UnappropriatedRetainedEarningsAaccumulatedDeficit contextRef="AsOf20170331" decimals="-3" unitRef="TWD">39571384000</tifrs-bsci-ci:UnappropriatedRetainedEarningsAaccumulatedDeficit> + <ifrs-full:RetainedEarnings contextRef="AsOf20180331" decimals="-3" unitRef="TWD">82125851000</ifrs-full:RetainedEarnings> + <ifrs-full:RetainedEarnings contextRef="AsOf20171231" decimals="-3" unitRef="TWD">74898497000</ifrs-full:RetainedEarnings> + <ifrs-full:RetainedEarnings contextRef="AsOf20170331" decimals="-3" unitRef="TWD">42367883000</ifrs-full:RetainedEarnings> + <ifrs-full:OtherEquityInterest contextRef="AsOf20180331" decimals="-3" unitRef="TWD">-39420000</ifrs-full:OtherEquityInterest> + <ifrs-full:OtherEquityInterest contextRef="AsOf20171231" decimals="-3" unitRef="TWD">-39163000</ifrs-full:OtherEquityInterest> + <ifrs-full:OtherEquityInterest contextRef="AsOf20170331" decimals="-3" unitRef="TWD">15883901000</ifrs-full:OtherEquityInterest> + <ifrs-full:TreasuryShares contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</ifrs-full:TreasuryShares> + <ifrs-full:TreasuryShares contextRef="AsOf20171231" decimals="-3" unitRef="TWD">0</ifrs-full:TreasuryShares> + <ifrs-full:TreasuryShares contextRef="AsOf20170331" decimals="-3" unitRef="TWD">347533000</ifrs-full:TreasuryShares> + <ifrs-full:EquityAttributableToOwnersOfParent contextRef="AsOf20180331" decimals="-3" unitRef="TWD">144529993000</ifrs-full:EquityAttributableToOwnersOfParent> + <ifrs-full:EquityAttributableToOwnersOfParent contextRef="AsOf20171231" decimals="-3" unitRef="TWD">131999865000</ifrs-full:EquityAttributableToOwnersOfParent> + <ifrs-full:EquityAttributableToOwnersOfParent contextRef="AsOf20170331" decimals="-3" unitRef="TWD">97027809000</ifrs-full:EquityAttributableToOwnersOfParent> + <tifrs-bsci-ci:EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl> + <tifrs-bsci-ci:EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl contextRef="AsOf20171231" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl> + <tifrs-bsci-ci:EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl contextRef="AsOf20170331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl> + <ifrs-full:NoncontrollingInterests contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</ifrs-full:NoncontrollingInterests> + <ifrs-full:NoncontrollingInterests contextRef="AsOf20171231" decimals="-3" unitRef="TWD">115323000</ifrs-full:NoncontrollingInterests> + <ifrs-full:NoncontrollingInterests contextRef="AsOf20170331" decimals="-3" unitRef="TWD">109951000</ifrs-full:NoncontrollingInterests> + <ifrs-full:Equity contextRef="AsOf20180331" decimals="-3" unitRef="TWD">144529993000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20171231" decimals="-3" unitRef="TWD">132115188000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331" decimals="-3" unitRef="TWD">97137760000</ifrs-full:Equity> + <ifrs-full:EquityAndLiabilities contextRef="AsOf20180331" decimals="-3" unitRef="TWD">158567638000</ifrs-full:EquityAndLiabilities> + <ifrs-full:EquityAndLiabilities contextRef="AsOf20171231" decimals="-3" unitRef="TWD">150779302000</ifrs-full:EquityAndLiabilities> + <ifrs-full:EquityAndLiabilities contextRef="AsOf20170331" decimals="-3" unitRef="TWD">158925934000</ifrs-full:EquityAndLiabilities> + <tifrs-bsci-ci:NumberOfShareCapitalAwaitingRetirement contextRef="AsOf20180331" decimals="0" unitRef="Shares">0</tifrs-bsci-ci:NumberOfShareCapitalAwaitingRetirement> + <tifrs-bsci-ci:NumberOfShareCapitalAwaitingRetirement contextRef="AsOf20171231" decimals="0" unitRef="Shares">0</tifrs-bsci-ci:NumberOfShareCapitalAwaitingRetirement> + <tifrs-bsci-ci:NumberOfShareCapitalAwaitingRetirement contextRef="AsOf20170331" decimals="0" unitRef="Shares">0</tifrs-bsci-ci:NumberOfShareCapitalAwaitingRetirement> + <tifrs-bsci-ci:EquivalentIssueSharesOfAdvanceReceiptsForOrdinaryShare contextRef="AsOf20180331" decimals="0" unitRef="Shares">0</tifrs-bsci-ci:EquivalentIssueSharesOfAdvanceReceiptsForOrdinaryShare> + <tifrs-bsci-ci:EquivalentIssueSharesOfAdvanceReceiptsForOrdinaryShare contextRef="AsOf20171231" decimals="0" unitRef="Shares">0</tifrs-bsci-ci:EquivalentIssueSharesOfAdvanceReceiptsForOrdinaryShare> + <tifrs-bsci-ci:EquivalentIssueSharesOfAdvanceReceiptsForOrdinaryShare contextRef="AsOf20170331" decimals="0" unitRef="Shares">0</tifrs-bsci-ci:EquivalentIssueSharesOfAdvanceReceiptsForOrdinaryShare> + <tifrs-bsci-ci:NumberOfSharesInEntityHeldByEntityAndByItsSubsidiaries contextRef="AsOf20180331" decimals="0" unitRef="Shares">0</tifrs-bsci-ci:NumberOfSharesInEntityHeldByEntityAndByItsSubsidiaries> + <tifrs-bsci-ci:NumberOfSharesInEntityHeldByEntityAndByItsSubsidiaries contextRef="AsOf20171231" decimals="0" unitRef="Shares">0</tifrs-bsci-ci:NumberOfSharesInEntityHeldByEntityAndByItsSubsidiaries> + <tifrs-bsci-ci:NumberOfSharesInEntityHeldByEntityAndByItsSubsidiaries contextRef="AsOf20170331" decimals="0" unitRef="Shares">687558</tifrs-bsci-ci:NumberOfSharesInEntityHeldByEntityAndByItsSubsidiaries> + <ifrs-full:Revenue contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">18797439000</ifrs-full:Revenue> + <ifrs-full:Revenue contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">12230574000</ifrs-full:Revenue> + <tifrs-bsci-ci:OperatingCosts contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">9056761000</tifrs-bsci-ci:OperatingCosts> + <tifrs-bsci-ci:OperatingCosts contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">7330057000</tifrs-bsci-ci:OperatingCosts> + <tifrs-bsci-ci:GrossProfitLossFromOperations contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">9740678000</tifrs-bsci-ci:GrossProfitLossFromOperations> + <tifrs-bsci-ci:GrossProfitLossFromOperations contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">4900517000</tifrs-bsci-ci:GrossProfitLossFromOperations> + <ifrs-full:GrossProfit contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">9740678000</ifrs-full:GrossProfit> + <ifrs-full:GrossProfit contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">4900517000</ifrs-full:GrossProfit> + <ifrs-full:SellingExpense contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">195492000</ifrs-full:SellingExpense> + <ifrs-full:SellingExpense contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">173460000</ifrs-full:SellingExpense> + <ifrs-full:AdministrativeExpense contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">350091000</ifrs-full:AdministrativeExpense> + <ifrs-full:AdministrativeExpense contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">347654000</ifrs-full:AdministrativeExpense> + <ifrs-full:ResearchAndDevelopmentExpense contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">876079000</ifrs-full:ResearchAndDevelopmentExpense> + <ifrs-full:ResearchAndDevelopmentExpense contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">526763000</ifrs-full:ResearchAndDevelopmentExpense> + <ifrs-full:OperatingExpense contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">1421662000</ifrs-full:OperatingExpense> + <ifrs-full:OperatingExpense contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">1047877000</ifrs-full:OperatingExpense> + <ifrs-full:ProfitLossFromOperatingActivities contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">8319016000</ifrs-full:ProfitLossFromOperatingActivities> + <ifrs-full:ProfitLossFromOperatingActivities contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">3852640000</ifrs-full:ProfitLossFromOperatingActivities> + <ifrs-full:OtherRevenue contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">235627000</ifrs-full:OtherRevenue> + <ifrs-full:OtherRevenue contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">88313000</ifrs-full:OtherRevenue> + <ifrs-full:OtherGainsLosses contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-1322009000</ifrs-full:OtherGainsLosses> + <ifrs-full:OtherGainsLosses contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">-532488000</ifrs-full:OtherGainsLosses> + <ifrs-full:FinanceCosts contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">5298000</ifrs-full:FinanceCosts> + <ifrs-full:FinanceCosts contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">121997000</ifrs-full:FinanceCosts> + <tifrs-bsci-ci:NonoperatingIncomeAndExpenses contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-1091680000</tifrs-bsci-ci:NonoperatingIncomeAndExpenses> + <tifrs-bsci-ci:NonoperatingIncomeAndExpenses contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">-566172000</tifrs-bsci-ci:NonoperatingIncomeAndExpenses> + <ifrs-full:ProfitLossBeforeTax contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">7227336000</ifrs-full:ProfitLossBeforeTax> + <ifrs-full:ProfitLossBeforeTax contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">3286468000</ifrs-full:ProfitLossBeforeTax> + <ifrs-full:IncomeTaxExpenseContinuingOperations contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">1181000</ifrs-full:IncomeTaxExpenseContinuingOperations> + <ifrs-full:IncomeTaxExpenseContinuingOperations contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">3778000</ifrs-full:IncomeTaxExpenseContinuingOperations> + <ifrs-full:ProfitLossFromContinuingOperations contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">7226155000</ifrs-full:ProfitLossFromContinuingOperations> + <ifrs-full:ProfitLossFromContinuingOperations contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">3282690000</ifrs-full:ProfitLossFromContinuingOperations> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">7226155000</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">3282690000</ifrs-full:ProfitLoss> + <ifrs-full:OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans> + <ifrs-full:OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans> + <ifrs-full:OtherComprehensiveIncomeBeforeTaxGainsLossesOnRevaluation contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncomeBeforeTaxGainsLossesOnRevaluation> + <ifrs-full:OtherComprehensiveIncomeBeforeTaxGainsLossesOnRevaluation contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncomeBeforeTaxGainsLossesOnRevaluation> + <ifrs-full:OtherComprehensiveIncomeBeforeTaxChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiability contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncomeBeforeTaxChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiability> + <ifrs-full:OtherComprehensiveIncomeBeforeTaxChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiability contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncomeBeforeTaxChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiability> + <tifrs-bsci-ci:EquityRelatedToNoncurrentAssetsClassifiedAsHeldForSale-CI contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:EquityRelatedToNoncurrentAssetsClassifiedAsHeldForSale-CI> + <tifrs-bsci-ci:EquityRelatedToNoncurrentAssetsClassifiedAsHeldForSale-CI contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:EquityRelatedToNoncurrentAssetsClassifiedAsHeldForSale-CI> + <tifrs-bsci-ci:ComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss-EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwners contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:ComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss-EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwners> + <tifrs-bsci-ci:ComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss-EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwners contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:ComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss-EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwners> + <ifrs-full:ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillNotBeReclassifiedToProfitOrLossBeforeTax contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</ifrs-full:ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillNotBeReclassifiedToProfitOrLossBeforeTax> + <ifrs-full:ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillNotBeReclassifiedToProfitOrLossBeforeTax contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">0</ifrs-full:ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillNotBeReclassifiedToProfitOrLossBeforeTax> + <tifrs-bsci-ci:OtherComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:OtherComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss> + <tifrs-bsci-ci:OtherComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">0</tifrs-bsci-ci:OtherComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss> + <ifrs-full:IncomeTaxRelatingToComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-424000</ifrs-full:IncomeTaxRelatingToComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss> + <ifrs-full:IncomeTaxRelatingToComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">0</ifrs-full:IncomeTaxRelatingToComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss> + <ifrs-full:OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">424000</ifrs-full:OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax> + <ifrs-full:OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax> + <ifrs-full:OtherComprehensiveIncomeBeforeTaxExchangeDifferencesOnTranslation contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-257000</ifrs-full:OtherComprehensiveIncomeBeforeTaxExchangeDifferencesOnTranslation> + <ifrs-full:OtherComprehensiveIncomeBeforeTaxExchangeDifferencesOnTranslation contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">-20404000</ifrs-full:OtherComprehensiveIncomeBeforeTaxExchangeDifferencesOnTranslation> + <ifrs-full:OtherComprehensiveIncomeBeforeTaxAvailableforsaleFinancialAssets contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncomeBeforeTaxAvailableforsaleFinancialAssets> + <ifrs-full:OtherComprehensiveIncomeBeforeTaxAvailableforsaleFinancialAssets contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">9776747000</ifrs-full:OtherComprehensiveIncomeBeforeTaxAvailableforsaleFinancialAssets> + <ifrs-full:IncomeTaxRelatingToComponentsOfOtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLoss contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</ifrs-full:IncomeTaxRelatingToComponentsOfOtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLoss> + <ifrs-full:IncomeTaxRelatingToComponentsOfOtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLoss contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">1661543000</ifrs-full:IncomeTaxRelatingToComponentsOfOtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLoss> + <ifrs-full:OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-257000</ifrs-full:OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax> + <ifrs-full:OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">8094800000</ifrs-full:OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">167000</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">8094800000</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">7226322000</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">11377490000</ifrs-full:ComprehensiveIncome> + <ifrs-full:ProfitLossAttributableToOwnersOfParent contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">7226930000</ifrs-full:ProfitLossAttributableToOwnersOfParent> + <ifrs-full:ProfitLossAttributableToOwnersOfParent contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">3275298000</ifrs-full:ProfitLossAttributableToOwnersOfParent> + <ifrs-full:ProfitLossAttributableToNoncontrollingInterests contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-775000</ifrs-full:ProfitLossAttributableToNoncontrollingInterests> + <ifrs-full:ProfitLossAttributableToNoncontrollingInterests contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">7392000</ifrs-full:ProfitLossAttributableToNoncontrollingInterests> + <ifrs-full:ComprehensiveIncomeAttributableToOwnersOfParent contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">7227097000</ifrs-full:ComprehensiveIncomeAttributableToOwnersOfParent> + <ifrs-full:ComprehensiveIncomeAttributableToOwnersOfParent contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">11370098000</ifrs-full:ComprehensiveIncomeAttributableToOwnersOfParent> + <ifrs-full:ComprehensiveIncomeAttributableToNoncontrollingInterests contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-775000</ifrs-full:ComprehensiveIncomeAttributableToNoncontrollingInterests> + <ifrs-full:ComprehensiveIncomeAttributableToNoncontrollingInterests contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">7392000</ifrs-full:ComprehensiveIncomeAttributableToNoncontrollingInterests> + <ifrs-full:BasicEarningsLossPerShareFromContinuingOperations contextRef="From20180101To20180331" decimals="2" unitRef="TWD">2.39</ifrs-full:BasicEarningsLossPerShareFromContinuingOperations> + <ifrs-full:BasicEarningsLossPerShareFromContinuingOperations contextRef="From20170101To20170331" decimals="2" unitRef="TWD">1.19</ifrs-full:BasicEarningsLossPerShareFromContinuingOperations> + <ifrs-full:BasicEarningsLossPerShare contextRef="From20180101To20180331" decimals="2" unitRef="TWD">2.39</ifrs-full:BasicEarningsLossPerShare> + <ifrs-full:BasicEarningsLossPerShare contextRef="From20170101To20170331" decimals="2" unitRef="TWD">1.19</ifrs-full:BasicEarningsLossPerShare> + <ifrs-full:DilutedEarningsLossPerShareFromContinuingOperations contextRef="From20180101To20180331" decimals="2" unitRef="TWD">2.31</ifrs-full:DilutedEarningsLossPerShareFromContinuingOperations> + <ifrs-full:DilutedEarningsLossPerShareFromContinuingOperations contextRef="From20170101To20170331" decimals="2" unitRef="TWD">1.01</ifrs-full:DilutedEarningsLossPerShareFromContinuingOperations> + <ifrs-full:DilutedEarningsLossPerShare contextRef="From20180101To20180331" decimals="2" unitRef="TWD">2.31</ifrs-full:DilutedEarningsLossPerShare> + <ifrs-full:DilutedEarningsLossPerShare contextRef="From20170101To20170331" decimals="2" unitRef="TWD">1.01</ifrs-full:DilutedEarningsLossPerShare> + <ifrs-full:ProfitLossBeforeTax contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">7227336000</ifrs-full:ProfitLossBeforeTax> + <ifrs-full:ProfitLossBeforeTax contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">3286468000</ifrs-full:ProfitLossBeforeTax> + <tifrs-SCF:ProfitLossBeforeTax contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">7227336000</tifrs-SCF:ProfitLossBeforeTax> + <tifrs-SCF:ProfitLossBeforeTax contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">3286468000</tifrs-SCF:ProfitLossBeforeTax> + <ifrs-full:AdjustmentsForDepreciationExpense contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">2882097000</ifrs-full:AdjustmentsForDepreciationExpense> + <ifrs-full:AdjustmentsForDepreciationExpense contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">1534865000</ifrs-full:AdjustmentsForDepreciationExpense> + <ifrs-full:AdjustmentsForAmortisationExpense contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">35647000</ifrs-full:AdjustmentsForAmortisationExpense> + <ifrs-full:AdjustmentsForAmortisationExpense contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">70406000</ifrs-full:AdjustmentsForAmortisationExpense> + <tifrs-SCF:NetLossGainOnFinancialAssetsOrLiabilitiesAtFairValueThroughProfitOrLoss contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">281107000</tifrs-SCF:NetLossGainOnFinancialAssetsOrLiabilitiesAtFairValueThroughProfitOrLoss> + <tifrs-SCF:NetLossGainOnFinancialAssetsOrLiabilitiesAtFairValueThroughProfitOrLoss contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">262158000</tifrs-SCF:NetLossGainOnFinancialAssetsOrLiabilitiesAtFairValueThroughProfitOrLoss> + <ifrs-full:AdjustmentsForInterestExpense contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">5298000</ifrs-full:AdjustmentsForInterestExpense> + <ifrs-full:AdjustmentsForInterestExpense contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">121997000</ifrs-full:AdjustmentsForInterestExpense> + <ifrs-full:AdjustmentsForInterestIncome contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-235628000</ifrs-full:AdjustmentsForInterestIncome> + <ifrs-full:AdjustmentsForInterestIncome contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">-88313000</ifrs-full:AdjustmentsForInterestIncome> + <ifrs-full:AdjustmentsForSharebasedPayments contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">65869000</ifrs-full:AdjustmentsForSharebasedPayments> + <ifrs-full:AdjustmentsForSharebasedPayments contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">114893000</ifrs-full:AdjustmentsForSharebasedPayments> + <tifrs-SCF:EffectOfExchangeRateChangesOfBondsPayable contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-SCF:EffectOfExchangeRateChangesOfBondsPayable> + <tifrs-SCF:EffectOfExchangeRateChangesOfBondsPayable contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">-70684000</tifrs-SCF:EffectOfExchangeRateChangesOfBondsPayable> + <ifrs-full:AdjustmentsForGainLossOnDisposalsPropertyPlantAndEquipment contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-46000</ifrs-full:AdjustmentsForGainLossOnDisposalsPropertyPlantAndEquipment> + <ifrs-full:AdjustmentsForGainLossOnDisposalsPropertyPlantAndEquipment contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">-24000</ifrs-full:AdjustmentsForGainLossOnDisposalsPropertyPlantAndEquipment> + <tifrs-SCF:LossGainOnDisposalOfNoncurrentAssetsClassifiedAsHeldForSale contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-SCF:LossGainOnDisposalOfNoncurrentAssetsClassifiedAsHeldForSale> + <tifrs-SCF:LossGainOnDisposalOfNoncurrentAssetsClassifiedAsHeldForSale contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">-770000</tifrs-SCF:LossGainOnDisposalOfNoncurrentAssetsClassifiedAsHeldForSale> + <ifrs-full:AdjustmentsForGainLossOnDisposalOfInvestmentsInSubsidiariesJointVenturesAndAssociates contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-497000</ifrs-full:AdjustmentsForGainLossOnDisposalOfInvestmentsInSubsidiariesJointVenturesAndAssociates> + <ifrs-full:AdjustmentsForGainLossOnDisposalOfInvestmentsInSubsidiariesJointVenturesAndAssociates contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">0</ifrs-full:AdjustmentsForGainLossOnDisposalOfInvestmentsInSubsidiariesJointVenturesAndAssociates> + <tifrs-SCF:ImpairmentLossOnNonfinancialAssets contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-105403000</tifrs-SCF:ImpairmentLossOnNonfinancialAssets> + <tifrs-SCF:ImpairmentLossOnNonfinancialAssets contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">11677000</tifrs-SCF:ImpairmentLossOnNonfinancialAssets> + <ifrs-full:AdjustmentsForUnrealisedForeignExchangeLossesGains contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">161805000</ifrs-full:AdjustmentsForUnrealisedForeignExchangeLossesGains> + <ifrs-full:AdjustmentsForUnrealisedForeignExchangeLossesGains contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">-206229000</ifrs-full:AdjustmentsForUnrealisedForeignExchangeLossesGains> + <ifrs-full:OtherAdjustmentsToReconcileProfitLoss contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</ifrs-full:OtherAdjustmentsToReconcileProfitLoss> + <ifrs-full:OtherAdjustmentsToReconcileProfitLoss contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">-63542000</ifrs-full:OtherAdjustmentsToReconcileProfitLoss> + <tifrs-SCF:AdjustmentsToReconcileProfitLoss contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">3090249000</tifrs-SCF:AdjustmentsToReconcileProfitLoss> + <tifrs-SCF:AdjustmentsToReconcileProfitLoss contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">1686434000</tifrs-SCF:AdjustmentsToReconcileProfitLoss> + <tifrs-SCF:DecreaseIncreaseInAccountsReceivable contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-2579688000</tifrs-SCF:DecreaseIncreaseInAccountsReceivable> + <tifrs-SCF:DecreaseIncreaseInAccountsReceivable contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">-87476000</tifrs-SCF:DecreaseIncreaseInAccountsReceivable> + <tifrs-SCF:DecreaseIncreaseInOtherReceivables contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">158843000</tifrs-SCF:DecreaseIncreaseInOtherReceivables> + <tifrs-SCF:DecreaseIncreaseInOtherReceivables contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">519652000</tifrs-SCF:DecreaseIncreaseInOtherReceivables> + <ifrs-full:AdjustmentsForDecreaseIncreaseInInventories contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-1117269000</ifrs-full:AdjustmentsForDecreaseIncreaseInInventories> + <ifrs-full:AdjustmentsForDecreaseIncreaseInInventories contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">193322000</ifrs-full:AdjustmentsForDecreaseIncreaseInInventories> + <ifrs-full:AdjustmentsForDecreaseIncreaseInOtherCurrentAssets contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-377265000</ifrs-full:AdjustmentsForDecreaseIncreaseInOtherCurrentAssets> + <ifrs-full:AdjustmentsForDecreaseIncreaseInOtherCurrentAssets contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">83662000</ifrs-full:AdjustmentsForDecreaseIncreaseInOtherCurrentAssets> + <tifrs-SCF:ChangesInOperatingAssets contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-3915379000</tifrs-SCF:ChangesInOperatingAssets> + <tifrs-SCF:ChangesInOperatingAssets contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">709160000</tifrs-SCF:ChangesInOperatingAssets> + <ifrs-full:AdjustmentsForIncreaseDecreaseInFinancialLiabilitiesHeldForTrading contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-523136000</ifrs-full:AdjustmentsForIncreaseDecreaseInFinancialLiabilitiesHeldForTrading> + <ifrs-full:AdjustmentsForIncreaseDecreaseInFinancialLiabilitiesHeldForTrading contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">0</ifrs-full:AdjustmentsForIncreaseDecreaseInFinancialLiabilitiesHeldForTrading> + <tifrs-SCF:IncreaseDecreaseInAccountsPayable contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">273544000</tifrs-SCF:IncreaseDecreaseInAccountsPayable> + <tifrs-SCF:IncreaseDecreaseInAccountsPayable contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">33864000</tifrs-SCF:IncreaseDecreaseInAccountsPayable> + <tifrs-SCF:IncreaseDecreaseInOtherPayableToRelatedParties contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">1667694000</tifrs-SCF:IncreaseDecreaseInOtherPayableToRelatedParties> + <tifrs-SCF:IncreaseDecreaseInOtherPayableToRelatedParties contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">120650000</tifrs-SCF:IncreaseDecreaseInOtherPayableToRelatedParties> + <ifrs-full:AdjustmentsForIncreaseDecreaseInOtherCurrentLiabilities contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-337000</ifrs-full:AdjustmentsForIncreaseDecreaseInOtherCurrentLiabilities> + <ifrs-full:AdjustmentsForIncreaseDecreaseInOtherCurrentLiabilities contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">-235302000</ifrs-full:AdjustmentsForIncreaseDecreaseInOtherCurrentLiabilities> + <tifrs-SCF:IncreaseDecreaseInAccruedPensionLiabilities contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-777000</tifrs-SCF:IncreaseDecreaseInAccruedPensionLiabilities> + <tifrs-SCF:IncreaseDecreaseInAccruedPensionLiabilities contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">-4234000</tifrs-SCF:IncreaseDecreaseInAccruedPensionLiabilities> + <tifrs-SCF:IncreaseDecreaseInOtherOperatingLiabilities contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">916000</tifrs-SCF:IncreaseDecreaseInOtherOperatingLiabilities> + <tifrs-SCF:IncreaseDecreaseInOtherOperatingLiabilities contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">-10450000</tifrs-SCF:IncreaseDecreaseInOtherOperatingLiabilities> + <tifrs-SCF:ChangesInOperatingLiabilities contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">1417904000</tifrs-SCF:ChangesInOperatingLiabilities> + <tifrs-SCF:ChangesInOperatingLiabilities contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">-95472000</tifrs-SCF:ChangesInOperatingLiabilities> + <tifrs-SCF:ChangesInOperatingAssetsAndLiabilities contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-2497475000</tifrs-SCF:ChangesInOperatingAssetsAndLiabilities> + <tifrs-SCF:ChangesInOperatingAssetsAndLiabilities contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">613688000</tifrs-SCF:ChangesInOperatingAssetsAndLiabilities> + <tifrs-SCF:Adjustments contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">592774000</tifrs-SCF:Adjustments> + <tifrs-SCF:Adjustments contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">2300122000</tifrs-SCF:Adjustments> + <ifrs-full:CashFlowsFromUsedInOperations contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">7820110000</ifrs-full:CashFlowsFromUsedInOperations> + <ifrs-full:CashFlowsFromUsedInOperations contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">5586590000</ifrs-full:CashFlowsFromUsedInOperations> + <ifrs-full:InterestReceivedClassifiedAsOperatingActivities contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">145040000</ifrs-full:InterestReceivedClassifiedAsOperatingActivities> + <ifrs-full:InterestReceivedClassifiedAsOperatingActivities contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">26698000</ifrs-full:InterestReceivedClassifiedAsOperatingActivities> + <ifrs-full:DividendsReceivedClassifiedAsOperatingActivities contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</ifrs-full:DividendsReceivedClassifiedAsOperatingActivities> + <ifrs-full:DividendsReceivedClassifiedAsOperatingActivities contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">0</ifrs-full:DividendsReceivedClassifiedAsOperatingActivities> + <ifrs-full:InterestPaidClassifiedAsOperatingActivities contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-292000</ifrs-full:InterestPaidClassifiedAsOperatingActivities> + <ifrs-full:InterestPaidClassifiedAsOperatingActivities contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">-106345000</ifrs-full:InterestPaidClassifiedAsOperatingActivities> + <ifrs-full:IncomeTaxesPaidRefundClassifiedAsOperatingActivities contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-21368000</ifrs-full:IncomeTaxesPaidRefundClassifiedAsOperatingActivities> + <ifrs-full:IncomeTaxesPaidRefundClassifiedAsOperatingActivities contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">-8823000</ifrs-full:IncomeTaxesPaidRefundClassifiedAsOperatingActivities> + <ifrs-full:CashFlowsFromUsedInOperatingActivities contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">7943490000</ifrs-full:CashFlowsFromUsedInOperatingActivities> + <ifrs-full:CashFlowsFromUsedInOperatingActivities contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">5498120000</ifrs-full:CashFlowsFromUsedInOperatingActivities> + <tifrs-SCF:ProceedsFromDisposalOfAvailableForSaleFinancialAssets contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-SCF:ProceedsFromDisposalOfAvailableForSaleFinancialAssets> + <tifrs-SCF:ProceedsFromDisposalOfAvailableForSaleFinancialAssets contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">2000771000</tifrs-SCF:ProceedsFromDisposalOfAvailableForSaleFinancialAssets> + <ifrs-full:CashFlowsFromLosingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-85937000</ifrs-full:CashFlowsFromLosingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities> + <ifrs-full:CashFlowsFromLosingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">0</ifrs-full:CashFlowsFromLosingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities> + <ifrs-full:PurchaseOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-1940662000</ifrs-full:PurchaseOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities> + <ifrs-full:PurchaseOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">-6147471000</ifrs-full:PurchaseOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities> + <ifrs-full:ProceedsFromSalesOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">46000</ifrs-full:ProceedsFromSalesOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities> + <ifrs-full:ProceedsFromSalesOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">80000</ifrs-full:ProceedsFromSalesOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities> + <tifrs-SCF:IncreaseInRefundableDeposits contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-1501000</tifrs-SCF:IncreaseInRefundableDeposits> + <tifrs-SCF:IncreaseInRefundableDeposits contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">-1899000</tifrs-SCF:IncreaseInRefundableDeposits> + <tifrs-SCF:DecreaseInOtherReceivables contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">10616574000</tifrs-SCF:DecreaseInOtherReceivables> + <tifrs-SCF:DecreaseInOtherReceivables contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">0</tifrs-SCF:DecreaseInOtherReceivables> + <tifrs-SCF:DecreaseInLongTermLeaseAndInstallmentReceivables contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">107333000</tifrs-SCF:DecreaseInLongTermLeaseAndInstallmentReceivables> + <tifrs-SCF:DecreaseInLongTermLeaseAndInstallmentReceivables contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">107332000</tifrs-SCF:DecreaseInLongTermLeaseAndInstallmentReceivables> + <tifrs-SCF:IncreaseInOtherAssets contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-1278000</tifrs-SCF:IncreaseInOtherAssets> + <tifrs-SCF:IncreaseInOtherAssets contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">72297000</tifrs-SCF:IncreaseInOtherAssets> + <tifrs-SCF:NetCashFlowsFromUsedInInvestingActivities contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">8694575000</tifrs-SCF:NetCashFlowsFromUsedInInvestingActivities> + <tifrs-SCF:NetCashFlowsFromUsedInInvestingActivities contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">-3968890000</tifrs-SCF:NetCashFlowsFromUsedInInvestingActivities> + <tifrs-SCF:ProceedsFromIssuingBonds contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-SCF:ProceedsFromIssuingBonds> + <tifrs-SCF:ProceedsFromIssuingBonds contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">15681000000</tifrs-SCF:ProceedsFromIssuingBonds> + <tifrs-SCF:RepaymentsOfLongTermDebt contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-SCF:RepaymentsOfLongTermDebt> + <tifrs-SCF:RepaymentsOfLongTermDebt contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">-3000000000</tifrs-SCF:RepaymentsOfLongTermDebt> + <tifrs-SCF:DecreaseInGuaranteeDepositsReceived contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">25316000</tifrs-SCF:DecreaseInGuaranteeDepositsReceived> + <tifrs-SCF:DecreaseInGuaranteeDepositsReceived contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">30494000</tifrs-SCF:DecreaseInGuaranteeDepositsReceived> + <tifrs-SCF:DecreaseInOtherPayablesToRelatedParties contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">4530000</tifrs-SCF:DecreaseInOtherPayablesToRelatedParties> + <tifrs-SCF:DecreaseInOtherPayablesToRelatedParties contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">-2696964000</tifrs-SCF:DecreaseInOtherPayablesToRelatedParties> + <tifrs-SCF:DecreaseInLeasePayable contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-SCF:DecreaseInLeasePayable> + <tifrs-SCF:DecreaseInLeasePayable contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">-4138000</tifrs-SCF:DecreaseInLeasePayable> + <ifrs-full:ProceedsFromIssuingShares contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</ifrs-full:ProceedsFromIssuingShares> + <ifrs-full:ProceedsFromIssuingShares contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">0</ifrs-full:ProceedsFromIssuingShares> + <tifrs-SCF:ChangeInNoncontrollingInterests contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-SCF:ChangeInNoncontrollingInterests> + <tifrs-SCF:ChangeInNoncontrollingInterests contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">230000</tifrs-SCF:ChangeInNoncontrollingInterests> + <tifrs-SCF:CashFlowsFromUsedInFinancingActivities contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">29846000</tifrs-SCF:CashFlowsFromUsedInFinancingActivities> + <tifrs-SCF:CashFlowsFromUsedInFinancingActivities contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">10010622000</tifrs-SCF:CashFlowsFromUsedInFinancingActivities> + <ifrs-full:EffectOfExchangeRateChangesOnCashAndCashEquivalents contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-239778000</ifrs-full:EffectOfExchangeRateChangesOnCashAndCashEquivalents> + <ifrs-full:EffectOfExchangeRateChangesOnCashAndCashEquivalents contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">-341590000</ifrs-full:EffectOfExchangeRateChangesOnCashAndCashEquivalents> + <ifrs-full:IncreaseDecreaseInCashAndCashEquivalents contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">16428133000</ifrs-full:IncreaseDecreaseInCashAndCashEquivalents> + <ifrs-full:IncreaseDecreaseInCashAndCashEquivalents contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">11198262000</ifrs-full:IncreaseDecreaseInCashAndCashEquivalents> + <tifrs-SCF:CashAndCashEquivalentsAtBeginningOfPeriod contextRef="AsOf20180331" decimals="-3" unitRef="TWD">33768677000</tifrs-SCF:CashAndCashEquivalentsAtBeginningOfPeriod> + <tifrs-SCF:CashAndCashEquivalentsAtBeginningOfPeriod contextRef="AsOf20170331" decimals="-3" unitRef="TWD">9101632000</tifrs-SCF:CashAndCashEquivalentsAtBeginningOfPeriod> + <tifrs-SCF:CashAndCashEquivalentsAtEndOfPeriod contextRef="AsOf20180331" decimals="-3" unitRef="TWD">50196810000</tifrs-SCF:CashAndCashEquivalentsAtEndOfPeriod> + <tifrs-SCF:CashAndCashEquivalentsAtEndOfPeriod contextRef="AsOf20170331" decimals="-3" unitRef="TWD">20299894000</tifrs-SCF:CashAndCashEquivalentsAtEndOfPeriod> + <ifrs-full:Equity contextRef="AsOf20180101_OrdinaryShareMember" decimals="-3" unitRef="TWD">29639382000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180101_PreferenceShareMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180101_CertificateOfEntitlementToNewSharesFromConvertibleBondMember" decimals="-3" unitRef="TWD">223958000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180101_AdvanceReceiptsForShareCapitalMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180101_StockDividendToBeDistributedMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180101_Other-ShareCapitalMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180101_IssuedCapitalMember" decimals="-3" unitRef="TWD">29863340000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180101_CapitalReserveMember" decimals="-3" unitRef="TWD">27277191000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180101_StatutoryReserveMember" decimals="-3" unitRef="TWD">5164057000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180101_SpecialReserveMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180101_UnappropriatedRetainedEarningsAccumulatedDeficitMember" decimals="-3" unitRef="TWD">69734440000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180101_RetainedEarningsMember" decimals="-3" unitRef="TWD">74898497000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180101_ReserveOfExchangeDifferencesOnTranslationMember" decimals="-3" unitRef="TWD">-39163000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180101_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180101_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180101_ReserveOfCashFlowHedgesMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180101_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180101_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180101_ReserveOfRemeasurementsOfDefinedBenefitPlansMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180101_RevaluationSurplusMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180101_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180101_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180101_Others-OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180101_OtherEquityInterestMember" decimals="-3" unitRef="TWD">-39163000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180101_TreasurySharesMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180101_EquityAttributableToOwnersOfParentMember" decimals="-3" unitRef="TWD">131999865000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180101_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180101_NoncontrollingInterestsMember" decimals="-3" unitRef="TWD">115323000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180101_TotalEquityMember" decimals="-3" unitRef="TWD">132115188000</ifrs-full:Equity> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_OrdinaryShareMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_PreferenceShareMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_CertificateOfEntitlementToNewSharesFromConvertibleBondMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_AdvanceReceiptsForShareCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_StockDividendToBeDistributedMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_Other-ShareCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_IssuedCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_CapitalReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_StatutoryReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_SpecialReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_UnappropriatedRetainedEarningsAccumulatedDeficitMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_RetainedEarningsMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_ReserveOfExchangeDifferencesOnTranslationMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_ReserveOfCashFlowHedgesMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_ReserveOfRemeasurementsOfDefinedBenefitPlansMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_RevaluationSurplusMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_Others-OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_TreasurySharesMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_EquityAttributableToOwnersOfParentMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_NoncontrollingInterestsMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20180101To20180331_TotalEquityMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_OrdinaryShareMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_PreferenceShareMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_CertificateOfEntitlementToNewSharesFromConvertibleBondMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_AdvanceReceiptsForShareCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_StockDividendToBeDistributedMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_Other-ShareCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_IssuedCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_CapitalReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_StatutoryReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_SpecialReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_UnappropriatedRetainedEarningsAccumulatedDeficitMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_RetainedEarningsMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_ReserveOfExchangeDifferencesOnTranslationMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_ReserveOfCashFlowHedgesMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_ReserveOfRemeasurementsOfDefinedBenefitPlansMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_RevaluationSurplusMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_Others-OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_TreasurySharesMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_EquityAttributableToOwnersOfParentMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_NoncontrollingInterestsMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20180101To20180331_TotalEquityMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_OrdinaryShareMember" decimals="-3" unitRef="TWD">29639382000</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_PreferenceShareMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_CertificateOfEntitlementToNewSharesFromConvertibleBondMember" decimals="-3" unitRef="TWD">223958000</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_AdvanceReceiptsForShareCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_StockDividendToBeDistributedMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_Other-ShareCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_IssuedCapitalMember" decimals="-3" unitRef="TWD">29863340000</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_CapitalReserveMember" decimals="-3" unitRef="TWD">27277191000</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_StatutoryReserveMember" decimals="-3" unitRef="TWD">5164057000</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_SpecialReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_UnappropriatedRetainedEarningsAccumulatedDeficitMember" decimals="-3" unitRef="TWD">69734440000</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_RetainedEarningsMember" decimals="-3" unitRef="TWD">74898497000</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_ReserveOfExchangeDifferencesOnTranslationMember" decimals="-3" unitRef="TWD">-39163000</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_ReserveOfCashFlowHedgesMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_ReserveOfRemeasurementsOfDefinedBenefitPlansMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_RevaluationSurplusMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_Others-OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_OtherEquityInterestMember" decimals="-3" unitRef="TWD">-39163000</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_TreasurySharesMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_EquityAttributableToOwnersOfParentMember" decimals="-3" unitRef="TWD">131999865000</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_NoncontrollingInterestsMember" decimals="-3" unitRef="TWD">115323000</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20180331_TotalEquityMember" decimals="-3" unitRef="TWD">132115188000</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_OrdinaryShareMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_PreferenceShareMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_CertificateOfEntitlementToNewSharesFromConvertibleBondMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_AdvanceReceiptsForShareCapitalMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_StockDividendToBeDistributedMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_Other-ShareCapitalMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_IssuedCapitalMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_CapitalReserveMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_StatutoryReserveMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_SpecialReserveMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_UnappropriatedRetainedEarningsAccumulatedDeficitMember" decimals="-3" unitRef="TWD">7226930000</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_RetainedEarningsMember" decimals="-3" unitRef="TWD">7226930000</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_ReserveOfExchangeDifferencesOnTranslationMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_ReserveOfCashFlowHedgesMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_ReserveOfRemeasurementsOfDefinedBenefitPlansMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_RevaluationSurplusMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_Others-OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_TreasurySharesMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_EquityAttributableToOwnersOfParentMember" decimals="-3" unitRef="TWD">7226930000</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_NoncontrollingInterestsMember" decimals="-3" unitRef="TWD">-775000</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20180101To20180331_TotalEquityMember" decimals="-3" unitRef="TWD">7226155000</ifrs-full:ProfitLoss> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_OrdinaryShareMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_PreferenceShareMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_CertificateOfEntitlementToNewSharesFromConvertibleBondMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_AdvanceReceiptsForShareCapitalMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_StockDividendToBeDistributedMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_Other-ShareCapitalMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_IssuedCapitalMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_CapitalReserveMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_StatutoryReserveMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_SpecialReserveMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_UnappropriatedRetainedEarningsAccumulatedDeficitMember" decimals="-3" unitRef="TWD">424000</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_RetainedEarningsMember" decimals="-3" unitRef="TWD">424000</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_ReserveOfExchangeDifferencesOnTranslationMember" decimals="-3" unitRef="TWD">-257000</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_ReserveOfCashFlowHedgesMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_ReserveOfRemeasurementsOfDefinedBenefitPlansMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_RevaluationSurplusMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_Others-OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_OtherEquityInterestMember" decimals="-3" unitRef="TWD">-257000</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_TreasurySharesMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_EquityAttributableToOwnersOfParentMember" decimals="-3" unitRef="TWD">167000</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_NoncontrollingInterestsMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20180101To20180331_TotalEquityMember" decimals="-3" unitRef="TWD">167000</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_OrdinaryShareMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_PreferenceShareMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_CertificateOfEntitlementToNewSharesFromConvertibleBondMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_AdvanceReceiptsForShareCapitalMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_StockDividendToBeDistributedMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_Other-ShareCapitalMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_IssuedCapitalMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_CapitalReserveMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_StatutoryReserveMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_SpecialReserveMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_UnappropriatedRetainedEarningsAccumulatedDeficitMember" decimals="-3" unitRef="TWD">7227354000</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_RetainedEarningsMember" decimals="-3" unitRef="TWD">7227354000</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_ReserveOfExchangeDifferencesOnTranslationMember" decimals="-3" unitRef="TWD">-257000</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_ReserveOfCashFlowHedgesMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_ReserveOfRemeasurementsOfDefinedBenefitPlansMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_RevaluationSurplusMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_Others-OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_OtherEquityInterestMember" decimals="-3" unitRef="TWD">-257000</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_TreasurySharesMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_EquityAttributableToOwnersOfParentMember" decimals="-3" unitRef="TWD">7227097000</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_NoncontrollingInterestsMember" decimals="-3" unitRef="TWD">-775000</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20180101To20180331_TotalEquityMember" decimals="-3" unitRef="TWD">7226322000</ifrs-full:ComprehensiveIncome> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_OrdinaryShareMember" decimals="-3" unitRef="TWD">165480000</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_PreferenceShareMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_CertificateOfEntitlementToNewSharesFromConvertibleBondMember" decimals="-3" unitRef="TWD">567359000</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_AdvanceReceiptsForShareCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_StockDividendToBeDistributedMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_Other-ShareCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_IssuedCapitalMember" decimals="-3" unitRef="TWD">732839000</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_CapitalReserveMember" decimals="-3" unitRef="TWD">4504323000</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_StatutoryReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_SpecialReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_UnappropriatedRetainedEarningsAccumulatedDeficitMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_RetainedEarningsMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_ReserveOfExchangeDifferencesOnTranslationMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_ReserveOfCashFlowHedgesMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_ReserveOfRemeasurementsOfDefinedBenefitPlansMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_RevaluationSurplusMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_Others-OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_TreasurySharesMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_EquityAttributableToOwnersOfParentMember" decimals="-3" unitRef="TWD">5237162000</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_NoncontrollingInterestsMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfConvertibleBonds contextRef="From20180101To20180331_TotalEquityMember" decimals="-3" unitRef="TWD">5237162000</tifrs-es:ConversionOfConvertibleBonds> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_OrdinaryShareMember" decimals="-3" unitRef="TWD">223958000</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_PreferenceShareMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_CertificateOfEntitlementToNewSharesFromConvertibleBondMember" decimals="-3" unitRef="TWD">-223958000</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_AdvanceReceiptsForShareCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_StockDividendToBeDistributedMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_Other-ShareCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_IssuedCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_CapitalReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_StatutoryReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_SpecialReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_UnappropriatedRetainedEarningsAccumulatedDeficitMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_RetainedEarningsMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_ReserveOfExchangeDifferencesOnTranslationMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_ReserveOfCashFlowHedgesMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_ReserveOfRemeasurementsOfDefinedBenefitPlansMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_RevaluationSurplusMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_Others-OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_TreasurySharesMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_EquityAttributableToOwnersOfParentMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_NoncontrollingInterestsMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:ConversionOfCertificatesOfBondsToShare contextRef="From20180101To20180331_TotalEquityMember" decimals="-3" unitRef="TWD">0</tifrs-es:ConversionOfCertificatesOfBondsToShare> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_OrdinaryShareMember" decimals="-3" unitRef="TWD">0</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_PreferenceShareMember" decimals="-3" unitRef="TWD">0</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_CertificateOfEntitlementToNewSharesFromConvertibleBondMember" decimals="-3" unitRef="TWD">0</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_AdvanceReceiptsForShareCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_StockDividendToBeDistributedMember" decimals="-3" unitRef="TWD">0</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_Other-ShareCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_IssuedCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_CapitalReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_StatutoryReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_SpecialReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_UnappropriatedRetainedEarningsAccumulatedDeficitMember" decimals="-3" unitRef="TWD">0</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_RetainedEarningsMember" decimals="-3" unitRef="TWD">0</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_ReserveOfExchangeDifferencesOnTranslationMember" decimals="-3" unitRef="TWD">0</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" decimals="-3" unitRef="TWD">0</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember" decimals="-3" unitRef="TWD">0</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_ReserveOfCashFlowHedgesMember" decimals="-3" unitRef="TWD">0</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember" decimals="-3" unitRef="TWD">0</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember" decimals="-3" unitRef="TWD">0</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_ReserveOfRemeasurementsOfDefinedBenefitPlansMember" decimals="-3" unitRef="TWD">0</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_RevaluationSurplusMember" decimals="-3" unitRef="TWD">0</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember" decimals="-3" unitRef="TWD">0</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember" decimals="-3" unitRef="TWD">0</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_Others-OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_TreasurySharesMember" decimals="-3" unitRef="TWD">0</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_EquityAttributableToOwnersOfParentMember" decimals="-3" unitRef="TWD">0</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl" decimals="-3" unitRef="TWD">0</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_NoncontrollingInterestsMember" decimals="-3" unitRef="TWD">-114548000</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod contextRef="From20180101To20180331_TotalEquityMember" decimals="-3" unitRef="TWD">-114548000</tifrs-es:DisposalOfInvestmentsAccountedForUsingEquityMethod> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_OrdinaryShareMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_PreferenceShareMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_CertificateOfEntitlementToNewSharesFromConvertibleBondMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_AdvanceReceiptsForShareCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_StockDividendToBeDistributedMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_Other-ShareCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_IssuedCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_CapitalReserveMember" decimals="-3" unitRef="TWD">65869000</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_StatutoryReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_SpecialReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_UnappropriatedRetainedEarningsAccumulatedDeficitMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_RetainedEarningsMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_ReserveOfExchangeDifferencesOnTranslationMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_ReserveOfCashFlowHedgesMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_ReserveOfRemeasurementsOfDefinedBenefitPlansMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_RevaluationSurplusMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_Others-OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_TreasurySharesMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_EquityAttributableToOwnersOfParentMember" decimals="-3" unitRef="TWD">65869000</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_NoncontrollingInterestsMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20180101To20180331_TotalEquityMember" decimals="-3" unitRef="TWD">65869000</tifrs-es:Others-IncreaseDecreaseInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_OrdinaryShareMember" decimals="-3" unitRef="TWD">389438000</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_PreferenceShareMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_CertificateOfEntitlementToNewSharesFromConvertibleBondMember" decimals="-3" unitRef="TWD">343401000</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_AdvanceReceiptsForShareCapitalMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_StockDividendToBeDistributedMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_Other-ShareCapitalMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_IssuedCapitalMember" decimals="-3" unitRef="TWD">732839000</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_CapitalReserveMember" decimals="-3" unitRef="TWD">4570192000</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_StatutoryReserveMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_SpecialReserveMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_UnappropriatedRetainedEarningsAccumulatedDeficitMember" decimals="-3" unitRef="TWD">7227354000</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_RetainedEarningsMember" decimals="-3" unitRef="TWD">7227354000</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_ReserveOfExchangeDifferencesOnTranslationMember" decimals="-3" unitRef="TWD">-257000</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_ReserveOfCashFlowHedgesMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_ReserveOfRemeasurementsOfDefinedBenefitPlansMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_RevaluationSurplusMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_Others-OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_OtherEquityInterestMember" decimals="-3" unitRef="TWD">-257000</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_TreasurySharesMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_EquityAttributableToOwnersOfParentMember" decimals="-3" unitRef="TWD">12530128000</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_NoncontrollingInterestsMember" decimals="-3" unitRef="TWD">-115323000</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20180101To20180331_TotalEquityMember" decimals="-3" unitRef="TWD">12414805000</ifrs-full:ChangesInEquity> + <ifrs-full:Equity contextRef="AsOf20180331_OrdinaryShareMember" decimals="-3" unitRef="TWD">30028820000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180331_PreferenceShareMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180331_CertificateOfEntitlementToNewSharesFromConvertibleBondMember" decimals="-3" unitRef="TWD">567359000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180331_AdvanceReceiptsForShareCapitalMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180331_StockDividendToBeDistributedMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180331_Other-ShareCapitalMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180331_IssuedCapitalMember" decimals="-3" unitRef="TWD">30596179000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180331_CapitalReserveMember" decimals="-3" unitRef="TWD">31847383000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180331_StatutoryReserveMember" decimals="-3" unitRef="TWD">5164057000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180331_SpecialReserveMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180331_UnappropriatedRetainedEarningsAccumulatedDeficitMember" decimals="-3" unitRef="TWD">76961794000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180331_RetainedEarningsMember" decimals="-3" unitRef="TWD">82125851000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180331_ReserveOfExchangeDifferencesOnTranslationMember" decimals="-3" unitRef="TWD">-39420000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180331_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180331_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180331_ReserveOfCashFlowHedgesMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180331_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180331_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180331_ReserveOfRemeasurementsOfDefinedBenefitPlansMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180331_RevaluationSurplusMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180331_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180331_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180331_Others-OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180331_OtherEquityInterestMember" decimals="-3" unitRef="TWD">-39420000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180331_TreasurySharesMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180331_EquityAttributableToOwnersOfParentMember" decimals="-3" unitRef="TWD">144529993000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180331_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180331_NoncontrollingInterestsMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20180331_TotalEquityMember" decimals="-3" unitRef="TWD">144529993000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_OrdinaryShareMember" decimals="-3" unitRef="TWD">27485658000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_PreferenceShareMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_CertificateOfEntitlementToNewSharesFromConvertibleBondMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_AdvanceReceiptsForShareCapitalMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_StockDividendToBeDistributedMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_Other-ShareCapitalMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_IssuedCapitalMember" decimals="-3" unitRef="TWD">27485658000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_CapitalReserveMember" decimals="-3" unitRef="TWD">11523007000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_StatutoryReserveMember" decimals="-3" unitRef="TWD">2791929000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_SpecialReserveMember" decimals="-3" unitRef="TWD">4570000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_UnappropriatedRetainedEarningsAccumulatedDeficitMember" decimals="-3" unitRef="TWD">36296086000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_RetainedEarningsMember" decimals="-3" unitRef="TWD">39092585000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_ReserveOfExchangeDifferencesOnTranslationMember" decimals="-3" unitRef="TWD">-16846000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember" decimals="-3" unitRef="TWD">7805947000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_ReserveOfCashFlowHedgesMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_ReserveOfRemeasurementsOfDefinedBenefitPlansMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_RevaluationSurplusMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_Others-OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_OtherEquityInterestMember" decimals="-3" unitRef="TWD">7789101000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_TreasurySharesMember" decimals="-3" unitRef="TWD">-347533000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_EquityAttributableToOwnersOfParentMember" decimals="-3" unitRef="TWD">85542818000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_NoncontrollingInterestsMember" decimals="-3" unitRef="TWD">102329000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170101_TotalEquityMember" decimals="-3" unitRef="TWD">85645147000</ifrs-full:Equity> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_OrdinaryShareMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_PreferenceShareMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_CertificateOfEntitlementToNewSharesFromConvertibleBondMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_AdvanceReceiptsForShareCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_StockDividendToBeDistributedMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_Other-ShareCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_IssuedCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_CapitalReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_StatutoryReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_SpecialReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_UnappropriatedRetainedEarningsAccumulatedDeficitMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_RetainedEarningsMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_ReserveOfExchangeDifferencesOnTranslationMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_ReserveOfCashFlowHedgesMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_ReserveOfRemeasurementsOfDefinedBenefitPlansMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_RevaluationSurplusMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_Others-OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_TreasurySharesMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_EquityAttributableToOwnersOfParentMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_NoncontrollingInterestsMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement contextRef="From20170101To20170331_TotalEquityMember" decimals="-3" unitRef="TWD">0</tifrs-es:EffectsOfRetrospectiveApplicationAndRetrospectiveRestatement> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_OrdinaryShareMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_PreferenceShareMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_CertificateOfEntitlementToNewSharesFromConvertibleBondMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_AdvanceReceiptsForShareCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_StockDividendToBeDistributedMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_Other-ShareCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_IssuedCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_CapitalReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_StatutoryReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_SpecialReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_UnappropriatedRetainedEarningsAccumulatedDeficitMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_RetainedEarningsMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_ReserveOfExchangeDifferencesOnTranslationMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_ReserveOfCashFlowHedgesMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_ReserveOfRemeasurementsOfDefinedBenefitPlansMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_RevaluationSurplusMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_Others-OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_TreasurySharesMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_EquityAttributableToOwnersOfParentMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_NoncontrollingInterestsMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl contextRef="From20170101To20170331_TotalEquityMember" decimals="-3" unitRef="TWD">0</tifrs-es:RetrospectiveAdjustmentOfEquityAttributableToFormerOwnerDueToReorganizationOfEntitiesUnderCommonControl> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_OrdinaryShareMember" decimals="-3" unitRef="TWD">27485658000</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_PreferenceShareMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_CertificateOfEntitlementToNewSharesFromConvertibleBondMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_AdvanceReceiptsForShareCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_StockDividendToBeDistributedMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_Other-ShareCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_IssuedCapitalMember" decimals="-3" unitRef="TWD">27485658000</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_CapitalReserveMember" decimals="-3" unitRef="TWD">11523007000</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_StatutoryReserveMember" decimals="-3" unitRef="TWD">2791929000</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_SpecialReserveMember" decimals="-3" unitRef="TWD">4570000</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_UnappropriatedRetainedEarningsAccumulatedDeficitMember" decimals="-3" unitRef="TWD">36296086000</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_RetainedEarningsMember" decimals="-3" unitRef="TWD">39092585000</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_ReserveOfExchangeDifferencesOnTranslationMember" decimals="-3" unitRef="TWD">-16846000</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember" decimals="-3" unitRef="TWD">7805947000</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_ReserveOfCashFlowHedgesMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_ReserveOfRemeasurementsOfDefinedBenefitPlansMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_RevaluationSurplusMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_Others-OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_OtherEquityInterestMember" decimals="-3" unitRef="TWD">7789101000</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_TreasurySharesMember" decimals="-3" unitRef="TWD">-347533000</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_EquityAttributableToOwnersOfParentMember" decimals="-3" unitRef="TWD">85542818000</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl" decimals="-3" unitRef="TWD">0</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_NoncontrollingInterestsMember" decimals="-3" unitRef="TWD">102329000</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments contextRef="AsOf20170331_TotalEquityMember" decimals="-3" unitRef="TWD">85645147000</tifrs-es:EquityAtBeginningOfPeriodAfterAdjustments> + <tifrs-es:SpecialReserveAppropriated contextRef="From20170101To20170331_OrdinaryShareMember" decimals="-3" unitRef="TWD">0</tifrs-es:SpecialReserveAppropriated> + <tifrs-es:SpecialReserveAppropriated contextRef="From20170101To20170331_IssuedCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:SpecialReserveAppropriated> + <tifrs-es:SpecialReserveAppropriated contextRef="From20170101To20170331_CapitalReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:SpecialReserveAppropriated> + <tifrs-es:SpecialReserveAppropriated contextRef="From20170101To20170331_StatutoryReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:SpecialReserveAppropriated> + <tifrs-es:SpecialReserveAppropriated contextRef="From20170101To20170331_SpecialReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:SpecialReserveAppropriated> + <tifrs-es:SpecialReserveAppropriated contextRef="From20170101To20170331_UnappropriatedRetainedEarningsAccumulatedDeficitMember" decimals="-3" unitRef="TWD">0</tifrs-es:SpecialReserveAppropriated> + <tifrs-es:SpecialReserveAppropriated contextRef="From20170101To20170331_RetainedEarningsMember" decimals="-3" unitRef="TWD">0</tifrs-es:SpecialReserveAppropriated> + <tifrs-es:SpecialReserveAppropriated contextRef="From20170101To20170331_ReserveOfExchangeDifferencesOnTranslationMember" decimals="-3" unitRef="TWD">0</tifrs-es:SpecialReserveAppropriated> + <tifrs-es:SpecialReserveAppropriated contextRef="From20170101To20170331_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" decimals="-3" unitRef="TWD">0</tifrs-es:SpecialReserveAppropriated> + <tifrs-es:SpecialReserveAppropriated contextRef="From20170101To20170331_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember" decimals="-3" unitRef="TWD">0</tifrs-es:SpecialReserveAppropriated> + <tifrs-es:SpecialReserveAppropriated contextRef="From20170101To20170331_ReserveOfCashFlowHedgesMember" decimals="-3" unitRef="TWD">0</tifrs-es:SpecialReserveAppropriated> + <tifrs-es:SpecialReserveAppropriated contextRef="From20170101To20170331_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember" decimals="-3" unitRef="TWD">0</tifrs-es:SpecialReserveAppropriated> + <tifrs-es:SpecialReserveAppropriated contextRef="From20170101To20170331_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember" decimals="-3" unitRef="TWD">0</tifrs-es:SpecialReserveAppropriated> + <tifrs-es:SpecialReserveAppropriated contextRef="From20170101To20170331_ReserveOfRemeasurementsOfDefinedBenefitPlansMember" decimals="-3" unitRef="TWD">0</tifrs-es:SpecialReserveAppropriated> + <tifrs-es:SpecialReserveAppropriated contextRef="From20170101To20170331_RevaluationSurplusMember" decimals="-3" unitRef="TWD">0</tifrs-es:SpecialReserveAppropriated> + <tifrs-es:SpecialReserveAppropriated contextRef="From20170101To20170331_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember" decimals="-3" unitRef="TWD">0</tifrs-es:SpecialReserveAppropriated> + <tifrs-es:SpecialReserveAppropriated contextRef="From20170101To20170331_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember" decimals="-3" unitRef="TWD">0</tifrs-es:SpecialReserveAppropriated> + <tifrs-es:SpecialReserveAppropriated contextRef="From20170101To20170331_Others-OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</tifrs-es:SpecialReserveAppropriated> + <tifrs-es:SpecialReserveAppropriated contextRef="From20170101To20170331_OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</tifrs-es:SpecialReserveAppropriated> + <tifrs-es:SpecialReserveAppropriated contextRef="From20170101To20170331_TreasurySharesMember" decimals="-3" unitRef="TWD">0</tifrs-es:SpecialReserveAppropriated> + <tifrs-es:SpecialReserveAppropriated contextRef="From20170101To20170331_EquityAttributableToOwnersOfParentMember" decimals="-3" unitRef="TWD">0</tifrs-es:SpecialReserveAppropriated> + <tifrs-es:SpecialReserveAppropriated contextRef="From20170101To20170331_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl" decimals="-3" unitRef="TWD">0</tifrs-es:SpecialReserveAppropriated> + <tifrs-es:SpecialReserveAppropriated contextRef="From20170101To20170331_NoncontrollingInterestsMember" decimals="-3" unitRef="TWD">0</tifrs-es:SpecialReserveAppropriated> + <tifrs-es:SpecialReserveAppropriated contextRef="From20170101To20170331_TotalEquityMember" decimals="-3" unitRef="TWD">0</tifrs-es:SpecialReserveAppropriated> + <ifrs-full:ProfitLoss contextRef="From20170101To20170331_UnappropriatedRetainedEarningsAccumulatedDeficitMember" decimals="-3" unitRef="TWD">3275298000</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20170101To20170331_RetainedEarningsMember" decimals="-3" unitRef="TWD">3275298000</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20170101To20170331_ReserveOfExchangeDifferencesOnTranslationMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20170101To20170331_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20170101To20170331_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20170101To20170331_ReserveOfCashFlowHedgesMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20170101To20170331_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20170101To20170331_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20170101To20170331_ReserveOfRemeasurementsOfDefinedBenefitPlansMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20170101To20170331_RevaluationSurplusMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20170101To20170331_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20170101To20170331_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20170101To20170331_Others-OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20170101To20170331_OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20170101To20170331_TreasurySharesMember" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20170101To20170331_EquityAttributableToOwnersOfParentMember" decimals="-3" unitRef="TWD">3275298000</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20170101To20170331_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl" decimals="-3" unitRef="TWD">0</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20170101To20170331_NoncontrollingInterestsMember" decimals="-3" unitRef="TWD">7392000</ifrs-full:ProfitLoss> + <ifrs-full:ProfitLoss contextRef="From20170101To20170331_TotalEquityMember" decimals="-3" unitRef="TWD">3282690000</ifrs-full:ProfitLoss> + <ifrs-full:OtherComprehensiveIncome contextRef="From20170101To20170331_ReserveOfExchangeDifferencesOnTranslationMember" decimals="-3" unitRef="TWD">-20404000</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20170101To20170331_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20170101To20170331_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember" decimals="-3" unitRef="TWD">8115204000</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20170101To20170331_ReserveOfCashFlowHedgesMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20170101To20170331_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20170101To20170331_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20170101To20170331_ReserveOfRemeasurementsOfDefinedBenefitPlansMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20170101To20170331_RevaluationSurplusMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20170101To20170331_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20170101To20170331_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20170101To20170331_Others-OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20170101To20170331_OtherEquityInterestMember" decimals="-3" unitRef="TWD">8094800000</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20170101To20170331_TreasurySharesMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20170101To20170331_EquityAttributableToOwnersOfParentMember" decimals="-3" unitRef="TWD">8094800000</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20170101To20170331_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20170101To20170331_NoncontrollingInterestsMember" decimals="-3" unitRef="TWD">0</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:OtherComprehensiveIncome contextRef="From20170101To20170331_TotalEquityMember" decimals="-3" unitRef="TWD">8094800000</ifrs-full:OtherComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20170101To20170331_UnappropriatedRetainedEarningsAccumulatedDeficitMember" decimals="-3" unitRef="TWD">3275298000</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20170101To20170331_RetainedEarningsMember" decimals="-3" unitRef="TWD">3275298000</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20170101To20170331_ReserveOfExchangeDifferencesOnTranslationMember" decimals="-3" unitRef="TWD">-20404000</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20170101To20170331_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20170101To20170331_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember" decimals="-3" unitRef="TWD">8115204000</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20170101To20170331_ReserveOfCashFlowHedgesMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20170101To20170331_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20170101To20170331_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20170101To20170331_ReserveOfRemeasurementsOfDefinedBenefitPlansMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20170101To20170331_RevaluationSurplusMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20170101To20170331_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20170101To20170331_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20170101To20170331_Others-OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20170101To20170331_OtherEquityInterestMember" decimals="-3" unitRef="TWD">8094800000</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20170101To20170331_TreasurySharesMember" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20170101To20170331_EquityAttributableToOwnersOfParentMember" decimals="-3" unitRef="TWD">11370098000</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20170101To20170331_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl" decimals="-3" unitRef="TWD">0</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20170101To20170331_NoncontrollingInterestsMember" decimals="-3" unitRef="TWD">7392000</ifrs-full:ComprehensiveIncome> + <ifrs-full:ComprehensiveIncome contextRef="From20170101To20170331_TotalEquityMember" decimals="-3" unitRef="TWD">11377490000</ifrs-full:ComprehensiveIncome> + <tifrs-es:ChangesInNoncontrollingInterests contextRef="From20170101To20170331_CapitalReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:ChangesInNoncontrollingInterests> + <tifrs-es:ChangesInNoncontrollingInterests contextRef="From20170101To20170331_UnappropriatedRetainedEarningsAccumulatedDeficitMember" decimals="-3" unitRef="TWD">0</tifrs-es:ChangesInNoncontrollingInterests> + <tifrs-es:ChangesInNoncontrollingInterests contextRef="From20170101To20170331_RetainedEarningsMember" decimals="-3" unitRef="TWD">0</tifrs-es:ChangesInNoncontrollingInterests> + <tifrs-es:ChangesInNoncontrollingInterests contextRef="From20170101To20170331_EquityAttributableToOwnersOfParentMember" decimals="-3" unitRef="TWD">0</tifrs-es:ChangesInNoncontrollingInterests> + <tifrs-es:ChangesInNoncontrollingInterests contextRef="From20170101To20170331_NoncontrollingInterestsMember" decimals="-3" unitRef="TWD">230000</tifrs-es:ChangesInNoncontrollingInterests> + <tifrs-es:ChangesInNoncontrollingInterests contextRef="From20170101To20170331_TotalEquityMember" decimals="-3" unitRef="TWD">230000</tifrs-es:ChangesInNoncontrollingInterests> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_OrdinaryShareMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_PreferenceShareMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_CertificateOfEntitlementToNewSharesFromConvertibleBondMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_AdvanceReceiptsForShareCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_StockDividendToBeDistributedMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_Other-ShareCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_IssuedCapitalMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_CapitalReserveMember" decimals="-3" unitRef="TWD">114893000</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_StatutoryReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_SpecialReserveMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_UnappropriatedRetainedEarningsAccumulatedDeficitMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_RetainedEarningsMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_ReserveOfExchangeDifferencesOnTranslationMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_ReserveOfCashFlowHedgesMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_ReserveOfRemeasurementsOfDefinedBenefitPlansMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_RevaluationSurplusMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_Others-OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_TreasurySharesMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_EquityAttributableToOwnersOfParentMember" decimals="-3" unitRef="TWD">114893000</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_NoncontrollingInterestsMember" decimals="-3" unitRef="TWD">0</tifrs-es:Others-IncreaseDecreaseInEquity> + <tifrs-es:Others-IncreaseDecreaseInEquity contextRef="From20170101To20170331_TotalEquityMember" decimals="-3" unitRef="TWD">114893000</tifrs-es:Others-IncreaseDecreaseInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_OrdinaryShareMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_PreferenceShareMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_CertificateOfEntitlementToNewSharesFromConvertibleBondMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_AdvanceReceiptsForShareCapitalMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_StockDividendToBeDistributedMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_Other-ShareCapitalMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_IssuedCapitalMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_CapitalReserveMember" decimals="-3" unitRef="TWD">114893000</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_StatutoryReserveMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_SpecialReserveMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_UnappropriatedRetainedEarningsAccumulatedDeficitMember" decimals="-3" unitRef="TWD">3275298000</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_RetainedEarningsMember" decimals="-3" unitRef="TWD">3275298000</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_ReserveOfExchangeDifferencesOnTranslationMember" decimals="-3" unitRef="TWD">-20404000</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember" decimals="-3" unitRef="TWD">8115204000</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_ReserveOfCashFlowHedgesMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_ReserveOfRemeasurementsOfDefinedBenefitPlansMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_RevaluationSurplusMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_Others-OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_OtherEquityInterestMember" decimals="-3" unitRef="TWD">8094800000</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_TreasurySharesMember" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_EquityAttributableToOwnersOfParentMember" decimals="-3" unitRef="TWD">11484991000</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl" decimals="-3" unitRef="TWD">0</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_NoncontrollingInterestsMember" decimals="-3" unitRef="TWD">7622000</ifrs-full:ChangesInEquity> + <ifrs-full:ChangesInEquity contextRef="From20170101To20170331_TotalEquityMember" decimals="-3" unitRef="TWD">11492613000</ifrs-full:ChangesInEquity> + <ifrs-full:Equity contextRef="AsOf20170331_OrdinaryShareMember" decimals="-3" unitRef="TWD">27485658000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331_PreferenceShareMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331_CertificateOfEntitlementToNewSharesFromConvertibleBondMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331_AdvanceReceiptsForShareCapitalMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331_StockDividendToBeDistributedMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331_Other-ShareCapitalMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331_IssuedCapitalMember" decimals="-3" unitRef="TWD">27485658000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331_CapitalReserveMember" decimals="-3" unitRef="TWD">11637900000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331_StatutoryReserveMember" decimals="-3" unitRef="TWD">2791929000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331_SpecialReserveMember" decimals="-3" unitRef="TWD">4570000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331_UnappropriatedRetainedEarningsAccumulatedDeficitMember" decimals="-3" unitRef="TWD">39571384000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331_RetainedEarningsMember" decimals="-3" unitRef="TWD">42367883000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331_ReserveOfExchangeDifferencesOnTranslationMember" decimals="-3" unitRef="TWD">-37250000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331_ReserveOfGainsAndLossesOnRemeasuringAvailableforsaleFinancialAssetsMember" decimals="-3" unitRef="TWD">15921151000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331_ReserveOfCashFlowHedgesMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331_GainsLossesOnEffectivePortionOfHedgesOfNetInvestmentsInForeignOperationsMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331_ReserveOfChangeInFairValueOfFinancialLiabilityAttributableToChangeInCreditRiskOfLiabilityMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331_ReserveOfRemeasurementsOfDefinedBenefitPlansMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331_RevaluationSurplusMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331_AmountRecognisedInOtherComprehensiveIncomeAndAccumulatedInEquityRelatingToNoncurrentAssetsOrDisposalGroupsHeldForSaleMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331_EquityRelatedToNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForDistributionToOwnersMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331_Others-OtherEquityInterestMember" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331_OtherEquityInterestMember" decimals="-3" unitRef="TWD">15883901000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331_TreasurySharesMember" decimals="-3" unitRef="TWD">-347533000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331_EquityAttributableToOwnersOfParentMember" decimals="-3" unitRef="TWD">97027809000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331_EquityAttributableToFomerOwnerOfBusinessCombinationUnderCommonControl" decimals="-3" unitRef="TWD">0</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331_NoncontrollingInterestsMember" decimals="-3" unitRef="TWD">109951000</ifrs-full:Equity> + <ifrs-full:Equity contextRef="AsOf20170331_TotalEquityMember" decimals="-3" unitRef="TWD">97137760000</ifrs-full:Equity> + <tifrs-ar:ReviewAuditDate contextRef="AsOf20180509">2018-05-09</tifrs-ar:ReviewAuditDate> + <tifrs-ar:ReviewReport contextRef="AsOf20180509">Y</tifrs-ar:ReviewReport> + <tifrs-ar:QualifiedOpinionAbstract contextRef="AsOf20180509">Y</tifrs-ar:QualifiedOpinionAbstract> + <tifrs-ar:FinancialStatementsOfNonmajorSubsidiaryOrInvestmentAccountedForUsingEquityMethodHaveNotBeenAuditedOrReviewed contextRef="AsOf20180509">Y</tifrs-ar:FinancialStatementsOfNonmajorSubsidiaryOrInvestmentAccountedForUsingEquityMethodHaveNotBeenAuditedOrReviewed> + <tifrs-ar:AccountantName contextRef="AsOf20180509" lang="zh"><![CDATA[安侯建業聯合會計師事務所]]></tifrs-ar:AccountantName> + <tifrs-ar:AssuranceAccountantName1 contextRef="AsOf20180509" lang="zh"><![CDATA[寇惠植]]></tifrs-ar:AssuranceAccountantName1> + <tifrs-ar:AssuranceAccountantName2 contextRef="AsOf20180509" lang="zh"><![CDATA[陳秀蘭]]></tifrs-ar:AssuranceAccountantName2> + <tifrs-ar:DescriptionEmphasizeItemBody contextRef="AsOf20180509" lang="zh"><![CDATA[]]></tifrs-ar:DescriptionEmphasizeItemBody> + <tifrs-ar:DescriptionOtherItemBody contextRef="AsOf20180509" lang="zh"><![CDATA[]]></tifrs-ar:DescriptionOtherItemBody> + <tifrs-ar:AccountantsReportBody contextRef="AsOf20180509" lang="zh"><![CDATA[ 會 計 師 核 閱 報 告 + +南亞科技股份有限公司董事會 公鑒: + +前言 +南亞科技股份有限公司及其子公司民國一○七年及一○六年三月三十一日之合併資產負債 +表,暨民國一○七年及一○六年一月一日至三月三十一日之合併綜合損益表、合併權益變動 +表、合併現金流量表,以及合併財務報告附註(包括重大會計政策彙總),業經本會計師核閱竣 +事。依證券發行人財務報告編製準則及金融監督管理委員會認可並發布生效之國際會計準則第 +三十四號「期中財務報導」編製允當表達之合併財務報告係管理階層之責任,本會計師之責任 +係依據核閱結果對合併財務報告作成結論。 +範圍 +除保留結論之基礎段所述者外,本會計師係依照審計準則公報第六十五號「財務報表之核 +閱」執行核閱工作。核閱合併財務報告時所執行之程序包括查詢(主要向負責財務與會計事務之 +人員查詢)、分析性程序及其他核閱程序。核閱工作之範圍明顯小於查核工作之範圍,因此本會 +計師可能無法察覺所有可藉由查核工作辨認之重大事項,故無法表示查核意見。 +保留結論之基礎 +如合併財務報告附註四(二)所述,列入上開合併財務報告之部份非重要子公司,係依該等 +被投資公司同期間未經會計師核閱之財務報告為依據,民國一○七年及一○六年三月三十一日 +之資產總額分別為3,840,102千元及2,192,001千元,分別占合併資產總額之2.42%及1.38%;負債 +總額分別為103,166千元及381,309千元,分別占合併負債總額之0.73%及0.62%;民國一○七年 +及一○六年一月一日至三月三十一日之綜合損益分別為(73,176)千元及15,858千元,分別占合併 +綜合損益之(1.01)%及0.14%。 +保留結論 +依本會計師核閱結果,除保留結論之基礎段所述該等被投資公司財務報告倘經會計師核 +閱,對合併財務報告可能有所調整之影響外,並未發現上開合併財務報告在所有重大方面有未 +依照證券發行人財務報告編製準則及金融監督管理委員會認可並發布生效之國際會計準則第三 +十四號「期中財務報導」編製,致無法允當表達南亞科技股份有限公司及其子公司民國一○七 +年及一○六年三月三十一日之合併財務狀況,暨民國一○七年及一○六年一月一日至三月三十 +一日之合併財務績效及合併現金流量之情事。 + + 安 侯 建 業 聯 合 會 計 師 事 務 所 + 會 計 師: + 證券主管機關:台財證六字第0930106739號 + 核准簽證文號:金管證審字第1040007866號 + 民 國 一○七 年 五 月 九 日 +]]></tifrs-ar:AccountantsReportBody> + <tifrs-ar:AccountantName contextRef="AsOf20180509" lang="en"><![CDATA[KPMG]]></tifrs-ar:AccountantName> + <tifrs-ar:AssuranceAccountantName1 contextRef="AsOf20180509" lang="en"><![CDATA[Kou, Hui Zhi]]></tifrs-ar:AssuranceAccountantName1> + <tifrs-ar:AssuranceAccountantName2 contextRef="AsOf20180509" lang="en"><![CDATA[Chen, Hsiu Lan]]></tifrs-ar:AssuranceAccountantName2> + <tifrs-ar:DescriptionEmphasizeItemBody contextRef="AsOf20180509" lang="en"><![CDATA[]]></tifrs-ar:DescriptionEmphasizeItemBody> + <tifrs-ar:DescriptionOtherItemBody contextRef="AsOf20180509" lang="en"><![CDATA[]]></tifrs-ar:DescriptionOtherItemBody> + <tifrs-ar:AccountantsReportBody contextRef="AsOf20180509" lang="en"><![CDATA[ Independent Auditors’ Review Report + +To the Board of Directors of Nanya Technology Corporation: + +Introduction +We have reviewed the accompanying consolidated balance sheets of the Nanya Technology +Corporation and its subsidiaries as of March 31, 2018 and 2017, and the related consolidated +statements of comprehensive income, changes in equity and cash flows for the three months +ended March 31, 2018 and 2017, and notes to the consolidated financial statements, including +a summary of significant accounting policies. Management is responsible for the preparation and +fair presentation of the consolidated financial statements in accordance with the Regulations +Governing the Preparation of Financial Reports by Securities Issuers and International Accounting +Standards (“IASs”) 34, “Interim Financial Reporting” endorsed by the Financial Supervisory +Commission of the Republic of China. Our responsibility is to express a conclusion on the +consolidated financial statements based on our reviews. + +Scope of Review +Except as explained in the Basis for Qualified Conclusion paragraph, we conducted our reviews in +accordance with Statement of Auditing Standards 65, "Review of Financial Information Performed by +the Independent Auditor of the Entity". A review of the consolidated financial statements consists +of making inquiries, primarily of persons responsible for financial and accounting matters, and +applying analytical and other review procedures. A review is substantially less in scope than an +audit conducted in accordance with the generally accepted auditing standards and consequently does +not enable us to obtain assurance that we would become aware of all significant matters that might +be identified in an audit. Accordingly, we do not express an audit opinion. + +Basis for Qualified Conclusion +As stated in Note 4(b), the consolidated financial statements included the financial statements of +certain non-significant subsidiaries, which were not reviewed by independent auditors. These financial +statements reflect total assets amounting to NT$3,840,102 thousand and NT$2,192,001 thousand, constituting +2.42% and 1.38% of consolidated total assets at March 31, 2018 and 2017, respectively, total liabilities +amounting to NT$103,166 thousand and NT$381,309 thousand, constituting 0.73% and 0.62% of consolidated total +liabilities at March 31, 2018 and 2017, respectively, and total comprehensive income(loss) amounting to +NT$(73,176) thousand and NT$15,858 thousand, constituting (1.01)% and 0.14% of consolidated total +comprehensive income (loss) for the three months ended March 31, 2018 and 2017, respectively. + +Qualified Conclusion +Except for the adjustments, if any, as might have been determined to be necessary had the financial +statements of certain consolidated subsidiaries and equity accounted investee companies described in +the Basis for Qualified Conclusion paragraph above been reviewed by independent auditors, based on +our reviews, nothing has come to our attention that causes us to believe that the accompanying +consolidated financial statements do not present fairly, in all material respects, the consolidated +financial position of the Nanya Technology Corporation and its subsidiaries as at March 31, 2018 and +2017, and of its consolidated financial performance and its consolidated cash flows for the three months +ended March 31, 2018 and 2017 in accordance with the Regulations Governing the Preparation of Financial +Reports by Securities Issuers and IASs 34, “Interim Financial Reporting” endorsed by the Financial +Supervisory Commission of the Republic of China. + +KPMG + +Taipei, Taiwan (Republic of China) + + +May 09, 2018 + + +]]></tifrs-ar:AccountantsReportBody> + <tifrs-ar:EndingBalanceOfAssetsOfSubsidiariesWhoseFinancialStatementsWereAuditedOrReviewedByOtherIndependentAccountants contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</tifrs-ar:EndingBalanceOfAssetsOfSubsidiariesWhoseFinancialStatementsWereAuditedOrReviewedByOtherIndependentAccountants> + <tifrs-ar:TotalYearToDateRevenuesOfSubsidiariesWhoseFinancialStatementsWereAuditedOrReviewedByOtherIndependentAccountants contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-ar:TotalYearToDateRevenuesOfSubsidiariesWhoseFinancialStatementsWereAuditedOrReviewedByOtherIndependentAccountants> + <tifrs-ar:EndingBalanceOfInvestmentsAccountedForUsingEquityMethodWhoseFinancialStatementsWereAuditedOrReviewedByOtherIndependentAccountants contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</tifrs-ar:EndingBalanceOfInvestmentsAccountedForUsingEquityMethodWhoseFinancialStatementsWereAuditedOrReviewedByOtherIndependentAccountants> + <tifrs-ar:ShareOfProfitLossForTheQuarterOfAssociatesAndJointVenturesAccountedForUsingEquityMethodWhoseFinancialStatementsWereAuditedOrReviewedByOtherIndependentAccountants contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-ar:ShareOfProfitLossForTheQuarterOfAssociatesAndJointVenturesAccountedForUsingEquityMethodWhoseFinancialStatementsWereAuditedOrReviewedByOtherIndependentAccountants> + <tifrs-ar:EndingBalanceOfAssetsOfSubsidiariesWhoseFinancialStatementsWereOnUnauditedOrUnreviewed contextRef="AsOf20180331" decimals="-3" unitRef="TWD">3840102000</tifrs-ar:EndingBalanceOfAssetsOfSubsidiariesWhoseFinancialStatementsWereOnUnauditedOrUnreviewed> + <tifrs-ar:YearToDateComprehensiveIncomeOfSubsidiariesWhoseFinancialStatementsWereUnauditedOrUnreviewed contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-73176000</tifrs-ar:YearToDateComprehensiveIncomeOfSubsidiariesWhoseFinancialStatementsWereUnauditedOrUnreviewed> + <tifrs-ar:EndingBalanceOfInvestmentsAccountedForUsingEquityMethodWhoseFinancialStatementsWereUnauditedOrUnreviewed contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</tifrs-ar:EndingBalanceOfInvestmentsAccountedForUsingEquityMethodWhoseFinancialStatementsWereUnauditedOrUnreviewed> + <tifrs-ar:ShareOfYearToDateProfitLossOfAssociatesAndJointVenturesAccountedForUsingEquityMethodWhoseFinancialStatementsWereUnauditedOrUnreviewed contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-ar:ShareOfYearToDateProfitLossOfAssociatesAndJointVenturesAccountedForUsingEquityMethodWhoseFinancialStatementsWereUnauditedOrUnreviewed> + <tifrs-notes:FinancialStatementNotes contextRef="From20180101To20180331"><![CDATA[http://doc.twse.com.tw/server-java/t57sb01?step=1&colorchg=1&co_id=2408&year=107&seamon=1&mtype=A&]]></tifrs-notes:FinancialStatementNotes> + <tifrs-notes:HistoryAndOrganization contextRef="From20180101To20180331"><![CDATA[ 南亞科技股份有限公司(以下稱「本公司」)於民國八十四年三月四日奉經濟部核准設 +立,註冊地址為新北市泰山區大科里南林路98號。本公司及子公司(以下併稱「合併公司」) +主要營業項目為半導體之研究開發、設計與製造、銷售業務及其機器設備、原材料之買賣 +進出口業務。]]></tifrs-notes:HistoryAndOrganization> + <tifrs-notes:DateAndProceduresOfAuthorisationForIssueOfFinancialStatements contextRef="From20180101To20180331"><![CDATA[ 本合併財務報告已於民國一○七年五月九日提報董事會後發布。]]></tifrs-notes:DateAndProceduresOfAuthorisationForIssueOfFinancialStatements> + <tifrs-notes:ApplicationOfNewlyIssuedOrAmendedStandardsAndInterpretations contextRef="From20180101To20180331"><![CDATA[(一)已採用金融監督管理委員會認可之新發布及修訂後準則及解釋之影響合併公司自民國一○七年起全面 +採用經金融監督管理委員會(以下簡稱金管會)認可並於民國一○七年生效之國際財務報導準則編製合併財 +務報告。相關新發布、修正及修訂之準則及解釋彙列如下: 新發布/修正/修訂準則及解釋 + +新發布/修正/修訂準則及解釋 國際會計準則理事會發布之生效日 + +國際財務報導準則第2號之修正「股份基礎給付交易之分 2018年1月1日 +類及衡量」 + +國際財務報導準則第4號之修正「於國際財務報導準則第 2018年1月1日 +4號『保險合約』下國際財務報導準則第9號『金融工具』 +之適用」 + +國際財務報導準則第9號「金融工具」 2018年1月1日 + +國際財務報導準則第15號「客戶合約之收入」 2018年1月1日 + +國際會計準則第7號之修正「揭露倡議」 2017年1月1日 + +國際會計準則第12號之修正「未實現損失之遞延所 2017年1月1日 +得稅資產之認列」 + +國際會計準則第40號之修正「投資性不動產之轉列」 2018年1月1日 + +國際財務報導準則2014-2016週期之年度改善: +國際財務報導準則第12號之修正 2017年1月1日 +國際財務報導準則第1號之修正及國際會計準則第28號之 2018年1月1日 +修正 +國際財務報導解釋第22號「外幣交易與預收(付)對價」 2018年1月1日 + +除下列項目外,適用上述新認可之國際財務報導準則將不致對合併財務報告造成重大變動。造成重大變動者 +之性質及影響說明如下: +1.國際財務報導準則第十五號「客戶合約之收入」 + 該準則取代國際會計準則第十八號「收入」及及相關解釋,以單一分析模型按五個步驟決定企業認列收 +入之方法、時點及金額。合併公司採累積影響數法適用國際財務報導準則第十五號,因此,以前期間之比較 +資訊無須重編而係繼續適用國際會計準則第十八號、國際會計準則第十一號及相關解釋,初次適用國際財務 +報導準則第十五號之累積影響數係調整民國一○七年一月一日之保留盈餘。 +此項會計政策變動之性質及影響說明如下: +(1)銷售商品 + 針對半導體產品之銷售,過去係視銷售合約個別條款對相關所有權之重大風險及報酬已移轉予客戶。於該 +時點認列收入,係因該時點收入及成本能可靠衡量、對價很有可能收回,且不再繼續參與對商品之管理。國 +際財務報導準則第十五號下,將於客戶取得對產品之控制時認列收入。 +(2)對財務報告之影響 + 採用國際財務報導準則第十五號不致對合併公司合併財務報告造成重大影響。 +2.國際財務報導準則第九號「金融工具」 + 國際財務報導準則第九號「金融工具」(以下稱國際財務報導準則第九號或IFRS 9)取代國際會計準則第三 +十九號「金融工具:認列與衡量」(以下稱國際會計準則第三十九號或IAS 39),修正金融工具之分類與衡量 +、減損及避險會計。 + 合併公司採用修正後之國際財務報導準則第七號「金融工具:揭露」揭露民國 +一○七年資訊,該等規定通常不適用於比較期資訊。 + 合併公司適用國際財務報導準則第九號導致之會計政策重大變動說明如下: +(1)金融資產及負債之分類 + 該準則主要將金融資產分類為按攤銷後成本衡量、透過其他綜合損益按公允價值衡量及透過損益按公允價值 +衡量三類,國際財務報導準則第九號下金融資產之分類係以持有該金融資產之經營模式及其合約現金流量特性 +為基礎,並刪除原準則下持有至到期日、放款及應收款及備供出售金融資產之分類。依該準則,混合合約包含 +之主契約若屬該準則範圍內之金融資產,則不拆分嵌入之衍生工具,而係評估整體混合金融工具之分類。合併 +公司於國際財務報導準則第九號下金融資產之分類、衡量及相關利益及損失之認列之會計政策說明請詳附註四 +(三)。 + 採用國際財務報導準則第九號對合併公司之金融負債會計政策無重大影響。 +(2)金融資產之減損 + 該準則以前瞻性之預期信用損失模式取代現行國際會計準則第三十九號已發生減損損失模式,新減損模式適 +用於按攤銷後成本衡量之金融資產、合約資產及透過其他綜合損益按公允價值衡量之債務工具投資,但不適用 +於權益工具投資。國際財務報導準則第九號下,信用損失之認列時點早於國際會計準則第三十九號下之認列時 +點,請詳附註四(三)。 +(3)過渡處理 + 除下列項目外,通常係追溯適用國際財務報導準則第九號: +?適用國際財務報導準則第九號所產生之金融資產帳面金額差異數,係認列於民國一○七年一月一日之保留盈 +餘及其他權益項目,據此,民國ㄧ○六年表達之資訊通常不會反映國際財務報導準則第九號之規定,因此,與 +民國ㄧ○七年適用國際財務報導準則第九號所揭露之資訊不具可比性。 +?下列事項係以初次適用日存在之事實及情況為基礎評估: +–判定金融資產係以何種經營模式持有係以初次適用日存在之事實及情況為基礎評估。 +(4)國際財務報導準則第九號初次適用日之金融資產分類 + 適用國際會計準則第三十九號衡量種類之金融資產轉換至國際財務報導準則第九號衡量種類之金融資產,該 +金融資產民國一○七年一月一日之新衡量種類、帳面金額及說明如下(金融負債之衡量種類及帳面金額未改變): + IAS39 IFRS9 + 衡量種類 帳面金額 衡量種類 帳面金額 +金融資產 + 現金及約當現金 放款及應收款 $ 33,768,677 攤銷後成本 $ 33,768,677 + 應收款項淨額 放款及應收款(註) 21,170,525 攤銷後成本 20,127,024 + 其他金融資產(存 放款及應收款 5,266 攤銷後成本 5,266 + 出保證金) + +註:適用國際會計準則第三十九號時,應收票據、應收帳款、應收租賃款及其他應收帳款係分類為放款及應收 + 款,於初次適用國際財務報導準則第九號時則分類為按攤銷後成本衡量之金融資產。 + +(二)金管會尚未認可之新發布及修訂準則及解釋 +下表彙列國際會計準則理事會(以下簡稱理事會)已發布及修訂但尚未經金管會認可之準則及解釋。 + +新發布/修正/修訂準則及解釋 理事會發布之生效日 + +國際財務報導準則第10號及國際會計準則第28號之修正「投資 尚待理事會決定 +者與其關聯企業或合資間之資產出售或投入」 + +國際財務報導準則第16號「租賃」 2019年1月1日 + +國際財務報導準則第17號「保險合約」 2021年1月1日 + +國際財務報導解釋第23號「具不確定性之所得稅處理」 2019年1月1日 + +國際財務報導準則第9號之修正「具有負補償之提前還款特性」 2019年1月1日 + +國際會計準則第28號之修正「對關聯企業及合資之長期權益」 2019年1月1日 + +國際財務報導準則2015-2017週期之年度改善 2019年1月1日 + +國際會計準則第19號之修正「計畫修正、縮減或清償」 2019年1月1日 + +對合併公司可能攸關者如下: + +發布日 新發布或修訂準則 主要修訂內容 +2016.1.13 國際財務報導準則第16號 新準則將租賃之會計處理修正如下: + 「租賃」 ?承租人所簽訂符合租賃定義之所有 + 合約均應於資產負債表認列使用權 + 資產及租賃負債。租賃期間內租賃 + 費用則係以使用權資產折舊金額加 + 計租賃負債之利息攤提金額衡量。 + ?出租人所簽訂符合租賃定義之合約 + 則應分類為營業租賃及融資租賃, + 其會計處理與國際會計準則第17號 + 「租賃」類似。 + + 合併公司現正持續評估上述準則及解釋對合併公司財務狀況與經營結果之影響,相關影響待評估完成時予以揭 +露。 + +]]></tifrs-notes:ApplicationOfNewlyIssuedOrAmendedStandardsAndInterpretations> + <tifrs-notes:StatementOfIFRSAndRelatedRegulationsCompliance contextRef="From20180101To20180331"><![CDATA[ 本合併財務報告係依照證券發行人財務報告編製準則(以下簡稱「編製準則」) +及金管會認可並發布生效之國際會計準則第三十四號「期中財務報導」編製。本合併 +財務報告未包括依照金管會認可並發布生效之國際財務報導準則、國際會計準則、解 +釋及解釋公告(以下簡稱「金管會認可之國際財務報導準則」)所編製之整份年度合併 +財務報告應揭露之全部必要資訊。 + 本合併財務報告所採用之重大會計政策與民國一○六年度合併財務報告相同,相 +關資訊請參閱民國一○六年度合併財務報告附註四。]]></tifrs-notes:StatementOfIFRSAndRelatedRegulationsCompliance> + <tifrs-notes:PrinciplesOfConsolidation contextRef="From20180101To20180331"><![CDATA[ 合併財務報告之編製主體包含本公司及由本公司所控制之個體(即子公司)。 +當本公司暴露於來自對被投資個體之參與之變動報酬或對該等變動報酬享有權利, +且透過對被投資個體之權力有能力影響該等報酬時,本公司控制該個體。 + 自對子公司取得控制力之日起,開始將其財務報告納入合併財務報告,直至 +喪失控制之日為止。 + 合併公司間之交易、餘額及任何未實現收益與費損,業於編製合併財務報告 +時已全數消除。子公司之綜合損益總額係分別歸屬至本公司業主及非控制權益, +即使非控制權益因而成為虧損餘額亦然。 + 合併公司對子公司所有權權益之變動,未導致喪失控制者,作為與業主間之 +權益交易處理。非控制權益之調整數與所支付或收取對價公允價值之差額,係直 +接認列於權益且歸屬於本公司業主。 +]]></tifrs-notes:PrinciplesOfConsolidation> + <tifrs-notes:FinancialAssets contextRef="From20180101To20180331"><![CDATA[ 合併公司之金融資產分類為按攤銷後成本衡量之金融資產。 +合併公司僅於改變管理金融資產之經營模式時,始依規定重分類所有受影響之 +金融資產。 +(1)按攤銷後成本衡量之金融資產 +金融資產同時符合下列條件,且未指定為透過損益按公允價值衡量時,係按攤 +銷後成本衡量: +‧係在以收取合約現金流量為目的之經營模式下持有該金融資產。 +‧該金融資產之合約條款產生特定日期之現金流量,完全為支付本金及流通在 +外本金金額之利息。 + 原始認列時係按公允價值加計直接可歸屬之交易成本衡量;後續採有效利 +率法以攤銷後成本減除減損損失衡量。利息收入、外幣兌換損益及減損損失係 +認列於損益。除列時,將累積之利益或損失列入損益。 +(2)金融資產減損 +合併公司針對按攤銷後成本衡量之金融資產(包括現金及約當現金、按攤銷後 +成本衡量之金融資產、應收票據及帳款、其他應收款、應收融資租賃款、存出 +保證金及其他金融資產等)之預期信用損失認列備抵損失。下列金融資產係按十 +二個月預期信用損失金額衡量備抵損失,其餘係按存續期間預期信用損失金額 +衡量: +‧銀行存款之信用風險(即金融工具之預期存續期間發生違約之風險)自原始認 +列後未顯著增加。 + 應收帳款之備抵損失係按存續期間預期信用損失金額衡量。 + 存續期間預期信用損失係指金融工具預期存續期間所有可能違約事項產生之 +預期信用損失。 + 十二個月預期信用損失係指金融工具於報導日後十二個月內可能違約事項所 +產生之預期信用損失(或較短期間,若金融工具之預期存續期間短於十二個月時)。 + 衡量預期信用損失之最長期間為合併公司暴露於信用風險之最長合約期間。 + 於判定自原始認列後信用風險是否已顯著增加時,合併公司考量合理且可佐證 +之資訊(無需過度成本或投入即可取得),包括質性及量化資訊,及根據合併公司 +之歷史經驗、信用評估及前瞻性資訊所作之分析。 + 若合約款項逾期超過三十天,合併公司假設金融資產之信用風險已顯著增 +加。 + 若合約款項逾期超過六十天,或借款人不太可能履行其信用義務支付全額款 +項予合併公司時,合併公司視為該金融資產發生違約。 + 預期信用損失為金融工具預期存續期間信用損失之機率加權估計值。信用損失 +係按所有現金短收之現值衡量,亦即合併公司依據合約可收取之現金流量與合併 +公司預期收取之現金流量之差額。預期信用損失係按金融資產之有效利率折現。 + 於每一報導日合併公司評估按攤銷後成本衡量金融資產是否有信用減損。對 +金融資產之估計未來現金流量具有不利影響之一項或多項事項已發生時,該金融 +資產已信用減損。金融資產已信用減損之證據包括有關下列事項之可觀察資料: +‧借款人或發行人之重大財務困難; +‧違約,諸如延滯或逾期超過三十天; +‧因與借款人之財務困難相關之經濟或合約理由,合併公司給予借款人原本不會 +考量之讓步; +‧借款人很有可能會聲請破產或進行其他財務重整;或 +‧由於財務困難而使該金融資產之活絡市場消失。 +按攤銷後成本衡量之金融資產之備抵損失係自資產之帳面金額中扣除。 + 當合併公司對回收金融資產整體或部分無法合理預期時,係直接減少其金融資產 +總帳面金額。通常係指合併公司判定債務人之資產或收益來源不能產生足夠之現金 +流量以償還沖銷之金額,然而,已沖銷之金融資產仍可強制執行,以符合合併公司 +回收逾期金額之程序。 +(3)金融資產之除列 + 合併公司僅於對來自該資產現金流量之合約權利終止,或已移轉金融資產且該資 +產所有權幾乎所有之風險及報酬已移轉予其他企業時,始將金融資產除列。]]></tifrs-notes:FinancialAssets> + <tifrs-notes:RevenueRecognition contextRef="From20180101To20180331"><![CDATA[ 收入係按移轉商品或勞務而預期有權取得之對價衡量。合併公司係於對商品或勞 +務之控制移轉予客戶而滿足履約義務時認列收入。合併公司依主要收入項目說明如 +下: + 合併公司製造半導體產品於市場銷售。合併公司係於對產品之控制移轉時認列收 +入。該產品之控制移轉係指產品已交付給客戶,客戶能完全裁決產品之銷售通路及 +價格,且已無會影響客戶接受該產品之未履行義務。交付係發生於產品運送至特定 +地點,其陳舊過時及損失風險已移轉予客戶,及客戶已依據銷售合約接受產品,驗 +收條款已失效,或合併公司有客觀證據認為已滿足所有驗收條件時。]]></tifrs-notes:RevenueRecognition> + <tifrs-notes:EmployeeBenefits contextRef="From20180101To20180331"><![CDATA[ 期中期間之確定福利計畫退休金係採用前一年度報導日依精算決定退休金成本 +率,以年初至當期期末為基礎計算,並針對該報導日後之重大市場波動,及重大 +縮減、清償或其他重大一次性事項加以調整。]]></tifrs-notes:EmployeeBenefits> + <tifrs-notes:IncomeTax contextRef="From20180101To20180331"><![CDATA[ 合併公司係依國際會計準則公報第三十四號「期中財務報導」第B12段規定衡量 +及揭露期中期間之所得稅費用。 + 所得稅費用係以期中報導期間之稅前淨利乘以管理階層對於全年度預計有效稅率 +之最佳估計衡量,並全數認列為當期所得稅費用。 + 期中期間法定所得稅率變動時,其對遞延所得稅之影響數係一次認列於該稅率變 +動之期中報導期間。 + 所得稅費用直接認列於權益項目或其他綜合損益項目者,係就相關資產及負債於 +財務報導目的之帳面金額與其課稅基礎之暫時性差異,以預期實現或清償時之適用 +稅率予以衡量。]]></tifrs-notes:IncomeTax> + <tifrs-notes:SourcesOfUncertaintyFromSignificantAccountingJudgmentsAssumptionsAndEstimations contextRef="From20180101To20180331"><![CDATA[ 管理階層依編製準則及金管會認可之國際會計準則第三十四號「期中財務報導」編製 +本合併財務季報告時,必須作出判斷、估計及假設,其將對會計政策之採用及資產、負 +債、收益及費用之報導金額有所影響。實際結果可能與估計存有差異。 + 編製合併財務報告時,管理階層於採用合併公司會計政策時所作之重大判斷以及估計 +不確定性之主要來源與民國一○六年度合併財務報告附註五內容一致。]]></tifrs-notes:SourcesOfUncertaintyFromSignificantAccountingJudgmentsAssumptionsAndEstimations> + <tifrs-notes:Others/> + <tifrs-notes:TheConsolidatedEntities> + <tifrs-notes:CompanyNameOfTheInvestor contextRef="From20180101To20180331"><![CDATA[本公司]]></tifrs-notes:CompanyNameOfTheInvestor> + <tifrs-notes:NameOfInvestee contextRef="From20180101To20180331"><![CDATA[南亞科技美國公司]]></tifrs-notes:NameOfInvestee> + <tifrs-notes:MainBusinesses contextRef="From20180101To20180331"><![CDATA[半導體產品銷售]]></tifrs-notes:MainBusinesses> + <tifrs-notes:PercentageOfOwnership4 contextRef="AsOf20180331" decimals="4" unitRef="Pure">1.0000</tifrs-notes:PercentageOfOwnership4> + <tifrs-notes:PercentageOfOwnership4 contextRef="AsOf20171231" decimals="4" unitRef="Pure">1.0000</tifrs-notes:PercentageOfOwnership4> + <tifrs-notes:PercentageOfOwnership4 contextRef="AsOf20170331" decimals="4" unitRef="Pure">1.0000</tifrs-notes:PercentageOfOwnership4> + <tifrs-notes:Description contextRef="From20180101To20180331"><![CDATA[註二]]></tifrs-notes:Description> + </tifrs-notes:TheConsolidatedEntities> + + <tifrs-notes:TheConsolidatedEntities> + <tifrs-notes:CompanyNameOfTheInvestor contextRef="From20180101To20180331"><![CDATA[本公司]]></tifrs-notes:CompanyNameOfTheInvestor> + <tifrs-notes:NameOfInvestee contextRef="From20180101To20180331"><![CDATA[南亞科技德拉瓦公司]]></tifrs-notes:NameOfInvestee> + <tifrs-notes:MainBusinesses contextRef="From20180101To20180331"><![CDATA[半導體產品設計]]></tifrs-notes:MainBusinesses> + <tifrs-notes:PercentageOfOwnership4 contextRef="AsOf20180331" decimals="4" unitRef="Pure">1.0000</tifrs-notes:PercentageOfOwnership4> + <tifrs-notes:PercentageOfOwnership4 contextRef="AsOf20171231" decimals="4" unitRef="Pure">1.0000</tifrs-notes:PercentageOfOwnership4> + <tifrs-notes:PercentageOfOwnership4 contextRef="AsOf20170331" decimals="4" unitRef="Pure">1.0000</tifrs-notes:PercentageOfOwnership4> + <tifrs-notes:Description contextRef="From20180101To20180331"><![CDATA[註二]]></tifrs-notes:Description> + </tifrs-notes:TheConsolidatedEntities> + + <tifrs-notes:TheConsolidatedEntities> + <tifrs-notes:CompanyNameOfTheInvestor contextRef="From20180101To20180331"><![CDATA[本公司]]></tifrs-notes:CompanyNameOfTheInvestor> + <tifrs-notes:NameOfInvestee contextRef="From20180101To20180331"><![CDATA[南亞科技香港公司]]></tifrs-notes:NameOfInvestee> + <tifrs-notes:MainBusinesses contextRef="From20180101To20180331"><![CDATA[半導體產品銷售]]></tifrs-notes:MainBusinesses> + <tifrs-notes:PercentageOfOwnership4 contextRef="AsOf20180331" decimals="4" unitRef="Pure">1.0000</tifrs-notes:PercentageOfOwnership4> + <tifrs-notes:PercentageOfOwnership4 contextRef="AsOf20171231" decimals="4" unitRef="Pure">1.0000</tifrs-notes:PercentageOfOwnership4> + <tifrs-notes:PercentageOfOwnership4 contextRef="AsOf20170331" decimals="4" unitRef="Pure">1.0000</tifrs-notes:PercentageOfOwnership4> + <tifrs-notes:Description contextRef="From20180101To20180331"><![CDATA[註二]]></tifrs-notes:Description> + </tifrs-notes:TheConsolidatedEntities> + + <tifrs-notes:TheConsolidatedEntities> + <tifrs-notes:CompanyNameOfTheInvestor contextRef="From20180101To20180331"><![CDATA[本公司]]></tifrs-notes:CompanyNameOfTheInvestor> + <tifrs-notes:NameOfInvestee contextRef="From20180101To20180331"><![CDATA[南亞科技日本公司]]></tifrs-notes:NameOfInvestee> + <tifrs-notes:MainBusinesses contextRef="From20180101To20180331"><![CDATA[半導體產品銷售]]></tifrs-notes:MainBusinesses> + <tifrs-notes:PercentageOfOwnership4 contextRef="AsOf20180331" decimals="4" unitRef="Pure">1.0000</tifrs-notes:PercentageOfOwnership4> + <tifrs-notes:PercentageOfOwnership4 contextRef="AsOf20171231" decimals="4" unitRef="Pure">1.0000</tifrs-notes:PercentageOfOwnership4> + <tifrs-notes:PercentageOfOwnership4 contextRef="AsOf20170331" decimals="4" unitRef="Pure">1.0000</tifrs-notes:PercentageOfOwnership4> + <tifrs-notes:Description contextRef="From20180101To20180331"><![CDATA[註二]]></tifrs-notes:Description> + </tifrs-notes:TheConsolidatedEntities> + + <tifrs-notes:TheConsolidatedEntities> + <tifrs-notes:CompanyNameOfTheInvestor contextRef="From20180101To20180331"><![CDATA[本公司]]></tifrs-notes:CompanyNameOfTheInvestor> + <tifrs-notes:NameOfInvestee contextRef="From20180101To20180331"><![CDATA[培仁股份有限公司]]></tifrs-notes:NameOfInvestee> + <tifrs-notes:MainBusinesses contextRef="From20180101To20180331"><![CDATA[企業投資]]></tifrs-notes:MainBusinesses> + <tifrs-notes:PercentageOfOwnership4 contextRef="AsOf20180331" decimals="4" unitRef="Pure">1.0000</tifrs-notes:PercentageOfOwnership4> + <tifrs-notes:PercentageOfOwnership4 contextRef="AsOf20171231" decimals="4" unitRef="Pure">1.0000</tifrs-notes:PercentageOfOwnership4> + <tifrs-notes:PercentageOfOwnership4 contextRef="AsOf20170331" decimals="4" unitRef="Pure">1.0000</tifrs-notes:PercentageOfOwnership4> + <tifrs-notes:Description contextRef="From20180101To20180331"><![CDATA[註二]]></tifrs-notes:Description> + </tifrs-notes:TheConsolidatedEntities> + + <tifrs-notes:TheConsolidatedEntities> + <tifrs-notes:CompanyNameOfTheInvestor contextRef="From20180101To20180331"><![CDATA[本公司]]></tifrs-notes:CompanyNameOfTheInvestor> + <tifrs-notes:NameOfInvestee contextRef="From20180101To20180331"><![CDATA[補丁科技股份有限公司]]></tifrs-notes:NameOfInvestee> + <tifrs-notes:MainBusinesses contextRef="From20180101To20180331"><![CDATA[產品設計銷售]]></tifrs-notes:MainBusinesses> + <tifrs-notes:PercentageOfOwnership4 contextRef="AsOf20180331" decimals="4" unitRef="Pure">0.0000</tifrs-notes:PercentageOfOwnership4> + <tifrs-notes:PercentageOfOwnership4 contextRef="AsOf20171231" decimals="4" unitRef="Pure">0.5356</tifrs-notes:PercentageOfOwnership4> + <tifrs-notes:PercentageOfOwnership4 contextRef="AsOf20170331" decimals="4" unitRef="Pure">0.5357</tifrs-notes:PercentageOfOwnership4> + <tifrs-notes:Description contextRef="From20180101To20180331"><![CDATA[註二]]></tifrs-notes:Description> + </tifrs-notes:TheConsolidatedEntities> + + <tifrs-notes:TheConsolidatedEntities> + <tifrs-notes:CompanyNameOfTheInvestor contextRef="From20180101To20180331"><![CDATA[南亞科技香港公司]]></tifrs-notes:CompanyNameOfTheInvestor> + <tifrs-notes:NameOfInvestee contextRef="From20180101To20180331"><![CDATA[南亞科技歐洲公司]]></tifrs-notes:NameOfInvestee> + <tifrs-notes:MainBusinesses contextRef="From20180101To20180331"><![CDATA[半導體產品銷售]]></tifrs-notes:MainBusinesses> + <tifrs-notes:PercentageOfOwnership4 contextRef="AsOf20180331" decimals="4" unitRef="Pure">1.0000</tifrs-notes:PercentageOfOwnership4> + <tifrs-notes:PercentageOfOwnership4 contextRef="AsOf20171231" decimals="4" unitRef="Pure">1.0000</tifrs-notes:PercentageOfOwnership4> + <tifrs-notes:PercentageOfOwnership4 contextRef="AsOf20170331" decimals="4" unitRef="Pure">1.0000</tifrs-notes:PercentageOfOwnership4> + <tifrs-notes:Description contextRef="From20180101To20180331"><![CDATA[註ㄧ及註二]]></tifrs-notes:Description> + </tifrs-notes:TheConsolidatedEntities> + + <tifrs-notes:TheConsolidatedEntities> + <tifrs-notes:CompanyNameOfTheInvestor contextRef="From20180101To20180331"><![CDATA[南亞科技香港公司]]></tifrs-notes:CompanyNameOfTheInvestor> + <tifrs-notes:NameOfInvestee contextRef="From20180101To20180331"><![CDATA[南亞科科技(深圳)有限公司]]></tifrs-notes:NameOfInvestee> + <tifrs-notes:MainBusinesses contextRef="From20180101To20180331"><![CDATA[半導體產品銷售]]></tifrs-notes:MainBusinesses> + <tifrs-notes:PercentageOfOwnership4 contextRef="AsOf20180331" decimals="4" unitRef="Pure">1.0000</tifrs-notes:PercentageOfOwnership4> + <tifrs-notes:PercentageOfOwnership4 contextRef="AsOf20171231" decimals="4" unitRef="Pure">1.0000</tifrs-notes:PercentageOfOwnership4> + <tifrs-notes:PercentageOfOwnership4 contextRef="AsOf20170331" decimals="4" unitRef="Pure">1.0000</tifrs-notes:PercentageOfOwnership4> + <tifrs-notes:Description contextRef="From20180101To20180331"><![CDATA[註二]]></tifrs-notes:Description> + </tifrs-notes:TheConsolidatedEntities> + + <tifrs-notes:Note-TheConsolidatedEntities contextRef="From20180101To20180331"><![CDATA[註一:補丁科技股份有限公司於民國一○六年九月經董事會決議辦理員工行使認股權發行新股,合 +併公司持有股權由53.57%降為53.56%,本公司於民國一○七年二月全數處分持有股權並喪失 +控制力停止將其併入合併子公司。 +註二:係非重要子公司,其財務報告未經會計師核閱。]]></tifrs-notes:Note-TheConsolidatedEntities> + <tifrs-notes:FinancialStatementAccountAndAmount> + <tifrs-notes:FinancialStatementAccount2 contextRef="AsOf20180331"><![CDATA[應收票據]]></tifrs-notes:FinancialStatementAccount2> + <tifrs-notes:Amount2 contextRef="AsOf20180331" decimals="-3" unitRef="TWD">2390000</tifrs-notes:Amount2> + <tifrs-notes:Amount2 contextRef="AsOf20171231" decimals="-3" unitRef="TWD">3577000</tifrs-notes:Amount2> + <tifrs-notes:Amount2 contextRef="AsOf20170331" decimals="-3" unitRef="TWD">11978000</tifrs-notes:Amount2> + </tifrs-notes:FinancialStatementAccountAndAmount> + + <tifrs-notes:FinancialStatementAccountAndAmount> + <tifrs-notes:FinancialStatementAccount2 contextRef="AsOf20180331"><![CDATA[應收帳款]]></tifrs-notes:FinancialStatementAccount2> + <tifrs-notes:Amount2 contextRef="AsOf20180331" decimals="-3" unitRef="TWD">11051779000</tifrs-notes:Amount2> + <tifrs-notes:Amount2 contextRef="AsOf20171231" decimals="-3" unitRef="TWD">8530890000</tifrs-notes:Amount2> + <tifrs-notes:Amount2 contextRef="AsOf20170331" decimals="-3" unitRef="TWD">5779819000</tifrs-notes:Amount2> + </tifrs-notes:FinancialStatementAccountAndAmount> + + <tifrs-notes:FinancialStatementAccountAndAmount> + <tifrs-notes:FinancialStatementAccount2 contextRef="AsOf20180331"><![CDATA[備抵損失]]></tifrs-notes:FinancialStatementAccount2> + <tifrs-notes:Amount2 contextRef="AsOf20180331" decimals="-3" unitRef="TWD">-9174000</tifrs-notes:Amount2> + <tifrs-notes:Amount2 contextRef="AsOf20171231" decimals="-3" unitRef="TWD">-8859000</tifrs-notes:Amount2> + <tifrs-notes:Amount2 contextRef="AsOf20170331" decimals="-3" unitRef="TWD">-9083000</tifrs-notes:Amount2> + </tifrs-notes:FinancialStatementAccountAndAmount> + + <tifrs-notes:ScheduleOfTradeAndOtherReceivables contextRef="AsOf20180331" decimals="-3"><![CDATA[]]></tifrs-notes:ScheduleOfTradeAndOtherReceivables> + <tifrs-notes:TotalTradeAndOtherReceivables contextRef="AsOf20180331" decimals="-3" unitRef="TWD">11044995000</tifrs-notes:TotalTradeAndOtherReceivables> + <tifrs-notes:TotalTradeAndOtherReceivables contextRef="AsOf20171231" decimals="-3" unitRef="TWD">8525608000</tifrs-notes:TotalTradeAndOtherReceivables> + <tifrs-notes:TotalTradeAndOtherReceivables contextRef="AsOf20170331" decimals="-3" unitRef="TWD">5782714000</tifrs-notes:TotalTradeAndOtherReceivables> + <tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + <tifrs-notes:NameOfRelatedParty contextRef="AsOf20180331"><![CDATA[南亞光電股份有限公司]]></tifrs-notes:NameOfRelatedParty> + <tifrs-notes:RelatedPartyRelationship contextRef="AsOf20180331"><![CDATA[合併公司之其他關係人]]></tifrs-notes:RelatedPartyRelationship> + </tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + + <tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + <tifrs-notes:NameOfRelatedParty contextRef="AsOf20180331"><![CDATA[台塑網軟件科技(南京)有限公司]]></tifrs-notes:NameOfRelatedParty> + <tifrs-notes:RelatedPartyRelationship contextRef="AsOf20180331"><![CDATA[合併公司之其他關係人]]></tifrs-notes:RelatedPartyRelationship> + </tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + + <tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + <tifrs-notes:NameOfRelatedParty contextRef="AsOf20180331"><![CDATA[南亞電路板股份有限公司]]></tifrs-notes:NameOfRelatedParty> + <tifrs-notes:RelatedPartyRelationship contextRef="AsOf20180331"><![CDATA[合併公司之其他關係人]]></tifrs-notes:RelatedPartyRelationship> + </tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + + <tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + <tifrs-notes:NameOfRelatedParty contextRef="AsOf20180331"><![CDATA[麥寮工業區專用港管理股份有限公司]]></tifrs-notes:NameOfRelatedParty> + <tifrs-notes:RelatedPartyRelationship contextRef="AsOf20180331"><![CDATA[合併公司之其他關係人]]></tifrs-notes:RelatedPartyRelationship> + </tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + + <tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + <tifrs-notes:NameOfRelatedParty contextRef="AsOf20180331"><![CDATA[台朔重工股份有限公司]]></tifrs-notes:NameOfRelatedParty> + <tifrs-notes:RelatedPartyRelationship contextRef="AsOf20180331"><![CDATA[合併公司之其他關係人]]></tifrs-notes:RelatedPartyRelationship> + </tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + + <tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + <tifrs-notes:NameOfRelatedParty contextRef="AsOf20180331"><![CDATA[台塑勝高科技股份有限公司]]></tifrs-notes:NameOfRelatedParty> + <tifrs-notes:RelatedPartyRelationship contextRef="AsOf20180331"><![CDATA[合併公司之其他關係人]]></tifrs-notes:RelatedPartyRelationship> + </tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + + <tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + <tifrs-notes:NameOfRelatedParty contextRef="AsOf20180331"><![CDATA[福懋科技股份有限公司]]></tifrs-notes:NameOfRelatedParty> + <tifrs-notes:RelatedPartyRelationship contextRef="AsOf20180331"><![CDATA[合併公司之其他關係人]]></tifrs-notes:RelatedPartyRelationship> + </tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + + <tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + <tifrs-notes:NameOfRelatedParty contextRef="AsOf20180331"><![CDATA[台塑網科技股份有限公司]]></tifrs-notes:NameOfRelatedParty> + <tifrs-notes:RelatedPartyRelationship contextRef="AsOf20180331"><![CDATA[合併公司之其他關係人]]></tifrs-notes:RelatedPartyRelationship> + </tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + + <tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + <tifrs-notes:NameOfRelatedParty contextRef="AsOf20180331"><![CDATA[台塑生醫科技股份有限公司]]></tifrs-notes:NameOfRelatedParty> + <tifrs-notes:RelatedPartyRelationship contextRef="AsOf20180331"><![CDATA[合併公司之其他關係人]]></tifrs-notes:RelatedPartyRelationship> + </tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + + <tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + <tifrs-notes:NameOfRelatedParty contextRef="AsOf20180331"><![CDATA[台塑石化股份有限公司]]></tifrs-notes:NameOfRelatedParty> + <tifrs-notes:RelatedPartyRelationship contextRef="AsOf20180331"><![CDATA[合併公司之其他關係人]]></tifrs-notes:RelatedPartyRelationship> + </tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + + <tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + <tifrs-notes:NameOfRelatedParty contextRef="AsOf20180331"><![CDATA[台灣化學纖維股份有限公司]]></tifrs-notes:NameOfRelatedParty> + <tifrs-notes:RelatedPartyRelationship contextRef="AsOf20180331"><![CDATA[合併公司之其他關係人]]></tifrs-notes:RelatedPartyRelationship> + </tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + + <tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + <tifrs-notes:NameOfRelatedParty contextRef="AsOf20180331"><![CDATA[台灣塑膠工業股份有限公司]]></tifrs-notes:NameOfRelatedParty> + <tifrs-notes:RelatedPartyRelationship contextRef="AsOf20180331"><![CDATA[合併公司之其他關係人]]></tifrs-notes:RelatedPartyRelationship> + </tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + + <tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + <tifrs-notes:NameOfRelatedParty contextRef="AsOf20180331"><![CDATA[台化地毯股份有限公司]]></tifrs-notes:NameOfRelatedParty> + <tifrs-notes:RelatedPartyRelationship contextRef="AsOf20180331"><![CDATA[合併公司之其他關係人]]></tifrs-notes:RelatedPartyRelationship> + </tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + + <tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + <tifrs-notes:NameOfRelatedParty contextRef="AsOf20180331"><![CDATA[台朔重工(廣州)有限公司]]></tifrs-notes:NameOfRelatedParty> + <tifrs-notes:RelatedPartyRelationship contextRef="AsOf20180331"><![CDATA[合併公司之其他關係人]]></tifrs-notes:RelatedPartyRelationship> + </tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + + <tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + <tifrs-notes:NameOfRelatedParty contextRef="AsOf20180331"><![CDATA[台塑貨運(寧波)有限公司]]></tifrs-notes:NameOfRelatedParty> + <tifrs-notes:RelatedPartyRelationship contextRef="AsOf20180331"><![CDATA[合併公司之其他關係人]]></tifrs-notes:RelatedPartyRelationship> + </tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + + <tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + <tifrs-notes:NameOfRelatedParty contextRef="AsOf20180331"><![CDATA[南亞塑膠工業股份有限公司]]></tifrs-notes:NameOfRelatedParty> + <tifrs-notes:RelatedPartyRelationship contextRef="AsOf20180331"><![CDATA[對合併公司具重大影響力之個體]]></tifrs-notes:RelatedPartyRelationship> + </tifrs-notes:NameAndRelatiohshipOfRelatedParty2> + + <tifrs-notes:CategoriesOfRelatedPartiesAndAmount> + <tifrs-notes:FinancialStatementAccountForSignificantTransactionsBetweenRelatedParties contextRef="From20180101To20180331"><![CDATA[銷貨收入]]></tifrs-notes:FinancialStatementAccountForSignificantTransactionsBetweenRelatedParties> + <tifrs-notes:CategoriesOfRelatedParties contextRef="From20180101To20180331"><![CDATA[其他關係人]]></tifrs-notes:CategoriesOfRelatedParties> + <tifrs-notes:Amount8 contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-notes:Amount8> + <tifrs-notes:Amount8 contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">6023000</tifrs-notes:Amount8> + </tifrs-notes:CategoriesOfRelatedPartiesAndAmount> + + <tifrs-notes:OperatingRevenue2 contextRef="From20180101To20180331" decimals="-3"><![CDATA[合併公司銷售予其他關係人之銷貨條件則與一般銷售價格無顯著不同,其收款 +期限為次月15日前。]]></tifrs-notes:OperatingRevenue2> + <tifrs-notes:TotalOperationRevenue contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-notes:TotalOperationRevenue> + <tifrs-notes:TotalOperationRevenue contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">6023000</tifrs-notes:TotalOperationRevenue> + <tifrs-notes:CategoriesOfRelatedPartiesAndAmount2> + <tifrs-notes:CategoriesOfRelatedParties3 contextRef="From20180101To20180331"><![CDATA[對合併公司具有重大影響力者]]></tifrs-notes:CategoriesOfRelatedParties3> + <tifrs-notes:Amount9 contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">15104000</tifrs-notes:Amount9> + <tifrs-notes:Amount9 contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">12314000</tifrs-notes:Amount9> + </tifrs-notes:CategoriesOfRelatedPartiesAndAmount2> + + <tifrs-notes:CategoriesOfRelatedPartiesAndAmount2> + <tifrs-notes:CategoriesOfRelatedParties3 contextRef="From20180101To20180331"><![CDATA[其他關係人-台塑勝高科技股份有限公司]]></tifrs-notes:CategoriesOfRelatedParties3> + <tifrs-notes:Amount9 contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">419527000</tifrs-notes:Amount9> + <tifrs-notes:Amount9 contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">269562000</tifrs-notes:Amount9> + </tifrs-notes:CategoriesOfRelatedPartiesAndAmount2> + + <tifrs-notes:CategoriesOfRelatedPartiesAndAmount2> + <tifrs-notes:CategoriesOfRelatedParties3 contextRef="From20180101To20180331"><![CDATA[其他關係人]]></tifrs-notes:CategoriesOfRelatedParties3> + <tifrs-notes:Amount9 contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">22470000</tifrs-notes:Amount9> + <tifrs-notes:Amount9 contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">8250000</tifrs-notes:Amount9> + </tifrs-notes:CategoriesOfRelatedPartiesAndAmount2> + + <tifrs-notes:PurchasesOfGoods contextRef="From20180101To20180331" decimals="-3"><![CDATA[]]></tifrs-notes:PurchasesOfGoods> + <tifrs-notes:TotalPurchasesOfGoods contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">457101000</tifrs-notes:TotalPurchasesOfGoods> + <tifrs-notes:TotalPurchasesOfGoods contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">290126000</tifrs-notes:TotalPurchasesOfGoods> + <tifrs-notes:FinancialStatementAccountAndCategoriesOfRelatedPartiesAndAmount2> + <tifrs-notes:FinancialStatementAccount4 contextRef="AsOf20180331"><![CDATA[應付帳款-關係人]]></tifrs-notes:FinancialStatementAccount4> + <tifrs-notes:CategoriesOfRelatedParties12 contextRef="AsOf20180331"><![CDATA[對合併公司具重大影響力之個體]]></tifrs-notes:CategoriesOfRelatedParties12> + <tifrs-notes:Amount4 contextRef="AsOf20180331" decimals="-3" unitRef="TWD">5597000</tifrs-notes:Amount4> + <tifrs-notes:Amount4 contextRef="AsOf20171231" decimals="-3" unitRef="TWD">4750000</tifrs-notes:Amount4> + <tifrs-notes:Amount4 contextRef="AsOf20170331" decimals="-3" unitRef="TWD">3936000</tifrs-notes:Amount4> + </tifrs-notes:FinancialStatementAccountAndCategoriesOfRelatedPartiesAndAmount2> + + <tifrs-notes:FinancialStatementAccountAndCategoriesOfRelatedPartiesAndAmount2> + <tifrs-notes:FinancialStatementAccount4 contextRef="AsOf20180331"><![CDATA[應付帳款-關係人]]></tifrs-notes:FinancialStatementAccount4> + <tifrs-notes:CategoriesOfRelatedParties12 contextRef="AsOf20180331"><![CDATA[其他關係人-台塑勝高科技股份有限公]]></tifrs-notes:CategoriesOfRelatedParties12> + <tifrs-notes:Amount4 contextRef="AsOf20180331" decimals="-3" unitRef="TWD">315826000</tifrs-notes:Amount4> + <tifrs-notes:Amount4 contextRef="AsOf20171231" decimals="-3" unitRef="TWD">290134000</tifrs-notes:Amount4> + <tifrs-notes:Amount4 contextRef="AsOf20170331" decimals="-3" unitRef="TWD">186508000</tifrs-notes:Amount4> + </tifrs-notes:FinancialStatementAccountAndCategoriesOfRelatedPartiesAndAmount2> + + <tifrs-notes:FinancialStatementAccountAndCategoriesOfRelatedPartiesAndAmount2> + <tifrs-notes:FinancialStatementAccount4 contextRef="AsOf20180331"><![CDATA[應付帳款-關係人]]></tifrs-notes:FinancialStatementAccount4> + <tifrs-notes:CategoriesOfRelatedParties12 contextRef="AsOf20180331"><![CDATA[其他關係人]]></tifrs-notes:CategoriesOfRelatedParties12> + <tifrs-notes:Amount4 contextRef="AsOf20180331" decimals="-3" unitRef="TWD">6354000</tifrs-notes:Amount4> + <tifrs-notes:Amount4 contextRef="AsOf20171231" decimals="-3" unitRef="TWD">4862000</tifrs-notes:Amount4> + <tifrs-notes:Amount4 contextRef="AsOf20170331" decimals="-3" unitRef="TWD">2193000</tifrs-notes:Amount4> + </tifrs-notes:FinancialStatementAccountAndCategoriesOfRelatedPartiesAndAmount2> + + <tifrs-notes:FinancialStatementAccountAndCategoriesOfRelatedPartiesAndAmount2> + <tifrs-notes:FinancialStatementAccount4 contextRef="AsOf20180331"><![CDATA[其他應付款]]></tifrs-notes:FinancialStatementAccount4> + <tifrs-notes:CategoriesOfRelatedParties12 contextRef="AsOf20180331"><![CDATA[關聯企業]]></tifrs-notes:CategoriesOfRelatedParties12> + <tifrs-notes:Amount4 contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</tifrs-notes:Amount4> + <tifrs-notes:Amount4 contextRef="AsOf20171231" decimals="-3" unitRef="TWD">0</tifrs-notes:Amount4> + <tifrs-notes:Amount4 contextRef="AsOf20170331" decimals="-3" unitRef="TWD">0</tifrs-notes:Amount4> + </tifrs-notes:FinancialStatementAccountAndCategoriesOfRelatedPartiesAndAmount2> + + <tifrs-notes:FinancialStatementAccountAndCategoriesOfRelatedPartiesAndAmount2> + <tifrs-notes:FinancialStatementAccount4 contextRef="AsOf20180331"><![CDATA[其他應付款]]></tifrs-notes:FinancialStatementAccount4> + <tifrs-notes:CategoriesOfRelatedParties12 contextRef="AsOf20180331"><![CDATA[其他關係人-福懋科技股份有限公司]]></tifrs-notes:CategoriesOfRelatedParties12> + <tifrs-notes:Amount4 contextRef="AsOf20180331" decimals="-3" unitRef="TWD">891118000</tifrs-notes:Amount4> + <tifrs-notes:Amount4 contextRef="AsOf20171231" decimals="-3" unitRef="TWD">889629000</tifrs-notes:Amount4> + <tifrs-notes:Amount4 contextRef="AsOf20170331" decimals="-3" unitRef="TWD">703498000</tifrs-notes:Amount4> + </tifrs-notes:FinancialStatementAccountAndCategoriesOfRelatedPartiesAndAmount2> + + <tifrs-notes:AmountsPayableToRelatedParties contextRef="AsOf20180331" decimals="-3"><![CDATA[]]></tifrs-notes:AmountsPayableToRelatedParties> + <tifrs-notes:TotalAmountsPayableToRelatedParties contextRef="AsOf20180331" decimals="-3" unitRef="TWD">1218895000</tifrs-notes:TotalAmountsPayableToRelatedParties> + <tifrs-notes:TotalAmountsPayableToRelatedParties contextRef="AsOf20171231" decimals="-3" unitRef="TWD">1189375000</tifrs-notes:TotalAmountsPayableToRelatedParties> + <tifrs-notes:TotalAmountsPayableToRelatedParties contextRef="AsOf20170331" decimals="-3" unitRef="TWD">896135000</tifrs-notes:TotalAmountsPayableToRelatedParties> + <tifrs-notes:CategoriesOfRelatedPartiesAndPurchasePrice> + <tifrs-notes:CategoriesOfRelatedParties4 contextRef="From20180101To20180331"><![CDATA[對合併公司具有重大影響力之個體]]></tifrs-notes:CategoriesOfRelatedParties4> + <tifrs-notes:PurchasePrice2 contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">391000</tifrs-notes:PurchasePrice2> + <tifrs-notes:PurchasePrice2 contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">2489000</tifrs-notes:PurchasePrice2> + </tifrs-notes:CategoriesOfRelatedPartiesAndPurchasePrice> + + <tifrs-notes:CategoriesOfRelatedPartiesAndPurchasePrice> + <tifrs-notes:CategoriesOfRelatedParties4 contextRef="From20180101To20180331"><![CDATA[其他關係人]]></tifrs-notes:CategoriesOfRelatedParties4> + <tifrs-notes:PurchasePrice2 contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">2111000</tifrs-notes:PurchasePrice2> + <tifrs-notes:PurchasePrice2 contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">41176000</tifrs-notes:PurchasePrice2> + </tifrs-notes:CategoriesOfRelatedPartiesAndPurchasePrice> + + <tifrs-notes:PurchasesOfPropertyPlantAndEquipment contextRef="From20180101To20180331" decimals="-3"><![CDATA[]]></tifrs-notes:PurchasesOfPropertyPlantAndEquipment> + <tifrs-notes:TotalPurchasePrice contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">2502000</tifrs-notes:TotalPurchasePrice> + <tifrs-notes:TotalPurchasePrice contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">43665000</tifrs-notes:TotalPurchasePrice> + <tifrs-notes:CategoriesOfRelatedPartiesAndAmount5> + <tifrs-notes:CategoriesOfRelatedParties15 contextRef="AsOf20180331"><![CDATA[對合併公司具重大影響力之個體]]></tifrs-notes:CategoriesOfRelatedParties15> + <tifrs-notes:Amount7 contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</tifrs-notes:Amount7> + <tifrs-notes:Amount7 contextRef="AsOf20171231" decimals="-3" unitRef="TWD">0</tifrs-notes:Amount7> + <tifrs-notes:Amount7 contextRef="AsOf20170331" decimals="-3" unitRef="TWD">8000000000</tifrs-notes:Amount7> + </tifrs-notes:CategoriesOfRelatedPartiesAndAmount5> + + <tifrs-notes:CategoriesOfRelatedPartiesAndAmount5> + <tifrs-notes:CategoriesOfRelatedParties15 contextRef="AsOf20180331"><![CDATA[其他關係人-台塑重工(廣州)有限公司]]></tifrs-notes:CategoriesOfRelatedParties15> + <tifrs-notes:Amount7 contextRef="AsOf20180331" decimals="-3" unitRef="TWD">8322000</tifrs-notes:Amount7> + <tifrs-notes:Amount7 contextRef="AsOf20171231" decimals="-3" unitRef="TWD">2282000</tifrs-notes:Amount7> + <tifrs-notes:Amount7 contextRef="AsOf20170331" decimals="-3" unitRef="TWD">0</tifrs-notes:Amount7> + </tifrs-notes:CategoriesOfRelatedPartiesAndAmount5> + + <tifrs-notes:CategoriesOfRelatedPartiesAndAmount5> + <tifrs-notes:CategoriesOfRelatedParties15 contextRef="AsOf20180331"><![CDATA[其他關係人-台塑貨運(寧波)有限公司]]></tifrs-notes:CategoriesOfRelatedParties15> + <tifrs-notes:Amount7 contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</tifrs-notes:Amount7> + <tifrs-notes:Amount7 contextRef="AsOf20171231" decimals="-3" unitRef="TWD">5934000</tifrs-notes:Amount7> + <tifrs-notes:Amount7 contextRef="AsOf20170331" decimals="-3" unitRef="TWD">0</tifrs-notes:Amount7> + </tifrs-notes:CategoriesOfRelatedPartiesAndAmount5> + + <tifrs-notes:CategoriesOfRelatedPartiesAndAmount5> + <tifrs-notes:CategoriesOfRelatedParties15 contextRef="AsOf20180331"><![CDATA[台塑網軟件科技(南京)有限公司]]></tifrs-notes:CategoriesOfRelatedParties15> + <tifrs-notes:Amount7 contextRef="AsOf20180331" decimals="-3" unitRef="TWD">4624000</tifrs-notes:Amount7> + <tifrs-notes:Amount7 contextRef="AsOf20171231" decimals="-3" unitRef="TWD">0</tifrs-notes:Amount7> + <tifrs-notes:Amount7 contextRef="AsOf20170331" decimals="-3" unitRef="TWD">0</tifrs-notes:Amount7> + </tifrs-notes:CategoriesOfRelatedPartiesAndAmount5> + + <tifrs-notes:CategoriesOfRelatedPartiesAndAmount5> + <tifrs-notes:CategoriesOfRelatedParties15 contextRef="AsOf20180331"><![CDATA[其他關係人]]></tifrs-notes:CategoriesOfRelatedParties15> + <tifrs-notes:Amount7 contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</tifrs-notes:Amount7> + <tifrs-notes:Amount7 contextRef="AsOf20171231" decimals="-3" unitRef="TWD">200000</tifrs-notes:Amount7> + <tifrs-notes:Amount7 contextRef="AsOf20170331" decimals="-3" unitRef="TWD">2045308000</tifrs-notes:Amount7> + </tifrs-notes:CategoriesOfRelatedPartiesAndAmount5> + + <tifrs-notes:LoanFromRelatedParties contextRef="AsOf20180331" decimals="-3"><![CDATA[截至民國一○七年三月三十一日、一○六年十二月三十一日及三月三十一日應 +付關係人往來利息分別為88千元、208千元及12,027千元,列於其他應付款-關係人 +項下,對關係人之利息費用,請詳附註六(廿一)。]]></tifrs-notes:LoanFromRelatedParties> + <tifrs-notes:TotalLoanFromRelatedParties contextRef="AsOf20180331" decimals="-3" unitRef="TWD">12946000</tifrs-notes:TotalLoanFromRelatedParties> + <tifrs-notes:TotalLoanFromRelatedParties contextRef="AsOf20171231" decimals="-3" unitRef="TWD">8416000</tifrs-notes:TotalLoanFromRelatedParties> + <tifrs-notes:TotalLoanFromRelatedParties contextRef="AsOf20170331" decimals="-3" unitRef="TWD">10045308000</tifrs-notes:TotalLoanFromRelatedParties> + <tifrs-notes:ShortTermEmployeeBenefits contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">12192000</tifrs-notes:ShortTermEmployeeBenefits> + <tifrs-notes:ShortTermEmployeeBenefits contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">11918000</tifrs-notes:ShortTermEmployeeBenefits> + <tifrs-notes:PostEmploymentBenefits contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-notes:PostEmploymentBenefits> + <tifrs-notes:PostEmploymentBenefits contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">0</tifrs-notes:PostEmploymentBenefits> + <tifrs-notes:OtherLongTermBenefits contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-notes:OtherLongTermBenefits> + <tifrs-notes:OtherLongTermBenefits contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">0</tifrs-notes:OtherLongTermBenefits> + <tifrs-notes:TerminationBenefits contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-notes:TerminationBenefits> + <tifrs-notes:TerminationBenefits contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">0</tifrs-notes:TerminationBenefits> + <tifrs-notes:ShareBasedPayment2 contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">1694000</tifrs-notes:ShareBasedPayment2> + <tifrs-notes:ShareBasedPayment2 contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">3001000</tifrs-notes:ShareBasedPayment2> + <tifrs-notes:TotalKeyManagementPersonnelCompensation contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">13886000</tifrs-notes:TotalKeyManagementPersonnelCompensation> + <tifrs-notes:TotalKeyManagementPersonnelCompensation contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">14919000</tifrs-notes:TotalKeyManagementPersonnelCompensation> + <tifrs-notes:SignificantIntercompanyTransactionsBetweenConsolidatedEntities> + <tifrs-notes:No contextRef="From20180101To20180331" decimals="2" unitRef="TWD">0</tifrs-notes:No> + <tifrs-notes:CompanyName contextRef="From20180101To20180331"><![CDATA[南亞科技股份有限公司]]></tifrs-notes:CompanyName> + <tifrs-notes:Counterparty contextRef="From20180101To20180331"><![CDATA[南亞科技美國公司]]></tifrs-notes:Counterparty> + <tifrs-notes:RelationshipWithTheCompany contextRef="From20180101To20180331"><![CDATA[1]]></tifrs-notes:RelationshipWithTheCompany> + <tifrs-notes:IntercompanyTransactions> + <tifrs-notes:FinancialStatementAccount contextRef="From20180101To20180331"><![CDATA[銷貨]]></tifrs-notes:FinancialStatementAccount> + <tifrs-notes:Amount contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">1354923000</tifrs-notes:Amount> + <tifrs-notes:Terms contextRef="From20180101To20180331"><![CDATA[比照一般條件]]></tifrs-notes:Terms> + <tifrs-notes:PercentageOfConsolidatedOperatingRevenuesOrTotalAssets contextRef="From20180101To20180331" decimals="4" unitRef="Pure">0.0721</tifrs-notes:PercentageOfConsolidatedOperatingRevenuesOrTotalAssets> + </tifrs-notes:IntercompanyTransactions> + </tifrs-notes:SignificantIntercompanyTransactionsBetweenConsolidatedEntities> + + <tifrs-notes:SignificantIntercompanyTransactionsBetweenConsolidatedEntities> + <tifrs-notes:No contextRef="From20180101To20180331" decimals="2" unitRef="TWD">0</tifrs-notes:No> + <tifrs-notes:CompanyName contextRef="From20180101To20180331"><![CDATA[南亞科技股份有限公司]]></tifrs-notes:CompanyName> + <tifrs-notes:Counterparty contextRef="From20180101To20180331"><![CDATA[南亞科技歐洲公司]]></tifrs-notes:Counterparty> + <tifrs-notes:RelationshipWithTheCompany contextRef="From20180101To20180331"><![CDATA[1]]></tifrs-notes:RelationshipWithTheCompany> + <tifrs-notes:IntercompanyTransactions> + <tifrs-notes:FinancialStatementAccount contextRef="From20180101To20180331"><![CDATA[銷貨]]></tifrs-notes:FinancialStatementAccount> + <tifrs-notes:Amount contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">1060546000</tifrs-notes:Amount> + <tifrs-notes:Terms contextRef="From20180101To20180331"><![CDATA[比照一般條件]]></tifrs-notes:Terms> + <tifrs-notes:PercentageOfConsolidatedOperatingRevenuesOrTotalAssets contextRef="From20180101To20180331" decimals="4" unitRef="Pure">0.0564</tifrs-notes:PercentageOfConsolidatedOperatingRevenuesOrTotalAssets> + </tifrs-notes:IntercompanyTransactions> + </tifrs-notes:SignificantIntercompanyTransactionsBetweenConsolidatedEntities> + + <tifrs-notes:SignificantIntercompanyTransactionsBetweenConsolidatedEntities> + <tifrs-notes:No contextRef="From20180101To20180331" decimals="2" unitRef="TWD">0</tifrs-notes:No> + <tifrs-notes:CompanyName contextRef="From20180101To20180331"><![CDATA[南亞科技股份有限公司]]></tifrs-notes:CompanyName> + <tifrs-notes:Counterparty contextRef="From20180101To20180331"><![CDATA[南亞科技日本公司]]></tifrs-notes:Counterparty> + <tifrs-notes:RelationshipWithTheCompany contextRef="From20180101To20180331"><![CDATA[1]]></tifrs-notes:RelationshipWithTheCompany> + <tifrs-notes:IntercompanyTransactions> + <tifrs-notes:FinancialStatementAccount contextRef="From20180101To20180331"><![CDATA[銷貨]]></tifrs-notes:FinancialStatementAccount> + <tifrs-notes:Amount contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">1103852000</tifrs-notes:Amount> + <tifrs-notes:Terms contextRef="From20180101To20180331"><![CDATA[比照一般條件]]></tifrs-notes:Terms> + <tifrs-notes:PercentageOfConsolidatedOperatingRevenuesOrTotalAssets contextRef="From20180101To20180331" decimals="4" unitRef="Pure">0.0587</tifrs-notes:PercentageOfConsolidatedOperatingRevenuesOrTotalAssets> + </tifrs-notes:IntercompanyTransactions> + </tifrs-notes:SignificantIntercompanyTransactionsBetweenConsolidatedEntities> + + <tifrs-notes:SignificantIntercompanyTransactionsBetweenConsolidatedEntities> + <tifrs-notes:No contextRef="From20180101To20180331" decimals="2" unitRef="TWD">0</tifrs-notes:No> + <tifrs-notes:CompanyName contextRef="From20180101To20180331"><![CDATA[南亞科技股份有限公司]]></tifrs-notes:CompanyName> + <tifrs-notes:Counterparty contextRef="From20180101To20180331"><![CDATA[南亞科技美國公司]]></tifrs-notes:Counterparty> + <tifrs-notes:RelationshipWithTheCompany contextRef="From20180101To20180331"><![CDATA[1]]></tifrs-notes:RelationshipWithTheCompany> + <tifrs-notes:IntercompanyTransactions> + <tifrs-notes:FinancialStatementAccount contextRef="From20180101To20180331"><![CDATA[應收帳款]]></tifrs-notes:FinancialStatementAccount> + <tifrs-notes:Amount contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">1075876000</tifrs-notes:Amount> + <tifrs-notes:Terms contextRef="From20180101To20180331"><![CDATA[比照一般條件]]></tifrs-notes:Terms> + <tifrs-notes:PercentageOfConsolidatedOperatingRevenuesOrTotalAssets contextRef="From20180101To20180331" decimals="4" unitRef="Pure">0.0068</tifrs-notes:PercentageOfConsolidatedOperatingRevenuesOrTotalAssets> + </tifrs-notes:IntercompanyTransactions> + </tifrs-notes:SignificantIntercompanyTransactionsBetweenConsolidatedEntities> + + <tifrs-notes:SignificantIntercompanyTransactionsBetweenConsolidatedEntities> + <tifrs-notes:No contextRef="From20180101To20180331" decimals="2" unitRef="TWD">0</tifrs-notes:No> + <tifrs-notes:CompanyName contextRef="From20180101To20180331"><![CDATA[南亞科技股份有限公司]]></tifrs-notes:CompanyName> + <tifrs-notes:Counterparty contextRef="From20180101To20180331"><![CDATA[南亞科技歐洲公司]]></tifrs-notes:Counterparty> + <tifrs-notes:RelationshipWithTheCompany contextRef="From20180101To20180331"><![CDATA[1]]></tifrs-notes:RelationshipWithTheCompany> + <tifrs-notes:IntercompanyTransactions> + <tifrs-notes:FinancialStatementAccount contextRef="From20180101To20180331"><![CDATA[應收帳款]]></tifrs-notes:FinancialStatementAccount> + <tifrs-notes:Amount contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">950444000</tifrs-notes:Amount> + <tifrs-notes:Terms contextRef="From20180101To20180331"><![CDATA[比照一般條件]]></tifrs-notes:Terms> + <tifrs-notes:PercentageOfConsolidatedOperatingRevenuesOrTotalAssets contextRef="From20180101To20180331" decimals="4" unitRef="Pure">0.0060</tifrs-notes:PercentageOfConsolidatedOperatingRevenuesOrTotalAssets> + </tifrs-notes:IntercompanyTransactions> + </tifrs-notes:SignificantIntercompanyTransactionsBetweenConsolidatedEntities> + + <tifrs-notes:SignificantIntercompanyTransactionsBetweenConsolidatedEntities> + <tifrs-notes:No contextRef="From20180101To20180331" decimals="2" unitRef="TWD">0</tifrs-notes:No> + <tifrs-notes:CompanyName contextRef="From20180101To20180331"><![CDATA[南亞科技股份有限公司]]></tifrs-notes:CompanyName> + <tifrs-notes:Counterparty contextRef="From20180101To20180331"><![CDATA[南亞科技日本公司]]></tifrs-notes:Counterparty> + <tifrs-notes:RelationshipWithTheCompany contextRef="From20180101To20180331"><![CDATA[1]]></tifrs-notes:RelationshipWithTheCompany> + <tifrs-notes:IntercompanyTransactions> + <tifrs-notes:FinancialStatementAccount contextRef="From20180101To20180331"><![CDATA[應收帳款]]></tifrs-notes:FinancialStatementAccount> + <tifrs-notes:Amount contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">1313134000</tifrs-notes:Amount> + <tifrs-notes:Terms contextRef="From20180101To20180331"><![CDATA[比照一般條件]]></tifrs-notes:Terms> + <tifrs-notes:PercentageOfConsolidatedOperatingRevenuesOrTotalAssets contextRef="From20180101To20180331" decimals="4" unitRef="Pure">0.0083</tifrs-notes:PercentageOfConsolidatedOperatingRevenuesOrTotalAssets> + </tifrs-notes:IntercompanyTransactions> + </tifrs-notes:SignificantIntercompanyTransactionsBetweenConsolidatedEntities> + + <tifrs-notes:NamesLocationsAndRelatedInformationOfInvesteesOverWhichTheCompanyExercisesSignificantInfluence> + <tifrs-notes:CompanyNameOfTheInvestor contextRef="From20180101To20180331"><![CDATA[本公司]]></tifrs-notes:CompanyNameOfTheInvestor> + <tifrs-notes:CompanyNameOfTheInvestee contextRef="From20180101To20180331"><![CDATA[南亞科技美國公司]]></tifrs-notes:CompanyNameOfTheInvestee> + <tifrs-notes:LocationCode contextRef="From20180101To20180331"><![CDATA[211]]></tifrs-notes:LocationCode> + <tifrs-notes:Location contextRef="From20180101To20180331"><![CDATA[美國]]></tifrs-notes:Location> + <tifrs-notes:MainBusinessesAndProducts contextRef="From20180101To20180331"><![CDATA[經營半導體產品之銷售業務]]></tifrs-notes:MainBusinessesAndProducts> + <tifrs-notes:OriginalInvestmentAmount> + <tifrs-notes:EndingBalance3 contextRef="AsOf20180331" decimals="-3" unitRef="TWD">20392000</tifrs-notes:EndingBalance3> + <tifrs-notes:BeginningBalance contextRef="AsOf20180331" decimals="-3" unitRef="TWD">20392000</tifrs-notes:BeginningBalance> + </tifrs-notes:OriginalInvestmentAmount> + <tifrs-notes:InvestmentsAtTheEndOfThePeriod> + <tifrs-notes:NumberOfShares1 contextRef="AsOf20180331" decimals="0" unitRef="Shares">2000</tifrs-notes:NumberOfShares1> + <tifrs-notes:PercentageOfOwnership1 contextRef="AsOf20180331" decimals="4" unitRef="Pure">1.0000</tifrs-notes:PercentageOfOwnership1> + <tifrs-notes:BookValue1 contextRef="AsOf20180331" decimals="-3" unitRef="TWD">107754000</tifrs-notes:BookValue1> + </tifrs-notes:InvestmentsAtTheEndOfThePeriod> + <tifrs-notes:NetIncomeLossesOfTheInvestee contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">1067000</tifrs-notes:NetIncomeLossesOfTheInvestee> + <tifrs-notes:InvestmentIncomeLossesRecognized1 contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">1067000</tifrs-notes:InvestmentIncomeLossesRecognized1> + <tifrs-notes:Note contextRef="From20180101To20180331"><![CDATA[註]]></tifrs-notes:Note> + </tifrs-notes:NamesLocationsAndRelatedInformationOfInvesteesOverWhichTheCompanyExercisesSignificantInfluence> + + <tifrs-notes:NamesLocationsAndRelatedInformationOfInvesteesOverWhichTheCompanyExercisesSignificantInfluence> + <tifrs-notes:CompanyNameOfTheInvestor contextRef="From20180101To20180331"><![CDATA[本公司]]></tifrs-notes:CompanyNameOfTheInvestor> + <tifrs-notes:CompanyNameOfTheInvestee contextRef="From20180101To20180331"><![CDATA[南亞科技德拉瓦公司]]></tifrs-notes:CompanyNameOfTheInvestee> + <tifrs-notes:LocationCode contextRef="From20180101To20180331"><![CDATA[211]]></tifrs-notes:LocationCode> + <tifrs-notes:Location contextRef="From20180101To20180331"><![CDATA[美國]]></tifrs-notes:Location> + <tifrs-notes:MainBusinessesAndProducts contextRef="From20180101To20180331"><![CDATA[半導體產品設計]]></tifrs-notes:MainBusinessesAndProducts> + <tifrs-notes:OriginalInvestmentAmount> + <tifrs-notes:EndingBalance3 contextRef="AsOf20180331" decimals="-3" unitRef="TWD">36005000</tifrs-notes:EndingBalance3> + <tifrs-notes:BeginningBalance contextRef="AsOf20180331" decimals="-3" unitRef="TWD">36005000</tifrs-notes:BeginningBalance> + </tifrs-notes:OriginalInvestmentAmount> + <tifrs-notes:InvestmentsAtTheEndOfThePeriod> + <tifrs-notes:NumberOfShares1 contextRef="AsOf20180331" decimals="0" unitRef="Shares">0</tifrs-notes:NumberOfShares1> + <tifrs-notes:PercentageOfOwnership1 contextRef="AsOf20180331" decimals="4" unitRef="Pure">1.0000</tifrs-notes:PercentageOfOwnership1> + <tifrs-notes:BookValue1 contextRef="AsOf20180331" decimals="-3" unitRef="TWD">130032000</tifrs-notes:BookValue1> + </tifrs-notes:InvestmentsAtTheEndOfThePeriod> + <tifrs-notes:NetIncomeLossesOfTheInvestee contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">3262000</tifrs-notes:NetIncomeLossesOfTheInvestee> + <tifrs-notes:InvestmentIncomeLossesRecognized1 contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">3262000</tifrs-notes:InvestmentIncomeLossesRecognized1> + <tifrs-notes:Note contextRef="From20180101To20180331"><![CDATA[註]]></tifrs-notes:Note> + </tifrs-notes:NamesLocationsAndRelatedInformationOfInvesteesOverWhichTheCompanyExercisesSignificantInfluence> + + <tifrs-notes:NamesLocationsAndRelatedInformationOfInvesteesOverWhichTheCompanyExercisesSignificantInfluence> + <tifrs-notes:CompanyNameOfTheInvestor contextRef="From20180101To20180331"><![CDATA[本公司]]></tifrs-notes:CompanyNameOfTheInvestor> + <tifrs-notes:CompanyNameOfTheInvestee contextRef="From20180101To20180331"><![CDATA[培仁股份有限公司]]></tifrs-notes:CompanyNameOfTheInvestee> + <tifrs-notes:LocationCode contextRef="From20180101To20180331"><![CDATA[0]]></tifrs-notes:LocationCode> + <tifrs-notes:Location contextRef="From20180101To20180331"><![CDATA[台灣]]></tifrs-notes:Location> + <tifrs-notes:MainBusinessesAndProducts contextRef="From20180101To20180331"><![CDATA[一般進出口貿易業務]]></tifrs-notes:MainBusinessesAndProducts> + <tifrs-notes:OriginalInvestmentAmount> + <tifrs-notes:EndingBalance3 contextRef="AsOf20180331" decimals="-3" unitRef="TWD">325348000</tifrs-notes:EndingBalance3> + <tifrs-notes:BeginningBalance contextRef="AsOf20180331" decimals="-3" unitRef="TWD">325348000</tifrs-notes:BeginningBalance> + </tifrs-notes:OriginalInvestmentAmount> + <tifrs-notes:InvestmentsAtTheEndOfThePeriod> + <tifrs-notes:NumberOfShares1 contextRef="AsOf20180331" decimals="0" unitRef="Shares">2935000</tifrs-notes:NumberOfShares1> + <tifrs-notes:PercentageOfOwnership1 contextRef="AsOf20180331" decimals="4" unitRef="Pure">1.0000</tifrs-notes:PercentageOfOwnership1> + <tifrs-notes:BookValue1 contextRef="AsOf20180331" decimals="-3" unitRef="TWD">43734000</tifrs-notes:BookValue1> + </tifrs-notes:InvestmentsAtTheEndOfThePeriod> + <tifrs-notes:NetIncomeLossesOfTheInvestee contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">43000</tifrs-notes:NetIncomeLossesOfTheInvestee> + <tifrs-notes:InvestmentIncomeLossesRecognized1 contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">43000</tifrs-notes:InvestmentIncomeLossesRecognized1> + <tifrs-notes:Note contextRef="From20180101To20180331"><![CDATA[註]]></tifrs-notes:Note> + </tifrs-notes:NamesLocationsAndRelatedInformationOfInvesteesOverWhichTheCompanyExercisesSignificantInfluence> + + <tifrs-notes:NamesLocationsAndRelatedInformationOfInvesteesOverWhichTheCompanyExercisesSignificantInfluence> + <tifrs-notes:CompanyNameOfTheInvestor contextRef="From20180101To20180331"><![CDATA[本公司]]></tifrs-notes:CompanyNameOfTheInvestor> + <tifrs-notes:CompanyNameOfTheInvestee contextRef="From20180101To20180331"><![CDATA[南亞科技香港公司]]></tifrs-notes:CompanyNameOfTheInvestee> + <tifrs-notes:LocationCode contextRef="From20180101To20180331"><![CDATA[92]]></tifrs-notes:LocationCode> + <tifrs-notes:Location contextRef="From20180101To20180331"><![CDATA[香港]]></tifrs-notes:Location> + <tifrs-notes:MainBusinessesAndProducts contextRef="From20180101To20180331"><![CDATA[經營半導體產品之銷售業務]]></tifrs-notes:MainBusinessesAndProducts> + <tifrs-notes:OriginalInvestmentAmount> + <tifrs-notes:EndingBalance3 contextRef="AsOf20180331" decimals="-3" unitRef="TWD">66271000</tifrs-notes:EndingBalance3> + <tifrs-notes:BeginningBalance contextRef="AsOf20180331" decimals="-3" unitRef="TWD">66271000</tifrs-notes:BeginningBalance> + </tifrs-notes:OriginalInvestmentAmount> + <tifrs-notes:InvestmentsAtTheEndOfThePeriod> + <tifrs-notes:NumberOfShares1 contextRef="AsOf20180331" decimals="0" unitRef="Shares">20000</tifrs-notes:NumberOfShares1> + <tifrs-notes:PercentageOfOwnership1 contextRef="AsOf20180331" decimals="4" unitRef="Pure">1.0000</tifrs-notes:PercentageOfOwnership1> + <tifrs-notes:BookValue1 contextRef="AsOf20180331" decimals="-3" unitRef="TWD">55483000</tifrs-notes:BookValue1> + </tifrs-notes:InvestmentsAtTheEndOfThePeriod> + <tifrs-notes:NetIncomeLossesOfTheInvestee contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">12733000</tifrs-notes:NetIncomeLossesOfTheInvestee> + <tifrs-notes:InvestmentIncomeLossesRecognized1 contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">12733000</tifrs-notes:InvestmentIncomeLossesRecognized1> + <tifrs-notes:Note contextRef="From20180101To20180331"><![CDATA[註]]></tifrs-notes:Note> + </tifrs-notes:NamesLocationsAndRelatedInformationOfInvesteesOverWhichTheCompanyExercisesSignificantInfluence> + + <tifrs-notes:NamesLocationsAndRelatedInformationOfInvesteesOverWhichTheCompanyExercisesSignificantInfluence> + <tifrs-notes:CompanyNameOfTheInvestor contextRef="From20180101To20180331"><![CDATA[本公司]]></tifrs-notes:CompanyNameOfTheInvestor> + <tifrs-notes:CompanyNameOfTheInvestee contextRef="From20180101To20180331"><![CDATA[南亞科技日本公司]]></tifrs-notes:CompanyNameOfTheInvestee> + <tifrs-notes:LocationCode contextRef="From20180101To20180331"><![CDATA[104]]></tifrs-notes:LocationCode> + <tifrs-notes:Location contextRef="From20180101To20180331"><![CDATA[日本]]></tifrs-notes:Location> + <tifrs-notes:MainBusinessesAndProducts contextRef="From20180101To20180331"><![CDATA[經營半導體產品之銷售業務]]></tifrs-notes:MainBusinessesAndProducts> + <tifrs-notes:OriginalInvestmentAmount> + <tifrs-notes:EndingBalance3 contextRef="AsOf20180331" decimals="-3" unitRef="TWD">20161000</tifrs-notes:EndingBalance3> + <tifrs-notes:BeginningBalance contextRef="AsOf20180331" decimals="-3" unitRef="TWD">20161000</tifrs-notes:BeginningBalance> + </tifrs-notes:OriginalInvestmentAmount> + <tifrs-notes:InvestmentsAtTheEndOfThePeriod> + <tifrs-notes:NumberOfShares1 contextRef="AsOf20180331" decimals="0" unitRef="Shares">1000</tifrs-notes:NumberOfShares1> + <tifrs-notes:PercentageOfOwnership1 contextRef="AsOf20180331" decimals="4" unitRef="Pure">1.0000</tifrs-notes:PercentageOfOwnership1> + <tifrs-notes:BookValue1 contextRef="AsOf20180331" decimals="-3" unitRef="TWD">84358000</tifrs-notes:BookValue1> + </tifrs-notes:InvestmentsAtTheEndOfThePeriod> + <tifrs-notes:NetIncomeLossesOfTheInvestee contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-88612000</tifrs-notes:NetIncomeLossesOfTheInvestee> + <tifrs-notes:InvestmentIncomeLossesRecognized1 contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-88612000</tifrs-notes:InvestmentIncomeLossesRecognized1> + <tifrs-notes:Note contextRef="From20180101To20180331"><![CDATA[註]]></tifrs-notes:Note> + </tifrs-notes:NamesLocationsAndRelatedInformationOfInvesteesOverWhichTheCompanyExercisesSignificantInfluence> + + <tifrs-notes:NamesLocationsAndRelatedInformationOfInvesteesOverWhichTheCompanyExercisesSignificantInfluence> + <tifrs-notes:CompanyNameOfTheInvestor contextRef="From20180101To20180331"><![CDATA[本公司]]></tifrs-notes:CompanyNameOfTheInvestor> + <tifrs-notes:CompanyNameOfTheInvestee contextRef="From20180101To20180331"><![CDATA[補丁科技股份公司]]></tifrs-notes:CompanyNameOfTheInvestee> + <tifrs-notes:LocationCode contextRef="From20180101To20180331"><![CDATA[0]]></tifrs-notes:LocationCode> + <tifrs-notes:Location contextRef="From20180101To20180331"><![CDATA[台灣]]></tifrs-notes:Location> + <tifrs-notes:MainBusinessesAndProducts contextRef="From20180101To20180331"><![CDATA[經營半導體產品設計]]></tifrs-notes:MainBusinessesAndProducts> + <tifrs-notes:OriginalInvestmentAmount> + <tifrs-notes:EndingBalance3 contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</tifrs-notes:EndingBalance3> + <tifrs-notes:BeginningBalance contextRef="AsOf20180331" decimals="-3" unitRef="TWD">21246000</tifrs-notes:BeginningBalance> + </tifrs-notes:OriginalInvestmentAmount> + <tifrs-notes:InvestmentsAtTheEndOfThePeriod> + <tifrs-notes:NumberOfShares1 contextRef="AsOf20180331" decimals="0" unitRef="Shares">0</tifrs-notes:NumberOfShares1> + <tifrs-notes:PercentageOfOwnership1 contextRef="AsOf20180331" decimals="4" unitRef="Pure">0.0000</tifrs-notes:PercentageOfOwnership1> + <tifrs-notes:BookValue1 contextRef="AsOf20180331" decimals="-3" unitRef="TWD">0</tifrs-notes:BookValue1> + </tifrs-notes:InvestmentsAtTheEndOfThePeriod> + <tifrs-notes:NetIncomeLossesOfTheInvestee contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-1669000</tifrs-notes:NetIncomeLossesOfTheInvestee> + <tifrs-notes:InvestmentIncomeLossesRecognized1 contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-894000</tifrs-notes:InvestmentIncomeLossesRecognized1> + <tifrs-notes:Note contextRef="From20180101To20180331"><![CDATA[註]]></tifrs-notes:Note> + </tifrs-notes:NamesLocationsAndRelatedInformationOfInvesteesOverWhichTheCompanyExercisesSignificantInfluence> + + <tifrs-notes:NamesLocationsAndRelatedInformationOfInvesteesOverWhichTheCompanyExercisesSignificantInfluence> + <tifrs-notes:CompanyNameOfTheInvestor contextRef="From20180101To20180331"><![CDATA[南亞科技香港公司]]></tifrs-notes:CompanyNameOfTheInvestor> + <tifrs-notes:CompanyNameOfTheInvestee contextRef="From20180101To20180331"><![CDATA[南亞科技歐洲公司]]></tifrs-notes:CompanyNameOfTheInvestee> + <tifrs-notes:LocationCode contextRef="From20180101To20180331"><![CDATA[78]]></tifrs-notes:LocationCode> + <tifrs-notes:Location contextRef="From20180101To20180331"><![CDATA[德國]]></tifrs-notes:Location> + <tifrs-notes:MainBusinessesAndProducts contextRef="From20180101To20180331"><![CDATA[一般進出口貿易業務]]></tifrs-notes:MainBusinessesAndProducts> + <tifrs-notes:OriginalInvestmentAmount> + <tifrs-notes:EndingBalance3 contextRef="AsOf20180331" decimals="-3" unitRef="TWD">30056000</tifrs-notes:EndingBalance3> + <tifrs-notes:BeginningBalance contextRef="AsOf20180331" decimals="-3" unitRef="TWD">30056000</tifrs-notes:BeginningBalance> + </tifrs-notes:OriginalInvestmentAmount> + <tifrs-notes:InvestmentsAtTheEndOfThePeriod> + <tifrs-notes:NumberOfShares1 contextRef="AsOf20180331" decimals="0" unitRef="Shares">0</tifrs-notes:NumberOfShares1> + <tifrs-notes:PercentageOfOwnership1 contextRef="AsOf20180331" decimals="4" unitRef="Pure">1.0000</tifrs-notes:PercentageOfOwnership1> + <tifrs-notes:BookValue1 contextRef="AsOf20180331" decimals="-3" unitRef="TWD">76947000</tifrs-notes:BookValue1> + </tifrs-notes:InvestmentsAtTheEndOfThePeriod> + <tifrs-notes:NetIncomeLossesOfTheInvestee contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">17125000</tifrs-notes:NetIncomeLossesOfTheInvestee> + <tifrs-notes:InvestmentIncomeLossesRecognized1 contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">17125000</tifrs-notes:InvestmentIncomeLossesRecognized1> + <tifrs-notes:Note contextRef="From20180101To20180331"><![CDATA[註]]></tifrs-notes:Note> + </tifrs-notes:NamesLocationsAndRelatedInformationOfInvesteesOverWhichTheCompanyExercisesSignificantInfluence> + + <tifrs-notes:Note-NamesLocationsAndRelatedInformationOfInvesteesOverWhichTheCompanyExercisesSignificantInfluence contextRef="From20180101To20180331"><![CDATA[此項交易於編製合併財務報告時業已沖銷。]]></tifrs-notes:Note-NamesLocationsAndRelatedInformationOfInvesteesOverWhichTheCompanyExercisesSignificantInfluence> + <tifrs-notes:InformationOfInvestmentInMainlandChina> + <tifrs-notes:CompanyNameOfTheInvesteeInMainlandChina contextRef="From20180101To20180331"><![CDATA[南亞科科技(深圳)有限公司]]></tifrs-notes:CompanyNameOfTheInvesteeInMainlandChina> + <tifrs-notes:MainBusinessesAndProducts contextRef="From20180101To20180331"><![CDATA[經營半導體產品之銷售業務]]></tifrs-notes:MainBusinessesAndProducts> + <tifrs-notes:TotalAmountOfPaid-inCapital contextRef="AsOf20180331" decimals="-3" unitRef="TWD">28683000</tifrs-notes:TotalAmountOfPaid-inCapital> + <tifrs-notes:MethodOfInvestment contextRef="From20180101To20180331"><![CDATA[1]]></tifrs-notes:MethodOfInvestment> + <tifrs-notes:AccumulatedOutflowOfInvestmentFromTaiwanAtTheBeginningOfThePeriod contextRef="AsOf20180331" decimals="-3" unitRef="TWD">28683000</tifrs-notes:AccumulatedOutflowOfInvestmentFromTaiwanAtTheBeginningOfThePeriod> + <tifrs-notes:InvestmentFlowsForThePeriod> + <tifrs-notes:Outflow contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-notes:Outflow> + <tifrs-notes:Inflow contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-notes:Inflow> + </tifrs-notes:InvestmentFlowsForThePeriod> + <tifrs-notes:AccumulatedOutflowOfInvestmentFromTaiwanAtTheEndOfThePeriod contextRef="AsOf20180331" decimals="-3" unitRef="TWD">28683000</tifrs-notes:AccumulatedOutflowOfInvestmentFromTaiwanAtTheEndOfThePeriod> + <tifrs-notes:NetIncomeLossesOfTheInvestee contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-4830000</tifrs-notes:NetIncomeLossesOfTheInvestee> + <tifrs-notes:PercentageOfOwnershipThroughDirectAndIndirectInvestmentByTheCompany contextRef="AsOf20180331" decimals="4" unitRef="Pure">1.0000</tifrs-notes:PercentageOfOwnershipThroughDirectAndIndirectInvestmentByTheCompany> + <tifrs-notes:InvestmentIncomeLossesRecognized2 contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-4830000</tifrs-notes:InvestmentIncomeLossesRecognized2> + <tifrs-notes:BookValueAtTheEndOfThePeriod contextRef="AsOf20180331" decimals="-3" unitRef="TWD">2587000</tifrs-notes:BookValueAtTheEndOfThePeriod> + <tifrs-notes:AccumulatedInwardRemittanceOfEarningsAsOfTheEndOfThePeriod contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-notes:AccumulatedInwardRemittanceOfEarningsAsOfTheEndOfThePeriod> + <tifrs-notes:Note contextRef="From20180101To20180331"><![CDATA[]]></tifrs-notes:Note> + </tifrs-notes:InformationOfInvestmentInMainlandChina> + + <tifrs-notes:LimitOnInvestmentInMainlandChina> + <tifrs-notes:NameOfTheCompany contextRef="From20180101To20180331"><![CDATA[南亞科科技(深圳)有限公司]]></tifrs-notes:NameOfTheCompany> + <tifrs-notes:AccumulatedInvestmentInMainlandChinaAtTheEndOfThePeriod contextRef="AsOf20180331" decimals="-3" unitRef="TWD">28683000</tifrs-notes:AccumulatedInvestmentInMainlandChinaAtTheEndOfThePeriod> + <tifrs-notes:InvestmentAmountAuthorizedByTheInvestmentCommissionOfMOEA contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">28683000</tifrs-notes:InvestmentAmountAuthorizedByTheInvestmentCommissionOfMOEA> + <tifrs-notes:UpperLimitOnInvestmentInMainlandChinaImposedByTheInvestmentCommissionOfMOEA contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">86717996000</tifrs-notes:UpperLimitOnInvestmentInMainlandChinaImposedByTheInvestmentCommissionOfMOEA> + </tifrs-notes:LimitOnInvestmentInMainlandChina> + + <tifrs-notes:Note-LimitOnInvestmentInMainlandChina contextRef="From20180101To20180331"><![CDATA[註一:透過南亞科技香港公司轉投資。 +註二:民國一○七年三月三十一日美元對新台幣元匯率為USD1:TWD29.12 +註三:係為淨值百分之六十。]]></tifrs-notes:Note-LimitOnInvestmentInMainlandChina> + <tifrs-notes:InterestIncomeFromBankDeposits_n contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">202732000</tifrs-notes:InterestIncomeFromBankDeposits_n> + <tifrs-notes:InterestIncomeFromBankDeposits_n contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">48050000</tifrs-notes:InterestIncomeFromBankDeposits_n> + <tifrs-notes:OtherInterestIncome_n contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">32895000</tifrs-notes:OtherInterestIncome_n> + <tifrs-notes:OtherInterestIncome_n contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">40263000</tifrs-notes:OtherInterestIncome_n> + <tifrs-notes:InterestIncome_n contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">235627000</tifrs-notes:InterestIncome_n> + <tifrs-notes:InterestIncome_n contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">88313000</tifrs-notes:InterestIncome_n> + <tifrs-notes:RentIncome_n contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-notes:RentIncome_n> + <tifrs-notes:RentIncome_n contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">0</tifrs-notes:RentIncome_n> + <tifrs-notes:RoyaltyIncome_n contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-notes:RoyaltyIncome_n> + <tifrs-notes:RoyaltyIncome_n contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">0</tifrs-notes:RoyaltyIncome_n> + <tifrs-notes:DividendIncome_n contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-notes:DividendIncome_n> + <tifrs-notes:DividendIncome_n contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">0</tifrs-notes:DividendIncome_n> + <tifrs-notes:GainRecognisedInBargainPurchaseTransaction_n contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-notes:GainRecognisedInBargainPurchaseTransaction_n> + <tifrs-notes:GainRecognisedInBargainPurchaseTransaction_n contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">0</tifrs-notes:GainRecognisedInBargainPurchaseTransaction_n> + <tifrs-notes:FeeIncome_n contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-notes:FeeIncome_n> + <tifrs-notes:FeeIncome_n contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">0</tifrs-notes:FeeIncome_n> + <tifrs-notes:IncomeFromFinesAndPenalties_n contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-notes:IncomeFromFinesAndPenalties_n> + <tifrs-notes:IncomeFromFinesAndPenalties_n contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">0</tifrs-notes:IncomeFromFinesAndPenalties_n> + <tifrs-notes:ReimbursementIncome_n contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-notes:ReimbursementIncome_n> + <tifrs-notes:ReimbursementIncome_n contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">0</tifrs-notes:ReimbursementIncome_n> + <tifrs-notes:GainsOnDoubtfulDebtRecoveries_n contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-notes:GainsOnDoubtfulDebtRecoveries_n> + <tifrs-notes:GainsOnDoubtfulDebtRecoveries_n contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">0</tifrs-notes:GainsOnDoubtfulDebtRecoveries_n> + <tifrs-notes:GainsOnWriteOffOfPastDuePayable_n contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-notes:GainsOnWriteOffOfPastDuePayable_n> + <tifrs-notes:GainsOnWriteOffOfPastDuePayable_n contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">0</tifrs-notes:GainsOnWriteOffOfPastDuePayable_n> + <tifrs-notes:OtherIncomeOthers_n contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">0</tifrs-notes:OtherIncomeOthers_n> + <tifrs-notes:OtherIncomeOthers_n contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">0</tifrs-notes:OtherIncomeOthers_n> + <tifrs-notes:OtherIncome_n contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">235627000</tifrs-notes:OtherIncome_n> + <tifrs-notes:OtherIncome_n contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">88313000</tifrs-notes:OtherIncome_n> + <tifrs-notes:GainsLossesOnDisposalsOfPropertyPlantAndEquipment_n contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">46000</tifrs-notes:GainsLossesOnDisposalsOfPropertyPlantAndEquipment_n> + <tifrs-notes:GainsLossesOnDisposalsOfPropertyPlantAndEquipment_n contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">24000</tifrs-notes:GainsLossesOnDisposalsOfPropertyPlantAndEquipment_n> + <tifrs-notes:ForeignExchangeGainsLosses_n contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-1178033000</tifrs-notes:ForeignExchangeGainsLosses_n> + <tifrs-notes:ForeignExchangeGainsLosses_n contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">-574814000</tifrs-notes:ForeignExchangeGainsLosses_n> + <tifrs-notes:GainsLossesOnFinancialAssetsOrLiabilitiesAtFairValueThroughProfitOrLoss_n contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-281107000</tifrs-notes:GainsLossesOnFinancialAssetsOrLiabilitiesAtFairValueThroughProfitOrLoss_n> + <tifrs-notes:GainsLossesOnFinancialAssetsOrLiabilitiesAtFairValueThroughProfitOrLoss_n contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">-262158000</tifrs-notes:GainsLossesOnFinancialAssetsOrLiabilitiesAtFairValueThroughProfitOrLoss_n> + <tifrs-notes:ReversalOfImpairmentLossImpairmentLossRecognisedInProfitOrLossOthers_n contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">105403000</tifrs-notes:ReversalOfImpairmentLossImpairmentLossRecognisedInProfitOrLossOthers_n> + <tifrs-notes:ReversalOfImpairmentLossImpairmentLossRecognisedInProfitOrLossOthers_n contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">-11677000</tifrs-notes:ReversalOfImpairmentLossImpairmentLossRecognisedInProfitOrLossOthers_n> + <tifrs-notes:ReversalOfImpairmentLossImpairmentLossRecognisedInProfitOrLoss_n contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">105403000</tifrs-notes:ReversalOfImpairmentLossImpairmentLossRecognisedInProfitOrLoss_n> + <tifrs-notes:ReversalOfImpairmentLossImpairmentLossRecognisedInProfitOrLoss_n contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">-11677000</tifrs-notes:ReversalOfImpairmentLossImpairmentLossRecognisedInProfitOrLoss_n> + <tifrs-notes:OtherGainsAndLossesOthers_n contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">31682000</tifrs-notes:OtherGainsAndLossesOthers_n> + <tifrs-notes:OtherGainsAndLossesOthers_n contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">316137000</tifrs-notes:OtherGainsAndLossesOthers_n> + <tifrs-notes:OtherGainsAndLosses_n contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">-1322009000</tifrs-notes:OtherGainsAndLosses_n> + <tifrs-notes:OtherGainsAndLosses_n contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">-532488000</tifrs-notes:OtherGainsAndLosses_n> + <tifrs-notes:InterestExpense_n contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">5250000</tifrs-notes:InterestExpense_n> + <tifrs-notes:InterestExpense_n contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">121990000</tifrs-notes:InterestExpense_n> + <tifrs-notes:OtherFinanceCosts_n contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">48000</tifrs-notes:OtherFinanceCosts_n> + <tifrs-notes:OtherFinanceCosts_n contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">7000</tifrs-notes:OtherFinanceCosts_n> + <tifrs-notes:FinanceCosts_n contextRef="From20180101To20180331" decimals="-3" unitRef="TWD">5298000</tifrs-notes:FinanceCosts_n> + <tifrs-notes:FinanceCosts_n contextRef="From20170101To20170331" decimals="-3" unitRef="TWD">121997000</tifrs-notes:FinanceCosts_n> +</xbrl> + +<!--This instance document is created by SIIAP V1.6.5--> diff --git a/playground/xml/xml_test.go b/playground/xml/xml_test.go new file mode 100644 index 0000000..26b98f7 --- /dev/null +++ b/playground/xml/xml_test.go @@ -0,0 +1,63 @@ +package xml + +import ( + "fmt" + xj "github.com/basgys/goxml2json" + "github.com/buger/jsonparser" + "os" + "testing" +) + +type Person struct { + Name string `xml:"name"` +} + +func TestParse(t *testing.T) { + xmlFile, err := os.Open("2018Q1.xml") + if err != nil { + fmt.Println(err) + return + } + defer xmlFile.Close() + json, err := xj.Convert(xmlFile) + if err != nil { + fmt.Println(err) + return + } + + fmt.Println(json.String()) + + //err = jsonparser.ObjectEach(json.Bytes(), objectEach,"xbrl") + //if err != nil { + // fmt.Println(err) + // return + //} + + // 營業收入 + var revenue string + _, err = jsonparser.ArrayEach(json.Bytes(), func(value []byte, dataType jsonparser.ValueType, offset int, err error) { + revenue, err = jsonparser.GetString(value, "#content") + fmt.Println(revenue) + }, "xbrl", "Revenue") + if err != nil { + fmt.Println(err) + return + } +} + +func parse(b []byte) { + err := jsonparser.ObjectEach(b, objectEach, "xbrl") + if err != nil { + fmt.Println(err) + return + } +} + +func objectEach(key []byte, value []byte, dataType jsonparser.ValueType, offset int) error { + fmt.Printf("[Key]: [%s]\n Value: '%s'\n Type: %s\n", string(key), string(value), dataType) + return nil +} + +func arrayEach(value []byte, dataType jsonparser.ValueType, offset int, err error) { + fmt.Printf("Array Value: '%s'\n Type: %s\n", string(value), dataType) +}