Set the CSS writer settings to be used.

@param aCSSWriterSettings
The settings. May not be <code>null</code>.
@return this
330417
@Nonnull
  public HCConversionSettings setCSSWriterSettings (@Nonnull final ICSSWriterSettings aCSSWriterSettings)
  {
    ValueEnforcer.notNull (aCSSWriterSettings, "CSSWriterSettings");

    m_aCSSWriterSettings = new CSSWriterSettings (aCSSWriterSettings);
    return this;
  }
860484
@Nonnull
  public CSVWriter setSeparatorChar (final char cSeparator)
  {
    if (cSeparator == CCSV.NULL_CHARACTER)
      throw new UnsupportedOperationException ("The separator character must be defined!");
    m_cSeparatorChar = cSeparator;
    return this;
  }
323469
@Nonnull
  public CSSReaderSettings setCSSVersion (@Nonnull final ECSSVersion eCSSVersion)
  {
    ValueEnforcer.notNull (eCSSVersion, "CSSVersion");
    m_eCSSVersion = eCSSVersion;
    return this;
  }
587783
function setDocumentStyle(options) {
    var cssString = buildCssString(options);

    $('#' + STYLE_ELEMENT_ID).remove();
    util.appendStyleElement(STYLE_ELEMENT_ID, cssString);
}
304275
public void setConfigurationTemplates(java.util.Collection<String> configurationTemplates) {
        if (configurationTemplates == null) {
            this.configurationTemplates = null;
            return;
        }

        this.configurationTemplates = new com.amazonaws.internal.SdkInternalList<String>(configurationTemplates);
    }
1100177
public void setEditorSettings(Map<String, String> settings) {

        m_editorSettings = new TreeMap<String, String>(settings);
    }
