153154155156157158159160161
return newAttributesFrom(r); } @Override public Attributes getReplaceAttributesOldAttributes(int i) { Component component = provider.getContent().getComponent(i); ReplaceAttributes r = component.getReplaceAttributes(); return oldAttributesFrom(r); }
160161162163164165166167
return oldAttributesFrom(r); } @Override public int getRetainItemCount(int i) { Component component = provider.getContent().getComponent(i); return component.getRetainItemCount(); }
166167168169170171172173
return component.getRetainItemCount(); } @Override public DocOpComponentType getType(int i) { Component component = provider.getContent().getComponent(i); return getType(component); }
172173174175176177178179180
return getType(component); } @Override public AttributesUpdate getUpdateAttributesUpdate(int i) { Component component = provider.getContent().getComponent(i); UpdateAttributes r = component.getUpdateAttributes(); return attributesUpdateFrom(r); }
185186187188189190191192193
} @Override public void apply(DocOpCursor cursor) { for (int i = 0; i < provider.getContent().getComponentSize(); ++i) { Component component = provider.getContent().getComponent(i); applyComponent(cursor, component); } }