LibreOffice Module forms (master) 1
Macros | Functions
submission.cxx File Reference
#include "submission.hxx"
#include "model.hxx"
#include "binding.hxx"
#include "mip.hxx"
#include "evaluationcontext.hxx"
#include "submission/submission_put.hxx"
#include "submission/submission_post.hxx"
#include "submission/submission_get.hxx"
#include <rtl/ustring.hxx>
#include <com/sun/star/lang/NoSupportException.hpp>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/xforms/XModel.hpp>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/xml/dom/XNodeList.hpp>
#include <com/sun/star/xml/dom/XDocument.hpp>
#include <com/sun/star/xml/dom/DocumentBuilder.hpp>
#include <com/sun/star/xml/dom/XDocumentFragment.hpp>
#include <com/sun/star/xml/dom/NodeType.hpp>
#include <com/sun/star/task/XInteractionHandler.hpp>
#include <com/sun/star/task/XInteractionRequest.hpp>
#include <com/sun/star/task/XInteractionContinuation.hpp>
#include <com/sun/star/xforms/InvalidDataOnSubmitException.hpp>
#include <com/sun/star/form/runtime/XFormController.hpp>
#include <com/sun/star/frame/XFrame.hpp>
#include <cppuhelper/exc_hlp.hxx>
#include <comphelper/interaction.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/servicehelper.hxx>
#include <vcl/svapp.hxx>
#include <vcl/weld.hxx>
#include <frm_resource.hxx>
#include <strings.hrc>
#include <memory>
#include <string_view>
Include dependency graph for submission.cxx:

Go to the source code of this file.

Macros

#define HANDLE_ID   0
 
#define HANDLE_Bind   1
 
#define HANDLE_Ref   2
 
#define HANDLE_Action   3
 
#define HANDLE_Method   4
 
#define HANDLE_Version   5
 
#define HANDLE_Indent   6
 
#define HANDLE_MediaType   7
 
#define HANDLE_Encoding   8
 
#define HANDLE_OmitXmlDeclaration   9
 
#define HANDLE_Standalone   10
 
#define HANDLE_CDataSectionElement   11
 
#define HANDLE_Replace   12
 
#define HANDLE_Separator   13
 
#define HANDLE_IncludeNamespacePrefixes   14
 
#define HANDLE_Model   15
 

Functions

static OUString lcl_message (std::u16string_view rID, std::u16string_view rText)
 
static bool isIgnorable (const Reference< XNode > &aNode)
 
static void cloneNodes (Model &aModel, const Reference< XNode > &dstParent, const Reference< XNode > &source, bool bRemoveWSNodes)
 

Macro Definition Documentation

◆ HANDLE_Action

#define HANDLE_Action   3

Definition at line 303 of file submission.cxx.

◆ HANDLE_Bind

#define HANDLE_Bind   1

Definition at line 301 of file submission.cxx.

◆ HANDLE_CDataSectionElement

#define HANDLE_CDataSectionElement   11

Definition at line 311 of file submission.cxx.

◆ HANDLE_Encoding

#define HANDLE_Encoding   8

Definition at line 308 of file submission.cxx.

◆ HANDLE_ID

#define HANDLE_ID   0

Definition at line 300 of file submission.cxx.

◆ HANDLE_IncludeNamespacePrefixes

#define HANDLE_IncludeNamespacePrefixes   14

Definition at line 314 of file submission.cxx.

◆ HANDLE_Indent

#define HANDLE_Indent   6

Definition at line 306 of file submission.cxx.

◆ HANDLE_MediaType

#define HANDLE_MediaType   7

Definition at line 307 of file submission.cxx.

◆ HANDLE_Method

#define HANDLE_Method   4

Definition at line 304 of file submission.cxx.

◆ HANDLE_Model

#define HANDLE_Model   15

Definition at line 315 of file submission.cxx.

◆ HANDLE_OmitXmlDeclaration

#define HANDLE_OmitXmlDeclaration   9

Definition at line 309 of file submission.cxx.

◆ HANDLE_Ref

#define HANDLE_Ref   2

Definition at line 302 of file submission.cxx.

◆ HANDLE_Replace

#define HANDLE_Replace   12

Definition at line 312 of file submission.cxx.

◆ HANDLE_Separator

#define HANDLE_Separator   13

Definition at line 313 of file submission.cxx.

◆ HANDLE_Standalone

#define HANDLE_Standalone   10

Definition at line 310 of file submission.cxx.

◆ HANDLE_Version

#define HANDLE_Version   5

Definition at line 305 of file submission.cxx.

Function Documentation

◆ cloneNodes()

static void cloneNodes ( Model aModel,
const Reference< XNode > &  dstParent,
const Reference< XNode > &  source,
bool  bRemoveWSNodes 
)
static

◆ isIgnorable()

static bool isIgnorable ( const Reference< XNode > &  aNode)
static

Definition at line 511 of file submission.cxx.

Referenced by cloneNodes().

◆ lcl_message()

static OUString lcl_message ( std::u16string_view  rID,
std::u16string_view  rText 
)
static

Definition at line 406 of file submission.cxx.

Referenced by xforms::Submission::submitWithInteraction().