61117
private void setSupportedCSS() {

		Map<String, CSSProperty> props = new HashMap<String, CSSProperty>(
				TOTAL_SUPPORTED_DECLARATIONS, 1.0f);

		Map<String, Term<?>> values = new HashMap<String, Term<?>>(
				TOTAL_SUPPORTED_DECLARATIONS, 1.0f);

		// text type
		props.put("color", Color.color);
		values.put("color", DEFAULT_UA_COLOR);
		props.put("opacity", Opacity.number);
		values.put("opacity", DEFAULT_UA_OPACITY);
		props.put("font", Font.component_values);
		props.put("font-family", DEFAULT_UA_FONT_FAMILY);
		props.put("font-size", FontSize.MEDIUM);
		props.put("font-style", FontStyle.NORMAL);
		props.put("font-variant", FontVariant.NORMAL);
		props.put("font-weight", FontWeight.NORMAL);
		props.put("text-decoration", TextDecoration.NONE);
		props.put("text-transform", TextTransform.NONE);

		// text spacing
		props.put("white-space", WhiteSpace.NORMAL);
		props.put("text-align", DEFAULT_UA_TEXT_ALIGN);
		props.put("text-indent", TextIndent.length);
		values.put("text-indent", DEFAULT_UA_TEXT_IDENT);
		props.put("line-height", LineHeight.NORMAL);
		props.put("word-spacing", WordSpacing.NORMAL);
		props.put("letter-spacing", LetterSpacing.NORMAL);
		props.put("vertical-align", VerticalAlign.BASELINE);
		props.put("direction", Direction.LTR);
		props.put("unicode-bidi", UnicodeBidi.NORMAL);
		props.put("tab-size", TabSize.integer);
		values.put("tab-size", DEFAULT_UA_TAB_SIZE);

		// layout box
		props.put("margin", Margin.component_values);
		props.put("margin-top", Margin.length);
		values.put("margin-top", DEFAULT_UA_MARGIN);
		props.put("margin-right", Margin.length);
		values.put("margin-right", DEFAULT_UA_MARGIN);
		props.put("margin-bottom", Margin.length);
		values.put("margin-bottom", DEFAULT_UA_MARGIN);
		props.put("margin-left", Margin.length);
		values.put("margin-left", DEFAULT_UA_MARGIN);

		props.put("padding", Padding.component_values);
		props.put("padding-top", Padding.length);
		values.put("padding-top", DEFAULT_UA_PADDING);
		props.put("padding-right", Padding.length);
		values.put("padding-right", DEFAULT_UA_PADDING);
		props.put("padding-bottom", Padding.length);
		values.put("padding-bottom", DEFAULT_UA_PADDING);
		props.put("padding-left", Padding.length);
		values.put("padding-left", DEFAULT_UA_PADDING);

		props.put("border", Border.component_values);
		props.put("border-top", Border.component_values);
		props.put("border-right", Border.component_values);
		props.put("border-bottom", Border.component_values);
		props.put("border-left", Border.component_values);

		props.put("border-width", BorderWidth.component_values);
		props.put("border-top-width", BorderWidth.MEDIUM);
		props.put("border-right-width", BorderWidth.MEDIUM);
		props.put("border-bottom-width", BorderWidth.MEDIUM);
		props.put("border-left-width", BorderWidth.MEDIUM);
		props.put("border-style", BorderStyle.component_values);
		props.put("border-top-style", BorderStyle.NONE);
		props.put("border-right-style", BorderStyle.NONE);
		props.put("border-bottom-style", BorderStyle.NONE);
		props.put("border-left-style", BorderStyle.NONE);

		props.put("border-color", BorderColor.component_values);
		props.put("border-top-color", BorderColor.color);
        values.put("border-top-color", DEFAULT_BORDER_COLOR);
		props.put("border-right-color", BorderColor.color);
		values.put("border-right-color", DEFAULT_BORDER_COLOR);
		props.put("border-bottom-color", BorderColor.color);
		values.put("border-bottom-color", DEFAULT_BORDER_COLOR);
		props.put("border-left-color", BorderColor.color);
		values.put("border-left-color", DEFAULT_BORDER_COLOR);

        props.put("border-radius", BorderRadius.component_values);
		props.put("border-top-left-radius", BorderRadius.list_values);
		values.put("border-top-left-radius", DEFAULT_UA_BORDER_RADIUS);
        props.put("border-top-right-radius", BorderRadius.list_values);
        values.put("border-top-right-radius", DEFAULT_UA_BORDER_RADIUS);
        props.put("border-bottom-right-radius", BorderRadius.list_values);
        values.put("border-bottom-right-radius", DEFAULT_UA_BORDER_RADIUS);
        props.put("border-bottom-left-radius", BorderRadius.list_values);
        values.put("border-bottom-left-radius", DEFAULT_UA_BORDER_RADIUS);
		
		props.put("width", Width.AUTO);
		props.put("min-width", MinWidth.length);
		values.put("min-width", DEFAULT_UA_MIN_WIDTH);
		props.put("max-width", MaxWidth.NONE);
		props.put("height", Height.AUTO);
		props.put("min-height", MinHeight.length);
		values.put("min-height", DEFAULT_UA_MIN_HEIGHT);
		props.put("max-height", MaxHeight.NONE);
		props.put("overflow", Overflow.component_values);
        props.put("overflow-x", Overflow.VISIBLE);
        props.put("overflow-y", Overflow.VISIBLE);
		props.put("clip", Clip.AUTO);
		props.put("box-sizing", BoxSizing.CONTENT_BOX);
        props.put("box-shadow", BoxShadow.NONE);

		// positioning
		props.put("display", Display.INLINE);
		props.put("position", Position.STATIC);
		props.put("top", Top.AUTO);
		props.put("right", Right.AUTO);
		props.put("bottom", Bottom.AUTO);
		props.put("left", Left.AUTO);
		props.put("float", CSSProperty.Float.NONE);
		props.put("clear", Clear.NONE);
		props.put("z-index", ZIndex.AUTO);
		props.put("visibility", Visibility.VISIBLE);
		props.put("transform", Transform.NONE);
		props.put("transform-origin", TransformOrigin.list_values);
		values.put("transform-origin", DEFAULT_UA_TRANSFORM_ORIGIN);

		// background
		props.put("background", Background.component_values);
		props.put("background-attachment", BackgroundAttachment.SCROLL);
		props.put("background-color", BackgroundColor.color);
		values.put("background-color", DEFAULT_BACKGROUND_COLOR);
		props.put("background-image", BackgroundImage.NONE);
		props.put("background-position", BackgroundPosition.list_values);
		values.put("background-position", DEFAULT_UA_BACKGROUND_POSITION);
		props.put("background-size", BackgroundSize.list_values);
        values.put("background-size", DEFAULT_UA_BACKGROUND_SIZE);
		props.put("background-repeat", BackgroundRepeat.REPEAT);
		
		// box shadow
		props.put("box-shadow", BoxShadow.NONE);

		// elements
		props.put("list-style", ListStyle.component_values);
		props.put("list-style-type", ListStyleType.DISC);
		props.put("list-style-position", ListStylePosition.OUTSIDE);
		props.put("list-style-image", ListStyleImage.NONE);

		props.put("border-collapse", BorderCollapse.SEPARATE);
		props.put("border-spacing", BorderSpacing.list_values);
		values.put("border-spacing", DEFAULT_UA_BORDER_SPACING);
		props.put("empty-cells", EmptyCells.SHOW);
		props.put("table-layout", TableLayout.AUTO);
		props.put("caption-side", CaptionSide.TOP);

		// other supported by tables (width, vertical-align)
		// are already defined
		props.put("content", Content.NORMAL);
		props.put("quotes", Quotes.NONE);
		props.put("counter-increment", CounterIncrement.NONE);
		props.put("counter-reset", CounterReset.NONE);

		// filter
		props.put("filter", Filter.NONE);
        props.put("backdrop-filter", BackdropFilter.NONE);
		
		// miscellaneous
		props.put("cursor", Cursor.AUTO);
		props.put("outline", Outline.component_values);
		props.put("outline-width", OutlineWidth.MEDIUM);
		props.put("outline-style", OutlineStyle.NONE);
		props.put("outline-color", OutlineColor.INVERT);

		props.put("page-break", PageBreak.AUTO);
		props.put("page-break-before", PageBreak.AUTO);
		props.put("page-break-after", PageBreak.AUTO);
		props.put("page-break-inside", PageBreakInside.AUTO);

		props.put("widows", Widows.integer);
		values.put("widows", DEFAULT_UA_WIDOWS);
		props.put("orphans", Orphans.integer);
		values.put("orphans", DEFAULT_UA_ORPHANS);

		// other values according to
		// http://www.w3.org/TR/CSS21/propidx.html

		props.put("azimuth", Azimuth.CENTER);
		props.put("cue", Cue.component_values);
		props.put("cue-before", Cue.NONE);
		props.put("cue-after", Cue.NONE);
		props.put("elevation", Elevation.LEVEL);
		props.put("pause", Pause.component_values);
		props.put("pause-before", Pause.time);
		values.put("pause-before", DEFAULT_UA_PAUSE_BEFORE);
		props.put("pause-after", Pause.time);
		values.put("pause-after", DEFAULT_UA_PAUSE_AFTER);
		props.put("pitch-range", PitchRange.number);
		values.put("pitch-range", DEFAULT_UA_PITCH_RANGE);
		props.put("pitch", Pitch.MEDIUM);
		props.put("play-during", PlayDuring.AUTO);
		props.put("richness", Richness.number);
		values.put("richness", DEFAULT_UA_RICHNESS);
		props.put("speak-header", SpeakHeader.ONCE);
		props.put("speak-numeral", SpeakNumeral.CONTINUOUS);
		props.put("speak-punctuation", SpeakPunctuation.NONE);
		props.put("speak", Speak.NORMAL);
		props.put("speech-rate", SpeechRate.MEDIUM);
		props.put("stress", Stress.number);
		values.put("stress", DEFAULT_UA_STRESS);
		props.put("voice-family", DEFAULT_UA_VOICE_FAMILY);
		props.put("volume", Volume.MEDIUM);

		// Flexbox
        props.put("flex", Flex.component_values);
        props.put("flex-flow", FlexFlow.component_values);
		props.put("flex-direction", FlexDirection.ROW);
		props.put("flex-wrap", FlexWrap.NOWRAP);
		props.put("flex-basis", FlexBasis.AUTO);
		props.put("flex-grow", FlexGrow.number);
		values.put("flex-grow", DEFAULT_FLEX_GROW);
		props.put("flex-shrink", FlexShrink.number);
		values.put("flex-shrink", DEFAULT_FLEX_SHRINK);
		props.put("order", Order.integer);
		values.put("order", DEFAULT_ORDER);
		props.put("justify-content", JustifyContent.FLEX_START);
		props.put("align-content", AlignContent.STRETCH);
		props.put("align-items", AlignItems.STRETCH);
		props.put("align-self", AlignSelf.AUTO);

        // grid layout
        props.put("grid", Grid.component_values);
        props.put("grid-gap", GridGap.component_values);
        props.put("grid-row-gap", GridGap.NORMAL);
        props.put("grid-column-gap", GridGap.NORMAL);
        props.put("grid-area", Grid.component_values);
        props.put("grid-row", Grid.component_values);
        props.put("grid-column", Grid.component_values);
        props.put("grid-row-start", GridStartEnd.AUTO);
        props.put("grid-column-start", GridStartEnd.AUTO);
        props.put("grid-row-end", GridStartEnd.AUTO);
        props.put("grid-column-end", GridStartEnd.AUTO);
        props.put("grid-template", Grid.component_values);
        props.put("grid-template-areas", GridTemplateAreas.NONE);
        props.put("grid-template-rows", GridTemplateRowsColumns.NONE);
        props.put("grid-template-columns", GridTemplateRowsColumns.NONE);
        props.put("grid-auto-flow", GridAutoFlow.ROW);
        props.put("grid-auto-rows", GridAutoRowsColumns.AUTO);
        props.put("grid-auto-columns", GridAutoRowsColumns.AUTO);
        
        // animation
        props.put("animation", Animation.component_values);
        props.put("animation-delay", AnimationDelay.time);
        values.put("animation-delay", DEFAULT_TIME);
        props.put("animation-direction", AnimationDirection.NORMAL);
        props.put("animation-duration", AnimationDuration.time);
        values.put("animation-duration", DEFAULT_TIME);
        props.put("animation-fill-mode", AnimationFillMode.NONE);
        props.put("animation-iteration-count", AnimationIterationCount.number);
        values.put("animation-iteration-count", DEFAULT_ITERATION_COUNT);
        props.put("animation-name", AnimationName.NONE);
        props.put("animation-play-state", AnimationPlayState.RUNNING);
        props.put("animation-timing-function", AnimationTimingFunction.EASE);
        
        // transition
        props.put("transition", Transition.component_values);
        props.put("transition-delay", TransitionDelay.time);
        values.put("transition-delay", DEFAULT_TIME);
        props.put("transition-duration", TransitionDuration.time);
        values.put("transition-duration", DEFAULT_TIME);
        props.put("transition-property", TransitionProperty.ALL);
        props.put("transition-timing-function", TransitionTimingFunction.EASE);

		this.defaultCSSproperties = props;
		this.defaultCSSvalues = values;
	}
