LibreOffice Module sw (master) 1
|
#include <sal/config.h>
#include <string_view>
#include <hintids.hxx>
#include <comphelper/documentinfo.hxx>
#include <comphelper/string.hxx>
#include <utility>
#include <vcl/svapp.hxx>
#include <tools/UnitConversion.hxx>
#include <o3tl/string_view.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <vcl/unohelp.hxx>
#include <svtools/htmlkywd.hxx>
#include <svtools/htmltokn.h>
#include <svl/urihelper.hxx>
#include <sfx2/docfile.hxx>
#include <sfx2/event.hxx>
#include <sfx2/sfxsids.hrc>
#include <sfx2/viewfrm.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/colritem.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/fhgtitem.hxx>
#include <editeng/wghtitem.hxx>
#include <editeng/postitem.hxx>
#include <editeng/udlnitem.hxx>
#include <editeng/crossedoutitem.hxx>
#include <svx/svdouno.hxx>
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/form/ListSourceType.hpp>
#include <com/sun/star/form/FormButtonType.hpp>
#include <com/sun/star/form/FormSubmitEncoding.hpp>
#include <com/sun/star/form/FormSubmitMethod.hpp>
#include <com/sun/star/drawing/XDrawPageSupplier.hpp>
#include <com/sun/star/script/XEventAttacherManager.hpp>
#include <com/sun/star/text/WrapTextMode.hpp>
#include <com/sun/star/text/HoriOrientation.hpp>
#include <com/sun/star/text/VertOrientation.hpp>
#include <com/sun/star/text/TextContentAnchorType.hpp>
#include <com/sun/star/container/XIndexContainer.hpp>
#include <com/sun/star/drawing/XControlShape.hpp>
#include <com/sun/star/awt/XTextLayoutConstrains.hpp>
#include <com/sun/star/awt/XLayoutConstrains.hpp>
#include <com/sun/star/awt/XImageConsumer.hpp>
#include <com/sun/star/awt/ImageStatus.hpp>
#include <com/sun/star/form/XImageProducerSupplier.hpp>
#include <com/sun/star/form/XForm.hpp>
#include <doc.hxx>
#include <IDocumentLayoutAccess.hxx>
#include <IDocumentUndoRedo.hxx>
#include <pam.hxx>
#include <swtable.hxx>
#include <fmtanchr.hxx>
#include <htmltbl.hxx>
#include <docsh.hxx>
#include <viewsh.hxx>
#include <unodraw.hxx>
#include <unotextrange.hxx>
#include "swcss1.hxx"
#include "swhtml.hxx"
#include "htmlform.hxx"
Go to the source code of this file.
Classes | |
class | SwHTMLForm_Impl |
Functions | |
static void | lcl_html_setFixedFontProperty (const uno::Reference< beans::XPropertySet > &rPropSet) |
static bool | lcl_html_setEvents (const uno::Reference< script::XEventAttacherManager > &rEvtMn, sal_uInt32 nPos, const SvxMacroTableDtor &rMacroTable, const std::vector< OUString > &rUnoMacroTable, const std::vector< OUString > &rUnoMacroParamTable, const OUString &rType) |
static void | lcl_html_getEvents (const OUString &rOption, std::u16string_view rValue, std::vector< OUString > &rUnoMacroTable, std::vector< OUString > &rUnoMacroParamTable) |
Variables | |
const sal_uInt16 | TABINDEX_MIN = 0 |
const sal_uInt16 | TABINDEX_MAX = 32767 |
HTMLOptionEnum< FormSubmitMethod > const | aHTMLFormMethodTable [] |
HTMLOptionEnum< FormSubmitEncoding > const | aHTMLFormEncTypeTable [] |
HTMLOptionEnum< HTMLWordWrapMode > const | aHTMLTextAreaWrapTable [] |
static SvMacroItemId | aEventTypeTable [] |
const char * | aEventListenerTable [] |
const char * | aEventMethodTable [] |
const char * | aEventSDOptionTable [] |
const char * | aEventOptionTable [] |
|
static |
Definition at line 827 of file htmlform.cxx.
References aEvent, OOO_STRING_SVTOOLS_HTML_O_sdaddparam, and OOO_STRING_SVTOOLS_HTML_O_sdevent.
Referenced by SwHTMLParser::InsertInput(), SwHTMLParser::NewForm(), SwHTMLParser::NewSelect(), and SwHTMLParser::NewTextArea().
|
static |
Definition at line 738 of file htmlform.cxx.
References aEventListenerTable, aEventMethodTable, aEventTypeTable, SvxMacroTableDtor::Get(), SvxMacro::GetLanguage(), SvxMacro::GetMacName(), o3tl::getToken(), i, nIndex, and nPos.
Referenced by SwHTMLParser::InsertControl(), and SwHTMLParser::NewForm().
|
static |
Definition at line 594 of file htmlform.cxx.
References Any, vcl::Font::GetCharSet(), OutputDevice::GetDefaultFont(), vcl::Font::GetFamilyName(), vcl::Font::GetFamilyType(), vcl::Font::GetPitch(), vcl::Font::GetStyleName(), and LANGUAGE_ENGLISH_US.
Referenced by SwHTMLParser::InsertInput(), and SwHTMLParser::NewTextArea().
const char* aEventListenerTable[] |
Definition at line 139 of file htmlform.cxx.
Referenced by lcl_html_outEvents(), and lcl_html_setEvents().
const char* aEventMethodTable[] |
Definition at line 151 of file htmlform.cxx.
Referenced by lcl_html_outEvents(), and lcl_html_setEvents().
const char* aEventOptionTable[] |
Definition at line 175 of file htmlform.cxx.
Referenced by lcl_html_outEvents().
const char* aEventSDOptionTable[] |
Definition at line 163 of file htmlform.cxx.
Referenced by lcl_html_outEvents().
|
static |
Definition at line 126 of file htmlform.cxx.
Referenced by lcl_html_setEvents().
HTMLOptionEnum<FormSubmitEncoding> const aHTMLFormEncTypeTable[] |
Definition at line 102 of file htmlform.cxx.
Referenced by SwHTMLParser::NewForm().
HTMLOptionEnum<FormSubmitMethod> const aHTMLFormMethodTable[] |
Definition at line 95 of file htmlform.cxx.
Referenced by SwHTMLParser::NewForm().
HTMLOptionEnum<HTMLWordWrapMode> const aHTMLTextAreaWrapTable[] |
Definition at line 116 of file htmlform.cxx.
Referenced by SwHTMLParser::NewTextArea().
const sal_uInt16 TABINDEX_MAX = 32767 |
Definition at line 93 of file htmlform.cxx.
Referenced by SwHTMLParser::InsertInput(), SwHTMLParser::NewSelect(), and SwHTMLParser::NewTextArea().
const sal_uInt16 TABINDEX_MIN = 0 |
Definition at line 92 of file htmlform.cxx.
Referenced by SwHTMLParser::InsertInput(), SwHTMLParser::NewSelect(), and SwHTMLParser::NewTextArea().