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.
 boolean supportedUserAgent(String header)
           
 

Method Detail

convertXHtmlToWikiMarkup

String convertXHtmlToWikiMarkup(AbstractPage page,
                                String xhtml)

convertWikiMarkupToXHtml

String convertWikiMarkupToXHtml(AbstractPage page,
                                String wikiMarkup)

convertXHtmlToWikiMarkupWithoutPage

String convertXHtmlToWikiMarkupWithoutPage(String xhtml,
                                           String pageId)

convertWikiMarkupToXHtmlWithoutPage

String convertWikiMarkupToXHtmlWithoutPage(String wikiMarkup,
                                           String pageId)

convertToPreview

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

supportedUserAgent

boolean supportedUserAgent(String header)

getUserWysiwygPreference

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.