155966
public void setCidrs(java.util.Collection<String> cidrs) {
        if (cidrs == null) {
            this.cidrs = null;
            return;
        }

        this.cidrs = new com.amazonaws.internal.SdkInternalList<String>(cidrs);
    }
1269635
public void setSettings(PinViewSettings pinViewSettings) {
        mPinViewSettings = pinViewSettings;
        setColorTextPinBoxes(mPinViewSettings.getColorTextPinBox(), false);
        setColorTitles(mPinViewSettings.getColorTextTitles(), false);
        setCustomDrawablePinBox(mPinViewSettings.getCustomDrawablePinBox(), false);
        setColorSplit(mPinViewSettings.getColorSplit(), false);
        setDeleteOnClick(mPinViewSettings.isDeleteOnClick());
        setNativePinBox(mPinViewSettings.isNativePinBox(), false);
        setMaskPassword(mPinViewSettings.isMaskPassword(), false);
        setKeyboardMandatory(mPinViewSettings.isKeyboardMandatory());
        setNumberCharacters(mPinViewSettings.getNumberCharacters(), false);
        setSplit(mPinViewSettings.getSplit(), false);
        setSizeSplit(mPinViewSettings.getSizeSplit(), false);
        setTextSizePinBoxes(mPinViewSettings.getTextSizePinBox(), false);
        setTextSizeTitles(mPinViewSettings.getTextSizeTitles(), false);

        setTitles(mPinViewSettings.getPinTitles());
        setPin(mPinViewSettings.getNumberPinBoxes());
    }
