com.atlassian.confluence.pages.wysiwyg
Interface ConfluenceWysiwygConverter

All Known Implementing Classes:
DefaultConfluenceWysiwygConverter

public interface ConfluenceWysiwygConverter

Created by IntelliJ IDEA. User: Tomd Date: 9/06/2005 Time: 13:16:09 To change this template use File | Settings | File Templates.


Method Summary
 String convertToPreview(String inputText, String pageIdString, String spaceKey, String fromMode)
           
 String convertWikiMarkupToXHtml(AbstractPage page, String wikiMarkup)
           
 String convertWikiMarkupToXHtmlWithoutPage(String wikiMarkup, String pageId)
           
 String convertXHtmlToWikiMarkup(AbstractPage page, String xhtml)
           
 String convertXHtmlToWikiMarkupWithoutPage(String xhtml, String pageId)
           
 boolean getUserWysiwygPreference()
          Retrieves the user's WYSIWYG editor preference and returns it.
 

Method Detail

convertXHtmlToWikiMarkup

public String convertXHtmlToWikiMarkup(AbstractPage page,
                                       String xhtml)

convertWikiMarkupToXHtml

public String convertWikiMarkupToXHtml(AbstractPage page,
                                       String wikiMarkup)

convertXHtmlToWikiMarkupWithoutPage

public String convertXHtmlToWikiMarkupWithoutPage(String xhtml,
                                                  String pageId)

convertWikiMarkupToXHtmlWithoutPage

public String convertWikiMarkupToXHtmlWithoutPage(String wikiMarkup,
                                                  String pageId)

convertToPreview

public String convertToPreview(String inputText,
                               String pageIdString,
                               String spaceKey,
                               String fromMode)

getUserWysiwygPreference

public boolean getUserWysiwygPreference()
Retrieves the user's WYSIWYG editor preference and returns it. If the preference isn't set, the global settings are checked and returned.

Returns:
True if the use has set the WYSIWYG editor as the default, false otherwise


Confluence is developed by Atlassian.