LibreOffice Module sw (master)  1
Macros | Functions | Variables
htmlplug.cxx File Reference
#include <config_java.h>
#include <hintids.hxx>
#include <rtl/strbuf.hxx>
#include <sal/log.hxx>
#include <svl/urihelper.hxx>
#include <vcl/svapp.hxx>
#include <sfx2/frmhtml.hxx>
#include <sfx2/frmhtmlw.hxx>
#include <sfx2/frmdescr.hxx>
#include <sot/storage.hxx>
#include <svx/xoutbmp.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/lrspitem.hxx>
#include <svtools/htmlout.hxx>
#include <svtools/htmlkywd.hxx>
#include <svtools/htmltokn.h>
#include <tools/diagnose_ex.h>
#include <SwAppletImpl.hxx>
#include <fmtornt.hxx>
#include <fmtfsize.hxx>
#include <fmtsrnd.hxx>
#include <fmtanchr.hxx>
#include <fmtcntnt.hxx>
#include <frmfmt.hxx>
#include <svl/ownlist.hxx>
#include <unotools/mediadescriptor.hxx>
#include <unotools/streamwrap.hxx>
#include <pam.hxx>
#include <doc.hxx>
#include <ndtxt.hxx>
#include <swerror.h>
#include <ndole.hxx>
#include <swtable.hxx>
#include <docsh.hxx>
#include "swhtml.hxx"
#include "wrthtml.hxx"
#include "htmlfly.hxx"
#include "swcss1.hxx"
#include "htmlreqifreader.hxx"
#include <unoframe.hxx>
#include <com/sun/star/embed/XClassifiedObject.hpp>
#include <com/sun/star/embed/Aspects.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/frame/XStorable.hpp>
#include <com/sun/star/embed/ElementModes.hpp>
#include <com/sun/star/io/XActiveDataStreamer.hpp>
#include <com/sun/star/io/IOException.hpp>
#include <com/sun/star/embed/XEmbedPersist2.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
#include <comphelper/embeddedobjectcontainer.hxx>
#include <comphelper/classids.hxx>
#include <rtl/uri.hxx>
#include <comphelper/storagehelper.hxx>
#include <vcl/graphicfilter.hxx>
#include <unotools/ucbstreamhelper.hxx>
#include <comphelper/propertysequence.hxx>
#include <filter/msfilter/msoleexp.hxx>
#include <comphelper/fileurl.hxx>
#include <osl/file.hxx>
#include <comphelper/propertyvalue.hxx>
Include dependency graph for htmlplug.cxx:

Go to the source code of this file.

Macros

#define HTML_DFLT_EMBED_WIDTH   ((MM50*5)/2)
 
#define HTML_DFLT_EMBED_HEIGHT   ((MM50*5)/2)
 
#define HTML_DFLT_APPLET_WIDTH   ((MM50*5)/2)
 
#define HTML_DFLT_APPLET_HEIGHT   ((MM50*5)/2)
 

Functions

WriterOutHTML_FrameFormatOLENode (Writer &rWrt, const SwFrameFormat &rFrameFormat, bool bInCntnr)
 
WriterOutHTML_FrameFormatOLENodeGrf (Writer &rWrt, const SwFrameFormat &rFrameFormat, bool bInCntnr)
 

Variables

const HtmlFrmOpts HTML_FRMOPTS_EMBED_ALL
 
const HtmlFrmOpts HTML_FRMOPTS_EMBED_CNTNR
 
const HtmlFrmOpts HTML_FRMOPTS_EMBED
 
const HtmlFrmOpts HTML_FRMOPTS_HIDDEN_EMBED
 
const HtmlFrmOpts HTML_FRMOPTS_APPLET_ALL
 
const HtmlFrmOpts HTML_FRMOPTS_APPLET_CNTNR
 
const HtmlFrmOpts HTML_FRMOPTS_APPLET
 
const HtmlFrmOpts HTML_FRMOPTS_IFRAME_ALL
 
const HtmlFrmOpts HTML_FRMOPTS_IFRAME_CNTNR
 
const HtmlFrmOpts HTML_FRMOPTS_IFRAME
 
const HtmlFrmOpts HTML_FRMOPTS_OLE_CSS1
 

Macro Definition Documentation

#define HTML_DFLT_APPLET_HEIGHT   ((MM50*5)/2)

Definition at line 90 of file htmlplug.cxx.

Referenced by SwHTMLParser::InsertFloatingFrame().

#define HTML_DFLT_APPLET_WIDTH   ((MM50*5)/2)

Definition at line 89 of file htmlplug.cxx.

Referenced by SwHTMLParser::InsertFloatingFrame().

#define HTML_DFLT_EMBED_HEIGHT   ((MM50*5)/2)

Definition at line 87 of file htmlplug.cxx.

