+
+ list<shared_ptr<TextContent> >::iterator i = caption.begin ();
+ list<shared_ptr<TextContent> >::const_iterator j = c->caption.begin ();
+ while (i != caption.end() && j != c->caption.end()) {
+ (*i)->take_settings_from (*j);
+ ++i;
+ ++j;
+ }
+}
+
+shared_ptr<TextContent>
+Content::only_caption () const
+{
+ DCPOMATIC_ASSERT (caption.size() < 2);
+ if (caption.empty ()) {
+ return shared_ptr<TextContent> ();