Example #1
0
 public String toString() {
   switch (value) {
     case -2:
       return "msoBaselineAlignMixed";
     case 1:
       return "msoBaselineAlignBaseline";
     case 2:
       return "msoBaselineAlignTop";
     case 3:
       return "msoBaselineAlignCenter";
     case 4:
       return "msoBaselineAlignFarEast50";
     case 5:
       return "msoBaselineAlignAuto";
     default:
       {
         StringBuilder sbuf = new StringBuilder();
         sbuf.append("[").append(value).append("=");
         if ((value & -2) != 0) sbuf.append("|msoBaselineAlignMixed");
         if ((value & 1) != 0) sbuf.append("|msoBaselineAlignBaseline");
         if ((value & 2) != 0) sbuf.append("|msoBaselineAlignTop");
         if ((value & 3) != 0) sbuf.append("|msoBaselineAlignCenter");
         if ((value & 4) != 0) sbuf.append("|msoBaselineAlignFarEast50");
         if ((value & 5) != 0) sbuf.append("|msoBaselineAlignAuto");
         return sbuf.toString();
       }
   }
 }
 public String toString() {
   switch (value) {
     case 0:
       return "encprovdetUrl";
     case 1:
       return "encprovdetAlgorithm";
     case 2:
       return "encprovdetBlockCipher";
     case 3:
       return "encprovdetCipherBlockSize";
     case 4:
       return "encprovdetCipherMode";
     default:
       {
         StringBuilder sbuf = new StringBuilder();
         sbuf.append("[").append(value).append("=");
         if ((value & 0) != 0) sbuf.append("|encprovdetUrl");
         if ((value & 1) != 0) sbuf.append("|encprovdetAlgorithm");
         if ((value & 2) != 0) sbuf.append("|encprovdetBlockCipher");
         if ((value & 3) != 0) sbuf.append("|encprovdetCipherBlockSize");
         if ((value & 4) != 0) sbuf.append("|encprovdetCipherMode");
         return sbuf.toString();
       }
   }
 }
Example #3
0
 public String toString() {
   switch (value) {
     case 0:
       return "olRuleReceive";
     case 1:
       return "olRuleSend";
     default:
       {
         StringBuilder sbuf = new StringBuilder();
         sbuf.append("[").append(value).append("=");
         if ((value & 0) != 0) sbuf.append("|olRuleReceive");
         if ((value & 1) != 0) sbuf.append("|olRuleSend");
         return sbuf.toString();
       }
   }
 }
Example #4
0
 public String toString() {
   switch (value) {
     case -2:
       return "msoCharWrapMixed";
     case 0:
       return "msoNoCharWrap";
     case 1:
       return "msoStandardCharWrap";
     case 2:
       return "msoStrictCharWrap";
     case 3:
       return "msoCustomCharWrap";
     default:
       {
         StringBuilder sbuf = new StringBuilder();
         sbuf.append("[").append(value).append("=");
         if ((value & -2) != 0) sbuf.append("|msoCharWrapMixed");
         if ((value & 0) != 0) sbuf.append("|msoNoCharWrap");
         if ((value & 1) != 0) sbuf.append("|msoStandardCharWrap");
         if ((value & 2) != 0) sbuf.append("|msoStrictCharWrap");
         if ((value & 3) != 0) sbuf.append("|msoCustomCharWrap");
         return sbuf.toString();
       }
   }
 }
