ndhints.hxx (1d2dbeb0) ndhints.hxx (dec99bbd)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 31 unchanged lines hidden (view full) ---

40class SwDoc;
41
42typedef enum {
43 COPY = true,
44 NEW = false,
45} CopyOrNew_t;
46
47// if COPY then pTxtNode must be given!
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 31 unchanged lines hidden (view full) ---

40class SwDoc;
41
42typedef enum {
43 COPY = true,
44 NEW = false,
45} CopyOrNew_t;
46
47// if COPY then pTxtNode must be given!
48SW_DLLPRIVATE SwTxtAttr *
49MakeTxtAttr( SwDoc & rDoc, SfxPoolItem & rNew,
50 xub_StrLen const nStt, xub_StrLen const nEnd,
51 CopyOrNew_t const bIsCopy = NEW, SwTxtNode *const pTxtNode = 0);
52SW_DLLPRIVATE SwTxtAttr *
53MakeTxtAttr( SwDoc & rDoc, const SfxItemSet & rSet,
54 xub_StrLen nStt, xub_StrLen nEnd );
48SW_DLLPRIVATE SwTxtAttr * MakeTxtAttr(
49 SwDoc & rDoc,
50 SfxPoolItem & rNew,
51 xub_StrLen const nStt,
52 xub_StrLen const nEnd,
53 CopyOrNew_t const bIsCopy = NEW,
54 SwTxtNode *const pTxtNode = 0 );
55
55
56SW_DLLPRIVATE SwTxtAttr * MakeTxtAttr(
57 SwDoc & rDoc,
58 const SfxItemSet & rSet,
59 xub_StrLen nStt,
60 xub_StrLen nEnd );
61
56// create redline dummy text hint that must not be inserted into hints array
62// create redline dummy text hint that must not be inserted into hints array
57SW_DLLPRIVATE SwTxtAttr*
58MakeRedlineTxtAttr( SwDoc & rDoc, SfxPoolItem& rAttr );
63SW_DLLPRIVATE SwTxtAttr* MakeRedlineTxtAttr(
64 SwDoc & rDoc,
65 SfxPoolItem& rAttr );
59
60
61/*
62 * Ableitung der Klasse SwpHints ueber den Umweg ueber SwpHts, da
63 * lediglich die Klasse SwTxtNode Attribute einfuegen und
64 * loeschen koennen soll. Anderen Klassen wie den Frames steht
65 * lediglich ein lesender Zugriff ueber den Index-Operator zur
66 * Verfuegung.

--- 159 unchanged lines hidden ---
66
67
68/*
69 * Ableitung der Klasse SwpHints ueber den Umweg ueber SwpHts, da
70 * lediglich die Klasse SwTxtNode Attribute einfuegen und
71 * loeschen koennen soll. Anderen Klassen wie den Frames steht
72 * lediglich ein lesender Zugriff ueber den Index-Operator zur
73 * Verfuegung.

--- 159 unchanged lines hidden ---