Ejemplo n.º 1
0
 public static List<TriggeringNodeDefinition> UnwantedSlideReference(string sSlideRel)
 {
     List<TriggeringNodeDefinition> results = new List<TriggeringNodeDefinition>();
     {
         EffectDescriptor tdHiddenSlide = new EffectDescriptor();
         tdHiddenSlide.BlockType = Effect.BlockType.Structure;
         AttributeFilter filter = new EqualityAttributeFilter("id", sSlideRel);
         results.Add(new TriggeringNodeDefinition(NamespaceId.p, "sldId", filter, tdHiddenSlide));
     }
     return results;
 }
Ejemplo n.º 2
0
 public static List<TriggeringNodeDefinition> HiddenSlide(int iSlideNumber)
 {
     List<TriggeringNodeDefinition> results = new List<TriggeringNodeDefinition>();
     {
         EffectDescriptor tdHiddenSlide = new EffectDescriptor();
         tdHiddenSlide.ContentType = ContentType.HiddenSlide;
         tdHiddenSlide.BlockType = Effect.BlockType.Structure;
         AttributeFilter filter = new EqualityAttributeFilter("show", "0");
         tdHiddenSlide.AddAdditionalInfoDescriptor(new AdditionalInfoDescriptor("SlideNumber", iSlideNumber.ToString(), AdditionalInfoDescriptor.MappingType.FixedValue));
         results.Add(new TriggeringNodeDefinition(NamespaceId.p, "sld", filter, tdHiddenSlide));
     }
     return results;
 }