Example #5
0
 public String toString() {
   switch (value) {
     case -2:
       return "msoPathTypeMixed";
     case 0:
       return "msoPathTypeNone";
     case 1:
       return "msoPathType1";
     case 2:
       return "msoPathType2";
     case 3:
       return "msoPathType3";
     case 4:
       return "msoPathType4";
     default:
       {
         StringBuilder sbuf = new StringBuilder();
         sbuf.append("[").append(value).append("=");
         if ((value & -2) != 0) sbuf.append("|msoPathTypeMixed");
         if ((value & 0) != 0) sbuf.append("|msoPathTypeNone");
         if ((value & 1) != 0) sbuf.append("|msoPathType1");
         if ((value & 2) != 0) sbuf.append("|msoPathType2");
         if ((value & 3) != 0) sbuf.append("|msoPathType3");
         if ((value & 4) != 0) sbuf.append("|msoPathType4");
         return sbuf.toString();
       }
   }
 }
 public String toString() {
   switch (value) {
     case 1:
       return "msoSmartArtNodeDefault";
     case 2:
       return "msoSmartArtNodeAfter";
     case 3:
       return "msoSmartArtNodeBefore";
     case 4:
       return "msoSmartArtNodeAbove";
     case 5:
       return "msoSmartArtNodeBelow";
     default:
       {
         StringBuilder sbuf = new StringBuilder();
         sbuf.append("[").append(value).append("=");
         if ((value & 1) != 0) sbuf.append("|msoSmartArtNodeDefault");
         if ((value & 2) != 0) sbuf.append("|msoSmartArtNodeAfter");
         if ((value & 3) != 0) sbuf.append("|msoSmartArtNodeBefore");
         if ((value & 4) != 0) sbuf.append("|msoSmartArtNodeAbove");
         if ((value & 5) != 0) sbuf.append("|msoSmartArtNodeBelow");
         return sbuf.toString();
       }
   }
 }
 public String toString() {
   switch (value) {
     case 0:
       return "msoSyncConflictClientWins";
     case 1:
       return "msoSyncConflictServerWins";
     case 2:
       return "msoSyncConflictMerge";
     default:
       {
         StringBuilder sbuf = new StringBuilder();
         sbuf.append("[").append(value).append("=");
         if ((value & 0) != 0) sbuf.append("|msoSyncConflictClientWins");
         if ((value & 1) != 0) sbuf.append("|msoSyncConflictServerWins");
         if ((value & 2) != 0) sbuf.append("|msoSyncConflictMerge");
         return sbuf.toString();
       }
   }
 }
Example #8
0
 public String toString() {
   switch (value) {
     case 0:
       return "olScrollBarsNone";
     case 1:
       return "olScrollBarsHorizontal";
     case 2:
       return "olScrollBarsVertical";
     case 3:
       return "olScrollBarsBoth";
     default:
       {
         StringBuilder sbuf = new StringBuilder();
         sbuf.append("[").append(value).append("=");
         if ((value & 0) != 0) sbuf.append("|olScrollBarsNone");
         if ((value & 1) != 0) sbuf.append("|olScrollBarsHorizontal");
         if ((value & 2) != 0) sbuf.append("|olScrollBarsVertical");
         if ((value & 3) != 0) sbuf.append("|olScrollBarsBoth");
         return sbuf.toString();
       }
   }
 }
Example #9
0
 public String toString() {
   switch (value) {
     case 0:
       return "olAlignLeft";
     case 1:
       return "olAlignCenter";
     case 2:
       return "olAlignRight";
     default:
       {
         StringBuilder sbuf = new StringBuilder();
         sbuf.append("[").append(value).append("=");
         if ((value & 0) != 0) sbuf.append("|olAlignLeft");
         if ((value & 1) != 0) sbuf.append("|olAlignCenter");
         if ((value & 2) != 0) sbuf.append("|olAlignRight");
         return sbuf.toString();
       }
   }
 }
Example #10
0
 public String toString() {
   switch (value) {
     case -4105:
       return "xlAxisCrossesAutomatic";
     case -4114:
       return "xlAxisCrossesCustom";
     case 2:
       return "xlAxisCrossesMaximum";
     case 4:
       return "xlAxisCrossesMinimum";
     default:
       {
         StringBuilder sbuf = new StringBuilder();
         sbuf.append("[").append(value).append("=");
         if ((value & -4105) != 0) sbuf.append("|xlAxisCrossesAutomatic");
         if ((value & -4114) != 0) sbuf.append("|xlAxisCrossesCustom");
         if ((value & 2) != 0) sbuf.append("|xlAxisCrossesMaximum");
         if ((value & 4) != 0) sbuf.append("|xlAxisCrossesMinimum");
         return sbuf.toString();
       }
   }
 }
Example #11
0
 public String toString() {
   switch (value) {
     case 0:
       return "olVerticalLayoutAlignTop";
     case 1:
       return "olVerticalLayoutAlignMiddle";
     case 2:
       return "olVerticalLayoutAlignBottom";
     case 3:
       return "olVerticalLayoutGrow";
     default:
       {
         StringBuilder sbuf = new StringBuilder();
         sbuf.append("[").append(value).append("=");
         if ((value & 0) != 0) sbuf.append("|olVerticalLayoutAlignTop");
         if ((value & 1) != 0) sbuf.append("|olVerticalLayoutAlignMiddle");
         if ((value & 2) != 0) sbuf.append("|olVerticalLayoutAlignBottom");
         if ((value & 3) != 0) sbuf.append("|olVerticalLayoutGrow");
         return sbuf.toString();
       }
   }
 }