936937
public <T extends AbstractJaxb> void addCssClass(String clazz) {
        List<String> classList = this.getCssClass();
        if (!this.hasCssClass(clazz)) {
            classList.add(clazz);
        }
    }
1267888
protected function setWriters(array $writers)
    {
        foreach ($writers as $name => $destination) {
            $this->writers[$name] = $this->buildService($destination);
        }
    }
956060
function setStylesheet(s) {
	var id = "AMMLcustomStyleSheet";
	var n = document.getElementById(id);
	if(document.createStyleSheet) {
		// Test for IE's non-standard createStyleSheet method
		if(n)
			n.parentNode.removeChild(n);
		// This failed without the &nbsp;
		document.getElementsByTagName("head")[0].insertAdjacentHTML("beforeEnd","&nbsp;<style id='" + id + "'>" + s + "</style>");
	} else {
		if(n) {
			n.replaceChild(document.createTextNode(s),n.firstChild);
		} else {
			n = document.createElement("style");
			n.type = "text/css";
			n.id = id;
			n.appendChild(document.createTextNode(s));
			document.getElementsByTagName("head")[0].appendChild(n);
		}
	}
}
1165038
void setWriter(Writer writer) {
    	// PM12137 - starts
    	if (closed) {
    		if(com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable(Level.FINE)){
                logger.logp(Level.FINE, CLASS_NAME, "setWriter", "resetting closed to false for this=["+this+"]");
            }
    		closed = false;
    		strBuffer = new StringBuffer(this.bodyContentBuffSize);
    	}
    	// PM12137 - ends
	    this.writer = writer;
	    if (writer != null) {
	        // According to the spec, the JspWriter returned by
	        // JspContext.pushBody(java.io.Writer writer) must behave as
	        // though it were unbuffered. This means that its getBufferSize()
	        // must always return 0. The implementation of
	        // JspWriter.getBufferSize() returns the value of JspWriter's
	        // 'bufferSize' field, which is inherited by this class.
	        // Therefore, we simply save the current 'bufferSize' (so we can
	        // later restore it should this BodyContentImpl ever be reused by
	        // a call to PageContext.pushBody()) before setting it to 0.
	        if (bufferSize != 0) {
	            if(com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable(Level.FINE)){
	                logger.logp(Level.FINE, CLASS_NAME, "setWriter", "BodyContentImpl setWriter A. bufferSize=["+bufferSize+"]  this=["+this+"]");
	            }
	            bufferSizeSave = bufferSize;
	            bufferSize = 0;
	        }
	    } else {
	        bufferSize = bufferSizeSave;
	        if(com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable(Level.FINE)){
	            logger.logp(Level.FINE, CLASS_NAME, "setWriter", "BodyContentImpl setWriter B. bufferSize=["+bufferSize+"]  this=["+this+"]");
	        }
	        clearBody();
	    }
    }
339509
public void setSubDomainSettings(java.util.Collection<SubDomainSetting> subDomainSettings) {
        if (subDomainSettings == null) {
            this.subDomainSettings = null;
            return;
        }

        this.subDomainSettings = new java.util.ArrayList<SubDomainSetting>(subDomainSettings);
    }
789238
public final T addCssClass(String value) {
    if (StringUtils.isNotEmpty(value)) {
      return setCssClass(StringUtils.isNotEmpty(getCssClass()) ? getCssClass() + " " + value : value);
    }
    else {
      return (T)this;
    }
  }
1362093
public void writeSettings(final XMLUtil xmlUtil, final ZipUTF8Writer writer) throws IOException {
        this.settingsElement.setTables(this.getTables());
        this.logger.log(Level.FINER, "Writing odselement: settingsElement to zip file");
        this.settingsElement.write(xmlUtil, writer);
    }
591036
public StyleSet setFont(Font font, boolean ignoreHead) {
		if(false == ignoreHead) {
			this.headCellStyle.setFont(font);
		}
		this.cellStyle.setFont(font);
		this.cellStyleForNumber.setFont(font);
		this.cellStyleForDate.setFont(font);
		return this;
	}