Huh. I worked at an office with dogs for ~4 years and never experienced pooping or barking problems or heard rumors of such issues.
The biggest problem we had were allergies. There was an eventual compromise with dogs only allowed in specific conference rooms that had air purifiers running.
I think the pooping mostly stemmed from it being a pretty big office, and a non-enforcement of "keep your dog near you". Maybe with better policies it wouldn't have been an issue.