numbering + paste numbering #5
It should work if the pasted text uses a deeper level (>1) Ok, if I just increase the level (ignoring the fact that I have to shift the properties of the nu…
ClearTextInbetween + single paragraph + wpNoDeletePar #6
First: This has nothing to do with nested paragraphs. Second: I guess I could start patching more aggresivly. But if I interpret you correctly (optimized=works…
numbering + paste numbering #3
Is it possible to save the current numbering values for all levels before the paste and restore them afterwards? It should work if the pasted text uses a deepe…
numbering + paste numbering #1
WPTools version 6.13 Assume: TWPRTFNumberingStyle* style(Editor->NumberStyles()->AddOutlineStyle(666, 1)); style->Style = wp_1; TParagraph* p1(Editor-…
empty childpar + IsProtected #1
WPTools version 6.13 Assume: <p> [wpNoOverwrite, wpNoInsertPar, wpNoInsertChar, wpNoDeletePar, wpNoDeleteChar] <p/> [wpNoInsertPar, wpNoDeletePar] …
ClearTextInbetween + single paragraph + wpNoDeletePar #4
Basically what I'm suggesting is something like this: Index: WPRteDefs.pas =================================================================== --- WPRteDe…
VK_UP/VK_DOWN/... + hidden paragraphs #3
Hi! We do currently not plan to change this behavior since it would make control text inaccessible. I was a bit unspecific, what I meant was hidden paragraphs …
ClearTextInbetween + single paragraph + wpNoDeletePar #3
That is not the same thing. I'm implementing my own IsProtected logic ([](http://wpcubed.com/forum/viewtopic.php?t=5069&amp;highlight=&amp;sid=f80…
ClearTextInbetween + single paragraph + wpNoDeletePar #1
WPTools version 6.13 Assume: ppProtectSelectedTextToo on Paragraph with TWPProtectedMode << wpNoDeletePar If I select some text within the paragraph abov…
CombineCellsVertHorz + strange borders #2
So, should the silence be interpreted as ASSIGNED, FIXED, WORKSFORME or WONTFIX (fix it yourself)? Regards patrik.nyborg(a)genicore.se
{.$DEFINE ALLOWUNDO} #1
WPTools version 6.13 Setting {.$DEFINE ALLOWUNDO} in WPINC.INC gives these compile-time errors: Error: Field or method identifier expected Error: Field or meth…
cut/paste + ChangeApplied #1
WPTools 6.13 ChangeApplied method "This procedure is called after the text has been changed." If CutToClipboard/PasteFromClipboard returns early (tha…
VK_UP/VK_DOWN/... + hidden paragraphs #1
WPTools 6.13 We are using deeply nested paragraphs (some hidden). This makes for example navigation using VK_DOWN kind of lame as the cursor doesn't seems…
autofield + clear editor #5
Update: this happens only for wpoPageNumber, if I use wpoNumPages everything works fine. If I replace the logic for 'PAGE' in TWPRTFEnginePaint.Measu…
autofield + clear editor #4
The following highlights the problem better (the top of the pagenumber is rendered inside the previous paragraph): void createContent(Wpctrrich::TWPRichText* a…
autofield + clear editor #3
Hi! 1-2) Yes I'm aware of that but thanks anyway. The font used is Arial. If you run the example and move the cursor around, it's looks strange befor…
autofield + clear editor #1
WPTools 6.13 Please have a look at the following code (obviously we don't have code like this but sometimes we clears the document and rebuilds it using s…
InputEditField in cell with DisplayText starting with '+' #2
Blörg, a global search on all '+' shows that the following is the troublemaker... {$IFNDEF IGNORE_PLUSMINUS_IN_REFORMAT} sigh Regards patrik.nyborg(a…
InputEditField in cell with DisplayText starting with '+' #1
WPTools 6.13 This works fine, the '+' is showing: Editor->InputEditField("name", "+value"); This doesn't work, the '…
InputEditField + style #1
WPTools 6.13 Assume: TWPTextStyle* style(Editor->ParStyles()->AddStyle("test"));style->ASet(WPAT_CharFontSize, 48 * 100);style->ASetAddCh…
style + TabstopAdd + TTabFill #1
WPTools 6.13 This works as expected: TParagraph* p(...);p->TabstopAdd(WPCentimeterToTwips(3), tkLeft, tkDots);p->Insert(0, "some\ttext", Cardin…
InputEditField + protection #2
Nevermind, I inserted a hook in TWPRTFEngineBasis.IsProtected and implemented some custom logic. Regards patrik.nyborg(a)genicore.se
Borland C++ 6 + debug WPRteDefs.pas #1
Borland C++ 6 update 4 WPTools 6.13 When checking the possible breakpoints in WPRteDefs.pas, they usually* looks fine until reaching TWPCursorCharAttrInterface…
File not found: XPMan.dcu #1
Borland C++ 6 update 4 When upgrading from 6.11.2 => 6.13 (and now to 6.13.1) I got bitten by "Fatal: File not found: XPMan.dcu... BUILD FAILED". …
Bug in TParagraph.SwapWithNextPar + patch #1
WPTools version 6.13 ... a.FPrevPar := b; a.FNextPar := next_par; end; (* patch start *) if next_par <> nil then next_par.FPrevPar := a; (* patch end *) …
CombineCellsVertHorz + strange borders #1
WPTools version 6.13 Assume the following code: TParagraph* createCell(TParagraph* aRow) { TParagraph* cell(aRow->AppendNewCell(true)); cell->ASet(WPAT_B…
PaintWatermark + rotated text + Print #3
@wpsupport: output on the "Canvas" of the TWPRichText will also print if the printer supoports this. Hmmm yes, created a small testapplication which …
PaintWatermark + rotated text + Print #1
The following works fine in the editor, but the rotation is lost when printing; is there something that needs to be tweaked to get it to work? void __fastcall …
WPToolsRTFToANSI + style name #4
Hi, seems to be fixed in wptools6.13 - thanks! Regards patrik.nyborg(a)genicore.se
InputEditField + protection #1
WPTools version 6.11.2 This might be trivial but I'm a complete beginner when comes to wptools programming, so bear with me... We have a document containi…