Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_LINGUISTIC2_PROOFREADINGRESULT_HDL
2 : #define INCLUDED_COM_SUN_STAR_LINGUISTIC2_PROOFREADINGRESULT_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/beans/PropertyValue.hdl"
7 : #include "com/sun/star/lang/Locale.hdl"
8 : #include "com/sun/star/linguistic2/SingleProofreadingError.hdl"
9 : namespace com { namespace sun { namespace star { namespace linguistic2 { class XProofreader; } } } }
10 : namespace com { namespace sun { namespace star { namespace text { class XFlatParagraph; } } } }
11 : #include "com/sun/star/uno/Reference.h"
12 : #include "com/sun/star/uno/Sequence.h"
13 : #include "cppu/macros.hxx"
14 : #include "rtl/ustring.hxx"
15 : #include "sal/types.h"
16 :
17 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
18 :
19 : namespace com { namespace sun { namespace star { namespace linguistic2 {
20 :
21 : #ifdef SAL_W32
22 : # pragma pack(push, 8)
23 : #endif
24 :
25 0 : struct ProofreadingResult {
26 : inline ProofreadingResult() SAL_THROW(());
27 :
28 : inline ProofreadingResult(const ::rtl::OUString& aDocumentIdentifier_, const ::com::sun::star::uno::Reference< css::text::XFlatParagraph >& xFlatParagraph_, const ::rtl::OUString& aText_, const css::lang::Locale& aLocale_, const ::sal_Int32& nStartOfSentencePosition_, const ::sal_Int32& nBehindEndOfSentencePosition_, const ::sal_Int32& nStartOfNextSentencePosition_, const ::com::sun::star::uno::Sequence< css::linguistic2::SingleProofreadingError >& aErrors_, const ::com::sun::star::uno::Sequence< css::beans::PropertyValue >& aProperties_, const ::com::sun::star::uno::Reference< css::linguistic2::XProofreader >& xProofreader_) SAL_THROW(());
29 :
30 : ::rtl::OUString aDocumentIdentifier;
31 : ::com::sun::star::uno::Reference< css::text::XFlatParagraph > xFlatParagraph;
32 : ::rtl::OUString aText;
33 : css::lang::Locale aLocale;
34 : ::sal_Int32 nStartOfSentencePosition;
35 : ::sal_Int32 nBehindEndOfSentencePosition;
36 : ::sal_Int32 nStartOfNextSentencePosition;
37 : ::com::sun::star::uno::Sequence< css::linguistic2::SingleProofreadingError > aErrors;
38 : ::com::sun::star::uno::Sequence< css::beans::PropertyValue > aProperties;
39 : ::com::sun::star::uno::Reference< css::linguistic2::XProofreader > xProofreader;
40 : };
41 :
42 : #ifdef SAL_W32
43 : # pragma pack(pop)
44 : #endif
45 :
46 :
47 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::linguistic2::ProofreadingResult const *);
48 : } } } }
49 :
50 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const css::linguistic2::ProofreadingResult *) SAL_THROW(());
51 :
52 : #endif
|