Turkish journalist Can Dundar, who is standing trial on charges of revealing state secrets, has been attacked by a gunman…