Referenced by SwHTMLParser::InsertEmbed().

#define HTML_DFLT_EMBED_WIDTH   ((MM50*5)/2)

Definition at line 86 of file htmlplug.cxx.

Referenced by SwHTMLParser::InsertEmbed().

Function Documentation

Writer& OutHTML_FrameFormatOLENode ( Writer rWrt,
const SwFrameFormat rFrameFormat,
bool  bInCntnr 
)

Definition at line 1178 of file htmlplug.cxx.

References aStr, SwHTMLWriter::DecIndentLevel(), SvCommandList::FillFromSequence(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SvCommand::GetArgument(), Writer::GetBaseURL(), SvCommand::GetCommand(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SwNodeIndex::GetIndex(), SwFormat::GetName(), SwHTMLWriter::GetNamespace(), SwDoc::GetNodes(), SwOLENode::GetOLEObj(), SwOLEObj::GetOleRef(), SwApplet_Impl::GetOptionType(), SwFormatSurround::GetSurround(), SwFormat::GetSurround(), SwNoTextNode::GetTitle(), HTML_FRMOPTS_APPLET, HTML_FRMOPTS_APPLET_CNTNR, HTML_FRMOPTS_EMBED, HTML_FRMOPTS_EMBED_CNTNR, HTML_FRMOPTS_HIDDEN_EMBED, HTML_FRMOPTS_IFRAME, HTML_FRMOPTS_IFRAME_CNTNR, HTML_FRMOPTS_OLE_CSS1, HTMLMODE_ABS_POS_FLY, i, SwHTMLWriter::IncIndentLevel(), SwHTMLWriter::IsHTMLMode(), SwHTMLWriter::m_aNonConvertableCharacters, SwHTMLWriter::m_bLFPossible, SwHTMLWriter::m_eDestEnc, Writer::m_pDoc, nType, OOO_STRING_SVTOOLS_HTML_applet, OOO_STRING_SVTOOLS_HTML_embed, OOO_STRING_SVTOOLS_HTML_iframe, OOO_STRING_SVTOOLS_HTML_O_code, OOO_STRING_SVTOOLS_HTML_O_codebase, OOO_STRING_SVTOOLS_HTML_O_mayscript, OOO_STRING_SVTOOLS_HTML_O_name, OOO_STRING_SVTOOLS_HTML_O_src, OOO_STRING_SVTOOLS_HTML_O_type, OOO_STRING_SVTOOLS_HTML_O_value, OOO_STRING_SVTOOLS_HTML_param, OOO_STRING_SW_HTML_O_Hidden, HTMLOutFuncs::Out_AsciiTag(), SfxFrameHTMLWriter::Out_FrameDescriptor(), HTMLOutFuncs::Out_String(), SwHTMLWriter::OutCSS1_FrameFormatOptions(), SwHTMLWriter::OutFrameFormatOptions(), SwHTMLWriter::OutImplicitMark(), SwHTMLWriter::OutNewLine(), PARAM, URIHelper::simpleNormalizedMakeRelative(), SvCommandList::size(), SO3_APPLET_CLASSID, SO3_PLUGIN_CLASSID, Writer::Strm(), TAG, svt::EmbeddedObjectRef::TryRunningState(), SvStream::WriteChar(), SvStream::WriteCharPtr(), and SvStream::WriteOString().

Referenced by SwHTMLWriter::OutFrameFormat().

Writer& OutHTML_FrameFormatOLENodeGrf ( Writer rWrt,
const SwFrameFormat rFrameFormat,
bool  bInCntnr 
)

Variable Documentation

const HtmlFrmOpts HTML_FRMOPTS_APPLET
const HtmlFrmOpts HTML_FRMOPTS_APPLET_ALL
const HtmlFrmOpts HTML_FRMOPTS_APPLET_CNTNR
Initial value:

Definition at line 113 of file htmlplug.cxx.

Referenced by OutHTML_FrameFormatOLENode().

const HtmlFrmOpts HTML_FRMOPTS_EMBED
const HtmlFrmOpts HTML_FRMOPTS_EMBED_ALL
const HtmlFrmOpts HTML_FRMOPTS_EMBED_CNTNR
Initial value:

Definition at line 97 of file htmlplug.cxx.

Referenced by OutHTML_FrameFormatOLENode().

const HtmlFrmOpts HTML_FRMOPTS_HIDDEN_EMBED
const HtmlFrmOpts HTML_FRMOPTS_IFRAME
const HtmlFrmOpts HTML_FRMOPTS_IFRAME_ALL
const HtmlFrmOpts HTML_FRMOPTS_IFRAME_CNTNR
Initial value:

Definition at line 125 of file htmlplug.cxx.

Referenced by OutHTML_FrameFormatOLENode().

const HtmlFrmOpts HTML_FRMOPTS_OLE_CSS1