public MoveItemToDateFolderPlugin()
 {
     _PluginOptions = new PluginOption[4];
     _PluginOptions[0] = new PluginOption("Enable moving items to Date folders :", "False", PluginOptionTypes.CheckBox);
     _PluginOptions[1] = new PluginOption("First folder date format options:", "yyyy", PluginOptionTypes.TextBox);
     _PluginOptions[2] = new PluginOption("Second folder date format options (if omitted no folder will be created):", "MMMM", PluginOptionTypes.TextBox);
     _PluginOptions[3] = new PluginOption("Move items with template:", "Document", PluginOptionTypes.TextBox);
 }
Пример #2
0
        public CustomConverterPlugin()
        {
            _MethodInfos = GetConversionMethods();//Loading conversion methods using reflection.

            if (_MethodInfos != null && _MethodInfos.Count > 0)
            {
                int numberOfPluginOptions = 1 + _MethodInfos.Count;
                _PluginOptions = new PluginOption[numberOfPluginOptions];
                _PluginOptions[0] = new PluginOption("Custom Converter:", "False", PluginOptionTypes.CheckBox);

                int currentIndex = 1;
                foreach (string key in _MethodInfos.Keys)
                {
                    _PluginOptions[currentIndex] = new PluginOption(key, "Enable", PluginOptionTypes.CheckBox);
                    currentIndex++;
                }
            }
        }
Пример #3
0
        public FieldConverterPlugin()
        {
            _MethodInfos = GetConversionMethods();//Loading conversion methods using reflection.

            if (_MethodInfos != null && _MethodInfos.Count > 0)
            {
                int numberOfPluginOptions = 3 + _MethodInfos.Count;
                _PluginOptions = new PluginOption[numberOfPluginOptions];
                _PluginOptions[0] = new PluginOption("Field Converter:", "False", PluginOptionTypes.CheckBox);
                _PluginOptions[1] = new PluginOption("TemplateName(comma sep.):", "", PluginOptionTypes.TextBox);
                _PluginOptions[2] = new PluginOption("FieldName:", "", PluginOptionTypes.TextBox);

                int currentIndex = 3;
                foreach (string key in _MethodInfos.Keys)
                {
                    _PluginOptions[currentIndex] = new PluginOption(key, "Enable", PluginOptionTypes.CheckBox);
                    currentIndex++;
                }
            }
        }
Пример #4
0
 public MoveBranchItems()
 {
     _PluginOptions = new PluginOption[1];
     _PluginOptions[0] = new PluginOption("Enable transform masters to branch items:", "False", PluginOptionTypes.CheckBox);
 }
Пример #5
0
 public GoogleTranslatePlugin()
 {
     _PluginOptions = new PluginOption[2];
     _PluginOptions[0] = new PluginOption("Enable Google autotranslation:", "False", PluginOptionTypes.CheckBox);
     _PluginOptions[1] = new PluginOption("ID that is added to translated texts:", "*AUTOTRANSLATED*", PluginOptionTypes.TextBox);
 }
 public FilestorageConversionPlugin()
 {
     _PluginOptions = new PluginOption[2];
     _PluginOptions[0] = new PluginOption("Enable Filestorage to DIMS conversion:", "False", PluginOptionTypes.CheckBox);
     _PluginOptions[1] = new PluginOption("Gallery (DIMS) host name:", "http://billeder.3fklub.dk" /*"http://galleryKlub.web02.cabana.dk" "http://billeder.3f.dk" */, PluginOptionTypes.TextBox); // gallery.web02.cabana.dk
 }
 public IconPathConverterPlugin()
 {
     _PluginOptions = new PluginOption[1];
     _PluginOptions[0] = new PluginOption("Enable IconPathConverter:", "False", PluginOptionTypes.CheckBox);
 }
Пример #8
0
 public HtmlToXhtmlPlugin()
 {
     _PluginOptions = new PluginOption[1];
     _PluginOptions[0] = new PluginOption("Enable HTML to XHTML conversion:", "True", PluginOptionTypes.CheckBox);
 }